R2511-HP MSR Router Series ACL and QoS Command Reference(V5)
56
traffic behavior
Use traffic behavior to create a traffic behavior and enter traffic behavior view.
Use undo traffic behavior to delete a traffic behavior.
Syntax
traffic behavior behavior-name
undo traffic behavior behavior-name
Views
System view
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










