CCNA Experiment 14 STP redundant backup link (EtherChannel)
Environment: Windows XP , GNS3.0.7 , VPCS.exe
Purpose: Learn how to configure redundant backup links.
Steps:
1 , open GNS Create the following project:
650) this.width=650; "src=" Http://hi.csdn.net/attachment/201011/21/0_1290326291ColF.gif "/>
Description:
(1) First to add switching modules for SW1 and SW2 two virtual devices
(2) Note the console port number for both devices: sw1:2002, sw2:2003
(3) Configuration PC1 and PC2 are associated with VPCS using the port number corresponding to the virtual machine (note: Rport and Lport).
2 , Configuration SW1 , open cmd Enter the telnet 127.0.0.1 2002 the log on to SW1 to do the following:
Sw1#vlan Database
SW1 (VLAN) #vlan name V10
Sw1#conf T
SW1 (config) #int fa0/0
SW1 (config-if) #switchport mode acc
SW1 (config-if) #switchport ACC VLAN 10
SW1 (config-if) #exit
SW1 (config) #int Port-channel 1
SW1 (config-if) #switchport mode trunk
SW1 (config-if) #exit
SW1 (config) #port-channel load-balance Src-dst-ip
SW1 (config) #int range F0/1-2
SW1 (config-if-range) #switchport mode trunk
SW1 (Config-if-range) #channel-group 1 mode on
SW1 (Config-if-range) #end
3 , Configuration SW2 , open cmd Enter the telnet 127.0.0.1 2003 the log on to SW2 to do the following:
router>en
Router#conf T
Router (config) #host SW2
SW2 (config) #exit
Sw2#vlan Database
SW2 (VLAN) #vlan name V10
SW2 (VLAN) #exit
Sw2#conf T
SW2 (config) #int fa0/0
SW2 (config-if) #switchport mode acc
SW2 (config-if) #switchport ACC VLAN 10
SW2 (config-if) #no sh
SW2 (config-if) #exit
SW2 (config) #int Port-channel 1
SW2 (config-if) #switchport mode trunk
SW2 (config-if) #exit
SW2 (config) #port-channel load-balance Src-dst-ip
SW2 (config) #int range FA0/1-2
SW2 (config-if-range) #switchport mode trunk
SW2 (Config-if-range) #channel-group 1 mode on
SW2 (Config-if-range) #end
4 , open Vpcs.exe do the following:
650) this.width=650; "src=" Http://hi.csdn.net/attachment/201011/21/0_1290326834HSx6.gif "/>
5 , Backup link test:
Login SW1 Close FA0/1 Open FA0/2
Sw1#conf T
SW1 (config) #int FA0/1
SW1 (config-if) #shutdown
SW1 (config-if) #exit
SW1 (config) #int FA0/2
SW1 (config-if) #no shutdown
SW (config-if) #exit
Login SW2 Close FA0//1 Open FA0/2
Sw2#conf T
SW2 (config) #int FA0/1
SW2 (config-if) #shutdown
SW2 (config-if) #exit
SW2 (config) #int FA0/2
SW2 (config-if) #no shutdown
SW2 (config-if) #exit
Test network: (connectivity)
650) this.width=650; "src=" Http://hi.csdn.net/attachment/201011/21/0_12903269609Pn0.gif "/>
Login SW1 Open FA0/1 Close FA0/2
SW1 (config) #int FA0/1
SW1 (config-if) #no shutdown
SW1 (config-if) #exit
SW1 (config) #int FA0/2
SW1 (config-if) #shutdown
SW1 (config-if) #exit
Login SW2 Open FA0/1 Close FA0/2
sw2>en
Sw2#conf T
SW2 (config) #int FA0/1
SW2 (config-if) #no sh
SW2 (config-if) #exit
SW2 (config) #int FA0/2
SW2 (config-if) #shutdown
SW2 (config-if) #exit
Test the network again: (connected)
650) this.width=650; "src=" Http://hi.csdn.net/attachment/201011/21/0_129032705399hL.gif "/>
It is clear from two tests that the backup link is already in effect. Now as long as one of the links is down, the other one will take effect.
This article from "Liu Fengyuan" blog, declined reprint!
CCNA Experimental 14 STP redundant backup link (EtherChannel)