display qos-profile statistics vsi

Function

The display qos-profile statistics vsi command displays the statistics about the QoS profiles on a specific VSI.

Format

display qos-profile statistics vsi vsi-name { inbound | outbound } [ verbose ]

Parameters

Parameter Description Value
vsi-name

Specifies the name of a VSI.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

inbound

Displays statistics about the QoS profiles applied in the inbound direction.

-

outbound

Displays statistics about about the QoS profiles applied in the outbound direction.

-

verbose

-

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2vpn read

Usage Guidelines

Usage Scenario

After an interface is bound to a VSI and CAR is configured using the qos-profile command, you can run the command to view statistics about QoS profiles on all member interfaces in the VSI.

Precautions

Global-VE interfaces do not support the collection of queue rate statistics.

If the number of member interfaces in a VSI is greater than 128, queue rate statistics are not displayed.

Only common VSIs support queue rate statistics.

Whether the random-discard and buffer size fields can be displayed in the command output depends on the hardware type of the current interface.

Example

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

# Display the verbose statistics about the QoS profile in a VSI.
<HUAWEI> display qos-profile statistics vsi vsi1 inbound verbose
GigabitEthernet0/1/0.1 inbound traffic statistics:
 [be]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Random-discard:                  0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
  Last 5 minutes random discard rate:
                                   0 pps,                              0 bps
  buffer size:                     10 kbytes
  used buffer size:                0 kbytes
  last packet was received at:     0000-00-00 00:00:00
 [af1]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Random-discard:                  0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
  Last 5 minutes random discard rate:
                                   0 pps,                              0 bps
  buffer size:                     10 kbytes
  used buffer size:                0 kbytes
  last packet was received at:     0000-00-00 00:00:00
 [af2]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Random-discard:                  0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
  Last 5 minutes random discard rate:
                                   0 pps,                              0 bps
  buffer size:                     10 kbytes
  used buffer size:                0 kbytes
  last packet was received at:     0000-00-00 00:00:00
 [af3]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Random-discard:                  0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
  Last 5 minutes random discard rate:
                                   0 pps,                              0 bps
  buffer size:                     10 kbytes
  used buffer size:                0 kbytes
  last packet was received at:     0000-00-00 00:00:00
 [af4]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Random-discard:                  0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
  Last 5 minutes random discard rate:
                                   0 pps,                              0 bps
  buffer size:                     10 kbytes
  used buffer size:                0 kbytes
  last packet was received at:     0000-00-00 00:00:00
 [ef]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Random-discard:                  0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
  Last 5 minutes random discard rate:
                                   0 pps,                              0 bps
  buffer size:                     10 kbytes
  used buffer size:                0 kbytes
  last packet was received at:     0000-00-00 00:00:00
 [cs6]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Random-discard:                  0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
  Last 5 minutes random discard rate:
                                   0 pps,                              0 bps
  buffer size:                     10 kbytes
  used buffer size:                0 kbytes
  last packet was received at:     0000-00-00 00:00:00
 [cs7]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Random-discard:                  0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
  Last 5 minutes random discard rate:
                                   0 pps,                              0 bps
  buffer size:                     10 kbytes
  used buffer size:                0 kbytes
  last packet was received at:     0000-00-00 00:00:00
 [total]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Random-discard:                  0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
  Last 5 minutes random discard rate:
                                   0 pps,                              0 bps
Traffic towards this interface:                                        0 bps
Configured CIR and PIR:
                                   1,000 kbps,                         1,000 kbps
# Display the statistics about the QoS profile in a VSI.
<HUAWEI> display qos-profile statistics vsi vsi1 inbound
[total]
Pass:                          0 packets,                          0 bytes
Discard:                       0 packets,                          0 bytes
Last 5 minutes pass rate:
                                0 pps,                              0 bps
Last 5 minutes discard rate:
                                0 pps,                              0 bps
Table 1 Description of the display qos-profile statistics vsi command output
Item Description
Last 5 minutes pass rate

Rate of passing packets, in pps and also in bit/s.

Last 5 minutes discard rate

Rate of dropped packets, in pps and also in bit/s.

Last 5 minutes random discard rate

Rate of randomly dropped packets, in pps and bps.

buffer size

Indicates the available buffer size of a queue.

used buffer size

Indicates the used buffer size of a queue.

last packet was received at

Last packet receiving time.

Traffic towards this interface

Rate of traffic passing the interface, including the traffic that is forwarded and discarded.

Configured CIR and PIR

User-queue CIR and PIR configured in a QoS profile. If the CIR percentage is configured in a QoS profile, the user-queue CIR is calculated by multiplying the sum of physical bandwidths of Up member interfaces and the configured CIR percentage. This field displays only the configured value. When member interfaces of a trunk interface reside on different forwarding modules (NP) or traffic management modules (TM), the actual effective bandwidth multiplies by default, but the value of this field does not multiply.

Pass

Count of passing flows, in packets and also in bytes.

Discard

Count of dropped flows, in packets and also in bytes.

Random-discard

Count of randomly dropped packets, in packets and bytes, respectively.

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