HQoS Operational Commands

HQoS Show Commands

The HQoS show commands provide detailed information about the HQoS operation.

show qos classifier

Syntax:

show qos classifier <option>

Option Description

all

Displays a summary of all the configured classifiers.

interface <interface_name>

Displays only the classifiers applied to a specific interface.

type <key_type>

Key type indicates the interface category, for example, whether its subscriber interface, an L3 IFL, a physical interface and so on.

The following example displays information for the specified classifier.

supervisor@rtbrick: op> show qos classifier all interface ppp-0/1/23/72339069014638634
Interface: ppp-0/1/23/72339069014638634, Classifier: SUBS_PBIT_CLASSIFIER, Type: Subscriber
  Match Type           Codepoint  Class     Remark Codepoint Color
  ieee-802.1                   3  class-3                160 -
  ieee-802.1                   2  class-2                140 -
  ieee-802.1                   0  class-0                100 -
  ieee-802.1                   1  class-1                120 -

The following example displays information for the specified key type.

supervisor@rtbrick: op> show qos classifier all type Global
Classifier: SUBS_EXP_CLASSIFIER, Type: Global
  Match Type           Codepoint  Class     Remark Codepoint Color
  exp                          0  class-0                  - -
  exp                          1  class-1                  - -
  exp                          2  class-2                  - -
  exp                          3  class-3                  - -

show qos interface

Syntax:

show qos interface <option>

Option Description

-

Without any option, this command displays a summary of all the interfaces.

<interface-name>

Displays QoS classifier information for the specified interface.

The following example displays information for the specified interface.

supervisor@rtbrick: op> show qos interface ifl-0/1/24/200
Interface                          Profile
ifl-0/1/24/200                     SUBSCRIBER_QOS_PROFILE

show qos policer

Syntax:

show qos policer <option>

Option Description

all

Displays a summary of all the QoS policers.

<policer-name>

Displays QoS policer information.

counter

Displays policer counter information.

<interface-name>

Displays policers applied to a specific interface.

type <key_type>

Key type indicates the interface category, for example, whether its subscriber interface, an L3 IFL, a physical interface and so on.

class-to-policer-map

Displays class-to-policer-map information.

The following example displays a summary of all the QoS policers.

supervisor@rtbrick: op> show qos policer all | head -n 20
Key Name: _DEFAULT_POLICER_10_MB, Key Type: Acl, Policer: _DEFAULT_POLICER_10_MB
Type: two-rate-three-color, Levels: 1, Flags: -
  Level    CIR(Kbps)      PIR(Kbps)      CBS(Kbits)     PBS(Kbits)     Max CIR(Kbps)  Max PIR(Kbps)
  1        10000          10000          33000          33000          -              -
  2        -              -              -              -              -              -
  3        -              -              -              -              -              -
  4        -              -              -              -              -              -
Key Name: _DEFAULT_POLICER_1_MB, Key Type: Acl, Policer: _DEFAULT_POLICER_1_MB
Type: two-rate-three-color, Levels: 1, Flags: -
  Level    CIR(Kbps)      PIR(Kbps)      CBS(Kbits)     PBS(Kbits)     Max CIR(Kbps)  Max PIR(Kbps)
  1        1000           1000           33000          33000          -              -
  2        -              -              -              -              -              -
  3        -              -              -              -              -              -
  4        -              -              -              -              -              -
Key Name: ppp-0/1/23/72339069014638637, Key Type: Subscriber-Ifl, Policer: SUBS_POLICER
Type: two-rate-three-color, Levels: 4, Flags: -
  Level    CIR(Kbps)      PIR(Kbps)      CBS(Kbits)     PBS(Kbits)     Max CIR(Kbps)  Max PIR(Kbps)
  1        2000           2100           200            210            -              -
  2        3000           3100           300            310            -              -
  3        1000           1100           100            110            -              -

The following example displays a summary of all the QoS policers for a specified interface.

supervisor@rtbrick: op> show qos policer all interface ppp-0/1/23/72339069014638634
Key Name: ppp-0/1/23/72339069014638634, Key Type: Subscriber-Ifl, Policer: SUBS_POLICER
Type: two-rate-three-color, Levels: 4, Flags: -
  Level    CIR(Kbps)      PIR(Kbps)      CBS(Kbits)     PBS(Kbits)     Max CIR(Kbps)  Max PIR(Kbps)
  1        2000           2100           200            210            -              -
  2        3000           3100           300            310            -              -
  3        1000           1100           100            110            -              -
  4        4000           4100           400            410            -              -

The following example displays a summary of all the QoS policers for a specified key type.

supervisor@rtbrick: op> show qos policer all type NAT
Key Name: _DEFAULT_NAT_POLICER_50_MB, Key Type: NAT, Policer: _DEFAULT_NAT_POLICER_50_MB
Type: two-rate-three-color, Levels: 1, Flags: -
  Level    CIR(Kbps)      PIR(Kbps)      CBS(Kbits)     PBS(Kbits)     Max CIR(Kbps)  Max PIR(Kbps)
  1        50000          50000          33000          33000          -              -
  2        -              -              -              -              -              -
  3        -              -              -              -              -              -
  4        -              -              -              -              -              -

The following example displays counter information for the specified counter.

supervisor@rtbrick>LEAF01: op> show qos policer counter lag-1
Interface                         Level  Units      Total            Received         Dropped
lag-1                             1      Packets    15773            15773            0
                                         Bytes      2555226          2555226          0
lag-1                             2      Packets    15778            15778            0
                                         Bytes      2556036          2556036          0
lag-1                             3      Packets    15775            15775            0
                                         Bytes      2555550          2555550          0
lag-1                             4      Packets    23661            23661            0
                                         Bytes      3423166          3423166          0
lag-1-egress                      1      Packets    7889             7889             0
                                         Bytes      1420020          1420020          0
lag-1-egress                      2      Packets    7889             7889             0
                                         Bytes      1420020          1420020          0
lag-1-egress                      3      Packets    7889             7889             0
                                         Bytes      1420020          1420020          0
lag-1-egress                      4      Packets    49177            49177            0
                                         Bytes      8288974          8288974          0

show qos profile

Syntax:

show qos profile <option>

Option Description

-

Without any option, this command displays a summary of all the QoS profiles.

<profile-name>

Displays QoS profile information.

The following example displays a summary of a specific QoS profile.

supervisor@rtbrick: op> sho qos profile SUBSCRIBER_QOS_PROFILE
Profile: SUBSCRIBER_QOS_PROFILE
  Classifier: SUBS_PBIT_CLASSIFIER
  Policer: SUBS_POLICER
  Egress Policer: -
  Scheduler map: SUBS_QUEUES_4_SERVICES
  Class queue map: SUBS_QUEUES_4
  Remark map: SUBS_REMARKING_EGRESS
  Class policer map: SUBS_CLASS_POLICER_MAP
  Egress Class policer map: -
  Mulifield classifier: -

show qos queue

Syntax:

show qos queue <option>

Option Description

all

Displays all configured QoS queues and their operational state.

<interface_name>

Displays queues assigned to a specific interface.

<interface_name> <queue_name>

Displays details for a specific queue on a specified interface.

class-to-queue-map

Displays queue class-to-queue-map information.

counter

Displays QoS queue counter information.

counter <interface-name>

Displays QoS queue counter information for the specified interface.

type <key_type>

Key type indicates the interface category, for example, whether its subscriber interface, an L3 IFL, a physical interface and so on.

The following example displays queue information for the specified interface.

supervisor@rtbrick: op> show qos queue all interface ppp-0/1/23/72339069014638634
Interface: ppp-0/1/23/72339069014638634, Type: Subscriber
  Queue                     Queue Size      Min Thres      Max Thres      Drop Prob  Shaper
  QUEUE_0                       375000              -              -              -  -
  QUEUE_1                       625000              -              -              -  -
  QUEUE_2                       625000              -              -              -  -
  QUEUE_3                       156250              -              -              -  SUBS_SHAPER_QUEUE_3

The following example displays queue information for a specified key type.

supervisor@rtbrick: op> show qos queue all type Subscriber-Ifl | head -n 5
Interface: ppp-0/1/23/72339069014638637, Type: Subscriber
  Queue                     Queue Size      Min Thres      Max Thres      Drop Prob  Shaper
  QUEUE_0                       375000              -              -              -  -
  QUEUE_1                       625000              -              -              -  -
  QUEUE_2                       625000              -              -              -  -

The following example displays queue counter information.

supervisor@rtbrick: op> show qos queue counter | head -n 20
Interface                      Queue Group            Queue                  Class    Units      Received            Queued              Dropped
ifl-0/1/24/200                 SUBS_QUEUES_4          QUEUE_0                0        Packets    15848               3180                12668
                                                                                      Bytes      16133264            3237240             12896024
ifl-0/1/24/200                 SUBS_QUEUES_4          QUEUE_1                1        Packets    15849               15849               0
                                                                                      Bytes      16134282            16134282            0
ifl-0/1/24/200                 SUBS_QUEUES_4          QUEUE_2                2        Packets    15849               11185               4664
                                                                                      Bytes      16134282            11386330            4747952
ifl-0/1/24/200                 SUBS_QUEUES_4          QUEUE_3                3        Packets    15848               4776                11072
                                                                                      Bytes      16133264            4861968             11271296
ifp-0/1/23                     _DEFAULT_IFP_QUEUE_G   _DEFAULT_IFP_QUEUE_0   0        Packets    392925              392925              0
                                                                                      Bytes      399923880           399923880           0
ifp-0/1/23                     _DEFAULT_IFP_QUEUE_G   _DEFAULT_IFP_QUEUE_1   1        Packets    0                   0                   0
                                                                                      Bytes      0                   0                   0
ifp-0/1/23                     _DEFAULT_IFP_QUEUE_G   _DEFAULT_IFP_QUEUE_2   2        Packets    0                   0                   0
                                                                                      Bytes      0                   0                   0
ifp-0/1/23                     _DEFAULT_IFP_QUEUE_G   _DEFAULT_IFP_QUEUE_3   3        Packets    0                   0                   0
                                                                                      Bytes      0                   0                   0
ifp-0/1/23                     _DEFAULT_IFP_QUEUE_G   _DEFAULT_IFP_QUEUE_4   4        Packets    0                   0                   0
                                                                                      Bytes      0                   0                   0
ifp-0/1/23                     _DEFAULT_IFP_QUEUE_G   _DEFAULT_IFP_QUEUE_5   5        Packets    0                   0                   0

The following example displays queue counter information for the specified interface.

supervisor@rtbrick: op> show qos queue counter ifl-0/1/24/200
Interface                      Queue Group            Queue                  Class    Units      Received            Queued              Dropped
ifl-0/1/24/200                 SUBS_QUEUES_4          QUEUE_0                0        Packets    15848               3180                12668
                                                                                      Bytes      16133264            3237240             12896024
ifl-0/1/24/200                 SUBS_QUEUES_4          QUEUE_1                1        Packets    15849               15849               0
                                                                                      Bytes      16134282            16134282            0
ifl-0/1/24/200                 SUBS_QUEUES_4          QUEUE_2                2        Packets    15849               11185               4664
                                                                                      Bytes      16134282            11386330            4747952
ifl-0/1/24/200                 SUBS_QUEUES_4          QUEUE_3                3        Packets    15848               4776                11072
                                                                                      Bytes      16133264            4861968             11271296

show qos scheduler

Syntax:

show qos scheduler <option>

Option Description

all

Displays all scheduler profiles configured.

<scheduler-name>

Displays information for the specified scheduler.

type <key_type>

Displays schedulers for the specified type.

The following example displays a summary of all the schedulers.

supervisor@rtbrick: op> show qos scheduler all
Interface Name                 Type                      Scheduler Name  Scheduler Map Name             Shaper Name     Composite
ppp-0/1/23/72339069014638637   Subscriber-Ifl            SUBS_QUEUES_4   SUBS_QUEUES_4_SERVICES         SUBS_SESSION_SHAPER False
ifp-0/1/46                     Physical-Interface-Sch... SUBS_PON_0      PORT_SCHEDULER                 -               False
ppp-0/1/23/72339069014638634   Subscriber-Ifl            SUBS_QUEUES_4   SUBS_QUEUES_4_SERVICES         SUBS_SESSION_SHAPER False
ppp-0/1/23/72339069014638638   Subscriber-Ifl            SUBS_QUEUES_4   SUBS_QUEUES_4_SERVICES         SUBS_SESSION_SHAPER False
ifl-0/1/24/200                 L3-Ifl-Interface          SUBS_QUEUES_4   SUBS_QUEUES_4_SERVICES         SUBS_SESSION_SHAPER False
ppp-0/1/23/72339069014638636   Subscriber-Ifl            SUBS_QUEUES_4   SUBS_QUEUES_4_SERVICES         SUBS_SESSION_SHAPER False
ppp-0/1/23/72339069014638635   Subscriber-Ifl            SUBS_QUEUES_4   SUBS_QUEUES_4_SERVICES         SUBS_SESSION_SHAPER False

The following example displays scheduler information for a specified interface.

supervisor@rtbrick: op> show qos scheduler all interface ppp-0/1/23/72339069014638634
Interface Name                 Type                      Scheduler Name  Scheduler Map Name             Shaper Name     Composite
ppp-0/1/23/72339069014638634   Subscriber-Ifl            SUBS_QUEUES_4   SUBS_QUEUES_4_SERVICES         SUBS_SESSION_SHAPER False

The following example displays scheduler information for the specified key type.

supervisor@rtbrick: op> show qos scheduler all type Subscriber-Ifl
Interface Name                 Type                      Scheduler Name  Scheduler Map Name             Shaper Name     Composite
ppp-0/1/23/72339069014638637   Subscriber-Ifl            SUBS_QUEUES_4   SUBS_QUEUES_4_SERVICES         SUBS_SESSION_SHAPER False
ppp-0/1/23/72339069014638634   Subscriber-Ifl            SUBS_QUEUES_4   SUBS_QUEUES_4_SERVICES         SUBS_SESSION_SHAPER False
ppp-0/1/23/72339069014638638   Subscriber-Ifl            SUBS_QUEUES_4   SUBS_QUEUES_4_SERVICES         SUBS_SESSION_SHAPER False
ppp-0/1/23/72339069014638636   Subscriber-Ifl            SUBS_QUEUES_4   SUBS_QUEUES_4_SERVICES         SUBS_SESSION_SHAPER False
ppp-0/1/23/72339069014638635   Subscriber-Ifl            SUBS_QUEUES_4   SUBS_QUEUES_4_SERVICES         SUBS_SESSION_SHAPER False

show qos remark map

Syntax:

show qos remark-map <option>

Option Description

all

Displays all remark maps configured in the system.

<interface_name>

Displays remark maps applied to a specific interface.

type <key_type>

Filters remark map for the specified type.

The following example displays a summary of all the remark maps for a specified interface.

supervisor@rtbrick: op> show qos remark all interface ppp-0/1/23/72339069014638634
Interface: ppp-0/1/23/72339069014638634, Remark Map: SUBS_REMARKING_EGRESS, Type: Subscriber
  Remark Type          Match Codepoint     Remark Codepoint    Color
  ieee-802.1                         0                    3    all
  ieee-802.1                         2                    5    all
  ieee-802.1                        32                    3    all
  ieee-802.1                        96                    5    all
  ieee-802.1                         1                    4    all
  ieee-802.1                        64                    4    all
  ieee-802.1                       128                    6    all
  ieee-802.1                         3                    6    all

The following example displays a summary of all the remark maps for a specified key type.

supervisor@rtbrick: op> show qos remark-map all type Subscriber-Ifl
Interface: ppp-0/1/23/72339069014638638, Remark Map: SUBS_REMARKING_EGRESS, Type: Subscriber
  Remark Type          Match Codepoint     Remark Codepoint    Color
  ieee-802.1                         0                    3    all
  ieee-802.1                         2                    5    all
  ieee-802.1                        32                    3    all
  ieee-802.1                        96                    5    all
  ieee-802.1                         1                    4    all
  ieee-802.1                        64                    4    all
  ieee-802.1                       128                    6    all
  ieee-802.1                         3                    6    all
Interface: ppp-0/1/23/72339069014638634, Remark Map: SUBS_REMARKING_EGRESS, Type: Subscriber
  Remark Type          Match Codepoint     Remark Codepoint    Color
  ieee-802.1                         0                    3    all
  ieee-802.1                         2                    5    all
  ieee-802.1                        32                    3    all
  ieee-802.1                        96                    5    all
  ieee-802.1                         1                    4    all
  ieee-802.1                        64                    4    all
  ieee-802.1                       128                    6    all
  ieee-802.1                         3                    6    all
Interface: ppp-0/1/23/72339069014638635, Remark Map: SUBS_REMARKING_EGRESS, Type: Subscriber
  Remark Type          Match Codepoint     Remark Codepoint    Color
  ieee-802.1                         0                    3    all
  ieee-802.1                         2                    5    all
  ieee-802.1                        32                    3    all
  ieee-802.1                        96                    5    all
  ieee-802.1                         1                    4    all
  ieee-802.1                        64                    4    all
  ieee-802.1                       128                    6    all
  ieee-802.1                         3                    6    all
Interface: ppp-0/1/23/72339069014638637, Remark Map: SUBS_REMARKING_EGRESS, Type: Subscriber
  Remark Type          Match Codepoint     Remark Codepoint    Color
  ieee-802.1                         0                    3    all
  ieee-802.1                         2                    5    all
  ieee-802.1                        32                    3    all
  ieee-802.1                        96                    5    all
  ieee-802.1                         1                    4    all
  ieee-802.1                        64                    4    all
  ieee-802.1                       128                    6    all
  ieee-802.1                         3                    6    all
Interface: ppp-0/1/23/72339069014638636, Remark Map: SUBS_REMARKING_EGRESS, Type: Subscriber
  Remark Type          Match Codepoint     Remark Codepoint    Color
  ieee-802.1                         0                    3    all
  ieee-802.1                         2                    5    all
  ieee-802.1                        32                    3    all
  ieee-802.1                        96                    5    all
  ieee-802.1                         1                    4    all
  ieee-802.1                        64                    4    all
  ieee-802.1                       128                    6    all
  ieee-802.1                         3                    6    all

show qos scheduler-map

Syntax:

show qos scheduler-map <option>

Option Description

-

Without any option, this command displays a summary of all the scheduler maps.

<scheduler-map>

Displays scheduler information for the specified scheduler map.

The following example displays a summary of all the scheduler maps.

supervisor@rtbrick: op> show qos scheduler-map
Scheduler-Map: PORT_SCHEDULER
  Scheduler: SUBS_PON_0  Type: fair_queueing
Scheduler-Map: SUBS_QUEUES_4_SERVICES
  Scheduler: SUBS_QUEUES_4  Type: strict_priority
    Queue: QUEUE_0                           Parent flow: low-flow         Connection point: strict_priority_3
    Queue: QUEUE_1                           Parent flow: high-flow        Connection point: strict_priority_1
    Queue: QUEUE_2                           Parent flow: high-flow        Connection point: strict_priority_2
    Queue: QUEUE_3                           Parent flow: high-flow        Connection point: strict_priority_0

The following example displays scheduler information for the specified scheduler-map.

supervisor@rtbrick: op> show qos scheduler SUBS_QUEUES_4
Scheduler              Type                   Shaper                 Composite              Active
SUBS_QUEUES_4          strict_priority        SUBS_SESSION_SHAPER    False                  True

show qos shaper

Syntax:

show qos shaper <option>

Option Description

-

Without any option, this command displays a summary of all the shapers.

<shaper-name>

Displays scheduler information for the specified shaper.

The following example displays a summary of all the shapers.

supervisor@rtbrick: op> show qos shaper
Shaper                        High Rate(Kbps)     Precision        Low Rate(Kbps)      High Burst(Kb)      Low Burst(Kb)          Active
SUBS_PON_0_SHAPER             16000               False               2000                -                   -                   False
SUBS_SESSION_SHAPER           10000               False               1000                -                   -                   True
SUBS_SHAPER_QUEUE_3           1500                False               -                   -                   -                   True

The following example displays shaper information for the specified shaper.

supervisor@rtbrick: op> show qos shaper SUBS_SESSION_SHAPER
Shaper                        High Rate(Kbps)     Precision        Low Rate(Kbps)      High Burst(Kb)      Low Burst(Kb)          Active
SUBS_SESSION_SHAPER           10000               False               1000                -                   -                   True

show qos multifield-classifier

Syntax:

show qos multifield-classifier <option>

Option Description

-

Without any option, this command displays a summary of all the multifield classifiers.

<multifield-classifier-name>

Displays scheduler information for the specified multifield classifiers.

The following example displays a summary of all the multifield classifiers.

supervisor@rtbrick>LEAF01: op> show qos multifield-classifier
Multifield Classifier: global-mfc
  ACL type: multifield_ipv4
  Ordinal: 10000
    Match:
      Source IPv4 prefix: 198.51.100.2/24
      IPv4 TOS: 224
    Action:
      Forward class: class-7
  Priority: 1000
  Ordinal: 9000
    Match:
      Source IPv4 prefix: 198.51.100.2/24
      IPv4 TOS: 192
    Action:
      Remark codepoint: 184
      Forward class: class-6
  Ordinal: 6200
    Match:
      Source IPv4 prefix: 198.51.100.2/24
      IPv4 TOS: 160
    Action:
      Remark codepoint: 184
      Forward class: class-5
  Ordinal: 5200
    Match:
      Source IPv4 prefix: 198.51.100.2/24
      IPv4 TOS: 64
    Action:
      Remark codepoint: 184
      Forward class: class-2
  Ordinal: 6000
    Match:
      Source IPv4 prefix: 198.51.100.2/24
      IPv4 TOS: 96
    Action:
      Remark codepoint: 184
      Forward class: class-3
  Ordinal: 5000
    Match:
      Source IPv4 prefix: 198.51.100.2/24
    Action:
      Remark codepoint: 184
      Forward class: class-0
  Ordinal: 6100
    Match:
      Source IPv4 prefix: 198.51.100.2/24
      IPv4 TOS: 128
    Action:
      Remark codepoint: 184
      Forward class: class-4
  Ordinal: 5100
    Match:
      Source IPv4 prefix: 198.51.100.2/24
      IPv4 TOS: 32
    Action:
      Remark codepoint: 184
      Forward class: class-1
  Ordinal: 100
    Match:
      Source IPv6 prefix: 2001:db8:0:100::/32
      IPv6 TC: 224
    Action:
      Remark codepoint: 196
      Forward class: class-3
Multifield Classifier: ipoe-double-play
  ACL type: multifield_ipv4
  Ordinal: 5200
    Match:
      Destination IPv4 prefix: 198.51.100.2/24
      IPv4 TOS: 160
    Action:
      Remark codepoint: 224
      Forward class: class-2
  Ordinal: 5000
    Match:
      Destination IPv4 prefix: 198.51.100.2/24
      IPv4 TOS: 64
    Action:
      Remark codepoint: 224
      Forward class: class-0
  Ordinal: 5300
    Match:
      Destination IPv4 prefix: 198.51.100.2/24
      IPv4 TOS: 192
    Action:
      Remark codepoint: 224
      Forward class: class-3
  Ordinal: 5100
    Match:
      Destination IPv4 prefix: 198.51.100.2/24
      IPv4 TOS: 96
    Action:
      Remark codepoint: 224
      Forward class: class-1
supervisor@rtbrick>LEAF01: op>

The following example displays multifield-classifier information for the specified multifield-classifier.

supervisor@rtbrick>LEAF01: op> show qos multifield-classifier global-mfc
Multifield Classifier: global-mfc
  ACL type: multifield_ipv4
  Ordinal: 10000
    Match:
      Source IPv4 prefix: 198.51.100.2/24
      IPv4 TOS: 224
    Action:
      Forward class: class-7
  Priority: 1000
  Ordinal: 9000
    Match:
      Source IPv4 prefix: 198.51.100.2/24
      IPv4 TOS: 192
    Action:
      Remark codepoint: 184
      Forward class: class-6
  Ordinal: 6200
    Match:
      Source IPv4 prefix: 198.51.100.2/24
      IPv4 TOS: 160
    Action:
      Remark codepoint: 184
      Forward class: class-5
  Ordinal: 5200
    Match:
      Source IPv4 prefix: 198.51.100.2/24
      IPv4 TOS: 64
    Action:
      Remark codepoint: 184
      Forward class: class-2
supervisor@rtbrick>LEAF01: op>

Displaying QoS Statistics for Layer-2 and Layer-3 Logical Interfaces

Due to hardware limitations in the ASIC, the QoS dropped counters may show inaccurate values during times of congestion. At present, only the forward counters can be considered reliable.

To display QoS Statistics for layer-2 and layer-3 logical interfaces, enter the following command:

show interface <layer-2/layer-3 interface> statistics

To obtain detailed view of QoS statistics for layer-2 and layer-3 logical interfaces, enter the following command:

show interface <layer-2/layer-3 interface> detail

To clear QoS statistics of layer-2 and layer-3 logical interfaces, enter the following command:

clear interface statistics <layer-2/layer-3 interface>

The following example displays QoS Statistics for the interface ifl-0/1/24/200.

supervisor@rtbrick: op> show interface ifl-0/1/24/200 statistics
Logical Interface:  ifl-0/1/24/200
   VPP statistics:
     Counter              Unit      Count
     Rx                 packets   0
                        bytes     0
     Tx                 packets   14
                        bytes     1300
     IPv4               packets   0
     IPv6               packets   0
     MPLS               packets   0
     Punt               packets   0
     Drops              packets   0
     Rx Miss            packets   0
     Rx Error           packets   0
     Rx No Buff         packets   0
     Tx Error           packets   0
  BCM statistics:
    Ingress forwarded packets: 248              Ingress forwarded bytes: 248992
    Ingress drop packets: 518                   Ingress drop bytes: 520072
    Egress forwarded packets: 0                 Egress forwarded bytes: 0
    Egress drop packets: 28404                  Egress drop bytes: 28915272
    Egress Class (Queue) Statistics:
        class-0: 0 packets 0 bytes dropped: 12668 packets 12896024 bytes
        class-1: 0 packets 0 bytes dropped: 0 packets 0 bytes
        class-2: 0 packets 0 bytes dropped: 4664 packets 4747952 bytes
        class-3: 0 packets 0 bytes dropped: 11072 packets 11271296 bytes
        class-4: 0 packets 0 bytes dropped: 0 packets 0 bytes
        class-5: 0 packets 0 bytes dropped: 0 packets 0 bytes
        class-6: 0 packets 0 bytes dropped: 0 packets 0 bytes
        class-7: 0 packets 0 bytes dropped: 0 packets 0 bytes
    Ingress Policer Statistics:
        Level 1: 14 packets 14056 bytes dropped: 69 packets 69276 bytes
        Level 2: 81 packets 81324 bytes dropped: 165 packets 165660 bytes
        Level 3: 144 packets 144576 bytes dropped: 191 packets 191764 bytes
        Level 4: 9 packets 9036 bytes dropped: 93 packets 93372 bytes

The following example displays detailed QoS Statistics for the interface ifl-0/1/24/200.

supervisor@rtbrick: op> show interface ifl-0/1/24/200 detail
​  Interface: ifl-0/1/24/200, Instance: default
    Admin/Link/Operational status: Up/Up/Up
    IPv4/IPv6/MPLS Status: Up/Up/Up
    IPv4/IPv6/MPLS MTU: 1500/1500/1500
    Interface type: Logical Sub interface
    Vlan Encapsulation: 802.1q
    Outer VLAN: 200
    RPF Mode: disable
    Neighbor Preference: 6
    Interface index: 52453505
    MAC: 5c:07:58:a2:cb:96
    Class-of-Service: SUBSCRIBER_QOS_PROFILE
    IPv4 Address             IPv6 Address
    192.0.2.9/30             fe80::5c07:5800:c8a2:cb96/64
    BCM statistics:
      Ingress forwarded packets: 248                Ingress forwarded bytes: 248992
      Ingress drop packets: 518                     Ingress drop bytes: 520072
      Egress forwarded packets: 0                   Egress forwarded bytes: 0
      Egress drop packets: 28404                    Egress drop bytes: 28915272
    Egress Class (Queue) Statistics:
        class-0: 0 packets 0 bytes dropped: 12668 packets 12896024 bytes
        class-1: 0 packets 0 bytes dropped: 0 packets 0 bytes
        class-2: 0 packets 0 bytes dropped: 4664 packets 4747952 bytes
        class-3: 0 packets 0 bytes dropped: 11072 packets 11271296 bytes
        class-4: 0 packets 0 bytes dropped: 0 packets 0 bytes
        class-5: 0 packets 0 bytes dropped: 0 packets 0 bytes
        class-6: 0 packets 0 bytes dropped: 0 packets 0 bytes
        class-7: 0 packets 0 bytes dropped: 0 packets 0 bytes
    Ingress Policer Statistics:
        Level 1: 14 packets 14056 bytes dropped: 69 packets 69276 bytes
        Level 2: 81 packets 81324 bytes dropped: 165 packets 165660 bytes
        Level 3: 144 packets 144576 bytes dropped: 191 packets 191764 bytes
        Level 4: 9 packets 9036 bytes dropped: 93 packets 93372 bytes