show lacp
To display Link Aggregation Control Protocol (LACP) information, use the show lacp command in either user EXEC or privileged EXEC mode.
show lacp {channel-group-number {counters | internal [detail] | neighbor [detail] | sys-id}}
Syntax Description
channel-group- number |
Number of the channel group. The range is from 1 to 128. |
counters |
Displays information about the LACP traffic statistics. |
internal |
Displays LACP internal information. |
neighbor |
Displays information about the LACP neighbor. |
detail |
(Optional) Displays detailed internal information when used with the internal keyword and detailed LACP neighbor information when used with the neighbor keyword. |
sys-id |
Displays the LACP system identification. It is a combination of the port priority and the MAC address of the device |
Command Modes
User EXEC (>) Privileged EXEC (#)
Command History
Release |
Modification |
---|---|
Cisco IOS 12.2(33)SCJ |
This command was introduced. |
Usage Guidelines
Use the show lacp command to troubleshoot problems related to LACP in a network.
If you do not specify a value for the argument channel-group-number , all channel groups are displayed.
Examples
This example shows how to display the LACP system identification using the show lacp sys-id command:
Device> show lacp sys-id
8000,AC-12-34-56-78-90
The system identification is made up of the system priority and the system MAC address. The first two bytes are the system priority, and the last six bytes are the globally administered individual MAC address that is associated to the system.
Examples
This example shows how to display the LACP statistics for a specific channel group:
Device# show lacp 1 counters
LACPDUs Marker LACPDUs
Port Sent Recv Sent Recv Pkts Err
---------------------------------------------------
Channel group: 1
Fa4/1 8 15 0 0 3 0
Fa4/2 14 18 0 0 3 0
Fa4/3 14 18 0 0 0
Fa4/4 13 18 0 0 0
The output displays the following information:
-
The LACPDUs Sent and Recv columns display the LACPDUs that are sent and received on each specific interface.
-
The LACPDUs Pkts and Err columns display the marker-protocol packets.
The following example shows output from a show lacp channel-group-number counters command:
Device1# show lacp 5 counters
LACPDUs Marker Marker Response LACPDUs
Port Sent Recv Sent Recv Sent Recv Pkts Err
---------------------------------------------------------------------
Channel group: 5
Gi5/0/0 21 18 0 0 0 0 0
The following table describes the significant fields shown in the display.
Field |
Description |
---|---|
LACPDUs Sent Recv |
Number of LACP PDUs sent and received. |
Marker Sent Recv |
Attempts to avoid data loss when a member link is removed from an LACP bundle. |
Marker Response Sent Recv |
Cisco IOS response to the Marker protocol. |
LACPDUs Pkts Err |
Number of LACP PDU packets transmitted and the number of packet errors. |
The following example shows output from a show lacp internal command:
Device1# show lacp 5 internal
Flags: S - Device is requesting Slow LACPDUs
F - Device is requesting Fast LACPDUs
A - Device is in Active mode P - Device is in Passive mode
Channel group 5
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Gi5/0/0 SA bndl 32768 0x5 0x5 0x42 0x3D
The following table describes the significant fields shown in the display.
Field |
Description |
---|---|
Flags |
Meanings of each flag value, which indicates a device activity. |
Port |
Port on which link bundling is configured. |
Flags |
Indicators of device activity. |
State |
Activity state of the port. States can be any of the following:
|
LACP port Priority |
Priority assigned to the port. |
Admin Key |
Defines the ability of a port to aggregate with other ports. |
Oper Key |
Determines the aggregation capability of the link. |
Port Number |
Number of the port. |
Port State |
State variables for the port that are encoded as individual bits within a single octet with the following meaning:
|
Examples
This example shows how to display internal information for the interfaces that belong to a specific channel:
Device# show lacp 1 internal
Flags: S - Device sends PDUs at slow rate. F - Device sends PDUs at fast rate.
A - Device is in Active mode. P - Device is in Passive mode.
Channel group 1
LACPDUs LACP Port Admin Oper Port Port
Port Flags State Interval Priority Key Key Number State
Fa4/1 saC bndl 30s 32768 100 100 0xc1 0x75
Fa4/2 saC bndl 30s 32768 100 100 0xc2 0x75
Fa4/3 saC bndl 30s 32768 100 100 0xc3 0x75
Fa4/4 saC bndl 30s 32768 100 100 0xc4 0x75
Device#
The following table describes the significant fields shown in the display.
Field |
Description |
---|---|
State |
Current state of the port; allowed values are as follows:
|
LACPDUs Interval |
Interval setting. |
LACP Port Priority |
Port-priority setting. |
Admin Key |
Defines the ability of a port to aggregate with other ports. |
Oper Key |
Determines the aggregation capability of the link. |
Port Number |
Port number. |
Port State |
Activity state of the port.
|
Examples
This example shows how to display the information about the LACP neighbors for a specific port channel:
Device# show lacp 1 neighbors
Flags: S - Device sends PDUs at slow rate. F - Device sends PDUs at fast rate.
A - Device is in Active mode. P - Device is in Passive mode.
Channel group 1 neighbors
Partner Partner
Port System ID Port Number Age Flags
Fa4/1 8000,00b0.c23e.d84e 0x81 29s P
Fa4/2 8000,00b0.c23e.d84e 0x82 0s P
Fa4/3 8000,00b0.c23e.d84e 0x83 0s P
Fa4/4 8000,00b0.c23e.d84e 0x84 0s P
Port Admin Oper Port
Priority Key Key State
Fa4/1 32768 200 200 0x81
Fa4/2 32768 200 200 0x81
Fa4/3 32768 200 200 0x81
Fa4/4 32768 200 200 0x81
Device#
The following table describes the significant fields shown in the display.
Field |
Description |
---|---|
Port |
Port on which link bundling is configured. |
Partner System ID |
Peer’s LACP system identification (sys-id). It is a combination of the system priority and the MAC address of the peer device. |
Partner Port Number |
Port number on the peer device |
Age |
Number of seconds since the last LACP PDU was received on the port. |
Flags |
Indicators of device activity. |
Port Priority |
Port priority setting. |
Admin Key |
Defines the ability of a port to aggregate with other ports. |
Oper Key |
Determines the aggregation capability of the link. |
Port State |
Activity state of the port. See the Port State description in the show lacp internal Field Descriptions table for state variables. |
If no PDUs have been received, the default administrative information is displayed in braces.