R3303-HP HSR6800 Routers ACL and QoS Command Reference

55
Default command level
2: System level
Parameters
behavior-name: Sets a behavior name, a string of 1 to 31 characters. The specified behavior-name must
not be a system-defined traffic behavior name like ef, af, be, or be-flow-based.
Usage guidelines
A traffic behavior is a set of actions, such as priority marking, dropping, rate limiting, and accounting.
You provide QoS for a class of traffic by associating a traffic behavior with the class of traffic.
Examples
# Create a traffic behavior named behavior1.
<Sysname> system-view
[Sysname] traffic behavior behavior1
[Sysname-behavior-behavior1]
Related commands
qos policy
qos apply policy
classifier behavior
traffic-policy
Use traffic-policy to reference a policy in a traffic behavior. By associating the traffic behavior with a
class in another policy, you perform policy nesting. The referenced policy is the child policy and the
referencing policy is the parent policy.
Use undo traffic-policy to remove the child policy from the behavior.
Syntax
traffic-policy policy-name
undo traffic-policy
Views
Traffic behavior view
Default command level
2: System level
Parameters
policy-name: Policy name, a string of 1 to 31 characters. The policy must already exist.
Usage guidelines
You can reference a QoS policy in a traffic behavior to re-classify the traffic class associated with the
behavior and take action on the re-classified traffic as defined in the policy.
With policy nesting, you can perform the associated behavior defined in the parent policy for a class of
traffic, and in addition, use the child policy to further classify the class of traffic and perform the
behaviors defined in the child policy.
Follow these guidelines when you nest QoS policies: