Link aggregation group as a trunk Link

Source: Internet
Author: User

 


Switch SWA configuration content: www.2cto.com Switch> en
Switch> enable
Switch # conf
Switch # configure
Starting ing from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Switch (config) # h
Switch (config) # hostname SWA
SWA (config) # in vl
SWA (config) # in vlan 1
SWA (config-if) # ip add 192.168.1.101 255.255.255.0
SWA (config-if) # no shu
SWA (config-if) # no shutdownSWA (config-if) # ex
SWA (config) # sp
SWA (config) # spanning-tree m
SWA (config) # spanning-tree mode r
SWA (config) # spanning-tree mode rapid-pvst
SWA (config) # in f0/23
SWA (config-if) # channel-g
SWA (config-if) # channel-group 1 m
SWA (config-if) # channel-group 1 mode d
SWA (config-if) # channel-group 1 mode desirableSWA (config-if) # ex
SWA (config) # in f0/24
SWA (config-if) # channel-g
SWA (config-if) # channel-group 1 m
SWA (config-if) # channel-group 1 mode d
SWA (config-if) # channel-group 1 mode desirableSWA (config-if) # ex
SWA (config) # vl
SWA (config) # vlan 100
SWA (config-vlan) # exit
SWA (config) # vl
SWA (config) # vlan 200
SWA (config-vlan) # ex
SWA (config) # in r
SWA (config) # in range f0/1-8
SWA (config-if-range) # sw
SWA (config-if-range) # switchport
SWA (config-if-range) # switchport access v
SWA (config-if-range) # Switch Port access vlan 100
SWA (config-if-range) # ex
SWA (config) # in r
SWA (config) # in range f0/9-16
SWA (config-if-range) # sw
SWA (config-if-range) # switchport
SWA (config-if-range) # switchport access v
SWA (config-if-range) # Switch Port access vlan 200
SWA (config-if-range) # ex
SWA (config) # in p
SWA (config) # in port-channel 1
SWA (config-if) # sw
SWA (config-if) # switchport m
SWA (config-if) # switchport mode t
SWA (config-if) # switchport mode trunkSWA (config-if) # switchport trunk allowed vlan all
SWA (config-if) # ex
SWA (config )#

Switch SWB configuration content: www.2cto.com witch> en
Switch> enable
Switch # conf
Switch # configure
Starting ing from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Switch (config) # h
Switch (config) # hostname SWB
SWB (config) # in vl
SWB (config) # in vlan 1
SWB (config-if) # ip add 192.168.1.102 255.255.255.0
SWB (config-if) # no shu
SWB (config-if) # no shutdownSWB (config-if) # ex
SWB (config) # sp
SWB (config) # spanning-tree m
SWB (config) # spanning-tree mode r
SWB (config) # spanning-tree mode rapid-pvst
SWB (config) # in f0/23
SWB (config-if) # channel-group 1 mode desirable
SWB (config-if) # ex
SWB (config) # in f0/24
SWB (config-if) # channel-g
SWB (config-if) # channel-group 1 m
SWB (config-if) # channel-group 1 mode d
SWB (config-if) # channel-group 1 mode desirableSWB (config-if) # ex
SWB (config) # vl
SWB (config) # vlan 100
SWB (config-vlan) # ex
SWB (config) # vl
SWB (config) # vlan 200
SWB (config-vlan) # ex
SWB (config) # in r
SWB (config) # in range f0/1-8
SWB (config-if-range) # sw
SWB (config-if-range) # switchport
SWB (config-if-range) # switchport access v
SWB (config-if-range) # Switch Port access vlan 100
SWB (config-if-range) # ex
SWB (config) # in r
SWB (config) # in range f0/9-16
SWB (config-if-range) # sw
SWB (config-if-range) # switchport
SWB (config-if-range) # switchport access v
SWB (config-if-range) # Switch Port access vlan 200
SWB (config-if-range) # ex
SWB (config) # in port-channel 1
SWB (config-if) # switchport mode trunk
SWB (config-if) # switchport trunk allowed vlan all
SWB (config-if) # ex
SWB (config )#

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.