Defining a traffic behavior
A traffic behavior is a set of QoS actions (such as traffic filtering, shaping, policing, and priority marking) to take on a class of traffic.
The system predefines some traffic behaviors and defines general QoS actions for them. A user-defined behavior cannot be named the same as a system-defined behavior. You can use these behaviors when defining a policy. The system-defined behaviors are as follows:
ef—Expedited forwarding. For more information, see "Configuring congestion management."
af—Assured forwarding. For more information, see "Configuring congestion management."
be—Best-effort. For more information, see "Configuring congestion management."
be-flow-based—Uses the weighted random early detection (WRED) drop policy. For more information, see "Configuring congestion management."
To define a traffic behavior:
Step | Command |
---|---|
1. Enter system view. | system-view |
2. Create a traffic behavior and enter traffic behavior view | traffic behavior behavior-name |
3. Configure actions in the traffic behavior. | See the subsequent chapters, depending on the purpose of the traffic behavior: traffic policing, traffic filtering, priority marking, and so on. |