H3C LS-3100-52P-OVS-H3 Operation Manual - page 1266
2-11
# 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
2) Configuration example 2
# Apply the QoS policy test_policy in the inbound direction of the online users of the 802.1x user profile
user.
[Sysname] user-profile user dot1x
[Sysname-user-profile-DOT1X-user] qos apply policy test_policy inbound
[Sysname-user-profile-DOT1X-user] quit
[Sysname] user-profile user enable
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
[ slot slot-number ] [ inbound |
outbound ]
Available in any view
Display information about QoS
policies applied to VLANs
display qos vlan-policy
{ name policy-name | vlan
[ vlan-id ]} [ slot slot-number ]
[ inbound | outbound ]
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] [ inbound |
outbound ]
Available in user view