Operation Manual – QoS
H3C S3610&S5510 Series Ethernet Switches
Chapter 3 QoS Policy Configuration
3-8
To do…
Use the command…
Remarks
Specify the traffic behavior
for a class
classifier
classifier-name
behavior behavior-name
Required
3.4.5 Applying a Policy
I. Configuration procedure
Follow these steps to apply a policy on a port:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter
port
view
interface interface-type
interface-number
Enter
port
view or
port
group
view
Enter
port
group
view
port-group
{
manual
port-group-name |
aggregation
agg-id
}
Perform either of the two
operations.
The configuration
performed in Ethernet port
view applies to the current
port only. The configuration
performed in port group
view applies to all the ports
in the port group.
Apply an
associated policy
qos apply policy policy-name
inbound
Required
II. Configuration example
1) Network
requirements
Configure a policy named test to associate the traffic behavior named test_behavior
with the class named test_class. Apply the policy to the inbound direction of Ethernet
1/0/1 port.
2) Configuration
procedure
# Enter system view.
<Sysname> system-view
# Create a policy (This operation leads you to policy view).
[Sysname]qos policy test
[Sysname-qospolicy-test]
# Associate the traffic behavior named test_behavior with the class named test_class.
[Sysname-qospolicy-test] classifier test_class behavior test_behavior
[Sysname-qospolicy-test] quit
# Enter port view.
[Sysname] interface Ethernet 1/0/1