Operation Manual – QoS
H3C S5500-EI Series Ethernet Switches
Chapter 6 Applying a QoS Policy to VLANs
6-2
6.3 Displaying and Maintaining QoS Policies Applied to
VLANs
To do…
Use the command…
Remarks
Display the QoS policies
applied to VLANs
display qos vlan-policy
{
name
policy-name
|
vlan
[
vlan-id
]
}
Available in any view
Clear the statistics
information about the QoS
policies applied to VLANs
reset qos vlan-policy
[
vlan vlan-id
]
Available in user view
6.4 Configuration Examples
6.4.1 Network Requirements
z
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.
z
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.
6.4.2 Configuration Procedure
# 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