LAG Operational Commands
Show Commands
Viewing LAG Running Configuration
The following command displays the LAG running configuration on the system.
Syntax:
Example: LAG Running Configuration
supervisor@dev1: cfg> show config link-aggregation
{
  "rtbrick-config:link-aggregation": {
    "interface": [
      {
        "interface-name": "lag-4",
        "mode": "lacp",
        "minimum-link-count": 4,
        "member-interface": [
          {
            "member-interface-name": "ifp-0/0/1",
            "lacp-mode": "active",
            "lacp-timeout": "long"
          },
          {
            "member-interface-name": "ifp-0/0/4",
            "lacp-mode": "active",
            "lacp-timeout": "long"
          }
        ]
      }
    ]
  }
}
Viewing LAG Information
The following command displays the LAG information.
Syntax:
| Option | Description | 
|---|---|
| <interface-name> | Displays information for a specific LAG interface | 
| detail | Displays detailed LAG information | 
| mode <mode> | Displays information for a LAG mode:  | 
Example: Viewing LAG Information
supervisor@rtbrick: cfg> show lag detail
  Lag interface name: lag-3
  Status:             Up
  Minimum link count: 2
  Mode:               lacp
    Member interface name: ifp-0/0/1
      Actor system id: 04:f8:f8:e9:bc:83
      Actor key: 107
      Partner system id: 04:f8:f8:e9:bf:83
      Partner key: 43
    Member interface name: ifp-0/0/5
      Actor system id: 04:f8:f8:e9:bc:83
      Actor key: 107
      Partner system id: 04:f8:f8:e9:bf:83
      Partner key: 43
Viewing LAG QoS Policer Counters
The following command displays the QoS Policer Counters.
Syntax:
Example 1: QoS policer counter
supervisor@rtbrick: cfg> show qos policer counter
Interface                         Level  Units      Total            Received         Dropped
lag-27                            1      Packets    0                0                0
                                         Bytes      0                0                0
lag-27                            2      Packets    0                0                0
                                         Bytes      0                0                0
lag-27                            3      Packets    0                0                0
                                         Bytes      0                0                0
lag-27                            4      Packets    0                0                0
                                         Bytes      0                0                0
lag-28                            1      Packets    0                0                0
                                         Bytes      0                0                0
lag-28                            2      Packets    0                0                0
                                         Bytes      0                0                0
lag-28                            3      Packets    0                0                0
                                         Bytes      0                0                0
lag-28                            4      Packets    203              0                203
                                         Bytes      18270            0                18270
lag-29                            1      Packets    0                0                0
                                         Bytes      0                0                0
lag-29                            2      Packets    0                0                0
                                         Bytes      0                0                0
lag-29                            3      Packets    20591812         18850600         1741212
                                         Bytes      21291933608      19491520400      1800413208
lag-29                            4      Packets    0                0                0
                                         Bytes      0                0                0
lag-27-egress                     1      Packets    0                0                0
                                         Bytes      0                0                0
lag-27-egress                     2      Packets    0                0                0
                                         Bytes      0                0                0
lag-27-egress                     3      Packets    2011928          2011928          0
                                         Bytes      2116548256       2116548256       0
lag-27-egress                     4      Packets    180377           180377           0
                                         Bytes      15574914         15574914         0
lag-28-egress                     1      Packets    0                0                0
                                         Bytes      0                0                0
lag-28-egress                     2      Packets    0                0                0
                                         Bytes      0                0                0
lag-28-egress                     3      Packets    2019661          2019661          0
                                         Bytes      2124683372       2124683372       0
lag-28-egress                     4      Packets    178226           178226           0
                                         Bytes      15398532         15398532         0
lag-29-egress                     1      Packets    0                0                0
                                         Bytes      0                0                0
lag-29-egress                     2      Packets    0                0                0
                                         Bytes      0                0                0
lag-29-egress                     3      Packets    1999328          1999328          0
                                         Bytes      2103293056       2103293056       0
lag-29-egress                     4      Packets    183300           183300           0
                                         Bytes      15893128         15893128         0
Syntax:
Example 2: QoS policer counter for a specified LAG
supervisor@rtbrick: cfg> show qos policer counter lag-29
Interface                         Level  Units      Total            Received         Dropped
lag-29                            1      Packets    0                0                0
                                         Bytes      0                0                0
lag-29                            2      Packets    0                0                0
                                         Bytes      0                0                0
lag-29                            3      Packets    21241103         19499891         1741212
                                         Bytes      21963300502      20162887294      1800413208
lag-29                            4      Packets    0                0                0
                                         Bytes      0                0                0
Example 3
supervisor@rtbrick: cfg> show qos policer counter lag-29-egress
Interface                         Level  Units      Total            Received         Dropped
lag-29-egress                     1      Packets    0                0                0
                                         Bytes      0                0                0
lag-29-egress                     2      Packets    0                0                0
                                         Bytes      0                0                0
lag-29-egress                     3      Packets    2071701          2071701          0
                                         Bytes      2179429452       2179429452       0
lag-29-egress                     4      Packets    187300           187300           0
                                         Bytes      16221128         16221128         0