display qos policy

Use display qos policy to display user-defined QoS policy configuration information.

Syntax

In standalone mode:

display qos policy user-defined [ policy-name [ classifier classifier-name ] ] [ slot slot-number ]

In IRF mode:

display qos policy user-defined [ policy-name [ classifier classifier-name ] ] [ chassis chassis-number slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

user-defined: Displays user-defined QoS policies.

policy-name: Specifies a QoS policy by its name, a case-sensitive string of 1 to 31 characters. If no QoS policy name is specified, this command displays configuration information of all the user-defined QoS policies.

classifier classifier-name: Specifies a traffic class by its name, a case-sensitive string of 1 to 31 characters. If no traffic class is specified, this command displays information about all traffic classes.

slot slot-number: Specifies a card by its slot number. If no card is specified, this command displays the QoS policies on the active MPU. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the IRF member ID, and the slot-number argument represents the slot number of the card. If no card is specified, this command displays the QoS policies on the global active MPU. (In IRF mode.)

Examples

# Display the configuration information of all the user-defined QoS policies.

<Sysname> display qos policy user-defined

  User Defined QoS Policy Information:

  Policy: qpolicy (ID 100) 
   Classifier: tc1 (ID 0) 
     Behavior: tb1 
      Marking: 
        Remark dot1p 5 
      Committed Access Rate: 
        CIR 1000 (kbps), CBS 100000 (Bytes), EBS 0 (Bytes) 
        Red action: discard

For the output description, see Table 17 and Table 20.