2. Use “Interface” command to configure link aggregation groups dynamically (LACP).
Channel-group & Interface
command
Switch(config)# interface [port_list]
Enter several discontinuous port
numbers separated by commas or a
range of ports with a hyphen. For
example:1,3 or 2-4
Switch(config-if-PORT-PORT)#
channel-group lacp
Enable LACP on the selected
interfaces.
Switch(config-if-PORT-PORT)#
channel-group lacp key [0-255]
Specify a key to the selected
interfaces. (0: auto)
Switch(config-if-PORT-PORT)#
channel-group lacp role [active]
Specify the selected interfaces as
active LACP role.
Switch(config-if-PORT-PORT)# no
channel-group lacp
Disable LACP on the selected
interfaces.
Switch(config-if-PORT-PORT)# no
channel-group lacp key
Reset the key value of the selected
interfaces back to the default.
Switch(config-if-PORT-PORT)# no
channel-group lacp role
Reset the LACP role type of the
selected interfaces back to the default
(passive mode).
Switch(config)# show channel-
group lacp
Show each interface’s LACP settings
including current mode, key value and
LACP role type.
Switch(config)# show channel-
group lacp [port_list]
Show the selected interfaces’ LACP
settings.
Switch(config)# show channel-
group lacp status
Show each interface’s current LACP
status.
Switch(config)# show channel-
group lacp status [port_list]
Show the selected interfaces’ current
LACP status.
Switch(config)# show channel-
group lacp statistics
Show each interface’s current LACP
traffic statistics.
Switch(config)# show channel-
group lacp statistics [port_list]
Show the selected interfaces’ current
LACP traffic statistics.
Switch(config)# show channel-
group lacp statistics clear
Clear all LACP statistics.