890
C
70: A
HAPTER
PPLYING A
Displaying and
Maintaining QoS
Policies Applied to
VLANs
Configuration
Examples
Network Requirements
Configuration Procedure
Q
S P
VLAN
O
OLICY TO
S
To do...
Display the QoS policies
applied to VLANs
Clear the statistics
information about the QoS
policies applied to VLANs
The QoS policy test is defined to perform traffic policing for the packets
■
matching basic IPv4 ACL 2000, with CIR as 64 kbps. The exceeding packets are
dropped.
Apply the VLAN policy test to the inbound direction of VLAN 200, VLAN 300,
■
VLAN 400, VLAN 500, VLAN 600, VLAN 700, VLAN 800, and VLAN 900.
# Enter system view.
<Sysname> system-view
# Create a class and enter class view.
[Sysname] traffic classifier cl1
# Define a classification rule.
[Sysname-classifier-cl1] if-match acl 2000
[Sysname-classifier-cl1] quit
# Create a traffic behavior and enter traffic behavior view.
[Sysname] traffic behavior be1
# Configure the traffic behavior.
[Sysname-behavior-be1] car cir 64
[Sysname-behavior-be1] quit
# Create a QoS policy and enter QoS policy view.
[Sysname] qos policy test
# Associate a class with a traffic behavior.
[Sysname-qospolicy-test] classifier cl1 behavior be1
[Sysname-qospolicy-test] quit
# Apply the policy to specific VLANs.
[Sysname] qos vlan-policy test vlan 200 300 400 500 600 700 800 900 inbound
Use the command...
display qos vlan-policy
{ name policy-name | vlan
[ vlan-id ] }
reset qos vlan-policy [ vlan
vlan-id ]
Remarks
Available in any view
Available in user view