show lacp interfaces
Syntax
show lacp interfaces [<IFNAME>] [vsx-peer]
Description
Displays an LACP configuration of the physical interfaces, including VSXs. If an interface name is passed as argument, it only displays an LACP configuration of a specified interface.
Command context
Operator (>
) or Manager (#
)
Parameters
<IFNAME>
Optional: Specifies an interface name.
[vsx-peer]
Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.
Authority
Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.
Examples
This example displays an LACP configuration of the physical interfaces. One of the interfaces has the
lacp-block
forwarding state. If a VSX switch has loop protect enabled on an interface and a loop occurs, VSX blocks the interface to stop the loop. The forwarding state of the blocked interface is set to
lacp-block
.
switch# show lacp interfaces State abbreviations : A - Active P - Passive F - Aggregable I - Individual S - Short-timeout L - Long-timeout N - InSync O - OutofSync C - Collecting D - Distributing X - State m/c expired E - Default neighbor state Actor details of all interfaces: ------------------------------------------------------------------------------------ Intf Aggr Port Port State System-id System Aggr Forwarding name id Pri Pri Key State ------------------------------------------------------------------------------------ 1/1/1 lag10 17 1 ALFOE 70:72:cf:37:a3:5c 20 10 lacp-block 1/1/2 lag128 69 1 ALFNCD 70:72:cf:37:a3:5c 20 128 up 1/1/3 lag128 14 1 ALFNCD 70:72:cf:37:a3:5c 20 128 up 1/1/4 lag128 down 1/1/5 lag20 up Partner details of all interfaces: ------------------------------------------------------------------------------ Intf Aggr Partner Port State System-id System Aggr name Port-id Pri Priority Key ------------------------------------------------------------------------------ 1/1/1 lag10 0 65534 PLFOEX 00:00:00:00:00:00 65534 0 1/1/2 lag128 69 1 PLFNCD 70:72:cf:8c:60:a7 65534 128 1/1/3 lag128 14 1 PLFNCD 70:72:cf:8c:60:a7 65534 128 1/1/4 lag128 1/1/5 lag20
Displaying static LAG:
switch# show lacp interfaces State abbreviations : A - Active P - Passive F - Aggregable I - Individual S - Short-timeout L - Long-timeout N - InSync O - OutofSync C - Collecting D - Distributing X - State m/c expired E - Default neighbor state Actor details of all interfaces: ------------------------------------------------------------------------------ Intf Aggr Port Port State System-id System Aggr Forwarding Name Id Pri Pri Key State ------------------------------------------------------------------------------ 1/1/1 lag10 up 1/1/2 lag10 up Partner details of all interfaces: ------------------------------------------------------------------------------ Intf Aggr Port Port State System-id System Aggr Name Id Pri Pri Key ------------------------------------------------------------------------------ 1/1/1 lag10 1/1/2 lag10
Displaying an LACP configuration of the 1/1/1 interface:
switch# show lacp interfaces 1/1/1 State abbreviations : A - Active P - Passive F - Aggregable I - Individual S - Short-timeout L - Long-timeout N - InSync O - OutofSync C - Collecting D - Distributing X - State m/c expired E - Default neighbor state Aggregate-name : lag1 ------------------------------------------------- Actor Partner ------------------------------------------------- Port-id | 28 | 31 Port-priority | 1 | 1 Key | 1 | 1 State | ALFNCD | ALFNCD System-id | 98:f2:b3:68:40:a0 | 98:f2:b3:68:60:a6 System-priority | 65534 | 65534
Displaying an LACP configuration after loop-protect is enabled on the primary VSX switch:
switch# show lacp interfaces State abbreviations : A - Active P - Passive F - Aggregable I - Individual S - Short-timeout L - Long-timeout N - InSync O - OutofSync C - Collecting D - Distributing X - State m/c expired E - Default neighbor state Actor details of all interfaces: ------------------------------------------------------------------------------ Intf Aggr Port Port State System-ID System Aggr Forwarding Name Id Pri Pri Key State ------------------------------------------------------------------------------ 1/4/14 lag1(mc) 206 1 ALFNCD f8:60:f0:06:49:00 65534 1 up 1/5/15 lag2(mc) down Partner details of all interfaces: ------------------------------------------------------------------------------ Intf Aggr Port Port State System-ID System Aggr Name Id Pri Pri Key ------------------------------------------------------------------------------ 1/4/14 lag1(mc) 130 1 ALFNCD f8:60:f0:06:87:00 65534 1 1/5/15 lag2(mc)
Displaying an LACP configuration after loop-protect is enabled on the secondary VSX switch:
switch# show lacp interfaces State abbreviations : A - Active P - Passive F - Aggregable I - Individual S - Short-timeout L - Long-timeout N - InSync O - OutofSync C - Collecting D - Distributing X - State m/c expired E - Default neighbor state Actor details of all interfaces: ------------------------------------------------------------------------------ Intf Aggr Port Port State System-ID System Aggr Forwarding Name Id Pri Pri Key State ------------------------------------------------------------------------------ 1/3/2 lag1(mc) 1130 1 ALFNCD f8:60:f0:06:49:00 65534 1 up 1/9/3 lag2(mc) down Partner details of all interfaces: ------------------------------------------------------------------------------ Intf Aggr Port Port State System-ID System Aggr Name Id Pri Pri Key ------------------------------------------------------------------------------ 1/3/2 lag1(mc) 131 1 ALFNCD f8:60:f0:06:87:00 65534 1 1/9/3 lag2(mc)