The display traffic-user-queue statistics command displays traffic statistics on subscriber queues.
display traffic-user-queue statistics interface interface-type interface-number outbound acl { bas-acl | adv-acl } [ acl { l2-acl | name acl-name } ]
display traffic-user-queue statistics interface interface-type interface-number outbound acl l2-acl [ acl { bas-acl | adv-acl | name acl-name } ]
display traffic-user-queue statistics interface interface-type interface-number outbound acl name acl-name [ acl { bas-acl | adv-acl | l2-acl | name acl-name } ]
display traffic-user-queue statistics interface interface-type interface-number outbound acl ipv6 { bas-acl | adv-acl | name acl-name }
Parameter |
Description |
Value |
---|---|---|
interface interface-type interface-number |
Displays traffic statistics on subscriber queues on a specified interface.
|
- |
outbound |
Displays traffic statistics on subscriber queues in the outbound direction on an interface. |
- |
acl |
Displays traffic statistics on subscriber queues based on IPv4 ACLs. |
- |
ipv6 |
Displays traffic statistics on subscriber queues based on IPv6 ACLs. |
- |
bas-acl |
Displays traffic statistics on subscriber queues based on basic ACLs. |
The value is an integer that ranges from 2000 to 2999. |
adv-acl |
Displays traffic statistics on subscriber queues based on advanced ACLs. |
The value is an integer that ranges from 3000 to 3999. |
l2-acl |
Displays traffic statistics on subscriber queues based on Layer 2 ACLs. |
The value is an integer that ranges from 4000 to 4999. |
name acl-name |
Displays traffic statistics on subscriber queues based on named ACLs. acl-name specifies the name of the ACL. |
The value must be the name of an existing ACL. |
Usage Scenario
The display traffic-user-queue statistics command displays traffic statistics on subscriber queues based on ACLs on an interface. The command output helps you learn about forwarded and discarded packets matching ACLs and locate faults.
Prerequisites
The traffic-user-queue command has been executed to create a subscriber queue based on ACLs to implement HQoS.
# Display traffic statistics on subscriber queues based on ACL 3009 in the outbound direction on GE0/0/1.
<HUAWEI> system-view [HUAWEI] acl 3009 [HUAWEI-acl-adv-3009] rule 1 permit ip [HUAWEI-acl-adv-3009] quit [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] traffic-user-queue outbound acl 3009 pir 2000 [HUAWEI-GigabitEthernet0/0/1] quit [HUAWEI] display traffic-user-queue statistics interface gigabitethernet 0/0/1 outbound acl 3009 -------------------------------------------------------------------------------- Interface: GigabitEthernet0/0/1 -------------------------------------------------------------------------------- Queue ID | Statistics information -------------------------------------------------------------------------------- 0 | packets: pass: 0 | drop: 0 | bytes: pass: 0 | drop: 0 -------------------------------------------------------------------------------- Queue ID | Statistics information -------------------------------------------------------------------------------- 1 | packets: pass: 0 | drop: 0 | bytes: pass: 0 | drop: 0 -------------------------------------------------------------------------------- Queue ID | Statistics information -------------------------------------------------------------------------------- 2 | packets: pass: 0 | drop: 0 | bytes: pass: 0 | drop: 0 -------------------------------------------------------------------------------- Queue ID | Statistics information -------------------------------------------------------------------------------- 3 | packets: pass: 0 | drop: 0 | bytes: pass: 0 | drop: 0 -------------------------------------------------------------------------------- Queue ID | Statistics information -------------------------------------------------------------------------------- 4 | packets: pass: 0 | drop: 0 | bytes: pass: 0 | drop: 0 -------------------------------------------------------------------------------- Queue ID | Statistics information -------------------------------------------------------------------------------- 5 | packets: pass: 0 | drop: 0 | bytes: pass: 0 | drop: 0 -------------------------------------------------------------------------------- Queue ID | Statistics information -------------------------------------------------------------------------------- 6 | packets: pass: 0 | drop: 0 | bytes: pass: 0 | drop: 0 -------------------------------------------------------------------------------- Queue ID | Statistics information -------------------------------------------------------------------------------- 7 | packets: pass: 0 | drop: 0 | bytes: pass: 0 | drop: 0 --------------------------------------------------------------------------------
Item |
Description |
---|---|
Queue ID |
Index of the flow queue. |
packets |
Number of collected packets. pass indicates the number of forwarded packets, and drop indicates the number of discarded packets. |
bytes |
Number of collected bytes. pass indicates the number of forwarded bytes, and drop indicates the number of discarded bytes. |