show interfaces lag

Displays information about the LAG interface including counters.
Syntax
show interfaces lag [ lag-id | lag-name ]
Parameters
lag-id
Displays information for a virtual LAG specified by the LAG ID. If the specified LAG ID is not available, a warning message is displayed.
lag-name
Displays information for a virtual LAG specified by the LAG name. If the specified LAG name is not available, a warning message is displayed.
Modes

User EXEC mode

Examples

The following command shows that the virtual LAG specified by LAG ID 2 is not available in the system.

device# show interfaces lag id2
Warning: can't find LAG id2

The following command shows information for the virtual LAG named lag1.

device# show interfaces lag 1

Lag lg1 is down, line protocol is down
Configured speed Auto, actual None, configured duplex fdx, actual none
Member of L2 VLAN ID 1, port is untagged, port state is None
BPDU guard is Disabled, ROOT protect is Disabled, Designated protect is Disabled
STP configured to ON, priority is level0, mac-learning is enabled
Openflowis Disabled, OpenflowHybrid mode is Disabled
Mirror disabled, Monitor disabled
Mac-notification is disabled
Member of active trunk ports 1/1/10,lg1, Lag Interface is lg1
Member of configured trunk ports 1/1/10,lg1, Lag Interface is lg1
No port name
300 second input rate: 0 bits/sec, 0 packets/sec, 0.00% utilization
300 second output rate: 0 bits/sec, 0 packets/sec, 0.00% utilization
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 multicasts, 0 unicasts
0 input errors, 0 CRC, 0 frame, 0 ignored
0 runts, 0 giants
0 packets output, 0 bytes, 0 underruns
Transmitted 0 broadcasts, 0 multicasts, 0 unicasts
0 output errors, 0 collisions
Relay Agent Information option: Disabled

The following command shows information about the virtual LAG interface, including counters.

device(config-lag-blue)# show interfaces lag
Total number of LAGs:          4
Total number of deployed LAGs: 2
Total number of trunks created:2 (126 available)
LACP System Priority / ID:     1 / 609c.9fbc.bf14
LACP Long timeout:             90, default: 90
LACP Short timeout:            3, default: 3
=== LAG "blue" ID 3 (static Not Deployed) ===
LAG Configuration:
   Ports:
   Port Count:    0
   Lag Interface: lg3
   Trunk Type:    hash-based
=== LAG "blue1" ID 10 (dynamic Not Deployed) ===
LAG Configuration:
   Ports:
   Port Count:    0
   Lag Interface: lg10
   Trunk Type:    hash-based
   LACP Key:      20010
=== LAG "test" ID 1 (dynamic Deployed) ===
LAG Configuration:
   Ports:         e 1/1/5 e 1/1/7
   Port Count:    2
   Lag Interface: lg1
   Trunk Type:    hash-based
   LACP Key:      20001
Deployment: HW Trunk ID 1
Port       Link    State   Dupl Speed Trunk Tag Pvid Pri MAC             Name
1/1/5      Disable None    None None  1     No  1    0   609c.9fbc.bf18

1/1/7      Disable None    None None  1     No  1    0   609c.9fbc.bf18

Port       [Sys P] [Port P] [ Key ] [Act][Tio][Agg][Syn][Col][Dis][Def][Exp][Ope
]
1/1/5           1        1   20001   Yes   S   Agg  Syn  No   No   Def  No   Dwn
1/1/7           1        1   20001   Yes   S   Agg  Syn  No   No   Def  No   Dwn
 Partner Info and PDU Statistics
Port          Partner         Partner     LACP      LACP
             System ID         Key     Rx Count  Tx Count
1/1/5    1-0000.0000.0000        4        0         0
1/1/7    1-0000.0000.0000        6        0         0
 LAG test Counters:
         InOctets                    0           OutOctets                     0
           InPkts                    0             OutPkts                    0
  InBroadcastPkts                    0    OutBroadcastPkts                    0
  InMulticastPkts                    0    OutMulticastPkts                    0
    InUnicastPkts                    0      OutUnicastPkts                    0
        InBadPkts                    0
      InFragments                    0
       InDiscards                    0           OutErrors                    0
              CRC                    0          Collisions                    0
         InErrors                    0      LateCollisions                    0
      InGiantPkts                    0
      InShortPkts                    0
         InJabber                    0
   InFlowCtrlPkts                    0     OutFlowCtrlPkts                    0
     InBitsPerSec                    0       OutBitsPerSec                    0
     InPktsPerSec                    0       OutPktsPerSec                    0
    InUtilization                0.00%      OutUtilization                0.00%
History
Release version Command history
08.0.30 This command was introduced.
08.0.61 The command was modified to include LAG ID options.