国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 學(xué)院 > 網(wǎng)絡(luò)通信 > 正文

經(jīng)典配置包括Catalyst6509 4006交換機(jī)配置方案

2019-11-04 21:40:14
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友

  拓?fù)鋱D如下:
  

  一、 Catalyst 6509交換機(jī)配置方案
  1.1、配置6509二層交換
  
  Console> (enable) set system name bg-sw-01 /設(shè)備名稱
  Bg-sw-01> (enable) set passWord
  Enter old password:
  Enter new password: test       /設(shè)備口令
  Retype new password: test
  
  Bg-sw-01> (enable) set enablepass
  Enter old password:
  Enter new password: test       /設(shè)備口令
  Retype new password: test
  
  Bg-sw-01> (enable) set banner motd % Welcome to the c6509 in the Office %  /提示文本
  
  Bg-sw-01> (enable) set interface sc0 10.234.180.21 255.255.255.0  /設(shè)置治理接口 #sh int
  Bg-sw-01> (enable) set ip route default 10.234.180.234    /設(shè)置默認(rèn)網(wǎng)關(guān) #sh ip route
  
  Bg-sw-01> (enable) set vtp mode server          /設(shè)置VTP模式 #sh vtp domain
  Bg-sw-01> (enable) set vtp domain Core_Net          /設(shè)置VTP域名
  Bg-sw-01> (enable) set vlan 31 name ZhongSanLu        /創(chuàng)建VLAN #sh vlan
  Bg-sw-01> (enable) set vlan 32 name YiYang
  Bg-sw-01> (enable) set vlan 33 name JianXiu
  Bg-sw-01> (enable) set vlan 34 name RaoDian
  Bg-sw-01> (enable) set vlan 35 name JinSanLou
  Bg-sw-01> (enable) set vlan 36 name WuZi
  
  Bg-sw-01> (enable) set port channel 1/1-2 on          /設(shè)置Channel #sh port channel
  Bg-sw-01> (enable) set trunk 1/1 on dot1q 1-1005
  
  Bg-sw-01> (enable) set trunk 2/2 on dot1q 1-1005 /設(shè)置trunk口 #sh trunk #
  Bg-sw-01> (enable) set trunk 2/3 on dot1q 1-1005
  Bg-sw-01> (enable) set trunk 2/4 on dot1q 1-1005
  Bg-sw-01> (enable) set trunk 2/5 on dot1q 1-1005
  Bg-sw-01> (enable) set trunk 2/6 on dot1q 1-1005
  Bg-sw-01> (enable) set trunk 2/7 on dot1q 1-1005
                               
  Bg-sw-01> (enable) set spantree root 1-40 dia 4 /設(shè)為spantree的根 #sh spantree
  Bg-sw-01> (enable) set spantree portfast 1/1-2 enable /設(shè)spantree端口快速啟用  
  Bg-sw-01> (enable) set spantree portfast 2/1-8 enable       
  Bg-sw-01> (enable) set spantree uplinkfast enable /設(shè)spantree端口快速切換       
  Bg-sw-01> (enable) set spantree backbonefast enable /設(shè)spantree端口快速定位根       
       
  1.2、配置路由
  
  Console> (enable) session 15            /進(jìn)入路由子卡
  
  Router(config)# hostname c6509-msfc /設(shè)備名
  c6509-msfc (config)# enable password test         /設(shè)口令
  c6509-msfc (config)# enable secret test
  C6509-msfc(config)# banner motd % Welcome to the c6509-msfc in the Office % /設(shè)提示文本
  c6509-msfc (config)# line vty 0 4 / 進(jìn)入VTY模式
  c6509-msfc (config-line)#login              / 登入提示
  c6509-msfc (config-line)#password test          / 設(shè)用戶級(jí)口令
  c6509-msfc (config-line)# end
  
  C6509-msfc#configure terminal / 進(jìn)入全局模式
  Enter configuration commands, one per line. End with CNTL/Z.
  
  C6509-msfc(config)# interface vlan 1          /進(jìn)入虛子接口
  C6509-msfc(config-if)# ip address 10.234.180.232 255.255.255.0 /加ip地址
  C6509-msfc(config-if)# no shutdown                /開(kāi)啟端口
  C6509-msfc(config-if)# standby 1 ip 10.234.180.234        /建HSRP組并設(shè)虛IP地址
  C6509-msfc(config-if)# standby 1 PRiority 110           /設(shè)優(yōu)先級(jí)
  C6509-msfc(config-if)# standby 1 preempt             /設(shè)切換許可
  
  C6509-msfc(config-if)# interface vlan 31
  C6509-msfc(config-if)# ip address 10.234.181.60 255.255.255.192
  C6509-msfc(config-if)# no shutdown
  C6509-msfc(config-if)# standby 31 ip 10.234.181.62
  C6509-msfc(config-if)# standby 31 priority 110
  C6509-msfc(config-if)# standby 31 preempt
  
  C6509-msfc(config-if)# interfacevlan 32
  C6509-msfc(config-if)# ip address 10.234.181.124 255.255.255.192
  C6509-msfc(config-if)# no shutdown
  C6509-msfc(config-if)# standby 32 ip 10.234.181.126
  C6509-msfc(config-if)# standby 32 priority 110
  C6509-msfc(config-if)# standby 32 preempt
  
  C6509-msfc(config-if)# interface vlan 33
  C6509-msfc(config-if)# ip address 10.234.181.188 255.255.255.192
  C6509-msfc(config-if)# no shutdown
  C6509-msfc(config-if)# standby 33 ip 10.234.181.190
  C6509-msfc(config-if)# standby 33 priority 110
  C6509-msfc(config-if)# standby 33 preempt
  
  C6509-msfc(config-if)# interface vlan 34
  C6509-msfc(config-if)# ip address 10.234.181.220 255.255.255.224
  C6509-msfc(config-if)# no shutdown
  C6509-msfc(config-if)# standby 34 ip 10.234.181.222
  C6509-msfc(config-if)# standby 34 priority 110
  C6509-msfc(config-if)# standby 34 preempt
  
  C6509-msfc(config-if)# interface vlan 35
  C6509-msfc(config-if)# ip address 10.234.181.254 252.255.255.224
  C6509-msfc(config-if)# no shutdown
  C6509-msfc(config-if)# standby 35 ip 10.234.181.254
  C6509-msfc(config-if)# standby 35 priority 110
  C6509-msfc(config-if)# standby 35 preempt
  
  C6509-msfc(config-if)# interface vlan 36
  C6509-msfc(config-if)# ip address 10.234.182.28 255.255.255.224
  C6509-msfc(config-if)# no shutdown
  C6509-msfc(config-if)# standby 36 ip 10.234.182.30
  C6509-msfc(config-if)# standby 36 priority 110
  C6509-msfc(config-if)# standby 36 preempt
  
  C6509-msfc(config-if)# exit
  
  C6509-msfc #copy running config
  
  二、Catalyst 4006交換機(jī)配置方案
  2.1、配置4006二層交換(三層交換模塊安置在第二個(gè)槽)
  
  Console> (enable) set system name bg-sw-02 /設(shè)備名稱
  Bg-sw-02> (enable) set password
  Enter old password:
  Enter new password: test       /設(shè)備口令
  Retype new password: test
  
  Bg-sw-02> (enable) set enablepass
  Enter old password:
  Enter new password: test       /設(shè)備口令
  Retype new password: test
  
  Bg-sw-02> (enable) set banner motd % Welcome to the c4006 in the office % /提示文本
  
  Bg-sw-02> (enable) set interface sc0 10.234.180.22 255.255.255.0 /設(shè)置治理接口 #sh int
  Bg-sw-02> (enable) set ip route default 10.234.180.234 /設(shè)置默認(rèn)網(wǎng)關(guān) #sh ip route
  
  Bg-sw-02> (enable) set vtp mode server /設(shè)置VTP模式 #sh vtp domain
  Bg-sw-02> (enable) set vtp domain Core_Net /設(shè)置VTP域名
  Bg-sw-02> (enable) set vlan 31 name ZhongSanLu /創(chuàng)建VLAN #sh vlan
  Bg-sw-02> (enable) set vlan 32 name YiYang
  Bg-sw-02> (enable) set vlan 33 name JianXiu
  Bg-sw-02> (enable) set vlan 34 name RaoDian
  Bg-sw-02> (enable) set vlan 35 name JinSanLou
  Bg-sw-02> (enable) set vlan 36 name WuZi
  
  Bg-sw-02> (enable) set port channel 1/1-2 on /設(shè)置Channel #sh port channel
  Bg-sw-02> (enable) set trunk 1/1 on dot1q 1-1005
  Bg-sw-02> (enable) set port channel 2/1-2 on /設(shè)置Channel #sh port channel
  Bg-sw-02> (enable) set trunk 2/1 on dot1q 1-1005
  
  Bg-sw-02> (enable) set trunk 4/1 on dot1q 1-1005 /設(shè)置trunk口 #sh trunk #
  Bg-sw-02> (enable) set trunk 4/3 on dot1q 1-1005
  Bg-sw-02> (enable) set trunk 4/4 on dot1q 1-1005
  
  Bg-sw-02> (enable) set spantree root secondary 1-40 dia 4
  Bg-sw-02> (enable) set spantree portfast 1/1-2 enable /設(shè)spantree端口快速啟用  
  Bg-sw-02> (enable) set spantree portfast 2/1-34 enable       
  Bg-sw-02> (enable) set spantree portfast 3/1-32 enable       
  Bg-sw-02> (enable) set spantree portfast 4/1-6 enable       
  Bg-sw-02> (enable) set spantree uplinkfast enable /設(shè)spantree端口快速切換       
  Bg-sw-02> (enable) set spantree backbonefast enable /設(shè)spantree端口快速定位根       
  
  2.1、配置三層交換模塊(三層交換模塊安置在第二)
  Console> (enable) session 2 /進(jìn)入路由子卡
  
  Router(config)# hostname c4006-L3 /設(shè)備名
  c4006-L3 (config)# enable password test         /設(shè)口令
  c4006-L3 (config)# enable secret test
  c4006-L3(config)# banner motd % Welcome to the c4006-l3 in the Office % /設(shè)提示文本
  
  c4006-L3 (config)# line vty 0 4 / 進(jìn)入VTY模式
  c4006-L3 (config-line)#login              / 登入提示
  c4006-L3 (config-line)#password test          / 設(shè)用戶級(jí)口令
  c4006-L3 (config-line)# end
  
  C4006-L3#configure terminal
  Enter configuration commands, one per line. End with CNTL/Z.
  C4006-L3(config)# interface port-channel 1 /建內(nèi)部虛端口
  C4006-L3(config)# interface g3             /進(jìn)入接口模式
  C4006-L3(config-if)# channel-group 1          / 加入到channel組中
  C4006-L3(config-if)# exit
  C4006-L3(config)# interface g4             /進(jìn)入接口模式
  C4006-L3(config-if)# channel-group 1 / 加入到channel組中
  C4006-L3(config-if)# exit
  
  
  C4006-L3(config)# interface port-channel 1.1 /進(jìn)入子接口模式
  C4006-L3(config-if)# encapsulation dot1q 1 native   / 封裝trunk
  C4006-L3(config-if)# ip address 10.234.180.233 255.255.255.0 /加ip地址
  C4006-L3(config-if)# no shutdown                /開(kāi)啟端口
  C4006-L3(config-if)# standby 1 ip 10.234.180.234 /建HSRP組并設(shè)虛IP地址
  C4006-L3(config-if)# standby 1 priority 100 /設(shè)優(yōu)先級(jí)
  C4006-L3(config-if)# standby 1 preempt /設(shè)切換許可
  
  C4006-L3(config-if)# interface port-channel 1.31
  C4006-L3(config-if)# encapsulation dot1q 31
  C4006-L3(config-if)# ip address 10.234.181.61 255.255.255.192
  C4006-L3(config-if)# no shutdown
  C4006-L3(config-if)# standby 31 ip 10.234.181.62
  C4006-L3(config-if)# standby 31 priority 100
  C4006-L3(config-if)# standby 31 preempt
  
  C4006-L3(config-if)# interface port-channel 1.32
  C4006-L3(config-if)# encapsulation dot1q 32
  C4006-L3(config-if)# ip address 10.234.181.125 255.255.255.192
  C4006-L3(config-if)# no shutdown
  C4006-L3(config-if)# standby 32 ip 10.234.181.126
  C4006-L3(config-if)# standby 32 priority 100
  C4006-L3(config-if)# standby 32 preempt
  
  C4006-L3(config-if)# interface port-channel 1.33
  C4006-L3(config-if)# encapsulation dot1q 33
  C4006-L3(config-if)# ip address 10.234.181.189 255.255.255.192
  C4006-L3(config-if)# no shutdown
  C4006-L3(config-if)# standby 33 ip 10.234.181.190
  C4006-L3(config-if)# standby 33 priority 100
  C4006-L3(config-if)# standby 33 preempt
  
  C4006-L3(config-if)# interface port-channel 1.34
  C4006-L3(config-if)# encapsulation dot1q 34
  C4006-L3(config-if)# ip address 10.234.181.221 255.255.255.224
  C4006-L3(config-if)# no shutdown
  C4006-L3(config-if)# standby 34 ip 10.234.181.222
  C4006-L3(config-if)# standby 34 priority 100
  C4006-L3(config-if)# standby 34 preempt
  
  C4006-L3(config-if)# interface port-channel 1.35
  C4006-L3(config-if)# encapsulation dot1q 35
  C4006-L3(config-if)# ip address 10.234.181.253 255.255.255.224
  C4006-L3(config-if)# no shutdown
  C4006-L3(config-if)# standby 35 ip 10.234.181.254
  C4006-L3(config-if)# standby 35 priority 100
  C4006-L3(config-if)# standby 35 preempt
  
  C4006-L3(config-if)# interface port-channel 1.36
  C4006-L3(config-if)# encapsulation dot1q 36
  C4006-L3(config-if)# ip address 10.234.182.29 255.255.255.224
  C4006-L3(config-if)# no shutdown
  C4006-L3(config-if)# standby 36 ip 10.234.182.30
  C4006-L3(config-if)# standby 36 priority 100
  C4006-L3(config-if)# standby 36 preempt
  
  C4006-L3(config-if)# exit
  
  C4006-L3#copy running config
  
  三、Catalyst 3500XL交換機(jī)配置方案
  3.1、辦公樓Catalyst 3500XL交換機(jī)配置方案
  
  第一臺(tái)Catalyst 3548
  switch#configure terminal
  Enter configuration commands, one per line. End with CNTL/Z.
  switch(config)#hostname bg-sw-03 /設(shè)備名
  bg-sw-03(config)#enable password test /設(shè)口令
  bg-sw-03(config)#enable secret test
  bg-sw-03(config)#banner motd % Welcome to the C3548 in the Office % /提示文本
  bg-sw-03(config)#line vty 0 4            / 進(jìn)入VTY模式
  bg-sw-03(config.line)#login          / 登入提示
  bg-sw-03(config.line)#password test / 設(shè)用戶級(jí)口令
  bg-sw-03(config.line)#exit
  
  bg-sw-03 (config)#int vlan 1 / 進(jìn)入內(nèi)部治理接口
  bg-sw-03 (config-if)#ip address 10.234.180.23 255.255.255.0    /加入IP地址
  bg-sw-03(config-if)#exit
  bg-sw-03(config)#ip default.gateway 10.234.180.234         /設(shè)網(wǎng)關(guān)
  bg-sw-03(config)#end
  
  bg-sw-03#vlan database                       / 進(jìn)入vtp數(shù)據(jù)庫(kù)
  bg-sw-03(vlan)#vtp domain Corp_Net            /設(shè)vtp域     
  bg-sw-03(vlan)#vtp client /設(shè)定vtp模式
  bg-sw-03(vlan)#exit
  
  bg-sw-03(config)#spantree uplinkfast                /設(shè)定端口快速上連
  bg-sw-03(config)#int g0/1                      /進(jìn)入接口模式               
  bg-sw-03(config-if)#switchport mode trunk              /設(shè)為trunk模式
  bg-sw-03(config-if)#switchport trunk encapsulation dot1q      /設(shè)定封裝模式
  bg-sw-03(config-if)#switchport trunk allowed vlan all        /設(shè)定trunk許可vlan
  bg-sw-03(config-if)#spanning-tree portfast /設(shè)定端口快速啟用
  
  bg-sw-03(config-if)#int g0/2                    /進(jìn)入接口模式               
  bg-sw-03(config-if)#switchport mode trunk              /設(shè)為trunk模式
  bg-sw-03(config-if)#switchport trunk encapsulation dot1q      /設(shè)定封裝模式
  bg-sw-03(config-if)#switchport trunk allowed vlan all        /設(shè)定trunk許可vlan
  bg-sw-03(config-if)#spanning-tree portfast /設(shè)定端口快速啟用
  
  bg-sw-03(config-if)#exit
  
  bg-sw-03#write memory
  
  第二臺(tái)Catalyst 3548
  
  switch#configure terminal
  Enter configuration commands, one per line. End with CNTL/Z.
  switch(config)#hostname bg-sw-04 /設(shè)備名
  bg-sw-04(config)#enable password test /設(shè)口令
  bg-sw-04(config)#enable secret test
  bg-sw-04(config)#banner motd % Welcome to the C3548 in the Office % /提示文本
  bg-sw-04(config)#line vty 0 4 / 進(jìn)入VTY模式
  bg-sw-04(config.line)#login / 登入提示
  bg-sw-04(config.line)#password test / 設(shè)用戶級(jí)口令
  bg-sw-04(config.line)#exit / 進(jìn)入內(nèi)部治理接口
  
  bg-sw-04(config)#int vlan 1
  bg-sw-04(config-if)#ip address 10.234.180.24 255.255.255.0
  bg-sw-04(config-if)#exit
  bg-sw-04(config)#ip default.gateway 10.234.180.234
  bg-sw-04(config)#end
  
  bg-sw-04#vlan database
  bg-sw-04(vlan)#vtp domain Corp_Net
  bg-sw-04(vlan)#vtp client
  bg-sw-04(vlan)#exit
  
  bg-sw-04(config)#spantree uplinkfast 
  bg-sw-04(config)#int g0/1
  bg-sw-04(config-if)#switchport mode trunk
  bg-sw-04(config-if)#switchport trunk encapsulation dot1q
  bg-sw-04(config-if)#switchport trunk allowed vlan all
  bd-sw-03 (config-if)# spanning-tree portfast
  bg-sw-04(config-if)#exit
  
  bg-sw-04(config)#int g0/2
  bg-sw-04(config-if)#switchport mode trunk
  bg-sw-04(config-if)#switchport trunk encapsulation dot1q
  bg-sw-04(config-if)#switchport trunk allowed vlan all
  bg-sw-04(config-if)#spanning-tree portfast
  bg-sw-04(config-if)#exit
  
  bg-sw-04#write memory
  
  3.2 辦公樓Catalyst 3548XL交換機(jī)配置方案
  
  switch#configure terminal
  Enter configuration commands, one per line. End with CNTL/Z.
  switch(config)#hostname zsr-sw-01
  zsr-sw-01(config)#enable password test
  zsr-sw-01(config)#enable secret test
  zsr-sw-01(config)#banner motd % Welcome to the C3548 in the Zhong San Lu ban Gong Lou %
  zsr-sw-01(config)#line vty 0 4
  zsr-sw-01(config.line)#login
  zsr-sw-01(config.line)#password test
  zsr-sw-01(config.line)#exit
  
  zsr-sw-01(config)#int vlan 1
  zsr-sw-01(config-if)#ip address 10.234.180.25 255.255.255.0
  zsr-sw-01(config-if)#exit
  zsr-sw-01(config)#ip default.gateway 10.234.180.234
  zsr-sw-01(config)#end
  
  zsr-sw-01#vlan database
  zsr-sw-01(vlan)#vtp domain Corp_Net
  zsr-sw-01(vlan)#vtp client
  zsr-sw-01(vlan)#exit
  
  zsr-sw-1#configure terminal
  
  zsr-sw-1(config)#int f0/1
  zsr-sw-1(config-if)#switchport mode access
  zsr-sw-1(config-if)#switchport access vlan 31
  zsr-sw-1(config-if)#exit
  
  zsr-sw-1(config)#int f0/2
  。。。。。。
  zsr-sw-1(config)#int f0/48
  zsr-sw-1(config-if)#switchport mode access
  zsr-sw-1(config-if)#switchport access vlan 31
  zsr-sw-1(config-if)#exit
  
  zsr-sw-01(config)#int g0/1
  zsr-sw-01(config-if)#switchport mode trunk
  zsr-sw-01(config-if)#switchport trunk encapsulation dot1q
  zsr-sw-01(config-if)#switchport trunk allowed vlan all
  zsr-sw-01 (config-if)#spantree cost 10
  zsr-sw-01(config-if)#exit
  
  zsr-sw-01(config)#int g0/2
  zsr-sw-01(config-if)#switchport mode trunk
  zsr-sw-01(config-if)#switchport trunk encapsulation dot1q
  zsr-sw-01(config-if)#switchport trunk allowed vlan all
  zsr-sw-01 (config-if)#spantree cost 20
  zsr-sw-01(config-if)#exit
  
  zsr-sw-01#write memory
  
  3.3 局辦公樓Catalyst 3548XL交換機(jī)配置方案
  
  switch#configure terminal
  Enter configuration commands, one per line. End with CNTL/Z.
  switch(config)#hostname yy-sw-01
  yy-sw-01(config)#enable password test
  yy-sw-01(config)#enable secret test
  yy-sw-01(config)#banner motd % Welcome to the C3548 in the Yi Yang Fen Ju %
  yy-sw-01(config)#line vty 0 4
  yy-sw-01(config.line)#login
  yy-sw-01(config.line)#password test
  yy-sw-01(config.line)#exit
  
  yy-sw-01(config)#int vlan 1
  yy-sw-01(config-if)#ip address 10.234.180.26 255.255.255.0
  yy-sw-01(config-if)#exit
  yy-sw-01(config)#ip default.gateway 10.234.180.234
  yy-sw-01(config)#end
  
  yy-sw-01#vlan database
  yy-sw-01(vlan)#vtp domain Corp_Net
  yy-sw-01(vlan)#vtp client
  yy-sw-01(vlan)#exit
  
  yy-sw-1#configure terminal
  
  yy-sw-1(config)#int f0/1
  yy-sw-1(config-if)#switchport mode access
  yy-sw-1(config-if)#switchport access vlan 32
  yy-sw-1(config-if)#exit
  
  yy-sw-1(config)#int f0/2
  。。。。。。
  yy-sw-1(config)#int f0/48
  yy-sw-1(config-if)#switchport mode access
  yy-sw-1(config-if)#switchport access vlan 32
  yy-sw-1(config-if)#exit
  
  yy-sw-01#write memory
  
  3.4 檢修設(shè)計(jì)Catalyst 3548XL交換機(jī)配置方案
  
  switch#configure terminal
  Enter configuration commands, one per line. End with CNTL/Z.
  switch(config)#hostname jxsj-sw-01
  jxsj-sw-01(config)#enable password test
  jxsj-sw-01(config)#enable secret test
  jxsj-sw-01(config)#banner motd % Welcome to the C3548 in the Jian Xiu She Ji Fen Ju %
  jxsj-sw-01(config)#line vty 0 4
  jxsj-sw-01(config.line)#login
  jxsj-sw-01(config.line)#password test
  jxsj-sw-01(config.line)#exit
  
  jxsj-sw-01(config)#int vlan 1
  jxsj-sw-01(config-if)#ip address 10.234.180.27 255.255.255.0
  jxsj-sw-01(config-if)#exit
  jxsj-sw-01(config)#ip default.gateway 10.234.180.234
  jxsj-sw-01(config)#end
  
  jxsj-sw-01#vlan database
  jxsj-sw-01(vlan)#vtp domain Corp_Net
  jxsj-sw-01(vlan)#vtp client
  jxsj-sw-01(vlan)#exit
  
  jxsj-sw-1#configure terminal
  
  jxsj-sw-1(config)#int f0/1
  jxsj-sw-1(config-if)#switchport mode access
  jxsj-sw-1(config-if)#switchport access vlan 33
  jxsj-sw-1(config-if)#exit
  
  jxsj-sw-1(config)#int f0/2
  。。。。。。
  jxsj-sw-1(config)#int f0/48
  jxsj-sw-1(config-if)#switchport mode access
  jxsj-sw-1(config-if)#switchport access vlan 33
  jxsj-sw-1(config-if)#exit
  
  jxsj-sw-01(config)#int g0/1
  jxsj-sw-01(config-if)#switchport mode trunk
  jxsj-sw-01(config-if)#switchport trunk encapsulation dot1q
  jxsj-sw-01(config-if)#switchport trunk allowed vlan all
  jxsj-sw-01 (config-if)#spantree cost 10
  jxsj-sw-01(config-if)#exit
  
  jxsj-sw-01(config)#int g0/2
  jxsj-sw-01(config-if)#switchport mode trunk
  jxsj-sw-01(config-if)#switchport trunk encapsulation dot1q
  jxsj-sw-01(config-if)#switchport trunk allowed vlan all
  jxsj-sw-01 (config-if)#spantree cost 20
  jxsj-sw-01(config-if)#exit
  
  jxsj-sw-01#write memory
  
  3.5 總公司Catalyst 3524XL交換機(jī)配置方案
  
  switch#configure terminal
  Enter configuration commands, one per line. End with CNTL/Z.
  switch(config)#hostname rd-sw-01
  rd-sw-01(config)#enable password test
  rd-sw-01(config)#enable secret test
  rd-sw-01(config)#banner motd % Welcome to the C3524 in the Rao Dian Zong Gong Si %
  rd-sw-01(config)#line vty 0 4
  rd-sw-01(config.line)#login
  rd-sw-01(config.line)#password test
  rd-sw-01(config.line)#exit
  
  rd-sw-01(config)#int vlan 1
  rd-sw-01(config-if)#ip address 10.234.180.28 255.255.255.0
  rd-sw-01(config-if)#exit
  rd-sw-01(config)#ip default gateway 10.234.180.234
  rd-sw-01(config)#end
  
  rd-sw-01#vlan database
  rd-sw-01(vlan)#vtp domain Corp_Net
  rd-sw-01(vlan)#vtp client
  rd-sw-01(vlan)#exit
  
  rd-sw-01#configure terminal
  
  rd-sw-01(config)#int f0/1
  rd-sw-01(config-if)#switchport mode access
  rd-sw-01(config-if)#switchport access vlan 34
  rd-sw-01(config-if)#exit
  
  rd-sw-01(config)#int f0/2
  。。。。。。
  rd-sw-01(config)#int f0/24
  rd-sw-01(config-if)#switchport mode access
  rd-sw-01(config-if)#switchport access vlan 34
  rd-sw-01(config-if)#exit
  
  rd-sw-01(config)#int g0/1
  rd-sw-01(config-if)#switchport mode trunk
  rd-sw-01(config-if)#switchport trunk encapsulation dot1q
  rd-sw-01(config-if)#switchport trunk allowed vlan all
  rd-sw-01(config-if)#exit
  
  rd-sw-01#write memory
  
  3.6 山樓Catalyst 3524XL交換機(jī)配置方案
  
  switch#configure terminal
  Enter configuration commands, one per line. End with CNTL/Z.
  switch(config)#hostname jsl-sw-01
  jsl-sw-01(config)#enable password test
  jsl-sw-01(config)#enable secret test
  jsl-sw-01(config)#banner motd % Welcome to the C3524 in the Jin San Lou %
  jsl-sw-01(config)#line vty 0 4
  jsl-sw-01(config.line)#login
  jsl-sw-01(config.line)#password test
  jsl-sw-01(config.line)#exit
  
  jsl-sw-01(config)#int vlan 1
  jsl-sw-01(config-if)#ip address 10.234.180.29 255.255.255.0
  jsl-sw-01(config-if)#exit
  jsl-sw-01(config)#ip default.gateway 10.234.180.234
  jsl-sw-01(config)#end
  
  jsl-sw-01#vlan database
  jsl-sw-01(vlan)#vtp domain Corp_Net
  jsl-sw-01(vlan)#vtp client
  jsl-sw-01(vlan)#exit
  
  jsl-sw-1#configure terminal
  
  jsl-sw-1(config)#int f0/1
  jsl-sw-1(config-if)#switchport mode access
  jsl-sw-1(config-if)#switchport access vlan 35
  jsl-sw-1(config-if)#exit
  
  jsl-sw-1(config)#int f0/2
  。。。。。。
  jsl-sw-1(config)#int f0/24
  jsl-sw-1(config-if)#switchport mode access
  jsl-sw-1(config-if)#switchport access vlan 35
  jsl-sw-1(config-if)#exit
  
  jsl-sw-01(config)#int g0/1
  jsl-sw-01(config-if)#switchport mode trunk
  jsl-sw-01(config-if)#switchport trunk encapsulation dot1q
  jsl-sw-01(config-if)#switchport trunk allowed vlan all
  jsl-sw-01(config-if)#exit
  
  jsl-sw-01#write memory
  
  3.7 公司Catalyst 3524XL交換機(jī)配置方案
  
  switch#configure terminal
  Enter configuration commands, one per line. End with CNTL/Z.
  switch(config)#hostname wz-sw-01
  wz-sw-01(config)#enable password test
  wz-sw-01(config)#enable secret test
  wz-sw-01(config)#banner motd % Welcome to the C3524 in the Wu Zi Gong Si %
  wz-sw-01(config)#line vty 0 4
  wz-sw-01(config.line)#login
  wz-sw-01(config.line)#password test
  wz-sw-01(config.line)#exit
  
  wz-sw-01(config)#int vlan 1
  wz-sw-01(config-if)#ip address 10.234.180.30 255.255.255.0
  wz-sw-01(config-if)#exit
  wz-sw-01(config)#ip default.gateway 10.234.180.234
  wz-sw-01(config)#end
  
  wz-sw-01#vlan database
  wz-sw-01(vlan)#vtp domain Corp_Net
  wz-sw-01(vlan)#vtp client
  wz-sw-01(vlan)#exit
  
  wz-sw-1#configure terminal
  
  wz-sw-1(config)#int f0/1
  wz-sw-1(config-if)#switchport mode access
  wz-sw-1(config-if)#switchport access vlan 36
  wz-sw-1(config-if)#exit
  
  wz-sw-1(config)#int f0/2
  。。。。。。
  wz-sw-1(config)#int f0/24
  wz-sw-1(config-if)#switchport mode access
  wz-sw-1(config-if)#switchport access vlan 36
  wz-sw-1(config-if)#exit
  
  wz-sw-01(config)#int g0/1
  wz-sw-01(config-if)#switchport mode trunk
  wz-sw-01(config-if)#switchport trunk encapsulation dot1q
  wz-sw-01(config-if)#switchport trunk allowed vlan all
  wz-sw-01(config-if)#exit
  
  四、CISCO 2620路由器配置方案 //8個(gè)異步撥號(hào)口 一個(gè)fast以太口
  route#conf t
  route(config)#hostname c2620
  c2620 (config)#enable secret test
  c2620 (config)#enable password test
  c2620 (config)#username test password test
  c2620 (config)#banner motd “ Welcome to the C2620 in the Office “
  c2620 (config)#int f0/0
  c2620(config-if)#ip address 10.234.180.254 255.255.255.0
  c2620(config-if)#no shutdown
  c2620(config-if)#int group-async 1
  c2620(config-if)# ip unnumbered FastEthernet0/0
  c2620(config-if)#peer default ip address pool default
  c2620(config-if)#async mode interactive
  c2620(config-if)#async default routing
  c2620(config-if)#encap ppp
  c2620(config-if)#ppp authen chap pap
  c2620(config-if)#group 33 48
  c2620(config-if)#exit
  c2620(config)#ip local pool default 10.234.180.218 10.234.180.233
  c2620(config)#ip routing
  c2620(config-if)#exit
  c2620(config)#line 33 48
  c2620(config-line)#transport input all
  c2620(config-line)#autoselect ppp
  c2620(config-line)#autocommand ppp
  c2620(config-line)# modem autoconfigure discovery
  c2620(config-line)#login local
  c2620(config-line)#modem inout
  c2620(config-line)# stopbits 1
  c2620(config-line)# flowcontrol hardware
  c2620(config-line)# exit
  c2620(config)# line vty 0 4
  c2620(config-line)# login
  c2620(config-line)# password test
  c2620(config-line)# line aux 0
  c2620(config-line)# login local
  c2620(config-line)# modem inout
  c2620(config-line)# modem autoconfigure discovery
  c2620(config-line)# transport input all
  c2620(config-line)# flowcontrol hardware
  c2620(config-line)# exit
  c2620(config)#
  
  注:
  1、使用用dot1q封裝是考慮以后網(wǎng)絡(luò)擴(kuò)展加入3com等其它產(chǎn)品,再說(shuō)大多數(shù)工程師載配置事都喜歡用用dot1q封裝很少用isl的。
  
  2、使用6509和4006是因?yàn)榭紤]spantree啊,保證在6509down掉后使用4006接管嗎,你沒(méi)看到在6509上Bg-sw-01> (enable) set spantree root 1-40 dia 4 /設(shè)為spantree的根,但是你說(shuō)的子交換機(jī)可以通過(guò)兩根光纖連接到6509上,但是這里6509沒(méi)有配置雙引擎啊,做不到自身冗余啊。


發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 邯郸市| 讷河市| 内丘县| 西林县| 齐齐哈尔市| 洪洞县| 来凤县| 长汀县| 健康| 广东省| 来安县| 定日县| 永善县| 神池县| 阳信县| 麦盖提县| 嘉义市| 铅山县| 深圳市| 石台县| 垦利县| 尤溪县| 北票市| 永和县| 凭祥市| 社旗县| 育儿| 邵东县| 鹤岗市| 贡山| 泽普县| 诸暨市| 稻城县| 江陵县| 宁化县| 石狮市| 泰顺县| 溧水县| 灌南县| 威信县| 中方县|