A topological diagram
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5D/10/wKioL1Ug-nCjGp4BAAEPXr6IAA0111.jpg "title=" 1.png " alt= "Wkiol1ug-ncjgp4baaepxr6iaa0111.jpg"/>
Two-Configuration process
Configuration of the SwitchA:
switch>en
Switch#config
Switch (config) #
Switch (config) #interface range fa0/1-3
Switch (Config-if-range) #channel-group 1 mode active
Switch (Config-if-range) #interface Port-channel 1
Switch (config-if) #switchport mode trunk
Switch (config-if) #switchport Trunk native VLAN 99
Switch (config-if) #switchport trunk allowed VLAN 1,10,20,99
Switch (config-if) #exit
Switch (config) #vlan 10
Switch (Config-vlan) #vlan 20
Switch (Config-vlan) #exit
Switch (config) #interface FA0/4
Switch (config-if) #switchport mode access
Switch (config-if) #switchport Access VLAN 10
Switch (config-if) #interface FA0/5
Switch (config-if) #switchport mode access
Switch (config-if) #switchport Access VLAN 20
Switch (config-if) #do show Running-config
Switch (config-if) # do show EtherChannel summary
Configuration of the SwitchB:
switch>en
Switch#config
Switch (config) #
Switch (config) #interface range fa0/1-3
Switch (Config-if-range) #channel-group 1 mode active
Switch (Config-if-range) #interface Port-channel 1 (Note: 1 here can differ from 1 in SwitchA)
Switch (config-if) #switchport mode trunk
Switch (config-if) #switchport trunk native VLAN 99 (note: 99 in here must be 99-phase in SwitchA The same, of course for other VLANs)
Switch (config-if) #switchport trunk allowed VLAN 1,10,20,99
Switch (config-if) #exit
Switch (config) #vlan 10
Switch (Config-vlan) #vlan 20
Switch (Config-vlan) #exit
Switch (config) #interface FA0/4
Switch (config-if) #switchport mode access
Switch (config-if) #switchport Access VLAN 10
Switch (config-if) #interface FA0/5
Switch (config-if) #switchport mode access
Switch (config-if) #switchport Access VLAN 20
Switch (config-if) #do show Running-config
Switch (config-if) # do show EtherChannel summary
Three Save and Reload commands
Switch#write
Switch#reload
This article is from the "Galaxy | Computer network" blog, please be sure to keep this source http://qqran.blog.51cto.com/10014850/1629114
Switch two-layer EtherChannel configuration case