Link Aggregation Group
  • 30 May 2024
  • 2 Minutes to read
  • Contributors
  • PDF

Link Aggregation Group

  • PDF

Article summary

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

FeatureDefault Setting
Port-channelDisabled
Channel-groupsNone
LACP System Priority0x8000 or 32768
Load balancingSource and Destination MAC address based
LACP Port Priority128 on all interfaces
LACP Wait time2
LACP timeoutlong: 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-selectiondynamic: Port-channel MAC address is the address of an active port

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.

© 2024 Cisco and/or its affiliates. All rights reserved.
 
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms

For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks



Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.