LAG commands

lag

Syntax

lag [lag-id] [detail] [statistics]

lag lag-id associations

lag [lag-id] description

lag [lag-id] port

Context

show

Platforms

Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode

Description

This command displays Link Aggregation Group (LAG) information.

Default

a summary listing of all LAGs is displayed

Parameters

lag-id

Displays only information about the specified LAG ID.

Values

1 to 25 (7210 SAS-T, 7210 SAS-Mxp)

1 to 63 (7210 SAS-R6 and 7210 SAS-R12)

1 to 125 (7210 SAS-Sx/S 1/10GE, 7210 SAS-Sx 10/100GE)

Default

Display information for all LAG IDs.

detail

Displays detailed LAG information.

Default

Displays summary information.

statistics

Displays LAG statistics information.

associations

Displays a list of current router interfaces to which the LAG is assigned.

description

Displays LAG description strings.

port

Display the LAG ports.

Output

The following outputs are examples of LAG information, and the associated tables describe the output fields.

Sample output—LAG
A:ALA-48# show lag     
===============================================================================
Lag Data
===============================================================================
Lag-id         Adm     Opr     Port-Threshold   Up-Link-Count   MC Act/Stdby   
-------------------------------------------------------------------------------
1                 up      up      0                2               N/A            
2                 up      up      0                2               N/A            
3                 up      up      0                2               N/A            
4                 up      up      0                2               N/A            
5                 up      up      0                2               N/A            
6                 up      up      0                2               N/A            
-------------------------------------------------------------------------------
Total Lag-ids: 6       Single Chassis: 6        MC Act: 0       MC Stdby: 0
===============================================================================
A:ALA-48# 
Table: Output fields: LAG

Label

Description

LAG ID

The LAG ID that the port is assigned to

Adm

Up — The LAG is administratively up

Down — The LAG is administratively down

Opr

Up — The LAG is operationally up

Down — The LAG is operationally down

Port-Threshold

The number of operational links for the LAG at or below which the configured action will be invoked

Up-Link-Count

The number of ports that are physically present and have physical links present

MC Act/Stdby

Member port is selected as active or standby link

Sample output — LAG detail
*A:PE4-M2>show# lag 1 detail

===============================================================================
LAG Details
===============================================================================
Description        : N/A
-------------------------------------------------------------------------------
Details
-------------------------------------------------------------------------------
Lag-id              : 1                     Mode                 : network
Adm                 : up                    Opr                  : up
Thres. Exceeded Cnt : 10                    Port Threshold       : 0
Thres. Last Cleared : 11/03/2016 18:38:22   Threshold Action     : down
Dynamic Cost        : false                 Encap Type           : null
Configured Address  : c4:08:41:61:61:bf     Lag-IfIndex          : 1342177281
Hardware Address    : c4:08:41:61:61:bf     Load Balancing       : default
Hold-time Down      : 0.0 sec
LACP                : enabled               Mode                 : active
LACP Transmit Intvl : fast                  LACP xmit stdby      : enabled
Selection Criteria  : highest-count         Slave-to-partner     : disabled
MUX control         : coupled
Subgrp hold time    : 0.0 sec               Remaining time       : 0.0 sec
Subgrp selected     : 1                     Subgrp candidate     : -
Subgrp count        : 1
System Id           : c4:08:41:61:61:a3     System Priority      : 32768
Admin Key           : 31776                 Oper Key             : 31776
Prtr System Id      : 4c:5f:d2:c1:5d:3a     Prtr System Priority : 32768
Prtr Oper Key       : 31776
Standby Signaling   : lacp                  DEI Classification   : Disabled

-------------------------------------------------------------------------------
Port-id    Adm     Act/Stdby Opr     Primary Sub-group    Forced   Prio
-------------------------------------------------------------------------------
1/1/1      up      active    up      yes     1          -      32768
1/1/7      up      active    up              1          -      32768

-------------------------------------------------------------------------------
Port-id        Role      Exp   Def   Dist  Col   Syn   Aggr  Timeout  Activity
-------------------------------------------------------------------------------
1/1/1      actor     No    No    Yes   Yes   Yes   Yes   Yes      Yes
1/1/1      partner   No    No    Yes   Yes   Yes   Yes   Yes      No
1/1/7      actor     No    No    Yes   Yes   Yes   Yes   Yes      Yes
1/1/7      partner   No    No    Yes   Yes   Yes   Yes   Yes      No
===============================================================================
*A:PE4-M2>show#
Table: Output fields: LAG detailed

Label

Description

LAG ID

The LAG or multi-link trunk (MLT) that the port is assigned to

Adm

Up — The LAG is administratively up

Down — The LAG is administratively down

Port Threshold

If the number of available links is equal or below this number, the threshold action is executed

Thres. Last Cleared

The last time that keepalive statistics were cleared

Dynamic Cost

The OSPF costing of a link aggregation group based on the available aggregated, operational bandwidth

Configured Address

The base chassis Ethernet MAC address

Hardware Address

The hardware address

Load Balancing

Load-balancing function configured for this LAG

Hold-Time Down

The timer, in tenths of seconds, which controls the delay between detecting that a LAG is down and reporting it to the higher levels

LACP

Enabled — LACP is enabled

Down — LACP is disabled

LACP Transmit Intvl

LACP timeout signaled to peer

Selection Criteria

Configured subgroup selection criteria

Number of subgroups

Total subgroups in LAG

System ID

System ID used by actor in LACP messages

Admin Key

Configured LAG key

Oper Key

Key used by actor in LACP messages

System Priority

System priority used by actor in LACP messages

Prtr System ID

System ID used by partner in LACP messages

Prtr Oper Key

Key used by partner in LACP messages

Prtr System Priority

System priority used by partner in LACP messages

Mode

LAG in access or network mode

Opr

Up — The LAG is operationally up

Down — The LAG is operationally down

Port Threshold

Configured port threshold

Thres. Exceeded Cnt

The number of times that the drop count was reached

Threshold Action

Action to take when the number of available links is equal or below the port threshold

Encap Type

The encapsulation method used to distinguish customer traffic on a LAG

Lag-IFIndex

A box-wide unique number assigned to this interface

Port ID

The specific slot/MDA/port ID

(LACP) Mode

LACP active or passive mode

LACP xmit standby

LACP transmits on standby links enabled / disabled

Slave-to-partner

Configured enabled/disabled

Port-id

Displays the member port ID

Adm

Displays the member port administrative state

Active/stdby

Indicates that the member port is selected as the active or standby link

Opr

Indicates that the member port operational state

Primary

Indicates that the member port is the primary port of the LAG

Sub-group

Displays the member subgroup where the member port belongs to

Priority

Displays the member port priority

Sample output — LAG statistics
ALA-1# show lag statistics
===============================================================================
LAG Statistics
===============================================================================
Description: 
Lag-id Port-id   Input     Input      Output    Output     Input     Output
                 Bytes     Packets    Bytes     Packets    Errors    Errors
-------------------------------------------------------------------------------
1      1/1/3     0         1006       0         2494       0         0         
       1/1/4     0         435        0         401        0         0         
       1/1/5     0         9968       0         9833       0         0         
-------------------------------------------------------------------------------
Totals           0         11409      0         12728      0         0         
===============================================================================
ALA-1#
Table: Output fields: LAG statistics detailed

Label

Description

LAG ID

The LAG or multi-link trunk (MLT) that the port is assigned to

Port ID

The port ID configured or displayed in the slot/mda/port format

Input Bytes

The number of incoming bytes for the LAG on a per-port basis

Input Packets

The number of incoming packets for the LAG on a per-port basis

Output Bytes

The number of outbound bytes for the LAG on a per-port basis

Output Packets

The number of outbound packets for the LAG on a per-port basis

Input/Output Errors

For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character- oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol.

For packet-oriented interfaces, the number of outbound packets that could not be transmitted because of errors. For character-oriented or fixed-length interfaces, the number of outbound transmission units that could not be transmitted because of errors.

Totals

Displays the column totals for bytes, packets, and errors

Sample output — LAG associations
A:ALA-1# show lag 5 associations
==============================================================================
Interface Table
==============================================================================
Router/ServiceId                Name                            Encap Val
------------------------------------------------------------------------------
Router: Base                    LAG2West                        0
------------------------------------------------------------------------------
Interfaces
==============================================================================
A:ALA-1#
Table: Output fields: LAG associations

Label

Description

Service ID

Displays the service associated with the LAG

Name

Displays the name of the IP interface

Encap Val

Displays the values of the port for the IP interface

Sample output — LAG details
*A:dut-c# show lag 2 detail 
===============================================================================
LAG Details
-------------------------------------------------------------------------------
Details
-------------------------------------------------------------------------------
Lag-id              : 2                     Mode                 : network     
Adm                 : up                    Opr                  : up          
Thres. Exceeded Cnt : 85                    Port Threshold       : 0           
Thres. Last Cleared : 05/17/2009 07:56:24   Threshold Action     : down        
Dynamic Cost        : false                 Encap Type           : null        
Configured Address  : 00:ab:00:5a:01:1d     Lag-IfIndex          : 1342177282  
Hardware Address    : 00:ab:00:5a:01:1d
LACP                : enabled               Mode                 : active      
LACP Transmit Intvl : fast                  LACP xmit stdby      : enabled     
Selection Criteria  : highest-count         Slave-to-partner     : disabled    
Number of sub-groups: 1                     Forced               : -           
System Id           : 00:ab:00:5a:01:01     System Priority      : 32768       
Admin Key           : 32769                 Oper Key             : 32769       
Prtr System Id      : 00:9a:9a:ba:ba:60     Prtr System Priority : 32768       
Prtr Oper Key       : 32769                                                    
                                      
-------------------------------------------------------------------------------
Port-id        Adm    Act/Stdby Opr    Primary   Sub-group     Forced   Prio
-------------------------------------------------------------------------------
1/1/5          up     active    up     yes       1             -        32768   
1/1/6          up     active    up               1             -        32768   

-------------------------------------------------------------------------------
Port-id        Role      Exp   Def   Dist  Col   Syn   Aggr  Timeout  Activity
-------------------------------------------------------------------------------
1/1/5          actor     No    No    Yes   Yes   Yes   Yes   Yes      Yes      
1/1/5          partner   No    No    Yes   Yes   Yes   Yes   Yes      Yes      
1/1/6          actor     No    No    Yes   Yes   Yes   Yes   Yes      Yes      
1/1/6          partner   No    No    Yes   Yes   Yes   Yes   Yes      Yes      
===============================================================================
*A:dut-c#
Sample output — description
*A:7210SAS>show# lag description

===============================================================================
Lag Port States
LACP Status: e - Enabled, d - Disabled
===============================================================================
Lag-id Port-id   Adm   Act/Stdby Opr   Description
-------------------------------------------------------------------------------
1(e)             up              up    N/A
       6/1/1     up    active    up    10-Gig Ethernet
15(e)            up              up    N/A
       3/1/2     up    active    up    10/100/Gig Ethernet SFP
       4/1/1     up    active    up    10/100/Gig Ethernet SFP
25(d)            up              up    N/A
       3/1/1     down  active    down  10/100/Gig Ethernet SFP
       5/1/4     up    active    up    10/100/Gig Ethernet SFP

===============================================================================
*A:7210SAS>show#
Sample output — subgroups and forcing
Initial output without subgroups:

-------------------------------------------------------------------------------
Port-id    Adm     Act/Stdby Oper    Primary Sub-grp    Forced Prio   Fld-Port
-------------------------------------------------------------------------------
1/1/3      up      active    up      yes     1          32768         yes
1/1/5      up      active    up      1       -          32768         no
2/1/3      up      active    up      1       -          32768         no
2/1/4      up      active    up      1       -          32768         no

-------------------------------------------------------------------------------

Once subgroups are configured:

-------------------------------------------------------------------------------
Port-id    Adm     Act/Stdby Oper    Primary Sub-grp    Forced Prio   Fld-Port
-------------------------------------------------------------------------------
1/1/3      up      standby   down    yes     2          32768         no
1/1/5      up      standby   down    2       -          32768         no
2/1/3      up      active    up      1       -          32768         no
2/1/4      up      active    up      1       -          32768         yes

-------------------------------------------------------------------------------
After forcing:

-------------------------------------------------------------------------------
Port-id    Adm     Act/Stdby Oper    Primary Sub-grp    Forced Prio   Fld-Port
-------------------------------------------------------------------------------
1/1/3      up      active    up       yes    2          32768         no
1/1/5      up      active    up       2      -          32768         yes
2/1/3      up      standby   down     1      -          32768         no
2/1/4      up      standby   down     1      -          32768         no

-------------------------------------------------------------------------------
Sample output — detailed statistics
Table: Output fields: LAG statistics detailed

Label

Description

LACP Status

Displays the service associated with the LAG

Lag-id

Displays the LAG or multi-link trunk (MLT) that the port is assigned to

Port-id

Displays the port ID configured or displayed in the slot/mda/port format

Adm

Displays the administrative state of the port/KAG. Displays up to indicate LAG/port is administratively up (no shutdown) state and displays Down to indicate LAG/port is administratively Down (shutdown) state

Act/Stdby

Indicates whether the member port of the LAG is an active link or standby link

Opr

Displays the operational state of the LAG/port

Primary

Indicates whether the port is a primary member port of the LAG

Sub-group

Displays the subgroup the port belongs to

Forced

Indicates whether the ports of the subgroup were forced to be the active/standby member ports by the user

Priority

Displays the user-configured priority for the port

Fld-port

Indicates the active member port of the LAG that is used for flooding BUM traffic. On 7210 SAS-R6 and 7210 SAS-R12, in a VPLS service, while egressing on a LAG SAP, a single active member port of the LAG is used to flood the BUM traffic received in the service

redundancy

Syntax

redundancy

Context

show

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

Commands in this context display multi-chassis redundancy information.

multi-chassis

Syntax

all

mc-lag peer ip-address [lag lag-id]

mc-lag [peer ip-address [lag lag-id]] statistics

sync peer [ip-address]

sync peer [ip-address] detail

sync peer [ip-address] statistics

Context

show>redundancy

Platforms

Supported on all 7210 SAS platforms as described in this document.

Description

This command displays multi-chassis redundancy information.

Parameters

all

Displays all multi-chassis information.

mc-lag

Displays multi-chassis LAG information.

peer ip-address

Displays the address of the multi-chassis peer.

lag lag-id

Displays the specified LAG ID on this system that forms an multi-chassis LAG configuration with the indicated peer.

statistics

Displays statistics for the multi-chassis peer.

sync

Displays synchronization information.

detail

Displays detailed information.

Output

The following output is an example of multi-chassis redundancy information, and Table: Output fields: multi-chassis describes the output fields.

Sample output
*A:SAS# show redundancy multi-chassis mc-lag peer 3.3.3.3 

===============================================================================
Multi-Chassis MC-Lag Peer 3.3.3.3
===============================================================================
Last State chg  : 08/31/2014 07:07:48 
Admin State     : Up                  Oper State           : Up
KeepAlive       : 10 deci-seconds     Hold On Ngbr Failure : 3
-------------------------------------------------------------------------------
Lag Id Lacp   Remote System Id          Sys   Last State Changed
       Key    Lag Id                    Prio  
-------------------------------------------------------------------------------
25     0      1                         0     08/31/2014 07:20:10
-------------------------------------------------------------------------------
Number of LAGs : 1

*A:SAS# show redundancy multi-chassis all                    

===============================================================================
Multi-Chassis Peers
===============================================================================
Peer IP          Peer Admin      Client    Admin        Oper         State
Src IP           Auth                                               
-------------------------------------------------------------------------------
3.3.3.3          Enabled         MC-Sync:  --           --           --
2.2.2.2          hash2          MC-Ring:  --           --           --
                                 MC-Endpt: --           --           --
                                 MC-Lag:   Enabled      Enabled      --


*A:SAS# show redundancy multi-chassis sync peer 10.3.3.3 

===============================================================================
Multi-chassis Peer Table
===============================================================================
Peer
-------------------------------------------------------------------------------
Peer IP Address         : 10.3.3.3
Description             : (Not Specified)
Authentication          : Enabled
Source IP Address       : 10.2.2.2
Admin State             : Enabled
-------------------------------------------------------------------------------
Sync: Not-configured
-------------------------------------------------------------------------------
===============================================================================
*A:SAS# show redundancy multi-chassis sync peer 3.3.3.3 detail 

===============================================================================
Multi-chassis Peer Table
===============================================================================
Peer
-------------------------------------------------------------------------------
Peer IP Address         : 10.3.3.3
Description             : (Not Specified)
Authentication          : Enabled
Source IP Address       : 10.2.2.2
Admin State             : Enabled
-------------------------------------------------------------------------------
Sync: Not-configured
-------------------------------------------------------------------------------

===============================================================================
Ports synced on peer 10.3.3.3
===============================================================================
Port/Encap                    Tag
-------------------------------------------------------------------------------
===============================================================================

===============================================================================
DHCP Server instances synced on peer 10.3.3.3
===============================================================================
Router-Name                      Server-Name
  Tag
-------------------------------------------------------------------------------
No instances found
===============================================================================
Table: Output fields: multi-chassis

Label

Description

Peer IP

Displays the multi-chassis redundancy peer IP address

Src IP

Displays the source IP address used to communicate with the multi-chassis peer

Auth

If configured, displays the authentication key used between this node and the multi-chassis peer

mc-lag

Syntax

mac-lag peer ip-address [lag lag-id]

mac-lag [peer ip-address [lag lag-id]] statistics

Context

show>redundancy>multi-chassis

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command displays multi-chassis LAG information.

Parameters

peer ip-address

Specifies the peer IP address for which to display multi-chassis LAG information.

lag lag-id

Displays information about the specified LAG ID

statistics

Displays LAG statistics information.

Output

The following output is an example of multi-chassis LAG information, and Table: Output fields: MC-LAG describes the output fields.

Sample output
*7210-SAS>show>redundancy>multi-chassis# mc-lag peer 1.1.1.1

===============================================================================
Multi-Chassis MC-Lag Peer 1.1.1.1
===============================================================================
Last State chg  : 08/13/2011 09:02:31
Admin State     : Down                Oper State           : Down
KeepAlive       : 10 deci-seconds     Hold On Ngbr Failure : 3
-------------------------------------------------------------------------------
Lag Id Lacp   Remote System Id          Sys   Last State Changed
       Key    Lag Id                    Prio
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
No LAGs found
===============================================================================
*7210-SAS>show>redundancy>multi-chassis# ^C
*A:SAS# show redundancy multi-chassis mc-lag peer 3.3.3.3 statistics 

===============================================================================
Multi-Chassis Statistics, Peer 3.3.3.3
===============================================================================
Packets Rx                        : 8333
Packets Rx Keepalive              : 8321
Packets Rx Config                 : 1
Packets Rx Peer Config            : 2
Packets Rx State                  : 9
Packets Dropped State Disabled    : 0
Packets Dropped Packets Too Short : 0
Packets Dropped Tlv Invalid Size  : 0
Packets Dropped Tlv Invalid LagId : 0
Packets Dropped Out of Seq        : 0
Packets Dropped Unknown Tlv       : 0
Packets Dropped MD5               : 0
Packets Tx                        : 9229
Packets Tx Keepalive              : 8705
Packets Tx Peer Config            : 509
Packets Tx Failed                 : 1
============================================================================

Table: Output fields: MC-LAG

Label

Description

Last State chg

Displays date and time of the last state change for the MC-LAG peer

Admin State

Displays the administrative state of the MC-LAG peer

KeepAlive

Displays the time interval between keepalive messages exchanged between peers

Oper State

Displays the operational state of the MC-LAG peer

Hold On Ngbr Failure

Displays how many keep alive intervals the standby 7705 SAR will wait for packets from the active node before assuming a redundant neighbor node failure

Lag ID

Displays the LAG identifier, expressed as a decimal integer

Lacp Key

Displays the 16-bit Lacp key

Remote system ID

Displays the LAG identifier of the remote system, expressed as a decimal integer

Multi-Chassis Statistics

Packets Rx

Displays the number of MC-LAG packets received from the peer

Packets Rx Keepalive

Displays the number of MC-LAG keepalive packets received from the peer

Packets Rx Config

Displays the number of MC-LAG configured packets received from the peer

Packets Rx Peer Config

Displays the number of MC-LAG packets configured by the peer

Packets Rx State

Displays the number of received MC-LAG ‟lag” state packets received from the peer

Packets Dropped State Disabled

Displays the number of packets that were dropped because the peer was administratively disabled

Packets Dropped Packets Too Short

Displays the number of packets that were dropped because the packet was too short

Packets Dropped Tlv Invalid Size

Displays the number of packets that were dropped because the packet size was invalid

Packets Dropped Tlv Invalid LagId

Displays the number of packets that were dropped because the packet referred to an invalid or non-multi-chassis LAG

Packets Dropped Out of Seq

Displays the number of packets that were dropped because the packet was out of sequence

Packets Dropped Unknown Tlv

Displays the number of packets that were dropped because the packet contained an unknown TLV

Packets Dropped MD5

Displays the number of packets that were dropped because the packet failed MD5 authentication

Packets Tx

Displays the number of packets transmitted from this system to the peer

Packets Tx Keepalive

Displays the number of keepalive packets transmitted from this system to the peer

Packets Tx Peer Config

Displays the number of configured packets transmitted from this system to the peer

Packets Tx Failed

Displays the number of packets that failed to be transmitted from this system to the peer