3Com Switch 8800 Advanced Software V5 Configuration Guide

844 CHAPTER 62: QOS POLICY CONFIGURATION
<Sysname> system-view
# Define a traffic behavior and enter traffic behavior view.
[Sysname] traffic behavior test
# Configure the traffic behavior.
[Sysname-behavior-test] car cir 100
Defining a Policy A policy defines the mapping relationship between a class and a traffic behavior
(configured with multiple QoS actions).
In a policy, multiple class-to-traffic-behavior mappings are configured, and these
mapping are executed according to the order they are configured.
Follow these steps to specify the traffic behavior for a class in the policy:
n
If an ACL is defined in a traffic classification rule in a QoS policy, the processing
methods vary with different interfaces:
For forwarding by software, if the if-match references the deny action in ACL
rule, exit this if-match and continue to search for the subsequent rules;
For ASIC forwarding, neglect actions in ACL rule, and reference the action
defined in traffic behavior. Only the classification domain in ACL is used for
packet matching.
Applying a Policy Configuration procedure
The qos apply policy command maps a policy to a specific interface. One policy
mapping can be applied on multiple interfaces. Only one policy can be applied on
one direction (inbound or outbound) of an interface.
Follow these steps to apply a policy to the interface:
To do... Use the command... Remarks
Enter system view system-view -
Define the policy and enter the
policy view
qos policy policy-name Required
Specify the traffic behavior for the
class in the policy
classifier tcl-name
behavior behavior-name
Required
tcl-name: Name of a
defined class.
behavior-name: Name of
a defined traffic
behavior.
Display configuration information of
the specified class of the specified
policy and the traffic behavior
associated with the class
display qos policy
user-defined [ policy-name
[ classifier tcl-name ] ]
Optional
Available in any view
To do... Use the command... Remarks
Enter system view system-view -