The topology is as follows:
1. Catalyst 6509 Switch configuration Scheme
1.1 configure Layer-2 switching
Console> (enable) set system name bg-sw-01/device name
Bg-sw-01> (enable) set password
Enter old password:
Enter new password: test/device password
Retype new password: test
Bg-sw-01> (enable) set enablepass
Enter old password:
Enter new password: test/device password
Retype new password: test
Bg-sw-01> (enable) set banner motd % Welcome to the c6509 in the office %/prompt text
Bg-sw-01> (enable) set interface sc0 10.234.180.21 255.255.255.0/set management interface # sh int
Bg-sw-01> (enable) set ip route default 10.234.180.234/set default Gateway # sh ip route
Bg-sw-01> (enable) set vtp mode server/set VTP mode # sh vtp domain
Bg-sw-01> (enable) set vtp domain Core_Net/set VTP domain Name
Bg-sw-01> (enable) set vlan 31 name ZhongSanLu/create VLAN # sh vlan
Bg-sw-01> (enable) set vlan 32 name YiYang
Bg-sw-01> (enable) set vlan 33 name JianXiu
Bg-sw-01> (enable) set vlan 34 name RaoDian
Bg-sw-01> (enable) set vlan 35 name JinSanLou
Bg-sw-01> (enable) set vlan 36 name WuZi
Bg-sw-01> (enable) set port channel 1/1-2 on/set Channel # sh port channel
Bg-sw-01> (enable) set trunk 1/1 on dot1q 1-1005
Bg-sw-01> (enable) set trunk 2/2 on dot1q 1-1005/set trunk port # sh trunk #
Bg-sw-01> (enable) set trunk 2/3 on dot1q 1-1005
Bg-sw-01> (enable) set trunk 2/4 on dot1q 1-1005
Bg-sw-01> (enable) set trunk 2/5 on dot1q 1-1005
Bg-sw-01> (enable) set trunk 2/6 on dot1q 1-1005
Bg-sw-01> (enable) set trunk 2/7 on dot1q 1-1005
Bg-sw-01> (enable) set spantree root 1-40 dia 4/set to spantree root # sh spantree
Bg-sw-01> (enable) set spantree portfast 1/1-2 enable/set spantree port Quick Start
Bg-sw-01> (enable) set spantree portfast 2/1-8 enable
Bg-sw-01> (enable) set spantree uplinkfast enable/set spantree port Quick Switch
Bg-sw-01> (enable) set spantree backbonefast enable/set spantree port to quickly locate the root
1.2 configure routes
Console> (enable) session 15/enter the route sub-card
Router (config) # hostname c6509-msfc/device name
C6509-msfc (config) # enable password test/SET password
C6509-msfc (config) # enable secret test
C6509-msfc (config) # banner motd % Welcome to the c6509-msfc in the Office %/set prompt text
C6509-msfc (config) # line vty 0 4/Enter VTY Mode
C6509-msfc (config-line) # login/login prompt
C6509-msfc (config-line) # password test/set user-level password
C6509-msfc (config-line) # end
C6509-msfc # configure terminal/enter global Mode
Enter configuration commands, one per line. End with CNTL/Z.
C6509-msfc (config) # interface vlan 1/entry virtual sub interface
C6509-msfc (config-if) # ip address 10.234.180.20.255.255.255.0/Add ip address
C6509-msfc (config-if) # no shutdown/enable port
C6509-msfc (config-if) # standby 1 ip 10.234.180.234/create HSRP group and set virtual ip Address
C6509-msfc (config-if) # standby 1 priority 110/set priority
C6509-msfc (config-if) # standby 1 preempt/set switch license
C6509-msfc (config-if) # interface vlan 31
C6509-msfc (config-if) # ip address 10.234.181.60 255.255.255.192
C6509-msfc (config-if) # no shutdown
C6509-msfc (config-if) # standby 31 ip 10.234.181.62
C6509-msfc (config-if) # standby 31 priority 110
C6509-msfc (config-if) # standby 31 preempt
C6509-msfc (config-if) # interfacevlan 32
C6509-msfc (config-if) # ip address 10.234.181.124 255.255.255.192
C6509-msfc (config-if) # no shutdown
C6509-msfc (config-if) # standby 32 ip 10.234.181.126
C6509-msfc (config-if) # standby 32 priority 110
C6509-msfc (config-if) # standby 32 preempt
C6509-msfc (config-if) # interface vlan 33
C6509-msfc (config-if) # ip address 10.234.181.188 255.255.255.192
C6509-msfc (config-if) # no shutdown
C6509-msfc (config-if) # standby 33 ip 10.234.181.190
C6509-msfc (config-if) # standby 33 priority 110
C6509-msfc (config-if) # standby 33 preempt
C6509-msfc (config-if) # interface vlan 34
C6509-msfc (config-if) # ip address 10.234.181.220 too many connections
C6509-msfc (config-if) # no shutdown
C6509-msfc (config-if) # standby 34 ip 10.234.181.222
C6509-msfc (config-if) # standby 34 priority 110
C6509-msfc (config-if) # standby 34 preempt
C6509-msfc (config-if) # interface vlan 35
C6509-msfc (config-if) # ip address 10.234.181.254 252.20.20.large
C6509-msfc (config-if) # no shutdown
C6509-msfc (config-if) # standby 35 ip 10.234.181.254
C6509-msfc (config-if) # standby 35 priority 110
C6509-msfc (config-if) # standby 35 preempt
C6509-msfc (config-if) # interface vlan 36
C6509-msfc (config-if) # ip address 10.234.182.28 too many rows
C6509-msfc (config-if) # no shutdown
C6509-msfc (config-if) # standby 36 ip 10.234.182.30
C6509-msfc (config-if) # standby 36 priority 110
C6509-msfc (config-if) # standby 36 preempt
C6509-msfc (config-if) # exit
C6509-msfc # copy running config
Ii. Catalyst 4006 Switch configuration Scheme
2.1 configure 4006 Layer 2 switch Layer 3 Switch module in the second slot)
Console> (enable) set system name bg-sw-02/device name
Bg-sw-02> (enable) set password
Enter old password:
Enter new password: test/device password
Retype new password: test
Bg-sw-02> (enable) set enablepass
Enter old password:
Enter new password: test/device password
Retype new password: test
Bg-sw-02> (enable) set banner motd % Welcome to the c4006 in the office %/prompt text
Bg-sw-02> (enable) set interface sc0 10.234.180.22 255.255.255.0/set management interface # sh int
Bg-sw-02> (enable) set ip route default 10.234.180.234/set default Gateway # sh ip route
Bg-sw-02> (enable) set vtp mode server/set VTP mode # sh vtp domain
Bg-sw-02> (enable) set vtp domain Core_Net/set VTP domain Name
Bg-sw-02> (enable) set vlan 31 name ZhongSanLu/create VLAN # sh vlan
Bg-sw-02> (enable) set vlan 32 name YiYang
Bg-sw-02> (enable) set vlan 33 name JianXiu
Bg-sw-02> (enable) set vlan 34 name RaoDian
Bg-sw-02> (enable) set vlan 35 name JinSanLou
Bg-sw-02> (enable) set vlan 36 name WuZi
Bg-sw-02> (enable) set port channel 1/1-2 on/set Channel # sh port channel
Bg-sw-02> (enable) set trunk 1/1 on dot1q 1-1005
Bg-sw-02> (enable) set port channel 2/1-2 on/set Channel # sh port channel
Bg-sw-02> (enable) set trunk 2/1 on dot1q 1-1005
Bg-sw-02> (enable) set trunk 4/1 on dot1q 1-1005/set trunk port # sh trunk #
Bg-sw-02> (enable) set trunk 4/3 on dot1q 1-1005
Bg-sw-02> (enable) set trunk 4/4 on dot1q 1-1005
Bg-sw-02> (enable) set spantree root secondary 1-40 dia 4
Bg-sw-02> (enable) set spantree portfast 1/1-2 enable/set spantree port Quick Start
Bg-sw-02> (enable) set spantree portfast 2/1-34 enable
Bg-sw-02> (enable) set spantree portfast 3/1-32 enable
Bg-sw-02> (enable) set spantree portfast 4/1-6 enable
Bg-sw-02> (enable) set spantree uplinkfast enable/set spantree port Quick Switch
Bg-sw-02> (enable) set spantree backbonefast enable/set spantree port to quickly locate the root
2.1 configure the layer-3 switching module. The layer-3 Switching Module is placed in the second place)
Console> (enable) session 2/enter the route sub-card
Router (config) # hostname c4006-L3/device name
C4006-L3 (config) # enable password test/SET password
C4006-L3 (config) # enable secret test
C4006-L3 (config) # banner motd % Welcome to the c4006-l3 in the Office %/set prompt text
C4006-L3 (config) # line vty 0 4/Enter VTY Mode
C4006-L3 (config-line) # login/login prompt
C4006-L3 (config-line) # password test/set user-level password
C4006-L3 (config-line) # end
C4006-L3 # configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
C4006-L3 (config) # interface port-channel 1/build internal virtual port
C4006-L3 (config) # interface g3/Enter interface mode
C4006-L3 (config-if) # channel-group 1/Add to channel group
C4006-L3 (config-if) # exit
C4006-L3 (config) # interface g4/Enter interface mode
C4006-L3 (config-if) # channel-group 1/Add to channel group
C4006-L3 (config-if) # exit
C4006-L3 (config) # interface port-channel 1.1/enter sub-interface mode
C4006-L3 (config-if) # encapsulation dot1q 1 native/encapsulation trunk
C4006-L3 (config-if) # ip address 10.234.180.233 255.255.255.0/Add ip address
C4006-L3 (config-if) # no shutdown/enable port
C4006-L3 (config-if) # standby 1 ip 10.234.180.234/create HSRP group and set virtual ip Address
C4006-L3 (config-if) # standby 1 priority 100/set priority
C4006-L3 (config-if) # standby 1 preempt/set switch license
C4006-L3 (config-if) # interface port-channel 1.31
C4006-L3 (config-if) # encapsulation dot1q 31
C4006-L3 (config-if) # ip address 10.234.181.61 255.255.255.192
C4006-L3 (config-if) # no shutdown
C4006-L3 (config-if) # standby 31 ip 10.234.181.62
C4006-L3 (config-if) # standby 31 priority 100
C4006-L3 (config-if) # standby 31 preempt
C4006-L3 (config-if) # interface port-channel 1.32
C4006-L3 (config-if) # encapsulation dot1q 32
C4006-L3 (config-if) # ip address 10.234.181.125 255.255.255.192
C4006-L3 (config-if) # no shutdown
C4006-L3 (config-if) # standby 32 ip 10.234.181.126
C4006-L3 (config-if) # standby 32 priority 100
C4006-L3 (config-if) # standby 32 preempt
C4006-L3 (config-if) # interface port-channel 1.33
C4006-L3 (config-if) # encapsulation dot1q 33
C4006-L3 (config-if) # ip address 10.234.181.189 255.255.255.192
C4006-L3 (config-if) # no shutdown
C4006-L3 (config-if) # standby 33 ip 10.234.181.190
C4006-L3 (config-if) # standby 33 priority 100
C4006-L3 (config-if) # standby 33 preempt
C4006-L3 (config-if) # interface port-channel 1.34
C4006-L3 (config-if) # encapsulation dot1q 34
C4006-L3 (config-if) # ip address 10.234.181.221 too many connections
C4006-L3 (config-if) # no shutdown
C4006-L3 (config-if) # standby 34 ip 10.234.181.222
C4006-L3 (config-if) # standby 34 priority 100
C4006-L3 (config-if) # standby 34 preempt
C4006-L3 (config-if) # interface port-channel 1.35
C4006-L3 (config-if) # encapsulation dot1q 35
C4006-L3 (config-if) # ip address 10.234.181.253 too many
C4006-L3 (config-if) # no shutdown
C4006-L3 (config-if) # standby 35 ip 10.234.181.254
C4006-L3 (config-if) # standby 35 priority 100
C4006-L3 (config-if) # standby 35 preempt
C4006-L3 (config-if) # interface port-channel 1.36
C4006-L3 (config-if) # encapsulation dot1q 36
C4006-L3 (config-if) # ip address 10.234.182.29 too many rows
C4006-L3 (config-if) # no shutdown
C4006-L3 (config-if) # standby 36 ip 10.234.182.30
C4006-L3 (config-if) # standby 36 priority 100
C4006-L3 (config-if) # standby 36 preempt
C4006-L3 (config-if) # exit
C4006-L3 # copy running config
Iii. Catalyst 3500XL Switch configuration Scheme
3.1 office building Catalyst 3500XL Switch configuration Scheme
First Catalyst 3548
Switch # configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch (config) # hostname bg-sw-03/device name
Bg-sw-03 (config) # enable password test/SET password
Bg-sw-03 (config) # enable secret test
Bg-sw-03 (config) # banner motd % Welcome to the C3548 in the Office %/prompt text
Bg-sw-03 (config) # line vty 0 4/Enter VTY Mode
Bg-sw-03 (config. line) # login/login prompt
Bg-sw-03 (config. line) # password test/set user-level password
Bg-sw-03 (config. line) # exit
Bg-sw-03 (config) # int vlan 1/Internal Management Interface
Bg-sw-03 (config-if) # ip address 10.234.180.23 255.255.255.0/Add ip address
Bg-sw-03 (config-if) # exit
Bg-sw-03 (config) # ip default. gateway 10.234.180.234/set gateway
Bg-sw-03 (config) # end
Bg-sw-03 # vlan database/access vtp database
Bg-sw-03 (vlan) # vtp domain Corp_Net/set vtp domain
Bg-sw-03 (vlan) # vtp client/set vtp Mode
Bg-sw-03 (vlan) # exit
Bg-sw-03 (config) # spantree uplinkfast/set the port to connect quickly
Bg-sw-03 (config) # int g0/1/Enter interface mode
Bg-sw-03 (config-if) # switchport mode trunk/set to trunk mode
Bg-sw-03 (config-if) # switchport trunk encapsulation dot1q/set encapsulation Mode
Bg-sw-03 (config-if) # switchport trunk allowed vlan all/set trunk license vlan
Bg-sw-03 (config-if) # spanning-tree portfast/set port quick enable
Bg-sw-03 (config-if) # int g0/2/Enter interface mode
Bg-sw-03 (config-if) # switchport mode trunk/set to trunk mode
Bg-sw-03 (config-if) # switchport trunk encapsulation dot1q/set encapsulation Mode
Bg-sw-03 (config-if) # switchport trunk allowed vlan all/set trunk license vlan
Bg-sw-03 (config-if) # spanning-tree portfast/set port quick enable
Bg-sw-03 (config-if) # exit
Bg-sw-03 # write memory
Second Catalyst 3548
Switch # configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch (config) # hostname bg-sw-04/device name
Bg-sw-04 (config) # enable password test/SET password
Bg-sw-04 (config) # enable secret test
Bg-sw-04 (config) # banner motd % Welcome to the C3548 in the Office %/prompt text
Bg-sw-04 (config) # line vty 0 4/Enter VTY Mode
Bg-sw-04 (config. line) # login/login prompt
Bg-sw-04 (config. line) # password test/set user-level password
Bg-sw-04 (config. line) # exit/go to the Internal Management Interface
Bg-sw-04 (config) # int vlan 1
Bg-sw-04 (config-if) # ip address 10.234.180.24 255.255.255.0
Bg-sw-04 (config-if) # exit
Bg-sw-04 (config) # ip default. gateway 10.234.180.234
Bg-sw-04 (config) # end
Bg-sw-04 # vlan database
Bg-sw-04 (vlan) # vtp domain Corp_Net
Bg-sw-04 (vlan) # vtp client
Bg-sw-04 (vlan) # exit
Bg-sw-04 (config) # spantree uplinkfast
Bg-sw-04 (config) # int g0/1
Bg-sw-04 (config-if) # switchport mode trunk
Bg-sw-04 (config-if) # switchport trunk encapsulation dot1q
Bg-sw-04 (config-if) # switchport trunk allowed vlan all
Bd-sw-03 (config-if) # spanning-tree portfast
Bg-sw-04 (config-if) # exit
Bg-sw-04 (config) # int g0/2
Bg-sw-04 (config-if) # switchport mode trunk
Bg-sw-04 (config-if) # switchport trunk encapsulation dot1q
Bg-sw-04 (config-if) # switchport trunk allowed vlan all
Bg-sw-04 (config-if) # spanning-tree portfast
Bg-sw-04 (config-if) # exit
Bg-sw-04 # write memory