H3C S7500E Series Ethernet Switches Operation Manual

Operation Manual – QoS
H3C S7500E Series Ethernet Switches Chapter 3 QoS Policy Configuration
3-12
[Sysname] interface Ethernet 2/0/1
[Sysname-Ethernet2/0/1] qos apply policy test_policy inbound
[Sysname-Ethernet2/0/1] quit
# Apply the QoS policy to the inbound direction of the specified VLANs.
[Sysname] qos vlan-policy test_policy vlan 200 300 400 500 600 700 800 900
inbound
# Apply the QoS policy globally in the inbound direction.
[Sysname] qos apply policy test_policy global inbound
3.3 Displaying and Maintaining QoS Policies
To do… Use the command… Remarks
Display information about
a class and the
corresponding actions
associated by a policy
display qos policy
user-defined
[ policy-name [ classifier
classifier-name ] ]
Available in any view
Display information about
the policies applied on a
port
display qos policy
interface [ interface-type
interface-number ]
[ inbound | outbound ]
Available in any view
Display information about
a traffic behavior
display traffic behavior
user-defined
[ behavior-name ]
Available in any view
Display information about
a class
display traffic classifier
user-defined
[ classifier-name ]
Available in any view
Display information about
a global QoS policy
display qos policy
global { inbound |
outbound } [ slot slot-id ]
Available in any view
Display information about
QoS policies applied to
VLANs
display qos vlan-policy
{ name policy-name | vlan
[ vlan-id ] } [ slot slot-id ]
Available in any view
Clear the statistics of a
global QoS policy
reset qos policy global
{ inbound | outbound }
Available in user view
Clear the statistics of QoS
policies applied to VLANs
reset qos vlan-policy
[ vlan vlan-id ]
Available in user view