
Defining a Policy
In a policy, you can define multiple class-behavior associations. A behavior is performed for the
associated class of packets. In this way, various QoS features can be implemented.
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
Specify the
dot1q-tag-manipulation
keyword if the class-behavior
association is defined for VLAN
mapping.
z
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
.
z
In a QoS policy with multiple class-to-traffic-behavior associations, if the action of creating an
outer VLAN tag, the action of setting customer network VLAN ID, or the action of setting service
provider network VLAN ID is configured in a traffic behavior, we recommend you not to 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 different occasions:
z
Applied to an interface, the policy takes effect on the traffic sent or received on the interface.
z
Applied to a user profile, the policy takes effect on the traffic sent or received by the online users
of the user profile.
z
Applied to a VLAN, the policy takes effect on the traffic sent or received on all ports in the VLAN.
z
Applied globally, the policy takes effect on the traffic sent or received on all ports.
Summary of Contents for 4210G Series
Page 459: ...4 8...
Page 493: ...12 1...
Page 968: ...19 6 000f e235 dc71 1 Config static GigabitEthernet 1 0 1 NOAGED 1 mac address es found...