begin
!
# ***** ALL (DEFAULT and NON-DEFAULT) CONFIGURATION *****
!
!
#time: Wed Nov 14 2001, 20:44:55
!
#version 6.2(1)
!
!
#system web interface version(s)
set passWord $2$tss5$Pnjd5Y/IOkhxMpJgUWk.j1
set enablepass $2$JHQF$v8BeanMxtj1.qVjcXrAW60
set prompt 4006-1
--More-- set length 24 default
set logout 20
set banner motd ^C^C
!
#test
set test diaglevel complete
!
#errordetection
set errordetection inband disable
set errordetection memory disable
!
#system
set system baud 9600
set system modem disable
set system name
set system location
set system contact
set system countrycode
set traffic monitor 100
set feature log-command enable
!
#frame distribution method
set port channel all distribution mac both
--More-- !
#mac address redUCtion
set spantree macreduction disable
!
#default portcost mode
set spantree defaultcostmode short
!
#snmp
set snmp community read-only public
set snmp community read-write private
set snmp community read-write-all secret
set snmp rmon disable
set snmp rmonmemory 85
set snmp trap disable module
set snmp trap disable chassis
set snmp trap disable bridge
set snmp trap disable repeater
set snmp trap disable vtp
set snmp trap disable auth
set snmp trap disable ippermit
set snmp trap disable vmps
set snmp trap disable entity
set snmp trap disable config
--More-- set snmp trap disable stpx
set snmp trap disable syslog
!
#tacacs+
set tacacs attempts 3
set tacacs directedrequest disable
set tacacs timeout 5
!
#radius
set radius deadtime 0
set radius timeout 5
set radius retransmit 2
!
#kerberos
!
#authentication
set authentication login tacacs disable console
set authentication login tacacs disable telnet
set authentication login tacacs disable http
set authentication enable tacacs disable console
set authentication enable tacacs disable telnet
set authentication enable tacacs disable http
set authentication login radius disable console
--More-- set authentication login radius disable telnet
set authentication login radius disable http
set authentication enable radius disable console
set authentication enable radius disable telnet
set authentication enable radius disable http
set authentication login local enable console
set authentication login local enable telnet
set authentication login local enable http
set authentication enable local enable console
set authentication enable local enable telnet
set authentication enable local enable http
set authentication login kerberos disable console
set authentication login kerberos disable telnet
set authentication login kerberos disable http
set authentication enable kerberos disable console
set authentication enable kerberos disable telnet
set authentication enable kerberos disable http
set authentication login attempt 3 console
set authentication login attempt 3 telnet
set authentication login lockout 0 console
set authentication login lockout 0 telnet
set authentication enable attempt 3 console
set authentication enable attempt 3 telnet
--More-- set authentication enable lockout 0 console
set authentication enable lockout 0 telnet
!
#stp mode
set spantree mode pvst+
!
#vtp
set vtp domain shejiyuan
set vtp mode server
set vtp v2 enable
set vtp pruning disable
set vtp pruneeligible 2-1000
clear vtp pruning 1001-1005
set vlan 1 name default type ethernet mtu 1500 said 100001 state active
set vlan 2 name yibu type ethernet mtu 1500 said 100002 state active
set vlan 3 name erbu type ethernet mtu 1500 said 100003 state active
set vlan 4 name sanbu type ethernet mtu 1500 said 100004 state active
set vlan 5 name sibu type ethernet mtu 1500 said 100005 state active
set vlan 6 name wubu type ethernet mtu 1500 said 100006 state active
set vlan 7 name yuanban type ethernet mtu 1500 said 100007 state active
set vlan 8 name jingying type ethernet mtu 1500 said 100008 state active
set vlan 9 name jicai type ethernet mtu 1500 said 100009 state active
set vlan 10 name jizhi type ethernet mtu 1500 said 100010 state active
--More-- set vlan 11 name renshi type ethernet mtu 1500 said 100011 state active
set vlan 12 name itban type ethernet mtu 1500 said 100012 state active
set vlan 13 name xindang type ethernet mtu 1500 said 100013 state active
set vlan 14 name touzi type ethernet mtu 1500 said 100014 state active
set vlan 15 name service type ethernet mtu 1500 said 100015 state active
set vlan 16 name out type ethernet mtu 1500 said 100016 state active
set vlan 17 name zixun type ethernet mtu 1500 said 100017 state active
set vlan 1002 name fddi-default type fddi mtu 1500 said 101002 state active
set vlan 1004 name fddinet-default type fddinet mtu 1500 said 101004 state active bridge 0x0 stp ieee
set vlan 1005 name trbrf-default type trbrf mtu 4472 said 101005 state active bridge 0xf stp ibm
set vlan 1003 name trcrf-default type trcrf mtu 4472 said 101003 state active parent 1005 ring 0xccc mode srb aremaxhop 7 stemaxhop 7 backupcrf off
set dot1q-all-tagged disable
!
#ip
set feature mdg enable
set interface sc0 1 172.16.1.1/255.255.255.0 172.16.1.255
set interface sc0 up
set interface sl0 0.0.0.0 0.0.0.0
set interface sl0 down
set interface me1 0.0.0.0 0.0.0.0 0.0.0.0
set interface me1 down
--More-- set arp agingtime 1200
set ip redirect enable
set ip unreachable enable
set ip fragmentation enable
set ip route 0.0.0.0/0.0.0.0 172.16.1.254
set ip alias default 0.0.0.0
!
#command alias
!
#vmps
set vmps server retry 3
set vmps server reconfirminterval 60
!
#rcp
set rcp username
!
#dns
set ip dns disable
!
#spantree
#uplinkfast groups
set spantree uplinkfast disable
#backbonefast
--More-- set spantree backbonefast disable
#portfast
set spantree portfast bpdu-guard disable
set spantree portfast bpdu-filter disable
#bpdu-skewing
set spantree bpdu-skewing disable
#vlan 1003
set spantree enable 1003
set spantree fwddelay 4 1003
set spantree hello 2 1003
set spantree maxage 10 1003
set spantree priority 32768 1003
#vlan 1005
set spantree enable 1005
set spantree fwddelay 4 1005
set spantree hello 2 1005
set spantree maxage 10 1005
set spantree priority 32768 1005
#vlan(defaults)
set spantree enable 1-17
set spantree fwddelay 15 1-17
set spantree hello 2 1-17
set spantree maxage 20 1-17
--More-- set spantree priority 32768 1-17
!
#cgmp
set cgmp disable
set cgmp leave disable
!
#syslog
set logging console disable
set logging telnet enable
set logging server disable
set logging level cdp 4 default
set logging level mcast 2 default
set logging level dtp 5 default
set logging level earl 2 default
set logging level ip 2 default
set logging level pruning 2 default
set logging level snmp 2 default
set logging level spantree 2 default
set logging level sys 5 default
set logging level tac 2 default
set logging level tcp 2 default
set logging level telnet 2 default
set logging level tFTP 2 default
--More-- set logging level vtp 2 default
set logging level kernel 2 default
set logging level filesys 2 default
set logging level pagp 5 default
set logging level mgmt 5 default
set logging level mls 5 default
set logging level protfilt 2 default
set logging level security 2 default
set logging level radius 2 default
set logging level udld 4 default
set logging level gvrp 2 default
set logging level cops 2 default
set logging level qos 3 default
set logging server facility LOCAL7
set logging server severity 4
set logging timestamp enable
set logging buffer 500
set logging history 1
!
#ntp
set ntp broadcastclient disable
set ntp broadcastdelay 3000
set ntp client disable
--More-- set ntp authentication disable
clear timezone
set summertime disable
set summertime recurring
!
#set boot command
set boot config-register 0x2
set boot system flash bootflash:cat4000.6-2-1.bin
!
#permit list
set ip permit disable telnet
set ip permit disable ssh
set ip permit disable snmp
!
#permanent arp entries
!
#protocolfilter
set protocolfilter disable
!
#mls
set mls enable
set mls disable ipx
set mls flow destination
--More-- set mls nde disable
set mls agingtime 256
set mls agingtime ipx 256
set mls agingtime fast 0 0
set mls nde disable
!
#standby ports
set standbyports disable
!
#vlan mapping
!
#gmrp
set gmrp disable
!
#garp
set garp timer all 200 600 10000
!
#cdp
set cdp interval 60
set cdp holdtime 180
set cdp enable
set cdp version v2
!
--More-- #dot1x
set dot1x system-auth-control enable
set dot1x quiet-period 60
set dot1x tx-period 30
set dot1x supptimeout 30
set dot1x servertimeout 30
set dot1x maxreq 2
set dot1x re-authperiod 3600
set dot1x re-authentication disable
!
#qos
set qos disable
set qos defaultcos 0
set qos map 2q1t 1 1 cos 0-1
set qos map 2q1t 1 1 cos 2-3
set qos map 2q1t 1 1 cos 4-5
set qos map 2q1t 1 1 cos 6-7
!
#mls multicast
set mls multicast disable
!
#udld
set udld disable
--More-- set udld interval 15
!
#port channel
set port channel 3/1-2 1
set port channel 1/1-2 493
set port channel 2/1-2 494
set port channel 2/3-6 495
set port channel 4/1-4 496
set port channel 4/5-8 497
set port channel 4/9-12 498
set port channel 4/13-16 499
set port channel 4/17-20 500
set port channel 4/21-24 501
set port channel 4/25-28 502
set port channel 4/29-32 503
set port channel 4/33-36 504
set port channel 4/37-40 505
set port channel 4/41-44 506
set port channel 4/45-48 507
set port channel 5/1-4 508
set port channel 5/5-8 509
set port channel 5/9-12 510
set port channel 5/13-16 511
--More-- set port channel 5/17-20 512
set port channel 5/21-24 513
set port channel 5/25-28 514
set port channel 5/29-32 515
set port channel 5/33-36 516
set port channel 5/37-40 517
set port channel 5/41-44 518
set port channel 5/45-48 519
set port channel 3/3-4 520
set port channel 3/5-8 521
set port channel 3/9-12 522
set port channel 3/13-16 523
set port channel 3/17-20 524
set port channel 3/21-24 525
set port channel 3/25-28 526
set port channel 3/29-32 527
set port channel 3/33-34 528
!
#accounting
set accounting exec disable
set accounting connect disable
set accounting system disable
set accounting commands disable
--More-- set accounting suppress null-username disable
set accounting update new-info
!
#errdisable timeout
set errdisable-timeout disable other
set errdisable-timeout disable udld
set errdisable-timeout disable duplex-mismatch
set errdisable-timeout disable bpdu-guard
set errdisable-timeout disable channel-misconfig
set errdisable-timeout interval 300
!
#http configuration
set ip http server disable
set ip http port 80
!
#crypto key
!
#module 1 : 2-port 1000BaseX Supervisor
set module name 1
set vlan 1 1/1-2
set port enable 1/1-2
set switchacceleration disable 1
set port level 1/1-2 normal
--More-- set port trap 1/1-2 disable
set port name 1/1-2
set port dot1x 1/1-2 port-control force-authorized
set port dot1x 1/1-2 multiple-host disable
set port security 1/1-2 disable age 0 maximum 1 shutdown 0 violation shutdown
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 protocol 1/1-2 group auto
set port negotiation 1/1-2 enable
set port flowcontrol 1/1-2 send desired
set port flowcontrol 1/1-2 receive off
set cdp enable 1/1-2
set udld enable 1/1-2
set udld aggressive-mode disable 1/1-2
set trunk 1/1 on dot1q 1-1005
set trunk 1/2 on dot1q 1-1005
set spantree portfast 1/1-2 disable
set spantree portcost 1/1-2 4
set spantree portpri 1/1-2 32
set spantree portvlanpri 1/1 0
set spantree portvlanpri 1/2 0
set spantree portvlancost 1/1 cost 3
--More-- set spantree portvlancost 1/2 cost 3
set spantree guard none 1/1-2
set port gvrp 1/1-2 disable
set gvrp registration normal 1/1-2
set gvrp applicant normal 1/1-2
set port gmrp 1/1-2 enable
set gmrp registration normal 1/1-2
set gmrp fwdall disable 1/1-2
set port channel 1/1-2 mode auto silent
!
#module 2 : 6-port 1000BaseX Ethernet
set module name 2
set module enable 2
set vlan 1 2/1-6
set port enable 2/1-6
set port level 2/1-6 normal
set port trap 2/1-6 disable
set port name 2/1-6
set port dot1x 2/1-6 port-control force-authorized
set port dot1x 2/1-6 multiple-host disable
set port security 2/1-6 disable age 0 maximum 1 shutdown 0 violation shutdown
set port membership 2/1-6 static
set port protocol 2/1-6 ip on
--More-- set port protocol 2/1-6 ipx auto
set port protocol 2/1-6 group auto
set port negotiation 2/1-6 enable
set port flowcontrol 2/1-6 send desired
set port flowcontrol 2/1-6 receive off
set cdp enable 2/1-6
set udld enable 2/1-6
set udld aggressive-mode disable 2/1-6
set trunk 2/1 on dot1q 1-1005
set trunk 2/2 on dot1q 1-1005
set trunk 2/3 on dot1q 1-1005
set trunk 2/4 on dot1q 1-1005
set trunk 2/5 on dot1q 1-1005
set trunk 2/6 on dot1q 1-1005
set spantree portfast 2/1-6 disable
set spantree portcost 2/1-6 4
set spantree portpri 2/1-6 32
set spantree portvlanpri 2/1 0
set spantree portvlanpri 2/2 0
set spantree portvlanpri 2/3 0
set spantree portvlanpri 2/4 0
set spantree portvlanpri 2/5 0
set spantree portvlanpri 2/6 0
--More-- set spantree portvlancost 2/1 cost 3
set spantree portvlancost 2/2 cost 3
set spantree portvlancost 2/3 cost 3
set spantree portvlancost 2/4 cost 3
set spantree portvlancost 2/5 cost 3
set spantree portvlancost 2/6 cost 3
set spantree guard none 2/1-6
set port gvrp 2/1-6 disable
set gvrp registration normal 2/1-6
set gvrp applicant normal 2/1-6
set port gmrp 2/1-6 enable
set gmrp registration normal 2/1-6
set gmrp fwdall disable 2/1-6
set port channel 2/1-6 mode auto silent
!
#module 3 : 34-port Router Switch Card
set module name 3
set module enable 3
set vlan 1 3/1-2
set vlan 17 3/3-34
set port auxiliaryvlan 3/1-34 none
set port qos 3/1-34 trust-ext untrusted
set port qos 3/1-34 cos-ext 0
--More-- set port enable 3/1-34
set port level 3/1-34 normal
set port speed 3/3-34 auto
set port trap 3/1-34 disable
set port name 3/1-34
set port dot1x 3/1-34 port-control force-authorized
set port dot1x 3/1-34 multiple-host disable
set port security 3/1-34 disable age 0 maximum 1 shutdown 0 violation shutdown
set port membership 3/1-34 static
set port protocol 3/1-34 ip on
set port protocol 3/1-34 ipx auto
set port protocol 3/1-34 group auto
set cdp enable 3/1-34
set udld disable 3/3-34
set udld aggressive-mode disable 3/1-34
set trunk 3/1 on dot1q 1-1005
set trunk 3/2 on dot1q 1-1005
set trunk 3/3 auto dot1q 1-1005
set trunk 3/4 auto dot1q 1-1005
set trunk 3/5 auto dot1q 1-1005
set trunk 3/6 auto dot1q 1-1005
set trunk 3/7 auto dot1q 1-1005
set trunk 3/8 auto dot1q 1-1005
--More-- set trunk 3/9 auto dot1q 1-1005
set trunk 3/10 auto dot1q 1-1005
set trunk 3/11 auto dot1q 1-1005
set trunk 3/12 auto dot1q 1-1005
set trunk 3/13 auto dot1q 1-1005
set trunk 3/14 auto dot1q 1-1005
set trunk 3/15 auto dot1q 1-1005
set trunk 3/16 auto dot1q 1-1005
set trunk 3/17 auto dot1q 1-1005
set trunk 3/18 auto dot1q 1-1005
set trunk 3/19 auto dot1q 1-1005
set trunk 3/20 auto dot1q 1-1005
set trunk 3/21 auto dot1q 1-1005
set trunk 3/22 auto dot1q 1-1005
set trunk 3/23 auto dot1q 1-1005
set trunk 3/24 auto dot1q 1-1005
set trunk 3/25 auto dot1q 1-1005
set trunk 3/26 auto dot1q 1-1005
set trunk 3/27 auto dot1q 1-1005
set trunk 3/28 auto dot1q 1-1005
set trunk 3/29 auto dot1q 1-1005
set trunk 3/30 auto dot1q 1-1005
set trunk 3/31 auto dot1q 1-1005
--More-- set trunk 3/32 auto dot1q 1-1005
set trunk 3/33 auto dot1q 1-1005
set trunk 3/34 auto dot1q 1-1005
set spantree portfast 3/1-34 disable
set spantree portcost 3/1-2 4
set spantree portcost 3/3-34 100
set spantree portpri 3/1-34 32
set spantree portvlanpri 3/1 0
set spantree portvlanpri 3/2 0
set spantree portvlanpri 3/3 0
set spantree portvlanpri 3/4 0
set spantree portvlanpri 3/5 0
set spantree portvlanpri 3/6 0
set spantree portvlanpri 3/7 0
set spantree portvlanpri 3/8 0
set spantree portvlanpri 3/9 0
set spantree portvlanpri 3/10 0
set spantree portvlanpri 3/11 0
set spantree portvlanpri 3/12 0
set spantree portvlanpri 3/13 0
set spantree portvlanpri 3/14 0
set spantree portvlanpri 3/15 0
set spantree portvlanpri 3/16 0
--More-- set spantree portvlanpri 3/17 0
set spantree portvlanpri 3/18 0
set spantree portvlanpri 3/19 0
set spantree portvlanpri 3/20 0
set spantree portvlanpri 3/21 0
set spantree portvlanpri 3/22 0
set spantree portvlanpri 3/23 0
set spantree portvlanpri 3/24 0
set spantree portvlanpri 3/25 0
set spantree portvlanpri 3/26 0
set spantree portvlanpri 3/27 0
set spantree portvlanpri 3/28 0
set spantree portvlanpri 3/29 0
set spantree portvlanpri 3/30 0
set spantree portvlanpri 3/31 0
set spantree portvlanpri 3/32 0
set spantree portvlanpri 3/33 0
set spantree portvlanpri 3/34 0
set spantree portvlancost 3/1 cost 3
set spantree portvlancost 3/2 cost 3
set spantree portvlancost 3/3 cost 99
set spantree portvlancost 3/4 cost 99
set spantree portvlancost 3/5 cost 99
--More-- set spantree portvlancost 3/6 cost 99
set spantree portvlancost 3/7 cost 99
set spantree portvlancost 3/8 cost 99
set spantree portvlancost 3/9 cost 99
set spantree portvlancost 3/10 cost 99
set spantree portvlancost 3/11 cost 99
set spantree portvlancost 3/12 cost 99
set spantree portvlancost 3/13 cost 99
set spantree portvlancost 3/14 cost 99
set spantree portvlancost 3/15 cost 99
set spantree portvlancost 3/16 cost 99
set spantree portvlancost 3/17 cost 99
set spantree portvlancost 3/18 cost 99
set spantree portvlancost 3/19 cost 99
set spantree portvlancost 3/20 cost 99
set spantree portvlancost 3/21 cost 99
set spantree portvlancost 3/22 cost 99
set spantree portvlancost 3/23 cost 99
set spantree portvlancost 3/24 cost 99
set spantree portvlancost 3/25 cost 99
set spantree portvlancost 3/26 cost 99
set spantree portvlancost 3/27 cost 99
set spantree portvlancost 3/28 cost 99
--More-- set spantree portvlancost 3/29 cost 99
set spantree portvlancost 3/30 cost 99
set spantree portvlancost 3/31 cost 99
set spantree portvlancost 3/32 cost 99
set spantree portvlancost 3/33 cost 99
set spantree portvlancost 3/34 cost 99
set spantree guard none 3/1-34
set port gmrp 3/1-34 enable
set gmrp registration normal 3/1-34
set gmrp fwdall disable 3/1-34
set port channel 3/1-2 mode on
set port channel 3/3-34 mode auto silent
!
#module 4 : 48-port 10/100BaseTx Ethernet
set module name 4
set module enable 4
set vlan 4 4/1-29,4/31,4/33,4/35,4/37,4/39,4/41,4/43,4/45,4/47
set vlan 6 4/30,4/32,4/34,4/36,4/38,4/40,4/42,4/44,4/46,4/48
set port auxiliaryvlan 4/1-48 none
set port qos 4/1-48 trust-ext untrusted
set port qos 4/1-48 cos-ext 0
set port enable 4/1-48
set port level 4/1-48 normal
--More-- set port speed 4/1-48 auto
set port trap 4/1-48 disable
set port name 4/1-48
set port dot1x 4/1-48 port-control force-authorized
set port dot1x 4/1-48 multiple-host disable
set port security 4/1-48 disable age 0 maximum 1 shutdown 0 violation shutdown
set port membership 4/1-48 static
set port protocol 4/1-48 ip on
set port protocol 4/1-48 ipx auto
set port protocol 4/1-48 group auto
set cdp enable 4/1-48
set udld disable 4/1-48
set udld aggressive-mode disable 4/1-48
set trunk 4/1 auto dot1q 1-1005
set trunk 4/2 auto dot1q 1-1005
set trunk 4/3 auto dot1q 1-1005
set trunk 4/4 auto dot1q 1-1005
set trunk 4/5 auto dot1q 1-1005
set trunk 4/6 auto dot1q 1-1005
set trunk 4/7 auto dot1q 1-1005
set trunk 4/8 auto dot1q 1-1005
set trunk 4/9 auto dot1q 1-1005
set trunk 4/10 auto dot1q 1-1005
--More-- set trunk 4/11 auto dot1q 1-1005
set trunk 4/12 auto dot1q 1-1005
set trunk 4/13 auto dot1q 1-1005
set trunk 4/14 auto dot1q 1-1005
set trunk 4/15 auto dot1q 1-1005
set trunk 4/16 auto dot1q 1-1005
set trunk 4/17 auto dot1q 1-1005
set trunk 4/18 auto dot1q 1-1005
set trunk 4/19 auto dot1q 1-1005
set trunk 4/20 auto dot1q 1-1005
set trunk 4/21 auto dot1q 1-1005
set trunk 4/22 auto dot1q 1-1005
set trunk 4/23 auto dot1q 1-1005
set trunk 4/24 auto dot1q 1-1005
set trunk 4/25 auto dot1q 1-1005
set trunk 4/26 auto dot1q 1-1005
set trunk 4/27 auto dot1q 1-1005
set trunk 4/28 auto dot1q 1-1005
set trunk 4/29 auto dot1q 1-1005
set trunk 4/30 auto dot1q 1-1005
set trunk 4/31 auto dot1q 1-1005
set trunk 4/32 auto dot1q 1-1005
set trunk 4/33 auto dot1q 1-1005
--More-- set trunk 4/34 auto dot1q 1-1005
set trunk 4/35 auto dot1q 1-1005
set trunk 4/36 auto dot1q 1-1005
set trunk 4/37 auto dot1q 1-1005
set trunk 4/38 auto dot1q 1-1005
set trunk 4/39 auto dot1q 1-1005
set trunk 4/40 auto dot1q 1-1005
set trunk 4/41 auto dot1q 1-1005
set trunk 4/42 auto dot1q 1-1005
set trunk 4/43 auto dot1q 1-1005
set trunk 4/44 auto dot1q 1-1005
set trunk 4/45 auto dot1q 1-1005
set trunk 4/46 auto dot1q 1-1005
set trunk 4/47 auto dot1q 1-1005
set trunk 4/48 auto dot1q 1-1005
set spantree portfast 4/1-48 disable
set spantree portcost 4/5,4/7,4/9,4/12,4/36,4/38,4/40,4/42-44,4/46,4/48 19
set spantree portcost 4/1-4,4/6,4/8,4/10-11,4/13-35,4/37,4/39,4/41,4/45,4/47 100
set spantree portpri 4/1-48 32
set spantree portvlanpri 4/1 0
set spantree portvlanpri 4/2 0
set spantree portvlanpri 4/3 0
set spantree portvlanpri 4/4 0
--More-- set spantree portvlanpri 4/5 0
set spantree portvlanpri 4/6 0
set spantree portvlanpri 4/7 0
set spantree portvlanpri 4/8 0
set spantree portvlanpri 4/9 0
set spantree portvlanpri 4/10 0
set spantree portvlanpri 4/11 0
set spantree portvlanpri 4/12 0
set spantree portvlanpri 4/13 0
set spantree portvlanpri 4/14 0
set spantree portvlanpri 4/15 0
set spantree portvlanpri 4/16 0
set spantree portvlanpri 4/17 0
set spantree portvlanpri 4/18 0
set spantree portvlanpri 4/19 0
set spantree portvlanpri 4/20 0
set spantree portvlanpri 4/21 0
set spantree portvlanpri 4/22 0
set spantree portvlanpri 4/23 0
set spantree portvlanpri 4/24 0
set spantree portvlanpri 4/25 0
set spantree portvlanpri 4/26 0
set spantree portvlanpri 4/27 0
--More-- set spantree portvlanpri 4/28 0
set spantree portvlanpri 4/29 0
set spantree portvlanpri 4/30 0
set spantree portvlanpri 4/31 0
set spantree portvlanpri 4/32 0
set spantree portvlanpri 4/33 0
set spantree portvlanpri 4/34 0
set spantree portvlanpri 4/35 0
set spantree portvlanpri 4/36 0
set spantree portvlanpri 4/37 0
set spantree portvlanpri 4/38 0
set spantree portvlanpri 4/39 0
set spantree portvlanpri 4/40 0
set spantree portvlanpri 4/41 0
set spantree portvlanpri 4/42 0
set spantree portvlanpri 4/43 0
set spantree portvlanpri 4/44 0
set spantree portvlanpri 4/45 0
set spantree portvlanpri 4/46 0
set spantree portvlanpri 4/47 0
set spantree portvlanpri 4/48 0
set spantree portvlancost 4/1 cost 99
set spantree portvlancost 4/2 cost 99
--More-- set spantree portvlancost 4/3 cost 99
set spantree portvlancost 4/4 cost 99
set spantree portvlancost 4/5 cost 18
set spantree portvlancost 4/6 cost 99
set spantree portvlancost 4/7 cost 18
set spantree portvlancost 4/8 cost 99
set spantree portvlancost 4/9 cost 18
set spantree portvlancost 4/10 cost 99
set spantree portvlancost 4/11 cost 99
set spantree portvlancost 4/12 cost 18
set spantree portvlancost 4/13 cost 99
set spantree portvlancost 4/14 cost 99
set spantree portvlancost 4/15 cost 99
set spantree portvlancost 4/16 cost 99
set spantree portvlancost 4/17 cost 99
set spantree portvlancost 4/18 cost 99
set spantree portvlancost 4/19 cost 99
set spantree portvlancost 4/20 cost 99
set spantree portvlancost 4/21 cost 99
set spantree portvlancost 4/22 cost 99
set spantree portvlancost 4/23 cost 99
set spantree portvlancost 4/24 cost 99
set spantree portvlancost 4/25 cost 99
--More-- set spantree portvlancost 4/26 cost 99
set spantree portvlancost 4/27 cost 99
set spantree portvlancost 4/28 cost 99
set spantree portvlancost 4/29 cost 99
set spantree portvlancost 4/30 cost 99
set spantree portvlancost 4/31 cost 99
set spantree portvlancost 4/32 cost 99
set spantree portvlancost 4/33 cost 99
set spantree portvlancost 4/34 cost 99
set spantree portvlancost 4/35 cost 99
set spantree portvlancost 4/36 cost 18
set spantree portvlancost 4/37 cost 99
set spantree portvlancost 4/38 cost 18
set spantree portvlancost 4/39 cost 99
set spantree portvlancost 4/40 cost 18
set spantree portvlancost 4/41 cost 99
set spantree portvlancost 4/42 cost 18
set spantree portvlancost 4/43 cost 18
set spantree portvlancost 4/44 cost 18
set spantree portvlancost 4/45 cost 99
set spantree portvlancost 4/46 cost 18
set spantree portvlancost 4/47 cost 99
set spantree portvlancost 4/48 cost 18
--More-- set spantree guard none 4/1-48
set port gvrp 4/1-48 disable
set gvrp registration normal 4/1-48
set gvrp applicant normal 4/1-48
set port gmrp 4/1-48 enable
set gmrp registration normal 4/1-48
set gmrp fwdall disable 4/1-48
set port channel 4/1-48 mode auto silent
!
#module 5 : 48-port 10/100BaseTx Ethernet
set module name 5
set module enable 5
set vlan 2 5/24,5/26,5/28,5/30,5/32,5/34,5/36,5/38,5/40,5/42,5/44,5/46,5/48
set vlan 6 5/1,5/3,5/5,5/7,5/9,5/11,5/13,5/15,5/17,5/19,5/21,5/23,5/25,5/27,5/29,5/31,5/33,5/35,5/37
set vlan 12 5/2,5/16,5/18,5/20,5/22,5/39,5/41,5/43,5/45,5/47
set vlan 15 5/4,5/6,5/8,5/10,5/12,5/14
set port auxiliaryvlan 5/1-48 none
set port qos 5/1-48 trust-ext untrusted
set port qos 5/1-48 cos-ext 0
set port enable 5/1-48
set port level 5/1-48 normal
set port speed 5/1-48 auto
set port trap 5/1-48 disable
--More-- set port name 5/1-48
set port dot1x 5/1-48 port-control force-authorized
set port dot1x 5/1-48 multiple-host disable
set port security 5/1-48 disable age 0 maximum 1 shutdown 0 violation shutdown
set port membership 5/1-48 static
set port protocol 5/1-48 ip on
set port protocol 5/1-48 ipx auto
set port protocol 5/1-48 group auto
set cdp enable 5/1-48
set udld disable 5/1-48
set udld aggressive-mode disable 5/1-48
set trunk 5/1 auto dot1q 1-1005
set trunk 5/2 auto dot1q 1-1005
set trunk 5/3 auto dot1q 1-1005
set trunk 5/4 auto dot1q 1-1005
set trunk 5/5 auto dot1q 1-1005
set trunk 5/6 auto dot1q 1-1005
set trunk 5/7 auto dot1q 1-1005
set trunk 5/8 auto dot1q 1-1005
set trunk 5/9 auto dot1q 1-1005
set trunk 5/10 auto dot1q 1-1005
set trunk 5/11 auto dot1q 1-1005
set trunk 5/12 auto dot1q 1-1005
--More-- set trunk 5/13 auto dot1q 1-1005
set trunk 5/14 auto dot1q 1-1005
set trunk 5/15 auto dot1q 1-1005
set trunk 5/16 auto dot1q 1-1005
set trunk 5/17 auto dot1q 1-1005
set trunk 5/18 auto dot1q 1-1005
set trunk 5/19 auto dot1q 1-1005
set trunk 5/20 auto dot1q 1-1005
set trunk 5/21 auto dot1q 1-1005
set trunk 5/22 auto dot1q 1-1005
set trunk 5/23 auto dot1q 1-1005
set trunk 5/24 auto dot1q 1-1005
set trunk 5/25 auto dot1q 1-1005
set trunk 5/26 auto dot1q 1-1005
set trunk 5/27 auto dot1q 1-1005
set trunk 5/28 auto dot1q 1-1005
set trunk 5/29 auto dot1q 1-1005
set trunk 5/30 auto dot1q 1-1005
set trunk 5/31 auto dot1q 1-1005
set trunk 5/32 auto dot1q 1-1005
set trunk 5/33 auto dot1q 1-1005
set trunk 5/34 auto dot1q 1-1005
set trunk 5/35 auto dot1q 1-1005
--More-- set trunk 5/36 auto dot1q 1-1005
set trunk 5/37 auto dot1q 1-1005
set trunk 5/38 auto dot1q 1-1005
set trunk 5/39 auto dot1q 1-1005
set trunk 5/40 auto dot1q 1-1005
set trunk 5/41 auto dot1q 1-1005
set trunk 5/42 auto dot1q 1-1005
set trunk 5/43 auto dot1q 1-1005
set trunk 5/44 auto dot1q 1-1005
set trunk 5/45 auto dot1q 1-1005
set trunk 5/46 auto dot1q 1-1005
set trunk 5/47 auto dot1q 1-1005
set trunk 5/48 auto dot1q 1-1005
set spantree portfast 5/1-48 disable
set spantree portcost 5/1,5/3-5,5/7-8,5/15,5/17,5/19,5/21,5/25,5/27,5/33,5/36,5/42,5/46 19
set spantree portcost 5/2,5/6,5/9-14,5/16,5/18,5/20,5/22-24,5/26,5/28-32,5/34-35,5/37-41,5/43-45,5/47-48 100
set spantree portpri 5/1-48 32
set spantree portvlanpri 5/1 0
set spantree portvlanpri 5/2 0
set spantree portvlanpri 5/3 0
set spantree portvlanpri 5/4 0
set spantree portvlanpri 5/5 0
set spantree portvlanpri 5/6 0
--More-- set spantree portvlanpri 5/7 0
set spantree portvlanpri 5/8 0
set spantree portvlanpri 5/9 0
set spantree portvlanpri 5/10 0
set spantree portvlanpri 5/11 0
set spantree portvlanpri 5/12 0
set spantree portvlanpri 5/13 0
set spantree portvlanpri 5/14 0
set spantree portvlanpri 5/15 0
set spantree portvlanpri 5/16 0
set spantree portvlanpri 5/17 0
set spantree portvlanpri 5/18 0
set spantree portvlanpri 5/19 0
set spantree portvlanpri 5/20 0
set spantree portvlanpri 5/21 0
set spantree portvlanpri 5/22 0
set spantree portvlanpri 5/23 0
set spantree portvlanpri 5/24 0
set spantree portvlanpri 5/25 0
set spantree portvlanpri 5/26 0
set spantree portvlanpri 5/27 0
set spantree portvlanpri 5/28 0
set spantree portvlanpri 5/29 0
--More-- set spantree portvlanpri 5/30 0
set spantree portvlanpri 5/31 0
set spantree portvlanpri 5/32 0
set spantree portvlanpri 5/33 0
set spantree portvlanpri 5/34 0
set spantree portvlanpri 5/35 0
set spantree portvlanpri 5/36 0
set spantree portvlanpri 5/37 0
set spantree portvlanpri 5/38 0
set spantree portvlanpri 5/39 0
set spantree portvlanpri 5/40 0
set spantree portvlanpri 5/41 0
set spantree portvlanpri 5/42 0
set spantree portvlanpri 5/43 0
set spantree portvlanpri 5/44 0
set spantree portvlanpri 5/45 0
set spantree portvlanpri 5/46 0
set spantree portvlanpri 5/47 0
set spantree portvlanpri 5/48 0
set spantree portvlancost 5/1 cost 18
set spantree portvlancost 5/2 cost 99
set spantree portvlancost 5/3 cost 18
set spantree portvlancost 5/4 cost 18
--More-- set spantree portvlancost 5/5 cost 18
set spantree portvlancost 5/6 cost 99
set spantree portvlancost 5/7 cost 18
set spantree portvlancost 5/8 cost 18
set spantree portvlancost 5/9 cost 99
set spantree portvlancost 5/10 cost 99
set spantree portvlancost 5/11 cost 99
set spantree portvlancost 5/12 cost 99
set spantree portvlancost 5/13 cost 99
set spantree portvlancost 5/14 cost 99
set spantree portvlancost 5/15 cost 18
set spantree portvlancost 5/16 cost 99
set spantree portvlancost 5/17 cost 18
set spantree portvlancost 5/18 cost 99
set spantree portvlancost 5/19 cost 18
set spantree portvlancost 5/20 cost 99
set spantree portvlancost 5/21 cost 18
set spantree portvlancost 5/22 cost 99
set spantree portvlancost 5/23 cost 99
set spantree portvlancost 5/24 cost 99
set spantree portvlancost 5/25 cost 18
set spantree portvlancost 5/26 cost 99
set spantree portvlancost 5/27 cost 18
--More-- set spantree portvlancost 5/28 cost 99
set spantree portvlancost 5/29 cost 99
set spantree portvlancost 5/30 cost 99
set spantree portvlancost 5/31 cost 99
set spantree portvlancost 5/32 cost 99
set spantree portvlancost 5/33 cost 18
set spantree portvlancost 5/34 cost 99
set spantree portvlancost 5/35 cost 99
set spantree portvlancost 5/36 cost 18
set spantree portvlancost 5/37 cost 99
set spantree portvlancost 5/38 cost 99
set spantree portvlancost 5/39 cost 99
set spantree portvlancost 5/40 cost 99
set spantree portvlancost 5/41 cost 99
set spantree portvlancost 5/42 cost 18
set spantree portvlancost 5/43 cost 99
set spantree portvlancost 5/44 cost 99
set spantree portvlancost 5/45 cost 99
set spantree portvlancost 5/46 cost 18
set spantree portvlancost 5/47 cost 99
set spantree portvlancost 5/48 cost 99
set spantree guard none 5/1-48
set port gvrp 5/1-48 disable
--More-- set gvrp registration normal 5/1-48
set gvrp applicant normal 5/1-48
set port gmrp 5/1-48 enable
set gmrp registration normal 5/1-48
set gmrp fwdall disable 5/1-48
set port channel 5/1-48 mode auto silent
!
#module 6 empty
!
#switch port analyzer
!
#cam
set cam agingtime 1-17,1003,1005 300
!
#gvrp
set gvrp dynamic-vlan-creation disable
set gvrp disable
!
#authorization
set authorization exec disable console
set authorization exec disable telnet
set authorization enable disable console
set authorization enable disable telnet
--More-- set authorization commands disable console
set authorization commands disable telnet
end
4006-1 (enable) show run
Unknown command "show run". Use 'show help' for more info.
4006-1 (enable) shoe ow config
This command shows non-default configurations only.
Use 'show config all' to show both default and non-default configurations.
............
..................
..................
....................
....................
....................
..
begin
!
# ***** NON-DEFAULT CONFIGURATION *****
!
!
#time: Fri Jan 11 2002, 00:39:33
!
#version 6.2(1)
!
!
#system web interface version(s)
set password $2$tss5$Pnjd5Y/IOkhxMpJgUWk.j1
--More-- set enablepass $2$JHQF$v8BeanMxtj1.qVjcXrAW60
set prompt 4006-1
!
#test
!
#frame distribution method
set port channel all distribution mac both
!
#vtp
set vtp domain shejiyuan
set vtp v2 enable
set vtp pruning enable
set vlan 1 name default type ethernet mtu 1500 said 100001 state active
set vlan 2 name yibu type ethernet mtu 1500 said 100002 state active
set vlan 3 name erbu type ethernet mtu 1500 said 100003 state active
set vlan 4 name sanbu type ethernet mtu 1500 said 100004 state active
set vlan 5 name sibu type ethernet mtu 1500 said 100005 state active
set vlan 6 name wubu type ethernet mtu 1500 said 100006 state active
set vlan 7 name yuanban type ethernet mtu 1500 said 100007 state active
set vlan 8 name jingying type ethernet mtu 1500 said 100008 state active
set vlan 9 name jicai type ethernet mtu 1500 said 100009 state active
set vlan 10 name jizhi type ethernet mtu 1500 said 100010 state active
set vlan 11 name renshi type ethernet mtu 1500 said 100011 state active
--More-- set vlan 12 name itban type ethernet mtu 1500 said 100012 state active
set vlan 13 name xindang type ethernet mtu 1500 said 100013 state active
set vlan 14 name touzi type ethernet mtu 1500 said 100014 state active
set vlan 15 name service type ethernet mtu 1500 said 100015 state active
set vlan 16 name out type ethernet mtu 1500 said 100016 state active
set vlan 17 name zixun type ethernet mtu 1500 said 100017 state active
set vlan 1002 name fddi-default type fddi mtu 1500 said 101002 state active
set vlan 1004 name fddinet-default type fddinet mtu 1500 said 101004 state active bridge 0x0 stp ieee
set vlan 1005 name trbrf-default type trbrf mtu 4472 said 101005 state active bridge 0xf stp ibm
set vlan 1003 name trcrf-default type trcrf mtu 4472 said 101003 state active parent 1005 ring 0xccc mode srb aremaxhop 7 stemaxhop 7 backupcrf off
!
#ip
set interface sc0 1 172.16.1.1/255.255.255.0 172.16.1.255
set interface sl0 down
set interface me1 down
set ip route 0.0.0.0/0.0.0.0 172.16.1.254
!
#syslog
set logging console disable
set logging level cops 2 default
!
#set boot command
--More-- set boot config-register 0x2
set boot system flash bootflash:cat4000.6-2-1.bin
!
#mls
set mls nde disable
!
#port channel
set port channel 3/1-2 1
!
#module 1 : 2-port 1000BaseX Supervisor
set trunk 1/1 on dot1q 1-1005
set trunk 1/2 on dot1q 1-1005
!
#module 2 : 6-port 1000BaseX Ethernet
set trunk 2/1 on dot1q 1-1005
set trunk 2/2 on dot1q 1-1005
set trunk 2/3 on dot1q 1-1005
set trunk 2/4 on dot1q 1-1005
set trunk 2/5 on dot1q 1-1005
set trunk 2/6 on dot1q 1-1005
!
#module 3 : 34-port Router Switch Card
set vlan 12 3/7,3/9,3/11,3/13,3/20,3/22
--More-- set vlan 17 3/3-6,3/8,3/10,3/12,3/14-19,3/21,3/23-34
set trunk 3/1 on dot1q 1-1005
set trunk 3/2 on dot1q 1-1005
set spantree portfast 3/4 enable
set port channel 3/1-2 mode on
!
#module 4 : 48-port 10/100BaseTx Ethernet
set vlan 4 4/1-29,4/31,4/33,4/35,4/37,4/39,4/41,4/43,4/45,4/47
set vlan 6 4/30,4/32,4/34,4/36,4/38,4/40,4/42,4/44,4/46,4/48
!
#module 5 : 48-port 10/100BaseTx Ethernet
set vlan 2 5/24,5/26,5/28,5/30,5/32,5/34,5/36,5/38,5/40,5/42,5/44,5/46,5/48
set vlan 6 5/1,5/3,5/5,5/7,5/9,5/11,5/13,5/15,5/17,5/19,5/21,5/23,5/25,5/27,5/29,5/31,5/33,5/35,5/37
set vlan 12 5/2,5/16,5/18,5/20,5/22,5/39,5/41,5/43,5/45,5/47
set vlan 15 5/4,5/6,5/8
set vlan 16 5/12,5/14
!
#module 6 empty
end
4006-1 (enable)
路由部分
show run
Building configuration...
Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
enable secret 5 $1$olZk$wzTKQ1pvCkjTyJvtsxlZm.
!
ip subnet-zero
bridge irb
!
!
!
interface Port-channel1
no ip address
no ip directed-broadcast
hold-queue 300 in
!
interface Port-channel1.1
encapsulation dot1Q 1 native
no ip redirects
no ip directed-broadcast
bridge-group 1
!
interface Port-channel1.2
encapsulation dot1Q 2
ip address 172.16.2.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.3
encapsulation dot1Q 3
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
bridge-group 2
!
interface Port-channel1.4
encapsulation dot1Q 4
ip address 172.16.4.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.5
encapsulation dot1Q 5
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
bridge-group 3
!
interface Port-channel1.6
encapsulation dot1Q 6
ip address 172.16.6.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.7
encapsulation dot1Q 7
ip address 172.16.7.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.8
encapsulation dot1Q 8
ip address 172.16.8.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.9
encapsulation dot1Q 9
ip address 172.16.9.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.10
encapsulation dot1Q 10
ip address 172.16.10.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.11
encapsulation dot1Q 11
ip address 172.16.11.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.12
encapsulation dot1Q 12
ip address 172.16.12.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.13
encapsulation dot1Q 13
ip address 172.16.13.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.14
encapsulation dot1Q 14
ip address 172.16.14.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.15
encapsulation dot1Q 15
ip address 172.16.15.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.16
encapsulation dot1Q 16
ip address 172.16.16.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.17
encapsulation dot1Q 17
ip address 172.16.17.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel7
no ip address
no ip directed-broadcast
hold-queue 300 in
!
interface FastEthernet1
no ip address
no ip directed-broadcast
shutdown
!
interface GigabitEthernet1
no ip address
no ip directed-broadcast
!
interface GigabitEthernet1.1
encapsulation dot1Q 1 native
no ip redirects
no ip directed-broadcast
bridge-group 1
!
interface GigabitEthernet1.2
encapsulation dot1Q 3
no ip redirects
no ip directed-broadcast
bridge-group 2
!
interface GigabitEthernet1.3
encapsulation dot1Q 5
no ip redirects
no ip directed-broadcast
bridge-group 3
!
interface GigabitEthernet2
no ip address
no ip directed-broadcast
!
interface GigabitEthernet2.1
encapsulation dot1Q 1 native
no ip redirects
no ip directed-broadcast
bridge-group 1
!
interface GigabitEthernet3
no ip address
no ip directed-broadcast
no negotiation auto
channel-group 1
!
interface GigabitEthernet4
no ip address
no ip directed-broadcast
no negotiation auto
channel-group 1
!
interface BVI1
ip address 172.16.1.254 255.255.255.0
no ip directed-broadcast
!
interface BVI2
ip address 172.16.3.254 255.255.255.0
ip helper-address 172.16.15.1
no ip directed-broadcast
!
interface BVI3
ip address 172.16.5.254 255.255.255.0
ip helper-address 172.16.15.1
no ip directed-broadcast
!
ip classless
!
bridge 1 protocol ieee
bridge 1 route ip
bridge 2 protocol ieee
bridge 2 route ip
bridge 3 protocol ieee
bridge 3 route ip
bridge 4 protocol ieee
bridge 4 route ip
bridge 5 protocol ieee
bridge 5 route ip
bridge 6 protocol ieee
bridge 6 route ip
bridge 7 protocol ieee
bridge 7 route ip
bridge 8 protocol ieee
bridge 8 route ip
bridge 9 protocol ieee
bridge 9 route ip
bridge 10 protocol ieee
bridge 10 route ip
bridge 11 protocol ieee
bridge 11 route ip
bridge 12 protocol ieee
bridge 12 route ip
bridge 13 protocol ieee
bridge 13 route ip
bridge 14 protocol ieee
bridge 14 route ip
bridge 15 protocol ieee
bridge 15 route ip
bridge 16 protocol ieee
bridge 16 route ip
bridge 17 protocol ieee
bridge 17 route ip
!
line con 0
transport input none
line aux 0
line vty 0 4
password cisco
login
!
end
Router#show run
Building configuration...
Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
enable secret 5 $1$olZk$wzTKQ1pvCkjTyJvtsxlZm.
!
ip subnet-zero
bridge irb
!
!
!
interface Port-channel1
no ip address
no ip directed-broadcast
hold-queue 300 in
!
interface Port-channel1.1
encapsulation dot1Q 1 native
no ip redirects
no ip directed-broadcast
bridge-group 1
!
interface Port-channel1.2
encapsulation dot1Q 2
ip address 172.16.2.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.3
encapsulation dot1Q 3
ip helper-address 172.16.15.6
ip helper-address 172.16.15.1
no ip redirects
no ip directed-broadcast
bridge-group 2
!
interface Port-channel1.4
encapsulation dot1Q 4
ip address 172.16.4.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.5
encapsulation dot1Q 5
ip helper-address 172.16.15.6
ip helper-address 172.16.15.1
no ip redirects
no ip directed-broadcast
bridge-group 3
!
interface Port-channel1.6
encapsulation dot1Q 6
ip address 172.16.6.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.7
encapsulation dot1Q 7
ip address 172.16.7.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.8
encapsulation dot1Q 8
ip address 172.16.8.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.9
encapsulation dot1Q 9
ip address 172.16.9.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.10
encapsulation dot1Q 10
ip address 172.16.10.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.11
encapsulation dot1Q 11
ip address 172.16.11.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.12
encapsulation dot1Q 12
ip address 172.16.12.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.13
encapsulation dot1Q 13
ip address 172.16.13.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.14
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.15
encapsulation dot1Q 15
ip address 172.16.15.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.16
--More-- encapsulation dot1Q 16
ip address 172.16.16.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.17
encapsulation dot1Q 17
ip address 172.16.17.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel7
no ip address
no ip directed-broadcast
hold-queue 300 in
!
interface FastEthernet1
no ip address
no ip directed-broadcast
--More-- shutdown
!
interface GigabitEthernet1
no ip address
no ip directed-broadcast
!
interface GigabitEthernet1.1
encapsulation dot1Q 1 native
no ip redirects
no ip directed-broadcast
bridge-group 1
!
interface GigabitEthernet1.2
encapsulation dot1Q 3
no ip redirects
no ip directed-broadcast
bridge-group 2
!
interface GigabitEthernet1.3
encapsulation dot1Q 5
no ip redirects
no ip directed-broadcast
bridge-group 3
--More-- !
interface GigabitEthernet2
no ip address
no ip directed-broadcast
!
interface GigabitEthernet2.1
encapsulation dot1Q 1 native
no ip redirects
no ip directed-broadcast
bridge-group 1
!
interface GigabitEthernet2.14
encapsulation dot1Q 14
ip address 172.16.14.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
bridge-group 14
!
interface GigabitEthernet3
no ip address
no ip directed-broadcast
--More-- no negotiation auto
channel-group 1
!
interface GigabitEthernet4
no ip address
no ip directed-broadcast
no negotiation auto
channel-group 1
!
interface BVI1
ip address 172.16.1.254 255.255.255.0
ip helper-address 172.16.15.6
ip helper-address 172.16.15.1
no ip directed-broadcast
!
interface BVI2
ip address 172.16.3.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip directed-broadcast
!
interface BVI3
ip address 172.16.5.254 255.255.255.0
--More-- ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip directed-broadcast
!
interface BVI4
no ip address
no ip directed-broadcast
!
ip classless
!
bridge 1 protocol ieee
bridge 1 route ip
bridge 2 protocol ieee
bridge 2 route ip
bridge 3 protocol ieee
bridge 3 route ip
bridge 4 protocol ieee
bridge 4 route ip
bridge 5 protocol ieee
bridge 5 route ip
bridge 6 protocol ieee
bridge 6 route ip
bridge 7 protocol ieee
--More-- 2001 Nov 20 00:22:31 %PAGP-5-PORTFROMSTP:Port 5/19 left bridge port 5/19
bridge 7 route ip
bridge 8 protocol ieee
bridge 8 route ip
bridge 9 protocol ieee
bridge 9 route ip
bridge 10 protocol ieee
bridge 10 route ip
bridge 11 protocol ieee
bridge 11 route ip
bridge 12 protocol ieee
bridge 12 route ip
bridge 13 protocol ieee
bridge 13 route ip
bridge 14 protocol ieee
bridge 14 route ip
bridge 15 protocol ieee
bridge 15 route ip
bridge 16 protocol ieee
bridge 16 route ip
bridge 17 protocol ieee
bridge 17 route ip
!
line con 0
--More-- transport input none
line aux 0
line vty 0 4
password cisco
login
!
end
Router#show run
Building configuration...
Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
enable secret 5 $1$olZk$wzTKQ1pvCkjTyJvtsxlZm.
!
ip subnet-zero
bridge irb
!
!
!
interface Port-channel1
no ip address
no ip directed-broadcast
hold-queue 300 in
!
--More-- interface Port-channel1.1
encapsulation dot1Q 1 native
no ip redirects
no ip directed-broadcast
bridge-group 1
!
interface Port-channel1.2
encapsulation dot1Q 2
ip address 172.16.2.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.3
encapsulation dot1Q 3
ip helper-address 172.16.15.6
ip helper-address 172.16.15.1
no ip redirects
no ip directed-broadcast
bridge-group 2
!
interface Port-channel1.4
--More-- encapsulation dot1Q 4
ip address 172.16.4.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.5
encapsulation dot1Q 5
ip helper-address 172.16.15.6
ip helper-address 172.16.15.1
no ip redirects
no ip directed-broadcast
bridge-group 3
!
interface Port-channel1.6
encapsulation dot1Q 6
ip address 172.16.6.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
--More-- interface Port-channel1.7
encapsulation dot1Q 7
ip address 172.16.7.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.8
encapsulation dot1Q 8
ip address 172.16.8.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.9
encapsulation dot1Q 9
ip address 172.16.9.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
--More-- !
interface Port-channel1.10
encapsulation dot1Q 10
ip address 172.16.10.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.11
encapsulation dot1Q 11
ip address 172.16.11.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.12
encapsulation dot1Q 12
ip address 172.16.12.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
--More-- no ip directed-broadcast
!
interface Port-channel1.13
encapsulation dot1Q 13
ip address 172.16.13.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.15
encapsulation dot1Q 15
ip address 172.16.15.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.16
encapsulation dot1Q 16
ip address 172.16.16.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
--More-- no ip redirects
no ip directed-broadcast
!
interface Port-channel1.17
encapsulation dot1Q 17
ip address 172.16.17.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface Port-channel7
no ip address
no ip directed-broadcast
hold-queue 300 in
!
interface FastEthernet1
no ip address
no ip directed-broadcast
shutdown
!
interface GigabitEthernet1
no ip address
--More-- no ip directed-broadcast
!
interface GigabitEthernet1.1
encapsulation dot1Q 1 native
no ip redirects
no ip directed-broadcast
bridge-group 1
!
interface GigabitEthernet1.2
encapsulation dot1Q 3
no ip redirects
no ip directed-broadcast
bridge-group 2
!
interface GigabitEthernet1.3
encapsulation dot1Q 5
no ip redirects
no ip directed-broadcast
bridge-group 3
!
interface GigabitEthernet2
no ip address
no ip directed-broadcast
--More-- !
interface GigabitEthernet2.1
encapsulation dot1Q 1 native
no ip redirects
no ip directed-broadcast
bridge-group 1
!
interface GigabitEthernet2.14
encapsulation dot1Q 14
ip address 172.16.14.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip redirects
no ip directed-broadcast
!
interface GigabitEthernet3
no ip address
no ip directed-broadcast
no negotiation auto
channel-group 1
!
interface GigabitEthernet4
no ip address
--More-- no ip directed-broadcast
no negotiation auto
channel-group 1
!
interface BVI1
ip address 172.16.1.254 255.255.255.0
ip helper-address 172.16.15.6
ip helper-address 172.16.15.1
no ip directed-broadcast
!
interface BVI2
ip address 172.16.3.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip directed-broadcast
!
interface BVI3
ip address 172.16.5.254 255.255.255.0
ip helper-address 172.16.15.1
ip helper-address 172.16.15.6
no ip directed-broadcast
!
ip classless
--More-- !
snmp-server community public RO
snmp-server community private RW
snmp-server host 172.16.1.253 traps private
bridge 1 protocol ieee
bridge 1 route ip
bridge 2 protocol ieee
bridge 2 route ip
bridge 3 protocol ieee
bridge 3 route ip
bridge 4 protocol ieee
bridge 4 route ip
bridge 5 protocol ieee
bridge 5 route ip
!
line con 0
transport input none
line aux 0
line vty 0 4
password cisco
login
!
end
--More--
Router#
二级交换机:
show run
Building configuration...
Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 3524-9
!
enable secret 5 $1$y7o0$fqO2fW9kYUZJGxlVDW.1w/
!
!
!
!
!
!
ip subnet-zero
!
!
!
interface FastEthernet0/1
--More-- switchport Access vlan 5
!
interface FastEthernet0/2
switchport access vlan 5
!
interface FastEthernet0/3
switchport access vlan 5
!
interface FastEthernet0/4
switchport access vlan 5
!
interface FastEthernet0/5
switchport access vlan 5
!
interface FastEthernet0/6
switchport access vlan 5
!
interface FastEthernet0/7
switchport access vlan 5
!
interface FastEthernet0/8
switchport access vlan 5
!
--More-- interface FastEthernet0/9
switchport access vlan 5
!
interface FastEthernet0/10
switchport access vlan 5
!
interface FastEthernet0/11
switchport access vlan 5
!
interface FastEthernet0/12
switchport access vlan 5
!
interface FastEthernet0/13
switchport access vlan 5
!
interface FastEthernet0/14
switchport access vlan 5
!
interface FastEthernet0/15
switchport access vlan 5
!
interface FastEthernet0/16
switchport access vlan 5
--More-- !
interface FastEthernet0/17
switchport access vlan 5
!
interface FastEthernet0/18
switchport access vlan 3
!
interface FastEthernet0/19
switchport access vlan 3
!
interface FastEthernet0/20
switchport access vlan 3
!
interface FastEthernet0/21
switchport access vlan 3
!
interface FastEthernet0/22
switchport access vlan 5
!
interface FastEthernet0/23
switchport access vlan 5
!
interface FastEthernet0/24
--More-- switchport access vlan 5
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree vlan 1 cost 128
!
interface VLAN1
ip address 172.16.1.9 255.255.255.0
no ip directed-broadcast
no ip route-cache
!
ip default-gateway 172.16.1.254
snmp-server engineID local 0000000902000007502F5E80
snmp-server community private RW
snmp-server community public RO
snmp-server host 172.16.1.253 trap private
!
line con 0
transport input none
stopbits 1
--More-- line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
end
3524-9#