display qos vlan-policy

Use display qos vlan-policy to display QoS policies applied to VLANs.

Syntax

display qos vlan-policy { name policy-name | vlan [ vlan-id ] } [ slot slot-number ] [ inbound | outbound ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

name policy-name: Specifies a QoS policy by its name, a case-sensitive string of 1 to 31 characters.

vlan vlan-id: Specifies a VLAN by its ID.

inbound: Specifies QoS policies applied in the inbound direction.

outbound: Specifies QoS policies applied in the outbound direction.

slot slot-number: Specifies an IRF member device by its member ID (slot number). If you do not specify an IRF member device, this command displays QoS policies applied to VLANs on the master device.

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 QoS policies applied to VLAN 2.

<Sysname> display qos vlan-policy vlan 2
Vlan 2

  Direction: Outbound

  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
   Classifier: 3
     Operator: AND
     Rule(s) : -none-
     Behavior: 3
      -none-

Table 25: Command output

Field

Description

Direction

Direction in which the QoS policy is applied for the VLAN.

Green packets

Statistics about green packets.

Red packets

Statistics about red packets.

For the description of other fields, see Table 16 and Table 19.