The display user-queue statistics command displays the statistics about the subscriber queue on the specified interface.
display user-queue statistics interface { interface-name | interface-type interface-number } { inbound | outbound } [ [ policy policy-name ] classifier classifier-name ]
display user-queue statistics interface { interface-name | interface-type interface-number } { pe-vid pe-vid ce-vid ce-vid | vlan vlan-id } { inbound | outbound } [ policy policy-name ] classifier classifier-name
display user-queue statistics bridge-domain bd-id { inbound | outbound } [ policy policy-name ] classifier classifier-name
display user-queue statistics bridge-domain bd-id { inbound | outbound } policy policy-name classifier classifier-name
Parameter | Description | Value |
---|---|---|
outbound |
Specifies the outbound direction. |
- |
policy policy-name |
Specifies the name of a traffic policy. |
The value is a string of 1 to 127 case-sensitive characters. |
classifier classifier-name |
Specifies the name of a traffic classier. |
The value is a string of 1 to 127 case-sensitive characters. |
interface interface-type interface-number |
Specifies the type and number of an interface. The interface number is made up of the slot number of an interface board, card number, and port number. |
- |
pe-vid pe-vid |
Specifies the outer VLAN ID of double-tagged VLAN tags. |
The value is an integer ranging from 1 to 4094. |
ce-vid ce-vid |
Specifies the inner VLAN ID of double-tagged VLAN tags. |
The value is an integer ranging from 1 to 4094. |
vlan vlan-id |
Specifies the single-tagged VLAN ID. |
The value is an integer ranging from 1 to 4094. |
bridge-domain bd-id |
Specifies the bridge domain ID. |
The value is an integer ranging from 1 to 16777215. |
inbound |
Specifies the inbound direction. |
- |
Usage Scenario
This command can be used to display the statistics about the subscriber queues in the inbound direction of the interface. After HQoS is configured on an interface, you can run the display user-queue statistics command to query statistics about a user queue on the interface. Statistics include information about eight services in the user queue.
Precautions
If the command contains the classifier classifier-name or policy policy-name parameter, the command does not have a corresponding MIB object.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display user-queue statistics interface gigabitethernet0/1/1 outbound gigabitethernet0/1/1 outbound traffic statistics: [be] Pass: 0 packets, 0 bytes Discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps buffer size: 0 kbytes used buffer size: 0 kbytes [af1] Pass: 0 packets, 0 bytes Discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps buffer size: 0 kbytes used buffer size: 0 kbytes [af2] Pass: 0 packets, 0 bytes Discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps buffer size: 0 kbytes used buffer size: 0 kbytes [af3] Pass: 0 packets, 0 bytes Discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps buffer size: 0 kbytes used buffer size: 0 kbytes [af4] Pass: 0 packets, 0 bytes Discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps buffer size: 0 kbytes used buffer size: 0 kbytes [ef] Pass: 0 packets, 0 bytes Discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps buffer size: 0 kbytes used buffer size: 0 kbytes [cs6] Pass: 0 packets, 0 bytes Discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps buffer size: 0 kbytes used buffer size: 0 kbytes [cs7] Pass: 0 packets, 0 bytes Discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps buffer size: 0 kbytes used buffer size: 0 kbytes [total] Pass: 0 packets, 0 bytes Discard: 0 packets, 0 bytes Last 30 seconds pass rate: 0 pps, 0 bps Last 30 seconds discard rate: 0 pps, 0 bps
Item | Description |
---|---|
outbound | Outbound. |
be | Service class. |
Last 30 seconds pass rate | Rate of passing packets, in pps and also in bit/s. |
Last 30 seconds discard rate | Rate of dropped packets, in pps and also in bit/s. |
buffer size | Indicates the available buffer size of a queue. |
used buffer size | Indicates the used buffer size of a queue. |
total | Total traffic statistics about the eight flow queues. |
Pass | Count of passing data, in packets and also in bytes. |
Discard | Count of dropped data, in packets and also in bytes. |
gigabitethernet0/1/1 | Interface·name. |