Switch two-layer EtherChannel configuration case

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.