Defining a traffic behavior, Defining a policy, Applying the qos policy – H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 24

17
Defining a traffic behavior
A traffic behavior is a set of QoS actions (such as traffic filtering, shaping, policing, and priority marking)
to take on a class of traffic. To define a traffic behavior, first create it and then configure QoS actions,
such as priority marking and traffic redirecting, in traffic behavior view.
Follow these steps to define a traffic behavior:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a traffic behavior and enter
traffic behavior view
traffic behavior behavior-name Required
Configure actions in the traffic
behavior
See the subsequent chapters, depending on the purpose of the traffic
behavior: traffic policing, traffic filtering, traffic redirecting, priority
marking, traffic accounting, and so on.
Defining a policy
You associate a behavior with a class in a QoS policy to perform the actions defined in the behavior for
the class of packets.
You cannot name a user-defined QoS policy the same as the system-defined QoS policy.
Follow these steps to associate a class with a behavior in a policy:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a policy and enter policy view
qos policy policy-name Required
Associate a class with a behavior in the
policy
classifier tcl-name behavior
behavior-name
Required
NOTE:
•
If an ACL is referenced by a QoS policy for defining traffic match criteria, packets matching the ACL are
organized as a class and the behavior defined in the QoS policy applies to the class regardless of
whether the match mode of the if-match clause is deny or permit.
•
In a QoS policy with multiple class-to-traffic-behavior associations, if the action of creating an outer
VLAN tag is configured in a traffic behavior, do not configure any other action in this traffic behavior;
otherwise, the QoS policy may not function as expected after it is applied.
Applying the QoS policy
You can apply a QoS policy to the following occasions:
•
An interface—The policy takes effect on the traffic sent or received on the interface.
•
A user profile—The policy takes effect on the traffic sent or received by the online users of the user
profile.
•
A VLAN—The policy takes effect on the traffic sent or received on all ports in the VLAN.