Skip to content

Link Aggregation

no shutdown port-channel

Command Objective: This command starts and enables LA feature in the switch, and allocates required memory to the LA module. The LA feature is made available in the switch only if the LA is enabled in the switch.

LA feature allows to aggregate individual point-to-point links into a port channel group, so that the capacity and availability of the communications channel between devices are increased using the existing interface technology.

Syntax: no shutdown port-channel

Mode: Global Configuration Mode.

lacp system-priority

Command Objective: This command configures the LACP priority associated with actor's system ID.

The switch with the lowest LACP decides the standby and active links in the LA.

Syntax:

  • lacp system-priority <short(0-65535)>
  • no lacp system-priority

Mode: Global Configuration Mode.

port-channel load-balance

Command Objective: This command configures the load balancing policy for all port channels created in the switch.

Syntax: port-channel load-balance {src-mac | dest-mac | arc-dest-mac | src-ip | dest-ip | src-dest-ip | dest-l4-port | src-l4-port}

Parameter Description:

  • src-mac: The switch distributes traffic using the source MAC address. Packets from different hosts use different ports in the channel, but packets from the same host use the same port.
  • dest-mac: The switch distributes traffic using the destination MAC address. Packets to the same destination use the same port, but packets to different destinations use different ports.
  • src-dest-mac: The switch distributes traffic based on the source and destination MAC addresses.
  • src-ip: The switch distributes traffic using the source IP address.
  • dest-ip: The switch distributes traffic using the destination IP address.
  • src-dest-ip: The switch distributes traffic using the source and destination IP addresses.
  • dest-l4-port: The switch distributes traffic using the destination Layer 4 port.
  • src-l4-port: The switch distributes traffic using the source Layer 4 port.

Mode: Global Configuration Mode.

channel-group

Command Objective: This command adds the port as a member of the specified port channel that is already created in the switch.

The no form of the command deletes the aggregation of the port from all port channels.

Syntax:

  • channel-group <channel-group-number(1-8)> Mode { on | active | passive }
  • no channel-group

Parameter Description:

  • <channel-group-number(1-8)>: Adds the port as a member of the specified port channel. This is a unique value that represents the specific port-channel created. This value ranges from 1 to 8.
  • Mode: Configures the LACP activity for the port:

    • active: Starts LACP negotiation un-conditionally.
    • passive: Starts LACP negotiation only when LACP packet is received from peer.
    • on: Forces the interface to channel without LACP. This is equivalent to manual aggregation.

Mode: Interface Configuration Mode (Physical Interface Mode).

This command is applicable in PORT Interface Mode.

lacp timeout

Command Objective: This command configures the LACP timeout period within which LACPDUs should be received on a port to avoid timing out of the aggregated link.

The no form of the command sets the LACP timeout period to its default value.

Syntax:

  • lacp timeout {long | short }
  • no lacp timeout

Parameter Description:

  • long: Configures the LACP timeout period as 90 seconds. The LACP PDU is sent every 30 seconds.
  • short: Configures the LACP timeout period as 3 seconds. The LACP PDU is sent every second.

Mode: Interface Configuration Mode (Physical Interface Mode).

This command is applicable in VLAN Interface Mode.

show etherchannel

Command Objective: This command displays Etherchannel information for all port-channel groups created in the switch. This information contains admin and oper status of port- channel module, and status of protocol operate Mode for each group.

Syntax: show etherchannel [[channel-group-number] { detail | load- balance | port | port-channel | summary | protocol}]

Parameter Description:

  • channel-group-number: Displays Etherchannel information for the specified port-channel group. This is a unique value that represents the specific port-channel created. This value ranges from 1 to 8.
  • detail: Displays detailed Etherchannel information. The information contain admin and oper status of port channel module, LACP system priority, status of protocol operate Mode for each group, port details for each group and port channel details. The port details contain port state, group to which the port belongs, port Mode, aggregation state, port-channel ID, pseudo port-channel ID, admin key, oper key, port number, port state, and LACP port-priority, wait-time, port identifier, activity and timeout. The port channel details contain port channel ID, number of member ports, ID of hot standby port, port state, status of protocol operate Mode, aggregator MAC and default port ID.
  • load-balance: Displays the load balancing policy applied for each port-channel groups.
  • port: Displays the status of protocol operate Mode and port details for each group. The port details contain port state, group to which the port belongs, port Mode, aggregation state, port-channel ID, pseudo port-channel ID, admin key, oper key, port number, port state, and LACP port-priority, wait-time, port identifier, activity and timeout.
  • port-channel: Displays the admin and oper status of port channel module, and port channel details. The port channel details contain port channel ID, number of member ports, ID of hot standby port, port state, status of protocol operate Mode, aggregator MAC and default port ID.
  • summary: Displays the admin and oper status of port channel module, number of channel groups used, number of aggregators, group IDs, and port channel ID, status of protocol operate Mode and member ports for each group.
  • protocol: Displays the status of protocol operate Mode for each port-channel group.

Mode: Privileged EXEC Mode.