If multiple matching rules with the acl or acl ipv6 keyword specified are defined in a class, the
actual logical relationship between these rules is or when the policy is applied.
If multiple matching rules with the customer-vlan-id or service-vlan-id keyword specified are
defined in a class, the actual logical relationship between these rules is or.
The matching criteria listed below must be unique in a traffic class with the operator being AND.
Therefore, even though you can define multiple if-match clauses for these matching criteria or input
multiple values for a list argument (such as the 8021p-list argument) listed below in a traffic class, avoid
doing that. Otherwise, the QoS policy referencing the class cannot be applied to interfaces successfully.
To create multiple if-match clauses or specify multiple values for a list argument for any of the matching
criteria listed above, ensure that the operator of the class is OR.
Defining a Traffic Behavior
To define a traffic behavior, you must first create it and then configure QoS actions such as priority
marking and redirect in traffic behavior view.
Follow these steps to define a traffic behavior:
Enter system view
Create a traffic behavior and
enter traffic behavior view
Configure other actions in the
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.
If a QoS policy contains multiple class-behavior associations, they are matched in the order they are
configured. Once a match is found, the match operation stops and the specific behavior is performed. If
no match is found after all associations are compared, the packet is considered a non-matched packet.
Follow these steps to associate a class with a behavior in a policy:
Use the command...
Refer to the subsequent sections depending on the purpose of the
traffic behavior: traffic policing, traffic filtering, traffic redirecting,
priority marking, traffic accounting and so on.