Practical experience: routing Switch configuration document vlan200 and vlan201 are vlan ip subnet-zero ip routing www.2cto.com no ip domain-lookup spanning-tree mode pvst spanning-tree extend system-id spanning- tree vlan 200 priority 24576 spanning-tree vlan 201 priority 24576 spanning-tree vlan 202 priority 28672 spanning-tree vlan 203 priority 28672 spanning-tree vlan 204 priority 24576 spanning-tree vlan 205 priority 24576 spanning-tree v Lan 206 priority 28672 spanning-tree vlan 307 priority 24576 spanning-tree vlan 308 priority 24576 interface Port-channel1 switchport trunk encapsulation dot1q switchport mode trunk no ip address! Interface FastEthernet0/1 switchport access vlan 200 switchport mode access no ip address duplex full www.2cto.com speed 100! Interface FastEthernet0/2 switchport access vlan 201 switchport mode access no ip address duplex full speed 100! Interface FastEthernet0/3 switchport access vlan 202 no ip address! Interface FastEthernet0/4 no ip address! Interface FastEthernet0/5 no ip address! Interface FastEthernet0/6 switchport access vlan 203 switchport mode access no ip address spanning-tree portfast www.2cto.com! Interface FastEthernet0/7 switchport access vlan 203 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/8 switchport access vlan 203 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/9 switchport access vlan 203 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/10 switchport access vlan 203 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/11 switchport access vlan 204 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/12 switchport access vlan 204 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/13 switchport access vlan 204 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/14 switchport access vlan 205 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/15 switchport access vlan 205 switchport mode access no ip address spanning-tree portfast www.2cto.com! Interface FastEthernet0/16 switchport access vlan 206 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/17 switchport access vlan 206 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/18 switchport access vlan 206 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/19 switchport access vlan 207 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/20 switchport access vlan 207 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/21 switchport access vlan 208 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/22 switchport access vlan 208 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/29 switchport access vlan 208 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/30 switchport access vlan 208 switchport mode access no ip address spanning-tree portfast .................. ..................! Interface GigabitEthernet0/1 switchport trunk encapsulation dot1q switchport mode trunk no ip address channel-group 1 mode on! Interface GigabitEthernet0/2 switchport trunk encapsulation dot1q switchport mode trunk no ip address channel-group 1 mode on! Interface Vlan1 ip address xxxxxxxxx no ip redirects standby 1 ip xxxxxxx standby 1 priority 120 standby 1 preempt! Interface Vlan200 ip address xxxxxxxxx! Interface Vlan201 ip address xxxxxxxxx! Interface Vlan202 ip address xxxxxxxxx no ip redirects standby 202 ip xxxxxxxxx standby 202 priority 120 standby 202 preempt! Interface Vlan203 ip address xxxxxxxxx no ip redirects standby 203 ip xxxxxxxxx standby 203 priority 120 standby 203 preempt! Interface Vlan204 ip address xxxxxxxxx no ip redirects standby 204 ip xxxxxxxxx standby 204 priority 120 standby 204 preempt! Interface Vlan205 ip address xxxxxxxxx no ip redirects standby 205 ip xxxxxxxxx standby 205 priority 120 standby 205 preempt! Www.2cto.com .................. ................. Router VPN network xxxxxxx no auto-summary ip classless endvlan200 and vlan201 are vlan ip addresses connected to two vswitches. subnet-zero ip routing no ip domain-lookup spanning-tree mode pvst spanning-tree extend system-id spanning-tree vlan 200 priority 24576 spanning-tree vlan 201 priority 24576 spanning-tree vlan 202 priority 28672 spanning-tree vlan 203 priority 28672 spanning-tree vlan 204 priority 24576 spanning- tree vlan 205 priority 24576 spanning-tree vlan 206 priority 28672 spanning-tree vlan 307 priority 24576 spanning-tree vlan 308 priority 24576 interface Port-channel1 switchport trunk encapsulation dot1q switchport mode trunk no ip address! Interface FastEthernet0/1 switchport access vlan 200 switchport mode access no ip address duplex full speed 100! Interface FastEthernet0/2 switchport access vlan 201 switchport mode access no ip address duplex full speed 100! Interface FastEthernet0/3 switchport access vlan 202 no ip address! Interface FastEthernet0/4 no ip address! Interface FastEthernet0/5 no ip address! Interface FastEthernet0/6 switchport access vlan 203 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/7 switchport access vlan 203 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/8 switchport access vlan 203 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/9 switchport access vlan 203 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/10 switchport access vlan 203 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/11 switchport access vlan 204 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/12 switchport access vlan 204 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/13 switchport access vlan 204 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/14 switchport access vlan 205 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/15 switchport access vlan 205 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/16 switchport access vlan 206 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/17 switchport access vlan 206 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/18 switchport access vlan 206 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/19 switchport access vlan 207 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/20 www.2cto.com switchport access vlan 207 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/21 switchport access vlan 208 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/22 switchport access vlan 208 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/29 switchport access vlan 208 switchport mode access no ip address spanning-tree portfast! Interface FastEthernet0/30 switchport access vlan 208 switchport mode access no ip address spanning-tree portfast .................. ..................! Interface GigabitEthernet0/1 switchport trunk encapsulation dot1q switchport mode trunk no ip address channel-group 1 mode on! Interface GigabitEthernet0/2 switchport trunk encapsulation dot1q switchport mode trunk no ip address channel-group 1 mode on! Interface Vlan1 ip address xxxxxxxxx no ip redirects standby 1 ip xxxxxxx standby 1 priority 120 standby 1 preempt! Interface Vlan200 ip address xxxxxxxxx! Interface Vlan201 ip address xxxxxxxxx! Interface Vlan202 ip address xxxxxxxxx no ip redirects standby 202 ip xxxxxxxxx standby 202 priority 120 standby 202 preempt! Interface Vlan203 ip address xxxxxxxxx no ip redirects standby 203 ip xxxxxxxxx standby 203 priority 120 standby 203 preempt! Interface Vlan204 ip address xxxxxxxxx no ip redirects standby 204 ip xxxxxxxxx standby 204 priority 120 standby 204 preempt! Www.2cto.com interface Vlan205 ip address xxxxxxxxx no ip redirects standby 205 ip xxxxxxxxx standby 205 priority 120 standby 205 preempt! Router VPN network xxxxxxx no auto-summary ip classless