Switch Channel-group EtherChannel (PAgP, LACP) technical basic configuration

Source: Internet
Author: User

EtherChannel

The EtherChannel (Ethernet channel) is a multi-link bundling technology developed by Cisco and applied to switches.

The basic principle is: the two devices with the same characteristics of the Fast Ethernet or Gigabit ether physical link together to form a logical link, so as to achieve bandwidth multiplier. In addition to increasing the bandwidth, the EtherChannel can also distribute traffic evenly on multiple links, load sharing role; when one or more links fail, as long as the link is normal, the traffic will be transferred to other links, the whole process in a few milliseconds, thus playing a redundant role, Enhance the stability and security of the network.

In EtherChannel, the distribution of the load on each link can be distributed according to the source IP address, destination IP address, source MAC address, destination MAC address, source IP address and destination IP address combination, and source MAC address and destination MAC address combination. Whether a EtherChannel is formed between the two switches can also be negotiated automatically with the protocol.

There are currently two negotiation protocols: PAgP and LACP,PAGP (Port Convergence Protocol Port Aggregation Protocol) is a Cisco private protocol, while LACP (Link Aggregation Control protocol link Aggregation controls PROTOCOL) is an international standard based on IEEE 802.3ad.

The pattern of forming EtherChannel: 650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M01/57/A1/ Wkiol1sg9bpqauozaafburlwm8s748.jpg "style=" float:left; "title=" 2014-12-29_142944.jpg "alt=" Wkiol1sg9bpqauozaafburlwm8s748.jpg "/>













EtherChannel Command combination:

If you want to configure the port to on:

SW1 (Config-if-range) #channel-group 1 mode on

If you want to configure the port as PAgP desirable:

SW1 (config-if-range) #channel-protocol PAGPSW1 (config-if-range) #channel-group 1 mode desirable

If you want to configure the port to PAGP Auto:

SW1 (config-if-range) #channel-protocol PAGPSW1 (config-if-range) #channel-group 1 mode auto

If you want to configure the port as an active for LACP:

SW1 (config-if-range) #channel-protocol LACPSW1 (config-if-range) #channel-group 1 mode active

If you want to configure the port as passive for LACP:

SW1 (config-if-range) #channel-protocol LACPSW1 (config-if-range) #channel-group 1 mode passive

EtherChannel Description:

①cisco allows a maximum of EtherChannel to bind 8 ports;

1> if it is fast Ethernet, the total bandwidth can reach 1600mbit/s;

2> if it is Gbit Ethernet, the total bandwidth is up to 16gbit/s.

②etherchannel does not support 10M ports;

③etherchannel number is only valid locally, the number on both ends of the link can be different;

④etherchannel default use of PAGP protocol;

⑤etherchannel By default is load balancing based on the source MAC address;

⑥ all ports in a etherchannel must have the same port rate and duplex mode, LACP can only be in full duplex mode;

The ⑦channel-group interface automatically inherits the minimum physical interface, or the first configured interface mode;

⑧cisco switches can support not only the second layer of EtherChannel, but also the third layer of EtherChannel.

Experiment:

For the experimental topology

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/57/A4/wKiom1Sg-I6y9r7BAADGM7ZAsHg089.jpg "title=" 2014-12-29_144523.jpg "alt=" Wkiom1sg-i6y9r7baadgm7zashg089.jpg "/>

At the beginning of the topology establishment, we put Swith0 's fa0/1,fa0/2,fa0/port with the Switch1 FA0/1,FA0/2,FA0/3 port, at this time, STP will automatically block two ports to prevent the generation of loops.

The IP address of the PC0 is 192.168.1.1

The IP address of the PC1 is 192.168.1.254

Use the following command to view the detailed status

Switch1#show Spanning-tree

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/57/A5/wKiom1ShARajo9luAAKVOo-G2bs462.jpg "title=" 2014-12-29_152048.jpg "alt=" wkiom1sharajo9luaakvoo-g2bs462.jpg "/> We can see the FA0/2,FA0/3 port status is the blk (blocking) state.

Start EtherChannel configuration below.

Configuration on Switch0 Switch0 (config) #int range F0/1-3switch0 (config-if-range) #channel-group 1 mode Active// Configuration on Switch1 Switch1 (config) #int range FA0/1-3switch1 (config-if-range) #channel-group 1 mode active

After the configuration is complete:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/57/A2/wKioL1ShA53TQRiAAAOetNaPngc351.jpg "title=" 2014-12-29_152925.jpg "alt=" wkiol1sha53tqriaaaoetnapngc351.jpg "/> We look at the STP situation again, such as:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/57/A5/wKiom1ShA0SzPYVKAAJDCo9s5Iw939.jpg "title=" 2014-12-29_153037.jpg "alt=" wkiom1sha0szpyvkaajdco9s5iw939.jpg "/> Root bridge has become Po1, that is, we established Channel-group 1, can be ordered by the command show EtherChannel Summary view, 650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M01/57/A2/ Wkiol1shbilbdse7aaitsaqvxaq609.jpg "title=" 2014-12-29_153320.jpg "alt=" Wkiol1shbilbdse7aaitsaqvxaq609.jpg "/>

Su in Po1 (SU) indicates that the state is available, s represents the second layer, and U represents in use.

Use the command show EtherChannel port-channel to view EtherChannel contains ports

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/57/A3/wKioL1ShBi-TGxSkAAKNP6Pi9js544.jpg "title=" 2014-12-29_153943.jpg "alt=" Wkiol1shbi-tgxskaaknp6pi9js544.jpg "/>

This article is from the "Zhang Hai Warehouse Technology blog" blog, make sure to keep this source http://zhanghaicang.blog.51cto.com/7334247/1597382

Switch Channel-group EtherChannel (PAgP, LACP) technical basic configuration

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.