EtherChannel: Cisco configuration step by step with commands example

This article provides information and commands concerning the following topics:


EtherChannel provides fault-tolerant, high-speed links between switches, routers, and servers. An EtherChannel consists of individual Fast Ethernet or Gigabit Ethernet links bundled into a single logical link. If a link within an EtherChannel fails, traffic previously carried over that failed link changes to the remaining links within the EtherChannel.

  • PAgP is Cisco proprietary and not compatible with LACP.

  • LACP is defined in 802.3ad.

  • A maximum of 48 EtherChannels are supported on a switch or switch stack.

  • A single PAgP EtherChannel can be made by combining anywhere from two to eight parallel links.

  • A single LACP EtherChannel can be made by combining up to 16 Ethernet ports of the same type. Up to eight ports can be active and up to eight ports can be in standby mode.

  • All ports must be identical:

    • Same speed and duplex

    • Cannot mix Fast Ethernet and Gigabit Ethernet

    • Cannot mix PAgP and LACP in a single EtherChannel

    • Can have PAgP and LACP EtherChannels on the same switch, but each EtherChannel must be exclusively PAgP or LACP

    • Must all be VLAN trunk or nontrunk operational status

  • All links must be either Layer 2 or Layer 3 in a single channel group.

  • To create a channel in PAgP, sides must be set to one of the following:

    • Auto-Desirable

    • Desirable-Desirable

  • To create a channel in LACP, sides must be set to either:

    • Active-Active

    • Active-Passive

  • To create a channel without using PAgP or LACP, sides must be set to On-On.

  • Do not configure a GigaStack gigabit interface converter (GBIC) as part of an EtherChannel.

  • An interface that is already configured to be a Switched Port Analyzer (SPAN) destination port will not join an EtherChannel group until SPAN is disabled.

  • Do not configure a secure port as part of an EtherChannel.

  • Interfaces with different native VLANs cannot form an EtherChannel.

  • When using trunk links, ensure that all trunks are in the same mode—Inter-Switch Link (ISL) or dot1q.

  • When a group is first created, all ports follow the parameters set for the first port to be added to the group. If you change the configuration of one of the parameters, you must also make these changes to all ports in the group:

    • Allowed-VLAN list

    • Spanning-tree path cost for each VLAN

    • Spanning-tree port priority for each VLAN

    • Spanning-tree PortFast setting

  • Do not configure a port that is an active or a not-yet-active member of an EtherChannel as an IEEE 802.1X port. If you try to enable IEEE 802.1X on an EtherChannel port, an error message will appear, and IEEE 802.1X is not enabled.

  • For a Layer 3 EtherChannel, assign the Layer 3 address to the port-channel logical interface, not the physical ports in the channel.

Note

If you enter the channel-group command in the physical port interface mode without first setting a port channel command in global configuration mode, the port channel will automatically be created for you.

When LACP is enabled, by default the software tries to configure the maximum number of LACP-compatible ports in a channel, up to a maximum of 16 ports. Only eight ports can be active at one time; the remaining eight links are placed into hot-standby mode. If one of the active links becomes inactive, a link in hot-standby mode becomes active in its place.

You can overwrite the default behavior by specifying the maximum number of active ports in a channel, in which case the remaining ports become hot-standby ports (if you specify only 5 active ports in a channel, the remaining 11 ports become hot-standby ports).

If you specify more than eight links for an EtherChannel group, the software automatically decides which of the hot-standby ports to make active based on LACP priority. For every link that operates in LACP, the software assigns a unique priority made up of the following (in priority order):

  • LACP system priority

  • System ID (the device MAC address)

  • LACP port priority

  • Port number

Tip

Lower numbers are better.

Figure 12-1 shows the network topology for the configuration that follows, which shows how to configure EtherChannel using commands covered in this post.

Вас заинтересует / Intresting for you:

Configuring a Cisco Router: fi...
Configuring a Cisco Router: fi... 1341 views Валерий Павлюков Sun, 06 Feb 2022, 18:18:52
Cisco: Resetting Switch Config...
Cisco: Resetting Switch Config... 1711 views Андрей Волков Mon, 15 Feb 2021, 19:13:09
Cisco Switch Configuration: st...
Cisco Switch Configuration: st... 1925 views Валерий Павлюков Sun, 06 Feb 2022, 16:39:35
Cisco: Shortcuts for Entering ...
Cisco: Shortcuts for Entering ... 1646 views Андрей Волков Wed, 17 Feb 2021, 15:59:18
Comments (0)
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Suggested Locations