The display port-queue statistics command displays statistics about port queues on an interface.
Parameter | Description | Value |
---|---|---|
slot slot-id |
Specify slot number. |
The value is a string of 1 to 32 characters. |
interface interface-name |
Specifies the name of an interface. |
- |
interface interface-type |
Specifies the interface type. |
- |
interface interface-number |
Specifies the interface number. |
- |
cos-value |
Specifies the CoS of the port queue. |
The value is an enumerated type and can be cs7, cs6, ef, af4, af3, af2, af1, or be. |
outbound |
Displays statistics about port queues in the outbound direction of a specific interface. |
- |
Usage Scenario
After you deploy port queues, you can use the display port-queue statistics command to view statistics about the port queues which record the statistics from the time when data is generated for the first time to the time when the command is executed. The statistics indicate whether the port queues take effect and whether the bandwidth limits of the port queues are correct.
Prerequisites
The port-queue function has been deployed on the interface.
Precautions
In multi-VS scenarios, after this command is configured on a trunk main interface, the command configuration is also effective for the trunk sub-interfaces that reside in other VSs.
By default, the port queue statistics contain the IFG and preamble.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display port-queue statistics slot 1 outbound Ports of slot 1 outbound traffic statistics: Eth-Trunk1 outbound traffic statistics: [be] Current usage percentage of queue: 0 Total pass: 0 packets, 0 bytes Total discard: 0 packets, 0 bytes Drop tail discard: 0 packets, 0 bytes Wred discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps Drop tail discard rate: 0 pps, 0 bps Wred discard rate: 0 pps, 0 bps [af1] Current usage percentage of queue: 0 Total pass: 0 packets, 0 bytes Total discard: 0 packets, 0 bytes Drop tail discard: 0 packets, 0 bytes Wred discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps Drop tail discard rate: 0 pps, 0 bps Wred discard rate: 0 pps, 0 bps [af2] Current usage percentage of queue: 0 Total pass: 0 packets, 0 bytes Total discard: 0 packets, 0 bytes Drop tail discard: 0 packets, 0 bytes Wred discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps Drop tail discard rate: 0 pps, 0 bps Wred discard rate: 0 pps, 0 bps [af3] Current usage percentage of queue: 0 Total pass: 0 packets, 0 bytes Total discard: 0 packets, 0 bytes Drop tail discard: 0 packets, 0 bytes Wred discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps Drop tail discard rate: 0 pps, 0 bps Wred discard rate: 0 pps, 0 bps [af4] Current usage percentage of queue: 0 Total pass: 0 packets, 0 bytes Total discard: 0 packets, 0 bytes Drop tail discard: 0 packets, 0 bytes Wred discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps Drop tail discard rate: 0 pps, 0 bps Wred discard rate: 0 pps, 0 bps [ef] Current usage percentage of queue: 0 Total pass: 0 packets, 0 bytes Total discard: 0 packets, 0 bytes Drop tail discard: 0 packets, 0 bytes Wred discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps Drop tail discard rate: 0 pps, 0 bps Wred discard rate: 0 pps, 0 bps [cs6] Current usage percentage of queue: 0 Total pass: 0 packets, 0 bytes Total discard: 0 packets, 0 bytes Drop tail discard: 0 packets, 0 bytes Wred discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps Drop tail discard rate: 0 pps, 0 bps Wred discard rate: 0 pps, 0 bps [cs7] Current usage percentage of queue: 0 Total pass: 0 packets, 0 bytes Total discard: 0 packets, 0 bytes Drop tail discard: 0 packets, 0 bytes Wred discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps Drop tail discard rate: 0 pps, 0 bps Wred discard rate: 0 pps, 0 bps GigabitEthernet0/1/16 outbound traffic statistics: [be] Current usage percentage of queue: 0 Total pass: 0 packets, 0 bytes Total discard: 0 packets, 0 bytes Drop tail discard: 0 packets, 0 bytes Wred discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps Drop tail discard rate: 0 pps, 0 bps Wred discard rate:
<HUAWEI> display port-queue statistics interface gigabitethernet 0/1/23 af1 outbound GigabitEthernet0/1/23 outbound traffic statistics: [af1] Total pass: 0 packets, 0 bytes Total discard: 0 packets, 0 bytes Drop tail discard: 0 packets, 0 bytes Wred discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps Drop tail discard rate: 0 pps, 0 bps Wred discard rate: 0 pps, 0 bps
<HUAWEI> display port-queue statistics interface gigabitethernet 0/1/9 outbound GigabitEthernet0/1/9 outbound traffic statistics: [be] Total pass: 0 packets, 0 bytes Total discard: 0 packets, 0 bytes Drop tail discard: 0 packets, 0 bytes Wred discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps Drop tail discard rate: 0 pps, 0 bps Wred discard rate: 0 pps, 0 bps [af1] Total pass: 0 packets, 0 bytes Total discard: 0 packets, 0 bytes Drop tail discard: 0 packets, 0 bytes Wred discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps Drop tail discard rate: 0 pps, 0 bps Wred discard rate: 0 pps, 0 bps [af2] Total pass: 0 packets, 0 bytes Total discard: 0 packets, 0 bytes Drop tail discard: 0 packets, 0 bytes Wred discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps Drop tail discard rate: 0 pps, 0 bps Wred discard rate: 0 pps, 0 bps [af3] Total pass: 0 packets, 0 bytes Total discard: 0 packets, 0 bytes Drop tail discard: 0 packets, 0 bytes Wred discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps Drop tail discard rate: 0 pps, 0 bps Wred discard rate: 0 pps, 0 bps [af4] Total pass: 0 packets, 0 bytes Total discard: 0 packets, 0 bytes Drop tail discard: 0 packets, 0 bytes Wred discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps Drop tail discard rate: 0 pps, 0 bps Wred discard rate: 0 pps, 0 bps [ef] Total pass: 0 packets, 0 bytes Total discard: 0 packets, 0 bytes Drop tail discard: 0 packets, 0 bytes Wred discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps Drop tail discard rate: 0 pps, 0 bps Wred discard rate: 0 pps, 0 bps [cs6] Total pass: 0 packets, 0 bytes Total discard: 0 packets, 0 bytes Drop tail discard: 0 packets, 0 bytes Wred discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps Drop tail discard rate: 0 pps, 0 bps Wred discard rate: 0 pps, 0 bps [cs7] Total pass: 0 packets, 0 bytes Total discard: 0 packets, 0 bytes Drop tail discard: 0 packets, 0 bytes Wred discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps Drop tail discard rate: 0 pps, 0 bps Wred discard rate: 0 pps, 0 bps Traffic towards this port: 0 bps Physical bandwidth of port QoS: 10,000,000,000 bps
Item | Description |
---|---|
be | Service class. |
Total pass | Number of packets and bytes that are allowed to pass through. |
Total discard | Number of dropped bytes and packets. |
Drop tail discard | Number of bytes and packets dropped based on the tail drop mechanism. |
Drop tail discard rate | Rate of packets dropped based on the tail drop mechanism, in pps or bps. |
Wred discard | Number of bytes and packets dropped by WRED. |
Wred discard rate | Rate of packets dropped by WRED, in pps or bps. |
Last 30 seconds pass rate | Rate of packets allowed to pass through in the last 30 seconds, in pps or bps. |
Last 30 seconds discard rate | Rate of dropped packets in the last 30 seconds, in pps or bps. |
GigabitEthernet0/1/17 | Interface name. |
Traffic towards this port | Rate of traffic passing the interface, including the traffic that is forwarded and discarded. |
Physical bandwidth of port QoS | Interface bandwidth after QoS restriction: If port shaping is configured, the shaping value is displayed. If port shaping is not configured, the interface bandwidth is displayed. |
2017-09-14 10:29:06 | Time. |