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 a summary of all the HQoS classifiers.

supervisor@rtbrick.net: cfg> show qos classifier all
Interface: ppp-0/0/0/72339069014638603, Classifier: subs-pbit-class, Type: Subscriber
  Match Type           Codepoint  Class     Remark Codepoint Color
  ieee-802.1                   1  class-0                  - -
  ieee-802.1                   2  class-1                  - -
  ieee-802.1                   3  class-2                  - -
  ieee-802.1                   4  class-3                  - -
Interface: ppp-0/0/0/72339069014638599, Classifier: subs-pbit-class, Type: Subscriber
  Match Type           Codepoint  Class     Remark Codepoint Color
  ieee-802.1                   1  class-0                  - -
  ieee-802.1                   2  class-1                  - -
  ieee-802.1                   3  class-2                  - -
  ieee-802.1                   4  class-3                  - -
Interface: ppp-0/0/0/72339069014638601, Classifier: subs-pbit-class, Type: Subscriber
  Match Type           Codepoint  Class     Remark Codepoint Color
  ieee-802.1                   1  class-0                  - -
  ieee-802.1                   2  class-1                  - -
  ieee-802.1                   3  class-2                  - -
  ieee-802.1                   4  class-3                  - -
Interface: ppp-0/0/0/72339069014638602, Classifier: subs-pbit-class, Type: Subscriber
  Match Type           Codepoint  Class     Remark Codepoint Color
  ieee-802.1                   1  class-0                  - -
  ieee-802.1                   2  class-1                  - -
  ieee-802.1                   3  class-2                  - -
  ieee-802.1                   4  class-3                  - -
Interface: ppp-0/0/0/72339069014638600, Classifier: subs-pbit-class, Type: Subscriber
  Match Type           Codepoint  Class     Remark Codepoint Color
  ieee-802.1                   1  class-0                  - -
  ieee-802.1                   2  class-1                  - -
  ieee-802.1                   3  class-2                  - -
  ieee-802.1                   4  class-3                  - -
Classifier: subs-exp-class, Type: Global
  Match Type           Codepoint  Class     Remark Codepoint Color
  exp                          1  class-0                  - -
  exp                          2  class-1                  - -
  exp                          3  class-2                  - -
  exp                          4  class-3                  - -

The following example displays information for the specified classifier.

supervisor@rtbrick.net: cfg> show qos classifier all interface ppp-0/0/0/72339069014638603
Interface: ppp-0/0/0/72339069014638603, Classifier: subs-pbit-class, Type: Subscriber
  Match Type           Codepoint  Class     Remark Codepoint Color
  ieee-802.1                   1  class-0                  - -
  ieee-802.1                   2  class-1                  - -
  ieee-802.1                   3  class-2                  - -
  ieee-802.1                   4  class-3                  - -

The following example displays information for the specified key type.

supervisor@rtbrick.net: cfg> show qos classifier all type Global
Classifier: subs-exp-class, Type: Global
  Match Type           Codepoint  Class     Remark Codepoint Color
  exp                          1  class-0                  - -
  exp                          2  class-1                  - -
  exp                          3  class-2                  - -
  exp                          4  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>LEAF01: op> show qos interface ifl-0/0/10/200
Interface           Profile
ifl-0/0/10/200      pta_8queues_comp_on_S
supervisor@rtbrick>LEAF01: op>

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.net: cfg> show qos policer all
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: _DEFAULT_POLICER_100_MB, Key Type: Acl, Policer: _DEFAULT_POLICER_100_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        100000         100000         33000          33000          -              -
  2        -              -              -              -              -              -
  3        -              -              -              -              -              -
  4        -              -              -              -              -              -
Key Name: _DEFAULT_POLICER_TRAP_20_MB, Key Type: Trap, Policer: _DEFAULT_POLICER_TRAP_20_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        20000          20000          33000          33000          -              -
  2        -              -              -              -              -              -
  3        -              -              -              -              -              -
  4        -              -              -              -              -              -
Key Name: _DEFAULT_POLICER_20_MB, Key Type: Acl, Policer: _DEFAULT_POLICER_20_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        20000          20000          33000          33000          -              -
  2        -              -              -              -              -              -
  3        -              -              -              -              -              -
  4        -              -              -              -              -              -
Key Name: ppp-0/0/0/72339069014638600, Key Type: Subscriber-Ifl, Policer: policer-residential-8q
Type: two-rate-three-color, Levels: 4, Flags: -
  Level    CIR(Kbps)      PIR(Kbps)      CBS(Kbits)     PBS(Kbits)     Max CIR(Kbps)  Max PIR(Kbps)
  1        5000           5500           1000           1000           -              -
  2        10000          10500          1000           1000           -              -
  3        5000           5500           1000           1000           -              -
  4        10000          10500          1000           1000           -              -
Key Name: ppp-0/0/0/72339069014638602, Key Type: Subscriber-Ifl, Policer: policer-residential-8q
Type: two-rate-three-color, Levels: 4, Flags: -
  Level    CIR(Kbps)      PIR(Kbps)      CBS(Kbits)     PBS(Kbits)     Max CIR(Kbps)  Max PIR(Kbps)
  1        5000           5500           1000           1000           -              -
  2        10000          10500          1000           1000           -              -
  3        5000           5500           1000           1000           -              -
  4        10000          10500          1000           1000           -              -
Key Name: _DEFAULT_POLICER_5_MB, Key Type: Acl, Policer: _DEFAULT_POLICER_5_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        5000           5000           33000          33000          -              -
  2        -              -              -              -              -              -
  3        -              -              -              -              -              -
  4        -              -              -              -              -              -
Key Name: _DEFAULT_POLICER_250_MB, Key Type: Acl, Policer: _DEFAULT_POLICER_250_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        250000         250000         33000          33000          -              -
  2        -              -              -              -              -              -
  3        -              -              -              -              -              -
  4        -              -              -              -              -              -
Key Name: ppp-0/0/0/72339069014638601, Key Type: Subscriber-Ifl, Policer: policer-residential-8q
Type: two-rate-three-color, Levels: 4, Flags: -
  Level    CIR(Kbps)      PIR(Kbps)      CBS(Kbits)     PBS(Kbits)     Max CIR(Kbps)  Max PIR(Kbps)
  1        5000           5500           1000           1000           -              -
  2        10000          10500          1000           1000           -              -
  3        5000           5500           1000           1000           -              -
  4        10000          10500          1000           1000           -              -
Key Name: ppp-0/0/0/72339069014638603, Key Type: Subscriber-Ifl, Policer: policer-residential-8q
Type: two-rate-three-color, Levels: 4, Flags: -
  Level    CIR(Kbps)      PIR(Kbps)      CBS(Kbits)     PBS(Kbits)     Max CIR(Kbps)  Max PIR(Kbps)
  1        5000           5500           1000           1000           -              -
  2        10000          10500          1000           1000           -              -
  3        5000           5500           1000           1000           -              -
  4        10000          10500          1000           1000           -              -

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

supervisor@rtbrick.net: cfg> show qos policer all interface ppp-0/0/0/72339069014638603
Key Name: ppp-0/0/0/72339069014638603, Key Type: Subscriber-Ifl, Policer: policer-residential-8q
Type: two-rate-three-color, Levels: 4, Flags: -
  Level    CIR(Kbps)      PIR(Kbps)      CBS(Kbits)     PBS(Kbits)     Max CIR(Kbps)  Max PIR(Kbps)
  1        5000           5500           1000           1000           -              -
  2        10000          10500          1000           1000           -              -
  3        5000           5500           1000           1000           -              -
  4        10000          10500          1000           1000           -              -

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

supervisor@rtbrick.net: cfg> 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 all the QoS profiles.

supervisor@rtbrick>LEAF01: op> show qos profile lac_4queues_4classes
Profile: lac_4queues_4classes
   Classifier: residential-pbit-classifier
   Policer: policer-residential
   Scheduler map: lac_4queues_M
   Class queue map: lac_4queues_M
   Remark map: -
   Class policer map: policer-map-l2tp
   Mulifield classifier: -
supervisor@rtbrick>LEAF01: op>

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 a summary of all the queues.

supervisor@rtbrick.net: cfg> show qos queue all
Interface: hostif-0/0/0, Type: Physical-Interface
  Queue                     Queue Size      Min Thres      Max Thres      Drop Prob  Shaper
  _DEFAULT_IFP_QUEU          268435456              -              -              -  -
  _DEFAULT_IFP_QUEU          268435456              -              -              -  -
  _DEFAULT_IFP_QUEU          268435456              -              -              -  -
  _DEFAULT_IFP_QUEU          268435456              -              -              -  -
  _DEFAULT_IFP_QUEU          268435456              -              -              -  -
  _DEFAULT_IFP_QUEU          268435456              -              -              -  -
  _DEFAULT_IFP_QUEU          268435456              -              -              -  -
  _DEFAULT_IFP_QUEU          268435456              -              -              -  -
Interface: ppp-0/0/0/72339069014638601, Type: Subscriber
  Queue                     Queue Size      Min Thres      Max Thres      Drop Prob  Shaper
  SUBS_Q0                       375000              -              -              -  -
  SUBS_Q1                       625000              -              -              -  -
  SUBS_Q2                       625000              -              -              -  -
  SUBS_Q3                       156250              -              -              -  shaper_VO
  SUBS_Q4                       375000              -              -              -  -
  SUBS_Q5                       625000              -              -              -  -
  SUBS_Q6                       625000              -              -              -  -
  SUBS_Q7                       156250              -              -              -  shaper_VO
Interface: ppp-0/0/0/72339069014638599, Type: Subscriber
  Queue                     Queue Size      Min Thres      Max Thres      Drop Prob  Shaper
  SUBS_Q0                       375000              -              -              -  -
  SUBS_Q1                       625000              -              -              -  -
  SUBS_Q2                       625000              -              -              -  -
  SUBS_Q3                       156250              -              -              -  shaper_VO
  SUBS_Q4                       375000              -              -              -  -
  SUBS_Q5                       625000              -              -              -  -
  SUBS_Q6                       625000              -              -              -  -
  SUBS_Q7                       156250              -              -              -  shaper_VO

The following example displays queue information for the specified interface.

supervisor@rtbrick.net: cfg> show qos queue all interface ppp-0/0/0/72339069014638603
Interface: ppp-0/0/0/72339069014638603, Type: Subscriber
  Queue                     Queue Size      Min Thres      Max Thres      Drop Prob  Shaper
  SUBS_Q0                       375000              -              -              -  -
  SUBS_Q1                       625000              -              -              -  -
  SUBS_Q2                       625000              -              -              -  -
  SUBS_Q3                       156250              -              -              -  shaper_VO
  SUBS_Q4                       375000              -              -              -  -
  SUBS_Q5                       625000              -              -              -  -
  SUBS_Q6                       625000              -              -              -  -
  SUBS_Q7                       156250              -              -              -  shaper_VO

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

supervisor@rtbrick.net: cfg> show qos queue all type Subscriber-Ifl
Interface: ppp-0/0/0/72339069014638601, Type: Subscriber
  Queue                     Queue Size      Min Thres      Max Thres      Drop Prob  Shaper
  SUBS_Q0                       375000              -              -              -  -
  SUBS_Q1                       625000              -              -              -  -
  SUBS_Q2                       625000              -              -              -  -
  SUBS_Q3                       156250              -              -              -  shaper_VO
  SUBS_Q4                       375000              -              -              -  -
  SUBS_Q5                       625000              -              -              -  -
  SUBS_Q6                       625000              -              -              -  -
  SUBS_Q7                       156250              -              -              -  shaper_VO
Interface: ppp-0/0/0/72339069014638599, Type: Subscriber
  Queue                     Queue Size      Min Thres      Max Thres      Drop Prob  Shaper
  SUBS_Q0                       375000              -              -              -  -
  SUBS_Q1                       625000              -              -              -  -
  SUBS_Q2                       625000              -              -              -  -
  SUBS_Q3                       156250              -              -              -  shaper_VO
  SUBS_Q4                       375000              -              -              -  -
  SUBS_Q5                       625000              -              -              -  -
  SUBS_Q6                       625000              -              -              -  -
  SUBS_Q7                       156250              -              -              -  shaper_VO
Interface: ppp-0/0/0/72339069014638600, Type: Subscriber
  Queue                     Queue Size      Min Thres      Max Thres      Drop Prob  Shaper
  SUBS_Q0                       375000              -              -              -  -
  SUBS_Q1                       625000              -              -              -  -
  SUBS_Q2                       625000              -              -              -  -
  SUBS_Q3                       156250              -              -              -  shaper_VO
  SUBS_Q4                       375000              -              -              -  -
  SUBS_Q5                       625000              -              -              -  -
  SUBS_Q6                       625000              -              -              -  -
  SUBS_Q7                       156250              -              -              -  shaper_VO
Interface: ppp-0/0/0/72339069014638603, Type: Subscriber
  Queue                     Queue Size      Min Thres      Max Thres      Drop Prob  Shaper
  SUBS_Q0                       375000              -              -              -  -
  SUBS_Q1                       625000              -              -              -  -
  SUBS_Q2                       625000              -              -              -  -
  SUBS_Q3                       156250              -              -              -  shaper_VO
  SUBS_Q4                       375000              -              -              -  -
  SUBS_Q5                       625000              -              -              -  -
  SUBS_Q6                       625000              -              -              -  -
  SUBS_Q7                       156250              -              -              -  shaper_VO
Interface: ppp-0/0/0/72339069014638602, Type: Subscriber
  Queue                     Queue Size      Min Thres      Max Thres      Drop Prob  Shaper
  SUBS_Q0                       375000              -              -              -  -
  SUBS_Q1                       625000              -              -              -  -
  SUBS_Q2                       625000              -              -              -  -
  SUBS_Q3                       156250              -              -              -  shaper_VO
  SUBS_Q4                       375000              -              -              -  -
  SUBS_Q5                       625000              -              -              -  -
  SUBS_Q6                       625000              -              -              -  -
  SUBS_Q7                       156250              -              -              -  shaper_VO

The following example displays queue counter information.

supervisor@rtbrick>LEAF01: op> show qos queue counter
Interface                      Queue Group            Queue                  Class    Units      Received            Queued              Dropped

                                                                                      Bytes      0                   0                   0
ifl-0/1/32/6                   olt-dpu-mgmt-queues    OLT_MGMT               0        Packets    0                   0                   0
                                                                                      Bytes      0                   0                   0
ifl-0/1/33/4                   olt-dpu-mgmt-queues    OLT_MGMT               0        Packets    0                   0                   0
                                                                                      Bytes      0                   0                   0
ifl-0/1/33/6                   olt-dpu-mgmt-queues    OLT_MGMT               0        Packets    0                   0                   0
                                                                                      Bytes      0                   0                   0
ppp-0/1/30/72339069014638594   pta-4queues            BE_PTA                 0        Packets    941111              288270              652841
                                                                                      Bytes      942823712           288837428           653986284
ppp-0/1/30/72339069014638594   pta-4queues            LD_PTA                 2        Packets    938859              446474              492385
                                                                                      Bytes      942614436           448259896           494354540
ppp-0/1/30/72339069014638594   pta-4queues            LL_PTA                 1        Packets    938851              480506              458345
                                                                                      Bytes      942606404           482428024           460178380
ppp-0/1/30/72339069014638594   pta-4queues            VO_PTA                 3        Packets    3667257             673116              2994141
                                                                                      Bytes      953486820           175010160           778476660
l2bsa-0/1/30/281479271677953   l2bsa-4queues          BE_L2BSA               0        Packets    0                   0                   0
                                                                                      Bytes      0                   0                   0
l2bsa-0/1/30/281479271677953   l2bsa-4queues          LD_L2BSA               2        Packets    0                   0                   0
                                                                                      Bytes      0                   0                   0
l2bsa-0/1/30/281479271677953   l2bsa-4queues          LL_L2BSA               1        Packets    0                   0                   0
                                                                                      Bytes      0                   0                   0

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

supervisor@rtbrick>LEAF01: op> show qos queue counter ifl-0/1/30/6
Interface                      Queue Group            Queue                  Class    Units      Received            Queued              Dropped
ifl-0/1/30/6                   olt-dpu-mgmt-queues    OLT_MGMT               0        Packets    0                   0                   0
                                                                                      Bytes      0                   0                   0

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.net: cfg> show qos scheduler all
Interface Name                 Type                      Scheduler Name  Scheduler Map Name             Shaper Name     Composite
ppp-0/0/0/72339069014638600    Subscriber-Ifl            subs-8queues    subs-8queues-triple-play       shaper_session  False
ppp-0/0/0/72339069014638599    Subscriber-Ifl            subs-8queues    subs-8queues-triple-play       shaper_session  False
ppp-0/0/0/72339069014638602    Subscriber-Ifl            subs-8queues    subs-8queues-triple-play       shaper_session  False
ppp-0/0/0/72339069014638601    Subscriber-Ifl            subs-8queues    subs-8queues-triple-play       shaper_session  False
ppp-0/0/0/72339069014638603    Subscriber-Ifl            subs-8queues    subs-8queues-triple-play       shaper_session  False

The following example displays scheduler information for a specified interface.

supervisor@rtbrick.net: cfg> show qos scheduler all interface ppp-0/0/0/72339069014638603
Interface Name                 Type                      Scheduler Name  Scheduler Map Name             Shaper Name     Composite
ppp-0/0/0/72339069014638603    Subscriber-Ifl            subs-8queues    subs-8queues-triple-play       shaper_session  False

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

supervisor@rtbrick.net: cfg> show qos scheduler all type Subscriber-Ifl
Interface Name                 Type                      Scheduler Name  Scheduler Map Name             Shaper Name     Composite
ppp-0/0/0/72339069014638600    Subscriber-Ifl            subs-8queues    subs-8queues-triple-play       shaper_session  False
ppp-0/0/0/72339069014638599    Subscriber-Ifl            subs-8queues    subs-8queues-triple-play       shaper_session  False
ppp-0/0/0/72339069014638602    Subscriber-Ifl            subs-8queues    subs-8queues-triple-play       shaper_session  False
ppp-0/0/0/72339069014638601    Subscriber-Ifl            subs-8queues    subs-8queues-triple-play       shaper_session  False
ppp-0/0/0/72339069014638603    Subscriber-Ifl            subs-8queues    subs-8queues-triple-play       shaper_session  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.

supervisor@rtbrick.net: cfg> show qos remark-map all
Interface: ppp-0/0/0/72339069014638602, Remark Map: subs-remarking-triple-play-8q, Type: Subscriber
  Remark Type          Match Codepoint     Remark Codepoint    Color
  ieee-802.1                         0                    3    all
  ieee-802.1                         1                    4    all
  ieee-802.1                         2                    5    all
  ieee-802.1                         3                    6    all
  ieee-802.1                         4                    7    all
  ieee-802.1                         5                    0    all
  ieee-802.1                         6                    1    all
  ieee-802.1                         7                    2    all
Interface: ppp-0/0/0/72339069014638599, Remark Map: subs-remarking-triple-play-8q, Type: Subscriber
  Remark Type          Match Codepoint     Remark Codepoint    Color
  ieee-802.1                         0                    3    all
  ieee-802.1                         1                    4    all
  ieee-802.1                         2                    5    all
  ieee-802.1                         3                    6    all
  ieee-802.1                         4                    7    all
  ieee-802.1                         5                    0    all
  ieee-802.1                         6                    1    all
  ieee-802.1                         7                    2    all
Interface: ppp-0/0/0/72339069014638603, Remark Map: subs-remarking-triple-play-8q, Type: Subscriber
  Remark Type          Match Codepoint     Remark Codepoint    Color
  ieee-802.1                         0                    3    all
  ieee-802.1                         1                    4    all
  ieee-802.1                         2                    5    all
  ieee-802.1                         3                    6    all
  ieee-802.1                         4                    7    all
  ieee-802.1                         5                    0    all
  ieee-802.1                         6                    1    all
  ieee-802.1                         7                    2    all
Interface: ppp-0/0/0/72339069014638600, Remark Map: subs-remarking-triple-play-8q, Type: Subscriber
  Remark Type          Match Codepoint     Remark Codepoint    Color
  ieee-802.1                         0                    3    all
  ieee-802.1                         1                    4    all
  ieee-802.1                         2                    5    all
  ieee-802.1                         3                    6    all
  ieee-802.1                         4                    7    all
  ieee-802.1                         5                    0    all
  ieee-802.1                         6                    1    all
  ieee-802.1                         7                    2    all
Interface: ppp-0/0/0/72339069014638601, Remark Map: subs-remarking-triple-play-8q, Type: Subscriber
  Remark Type          Match Codepoint     Remark Codepoint    Color
  ieee-802.1                         0                    3    all
  ieee-802.1                         1                    4    all
  ieee-802.1                         2                    5    all
  ieee-802.1                         3                    6    all
  ieee-802.1                         4                    7    all
  ieee-802.1                         5                    0    all
  ieee-802.1                         6                    1    all
  ieee-802.1                         7                    2    all

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

supervisor@rtbrick.net: cfg> show qos remark-map all interface ppp-0/0/0/72339069014638601
Interface: ppp-0/0/0/72339069014638601, Remark Map: subs-remarking-triple-play-8q, Type: Subscriber
  Remark Type          Match Codepoint     Remark Codepoint    Color
  ieee-802.1                         0                    3    all
  ieee-802.1                         1                    4    all
  ieee-802.1                         2                    5    all
  ieee-802.1                         3                    6    all
  ieee-802.1                         4                    7    all
  ieee-802.1                         5                    0    all
  ieee-802.1                         6                    1    all
  ieee-802.1                         7                    2    all

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

supervisor@rtbrick.net: cfg> show qos remark-map all type Subscriber-Ifl
Interface: ppp-0/0/0/72339069014638602, Remark Map: subs-remarking-triple-play-8q, Type: Subscriber
  Remark Type          Match Codepoint     Remark Codepoint    Color
  ieee-802.1                         0                    3    all
  ieee-802.1                         1                    4    all
  ieee-802.1                         2                    5    all
  ieee-802.1                         3                    6    all
  ieee-802.1                         4                    7    all
  ieee-802.1                         5                    0    all
  ieee-802.1                         6                    1    all
  ieee-802.1                         7                    2    all
Interface: ppp-0/0/0/72339069014638599, Remark Map: subs-remarking-triple-play-8q, Type: Subscriber
  Remark Type          Match Codepoint     Remark Codepoint    Color
  ieee-802.1                         0                    3    all
  ieee-802.1                         1                    4    all
  ieee-802.1                         2                    5    all
  ieee-802.1                         3                    6    all
  ieee-802.1                         4                    7    all
  ieee-802.1                         5                    0    all
  ieee-802.1                         6                    1    all
  ieee-802.1                         7                    2    all
Interface: ppp-0/0/0/72339069014638603, Remark Map: subs-remarking-triple-play-8q, Type: Subscriber
  Remark Type          Match Codepoint     Remark Codepoint    Color
  ieee-802.1                         0                    3    all
  ieee-802.1                         1                    4    all
  ieee-802.1                         2                    5    all
  ieee-802.1                         3                    6    all
  ieee-802.1                         4                    7    all
  ieee-802.1                         5                    0    all
  ieee-802.1                         6                    1    all
  ieee-802.1                         7                    2    all
Interface: ppp-0/0/0/72339069014638600, Remark Map: subs-remarking-triple-play-8q, Type: Subscriber
  Remark Type          Match Codepoint     Remark Codepoint    Color
  ieee-802.1                         0                    3    all
  ieee-802.1                         1                    4    all
  ieee-802.1                         2                    5    all
  ieee-802.1                         3                    6    all
  ieee-802.1                         4                    7    all
  ieee-802.1                         5                    0    all
  ieee-802.1                         6                    1    all
  ieee-802.1                         7                    2    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>LEAF01: op> show qos scheduler-map
Scheduler-Map: lac_4queues_S
   Scheduler: fff                   Scheduler: strict_priority
     Queue: LD_S                    strict_priority_1
     Scheduler: pta_4queues_comp_off  Scheduler: strict_priority
       Queue: LL_S                    strict_priority_1
       Queue: VO_S                    strict_priority_0
   Scheduler: fffd                  Scheduler: strict_priority
     Queue: BE_S                    strict_priority_0
Scheduler-Map: schedmap-olt
   Scheduler: olt-pon1              Scheduler: fair_queueing
   Scheduler: olt-pon2              Scheduler: fair_queueing
   Scheduler: olt-pon3              Scheduler: fair_queueing
   Scheduler: olt-pon4              Scheduler: fair_queueing
   Scheduler: olt-pon5              Scheduler: fair_queueing
   Scheduler: olt-pon6              Scheduler: fair_queueing
   Scheduler: olt-pon7              Scheduler: fair_queueing
   Scheduler: olt-pon8              Scheduler: fair_queueing
   Scheduler: olt-pon9              Scheduler: fair_queueing
   Scheduler: olt-pon10             Scheduler: fair_queueing
   Scheduler: olt-pon11             Scheduler: fair_queueing
   Scheduler: olt-pon12             Scheduler: fair_queueing
   Scheduler: olt-pon13             Scheduler: fair_queueing
   Scheduler: olt-pon14             Scheduler: fair_queueing
   Scheduler: olt-pon15             Scheduler: fair_queueing
   Scheduler: olt-pon16             Scheduler: fair_queueing
   Scheduler: olt-pon17             Scheduler: fair_queueing
   Scheduler: olt-pon18             Scheduler: fair_queueing
   Scheduler: olt-pon19             Scheduler: fair_queueing
   Scheduler: olt-pon20             Scheduler: fair_queueing
   Scheduler: olt-pon21             Scheduler: fair_queueing
   Scheduler: olt-pon22             Scheduler: fair_queueing
   Scheduler: olt-pon23             Scheduler: fair_queueing
   Scheduler: olt-pon24             Scheduler: fair_queueing
   Scheduler: olt-pon25             Scheduler: fair_queueing
   Scheduler: olt-pon26             Scheduler: fair_queueing
   Scheduler: olt-pon27             Scheduler: fair_queueing
   Scheduler: olt-pon28             Scheduler: fair_queueing
   Scheduler: olt-pon29             Scheduler: fair_queueing
   Scheduler: olt-pon30             Scheduler: fair_queueing
   Scheduler: olt-pon31             Scheduler: fair_queueing
   Scheduler: olt-pon32             Scheduler: fair_queueing
   Scheduler: olt-pon33             Scheduler: False
Scheduler-Map: lac_4queues_L
   Scheduler: lac_4queues           Scheduler: strict_priority
     Queue: BE_L                    strict_priority_1
     Queue: LD_L                    strict_priority_1
     Queue: LL_L                    strict_priority_2
     Queue: VO_L                    strict_priority_0

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

supervisor@rtbrick>LEAF01: op> show qos scheduler-map lac_4queues_S
Scheduler-Map: lac_4queues_S
   Scheduler: fff                   Scheduler: strict_priority
     Queue: LD_S                    strict_priority_1
     Scheduler: pta_4queues_comp_off  Scheduler: strict_priority
       Queue: LL_S                    strict_priority_1
       Queue: VO_S                    strict_priority_0
   Scheduler: fffd                  Scheduler: strict_priority
     Queue: BE_S                    strict_priority_0

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>LEAF01: op> show qos shaper
Shaper              High Rate(Kbps)     Low Rate(Kbps)      High Burst(Kb)      Low Burst(Kb)       Active
pon-shaper          2488000             -                   -                   -                   True
shaper_IO           -                   1000000             -                   -                   True
shaper_LD           1000000             -                   -                   -                   True
shaper_LL           1000000             -                   -                   -                   True
shaper_VO           1000000             -                   -                   -                   True
shaper_session      1000000             100                 -                   -                   True

The following example displays shaper information for the specified shaper.

supervisor@rtbrick>LEAF01: op> show qos shaper shaper_session
Shaper              High Rate(Kbps)     Low Rate(Kbps)      High Burst(Kb)      Low Burst(Kb)       Active
shaper_session      1000000             100                 -                   -                   False

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/46/501.

supervisor@rtbrick>LEAF01: op> show interface ifl-0/1/46/501 statistics
Logical Interface:  ifl-0/1/46/501
  VPP statistics:
    Counter              Unit      Count
  Packet statistics:
    Ingress forwarded packets: 67598            Ingress forwarded bytes: 69872136
    Ingress drop Packets: 12378422              Ingress drop bytes: 12799221528
    Egress forwarded packets: 67370             Egress forwarded bytes: 69369760
    Egress drop packets: 0                      Egress drop bytes: 0
    Egress Class (Queue) Statistics:
        class-0: 67370 packets 69369760 bytes dropped: 0 packets 0 bytes
        class-1: 0 packets 0 bytes dropped: 0 packets 0 bytes
        class-2: 0 packets 0 bytes dropped: 0 packets 0 bytes
        class-3: 0 packets 0 bytes dropped: 0 packets 0 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: 0 packets 0 bytes dropped: 0 packets 0 bytes
        Level 2: 0 packets 0 bytes dropped: 0 packets 0 bytes
        Level 3: 0 packets 0 bytes dropped: 0 packets 0 bytes
        Level 4: 67598 packets 69872136 bytes dropped: 12378422 packets 12799221528 bytes
supervisor@rtbrick>ufi07.q2c.u21.r4.nbg.rtbrick.net: op>

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

supervisor@rtbrick>LEAF01: op> show interface ifl-0/1/46/501 detail
Logical Interface:  ifl-0/1/46/501
  VPP statistics:
    Counter              Unit      Count
  Packet statistics:
    Ingress forwarded packets: 67598            Ingress forwarded bytes: 69872136
    Ingress drop Packets: 12378422              Ingress drop bytes: 12799221528
    Egress forwarded packets: 67370             Egress forwarded bytes: 69369760
    Egress drop packets: 0                      Egress drop bytes: 0
    Egress Class (Queue) Statistics:
        class-0: 67370 packets 69369760 bytes dropped: 0 packets 0 bytes
        class-1: 0 packets 0 bytes dropped: 0 packets 0 bytes
        class-2: 0 packets 0 bytes dropped: 0 packets 0 bytes
        class-3: 0 packets 0 bytes dropped: 0 packets 0 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: 0 packets 0 bytes dropped: 0 packets 0 bytes
        Level 2: 0 packets 0 bytes dropped: 0 packets 0 bytes
        Level 3: 0 packets 0 bytes dropped: 0 packets 0 bytes
        Level 4: 67598 packets 69872136 bytes dropped: 12378422 packets 12799221528 bytes