display qos policy interface
Use display qos policy interface to display QoS policies applied to interfaces.
Syntax
display qos policy interface [ interface-type interface-number ] [ inbound | outbound ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface-type interface-number: Specifies an interface by its type and number.
inbound: Specifies QoS policies applied in the inbound direction.
outbound: Specifies QoS policies applied in the outbound direction.
Usage guidelines
If you do not specify a direction, this command displays QoS policies applied in the inbound direction and QoS policies applied in the outbound direction.
Examples
# Display the QoS policy applied to the incoming traffic of GigabitEthernet 1/0/1.
<Sysname> display qos policy interface GigabitEthernet 1/0/1 inbound Interface: GigabitEthernet 1/0/1 Direction: Inbound Policy: 1 Classifier: 1 Operator: AND Rule(s) : If-match acl 2000 Behavior: 1 Marking: Remark dscp 3 Committed Access Rate: CIR 128 (kbps), CBS 8192 (Bytes), EBS 512 (Bytes) Green action: pass Yellow action: pass Red action: discard Green packets: 0 (Packets) Red packets: 0 (Packets) Classifier: 2 Operator: AND Rule(s) : If-match protocol ipv6 Behavior: 2 Accounting Enable: 0 (Packets) Filter Enable: Permit Marking: Remark dot1p 1
Table 24: Command output
Field | Description |
---|---|
Direction | Direction in which the QoS policy is applied to the interface. |
Green packets | Traffic statistics for green packets. |
Red packets | Traffic statistics for red packets. |
For the description of other fields, see Table 16 and Table 19.