Refer to Link Aggregation Topology figure for setup. Ports 1, 2 and 3 will be part of link aggregation and will be configured to belong to port-channel 1. Different system and port parameters will be configured.
The port priority is used to decide which ports should be put into standby mode when there is a hardware limitation that prevents all compatible ports from aggregating.
Traffic in a port-channel is distributed across the individual bundled links in a deterministic fashion. However, the load is not necessarily balanced equally across all links. Instead, frames are forwarded on a specific link using any of the following criteria - source IP address, destination IP address, or a combination of source and destination IP addresses, source and destination MAC addresses.
The load-balance policy can be configured as:
LACP wait time is the wait interval for a link to get aggregated. Configuring the wait-time value as 0 ensures that links get aggregated immediately. Default value of LACP wait time is 2.
LACP time out is a periodic interval, on expiry, LACP PDU is received regularly. Default value of LACP time out is Long.
This command configures the LACP timeout period within which LACP PDUs are received on a port to avoid timing out of aggregation link.
Port-channel Module Admin Status is enabled
Port-channel Module Oper Status is enabled
Port-channel recovery action on exceeding Threshold is None
Port-channel Independent mode is disabled
Port-channel System Identifier is 00:55:44:33:22:11
LACP System Priority: 20
LACP Error Recovery Time: 0
LACP Error Recovery Threshold: 5
LACP Recovery Triggered count: 0
LACP Error Recovery Threshold for Defaulted State : 5
LACP Error Recovery Threshold for Hardware Failure : 5
LACP Same state threshold : 5
Channel Group Listing
---------------------
Group: 1
----------
Protocol :LACP
Ports in the Group
------------------
Port : Gi0/1
-------------
Port State = Down, Not in Bundle
Reason for port-down : Oper status of the port is down
Channel Group : 1
Mode : Active
Port-channel = Null
Pseudo port-channel = Po1
LACP port-priority = 128
LACP Wait-time = 2 secs
LACP Port Identifier = 1
LACP Activity : Active
LACP Timeout : Long
LACP Error State : None
Aggregation State : Aggregation, Defaulted
Port : Gi0/2
-------------
Port State = Down, Not in Bundle
Reason for port-down : Oper status of the port is down
Channel Group : 1
Mode : Active
Port-channel = Null
Pseudo port-channel = Po1
LACP port-priority = 128
LACP Wait-time = 2 secs
LACP Port Identifier = 2
LACP Activity : Active
LACP Timeout : Long
LACP Error State : None
Aggregation State : Aggregation, Defaulted
Port : Gi0/24
-------------
Port State = Up in Bundle
Channel Group : 1
Mode : Active
Port-channel = Po1
Pseudo port-channel = Po1
LACP port-priority = 20
LACP Wait-time = 1 secs
LACP Port Identifier = 24
LACP Activity : Active
LACP Timeout : Short
LACP Error State : None
Aggregation State : Aggregation, Sync, Collecting, Distributing, Defaulted
LACP Port Admin Oper Port Port
Port State Priority Key Key Number State
---------------------------------------------------------------------
Gi0/1 Down 128 1 1 0x1 0xa2
Gi0/2 Down 128 1 1 0x2 0xa2
Gi0/24 Bundle 20 1 1 0x18 0xbe
Port-channel : Po1
-------------------
Number of Ports = 3
HotStandBy port = null
Port state = Port-channel Ag-Inuse
Protocol = LACP
Aggregator-MAC e8:e8:75:90:5f:9d
Maximum number of Ports = 8
Port-Channel Mtu = 1500
Port-Channel Speed = 1000 Mbps
Port-Channel High Speed = 1000 Mbps
Port-Channel Member Ports Speed = 1000 Mbps
Port-Channel Member Ports High Speed = 1000 Mbps