扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
作者:中国IT实验室 来源:中国IT实验室 2008年5月19日
关键字: 交换机 网络交换机 交换机配置 Catalyst 6509
在本页阅读全文(共4页)
3.4 检修设计Catalyst 3548XL交换机配置方案
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交换机配置方案
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交换机配置方案
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交换机配置方案
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个异步拨号口 一个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
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。