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
[责任编辑:editor]
最新相关文章
发表评论