display qos vlan-policy
Use display qos vlan-policy to display information about QoS policies applied to VLANs.
Syntax
In standalone mode:
display qos vlan-policy { name policy-name | vlan [ vlan-id ] } [ slot slot-number ] [ inbound | outbound ]
In IRF mode:
display qos vlan-policy { name policy-name | vlan [ vlan-id ] } [ chassis chassis-number slot slot-number ] [ inbound | outbound ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
name policy-name: Displays information about a QoS policy applied to VLANs. The policy-name argument is a case-sensitive string of 1 to 31 characters.
vlan vlan-id: Displays information about the QoS policies applied to the VLAN specified by its ID.
inbound: Displays information about the QoS policy applied to the incoming traffic of the specified VLAN.
outbound: Displays information about the QoS policy applied to the outgoing traffic of the specified VLAN.
slot slot-number: Displays information about QoS policies applied to VLANs of the card specified by the slot number. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument refers to the ID of the IRF member device. The slot-number argument refers to the number of the slot where the card resides. (In IRF mode.)
Usage guidelines
If no direction is specified, this command displays information about QoS policies applied to VLANs in both the inbound and outbound directions.
If no slot number is specified, this command displays information about all QoS policies applied to VLANs of the device. (In standalone mode.)
If no slot or IRF member ID is specified, this command displays information about all QoS policies applied to VLANs of the IRF member device. (In IRF mode.)
Examples
# Display information about QoS policies applied to VLAN 2.
<Sysname> display qos vlan-policy vlan 2 Vlan 2 Direction: Inbound Policy: qpolicy Classifier: tc1 Operator: AND Rule(s) : If-match acl 2000 Behavior: tb1 Marking: Remark dot1p 5 Committed Access Rate: CIR 1000 (kbps), CBS 100000 (Bytes), EBS 0 (Bytes) Red action: discard
Table 29: Command output
Field | Description |
---|---|
Direction | Direction to which the QoS policy is applied for the VLAN. |