display qppb local-policy statistics

Function

The display qppb local-policy statistics command displays statistics about a specific QPPB local policy.

Format

display qppb local-policy statistics interface { interface-type interface-number | interface-name } [ qos-local-id qos-local-id ] { inbound | outbound }

Parameters

Parameter Description Value
interface-number

Specifies the interface number.

-

qos-local-id qos-local-id

Specifies the QoS local ID.

The value is an integer ranging from 1 to 255.

inbound

Displays statistics about the traffic policy applied in the inbound direction of an interface.

-

outbound

Displays statistics about the traffic policy applied in the outbound direction of an interface.

-

interface interface-type

Specifies the interface type.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
qos read

Usage Guidelines

Usage Scenario

You can run this command to view statistics about a specified QPPB local policy.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display statistics about the QPPB local policy in the inbound direction.
<HUAWEI> display qppb local-policy statistics interface gigabitethernet 0/1/0 inbound
Interface: GigabitEthernet0/1/0
qppb local-policy inbound: qppbtest
qos-local-id 1
Item                             Packets                      Bytes
-------------------------------------------------------------------
Matched                        642680263               964020394500
Last 30 seconds Matched rate:        pps                        bps
Matched                            40932                  491181392
  
Current CAR statistics: 
Item                             Packets                      Bytes
-------------------------------------------------------------------
Green                            1301559                 1957544736
Yellow                                 0                          0
Red                            641378704               964633570816
Passed                           1301559                 1957544736
Dropped                        641378704               964633570816
Last 30 seconds Matched rate:        pps                        bps
Passed                                84                    1001136
Dropped                            40860                  491623056
# Display statistics about the QPPB local policy in the outbound direction.
<HUAWEI> display qppb local-policy statistics interface gigabitethernet 0/1/8 outbound
Interface: GigabitEthernet0/1/8
qppb local-policy outbound: policy1
qos-local-id 1
Item                             Packets                      Bytes
-------------------------------------------------------------------
Matched                                0                          0

Current CAR statistics: 
Item                             Packets                      Bytes
-------------------------------------------------------------------
Green                                  0                          0
Yellow                                 0                          0
Red                                    0                          0
Passed                                 0                          0
Dropped                                0                          0
Table 1 Description of the display qppb local-policy statistics command output
Item Description
qppb local-policy

Indicates the name of the qppb local-policy applied to an interface.

qos-local-id

Local ID.

Matched

Indicates the number of packets and bytes that match the qppb local-policy. The statistics have been collected since the last time the statistics were cleared.

Green

Indicates the packets and bytes which is matched the priority mark Green.

Yellow

Indicates the packets and bytes which is matched the priority mark Yellow.

Red

Indicates the packets and bytes which is matched the priority mark Red.

Passed

Indicates the number of matched packets and bytes that are allowed to pass. The statistics have been collected since the last time the statistics were cleared.

Dropped

Indicates the number of matched packets and bytes that are dropped. The statistics have been collected since the last time the statistics were cleared.

Interface

Indicates the interface to which the traffic policy is applied.

last 30 seconds matched rate

Rate of packets allowed to pass through in the last 30 seconds, in pps or bps.

current car statistics

Indicates current car statistics.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >