--- title: "Link Aggregation Group" slug: "link-aggregation-group" tags: ["LAG", "flex 22.01", "flex 100", "link aggregation"] updated: 2024-07-10T15:00:50Z published: 2024-09-03T19:26:36Z canonical: "docs.crossworkassurance.cisco.com/link-aggregation-group" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.crossworkassurance.cisco.com/llms.txt > Use this file to discover all available pages before exploring further. # Link Aggregation Group This article describes how to configure and enable Link Aggregation. --- ***Note:** To log in, enter your username (default is root) and password (default is admin123).* --- ## Configuration Guidelines The guidelines for the configuration of Link Aggregation are as follows: - Port-channel must be enabled in the system for Link aggregation configuration to take effect. - If 802.1x is enabled on a port, then Link Aggregation can be enabled on that port only when the port is in the authorized state. Link Aggregation cannot be enabled on unauthorized ports. #### Default Configurations | Feature | Default Setting | | --- | --- | | Port-channel | Disabled | | Channel-groups | None | | LACP System Priority | 0x8000 or 32768 | | Load balancing | Source and Destination MAC address based | | LACP Port Priority | 128 on all interfaces | | LACP Wait time | 2 | | LACP timeout | long: The long timeout value means that LACP PDU is expected every 30 seconds (LACP packets to be received every 30 seconds) and LACP timeout value (no packet is received from the peer) is 90 seconds | | MAC-selection | dynamic: Port-channel MAC address is the address of an active port | ## Enabling Link Aggregation Link Aggregation is disabled by default. **To enable Link Aggregation** 1. Create port channel and configure it as providerNetworkport with TPID configured. --- ***Note**: Supported TPID 0x8100, 0x9100, 0x88a8.* --- ``` Your Product# configure terminal Your Product(config)# no shutdown port-channel Your Product(config)# interface port-channel 40 Your Product(config-if)# bridge port-type providerNetworkPort Your Product(config-if)# switchport egress ether-type 0x88a8 Your Product(config-if)# switchport egress inner-ether-type 0x8100 Your Product(config-if)# no shutdown Your Product(config-if)# end Your Product# ``` 1. Execute the following commands in both switches to enable Link Aggregation. - Enter the Global Configuration mode. ``` Your Product# configure terminal ``` - Enable port channel. ``` Your Product(config)# set port-channel enable ``` - Exit from the Global configuration mode. ``` Your Product(config)# end ``` 1. Map physical member port to port-channel interface. ``` Your Product# configure terminal Your Product(config)# interface xl-ethernet 0/1 Your Product(config-if)# channel-group 40 mode on Your Product(config-if)# no shutdown Your Product(config-if)# end Your Product# configure terminal Your Product(config)# interface xl-ethernet 0/2 Your Product(config-if)# channel-group 40 mode on Your Product(config-if)# no shutdown Your Product(config-if)# end ``` 1. Configure the Maximum member port count for port-channel. ``` Your Product# configure terminal Your Product(config)# interface port-channel 40 Your Product(config-if)# port-channel max-ports 2 Your Product(config-if)# end Your Product# ``` --- ***Note**: This has to be set as "1", for 1:1 Active : Active Lag.* --- 5. View the etherchannel information using the following command. ``` Your Product# show etherchannel summary ``` The output in Switch A and Switch B is: Port-channel Module Admin Status is enabled
Port-channel Module Oper Status is enabled
Port-channel Independent mode is disabled
Port-channel System Identifier is 00:01:02:03:04:05
--- ***Note**: The following command is used to shut down the entire LA module: Your Product(config)# shutdown port-channel.* --- **© 2026 Cisco and/or its affiliates. All rights reserved.** For more information about trademarks, please visit: [Cisco trademarks](https://www.cisco.com/c/en/us/about/legal/trademarks.html)[](https://www.cisco.com/c/en/us/about/legal/trademarks.html) For more information about legal terms, please visit: [Cisco legal terms](https://www.cisco.com/c/en/us/about/legal/terms-conditions.html)