C
HAPTER
31
| Link Aggregation Commands
– 793 –
DEFAULT SETTING
0
COMMAND MODE
Interface Configuration (Port Channel)
COMMAND USAGE
â—† Ports are only allowed to join the same LAG if (1) the LACP system
priority matches, (2) the LACP port admin key matches, and (3) the
LACP port channel key matches (if configured).
â—† If the port channel admin key (lacp admin key - Port Channel) is not
set when a channel group is formed (i.e., it has the null value of 0), this
key is set to the same value as the port admin key (lacp admin key -
Ethernet Interface) used by the interfaces that joined the group. Note
that when the LAG is no longer used, the port channel admin key is
reset to 0.
EXAMPLE
Console(config)#interface port-channel 1
Console(config-if)#lacp admin-key 3
Console(config-if)#
show lacp This command displays LACP information.
SYNTAX
show lacp [port-channel] {counters | internal | neighbors |
sys-id}
port-channel - Local identifier for a link aggregation group.
(Range: 1-32)
counters - Statistics for LACP protocol messages.
internal - Configuration settings and operational state for local
side.
neighbors - Configuration settings and operational state for
remote side.
sys-id - Summary of system priority and MAC address for all
channel groups.
DEFAULT SETTING
Port Channel: all
COMMAND MODE
Privileged Exec