大学校园网 主干网络及配置
set spantree portfast 2/1-12 disable set spantree portcost 2/1-12 19 set spantree portpri 2/1-12 32 set spantree portvlanpri 2/1 0 set spantree portvlanpri 2/2 0 …………
set spantree portvlanpri 2/12 0
set spantree portvlancost 2/1 cost 18 set spantree portvlancost 2/2 cost 18 …………
set spantree portvlancost 2/12 cost 18 !
#module 3 : 24-port 10/100BaseTX Ethernet set module name 3 set module enable 3 set vlan 1 3/1,3/22
set vlan 2 3/2-4,3/6-13,3/18-19 set vlan 3 3/20 set vlan 4 3/16-17 set vlan 7 3/21 set vlan 8 3/15 set vlan 9 3/23-24 set vlan 10 3/14
set port channel 3/1-4 off set port channel 3/5-8 off set port channel 3/9-12 off set port channel 3/13-16 off set port channel 3/17-20 off set port channel 3/21-24 off set port channel 3/1-4 auto set port channel 3/5-8 auto set port channel 3/9-12 auto set port channel 3/13-16 auto set port channel 3/17-20 auto set port channel 3/21-24 auto set port enable 3/1-24
set port level 3/1-24 normal set port speed 3/1-24 auto set port trap 3/1-24 enable set port name 3/1-24
set port security 3/1-24 disable set port broadcast 3/1-24 100% set port membership 3/1-24 static set port protocol 3/1-24 ip on set port protocol 3/1-24 ipx auto