大学校园网 主干网络及配置
set boot system flash bootflash:cat5000-sup3.4-2-1.bin !
#permit list
set ip permit disable ! #drip
set tokenring reduction enable set tokenring distrib-crf disable !
#igmp
set igmp disable !
#protocolfilter
set protocolfilter disable ! #mls
set mls enable
set mls flow destination set mls agingtime 256 set mls agingtime fast 0 0 set mls nde disable !
#module 1 : 2-port 1000BaseSX Supervisor set module name 1 set vlan 1 1/1-2
set port enable 1/1-2
set port level 1/1-2 normal set port duplex 1/1-2 full set port trap 1/1-2 enable set port name 1/1-2
set port security 1/1-2 disable set port broadcast 1/1-2 100% set port membership 1/1-2 static set port protocol 1/1-2 ip on set port protocol 1/1-2 ipx auto set port negotiation 1/1-2 enable
set port flowcontrol send 1/1-2 desired set port flowcontrol receive 1/1-2 off set cdp enable 1/1-2 set cdp interval 1/1-2 60
set trunk 1/1 auto negotiate 1-1005 set trunk 1/2 auto negotiate 1-1005 set spantree portfast 1/1-2 disable set spantree portcost 1/1-2 4 set spantree portpri 1/1-2 32