R0106-HP MSR Router Series ACL and QoS Command Reference(V7)

58
Usage guidelines
You can mark packets with a local QoS ID in the inbound direction and associate a behavior with the
marked packets in the outbound direction.
Examples
# Configure the action of marking packets with local QoS ID 2.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] remark qos-local-id 2
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
Default
No traffic behavior exists.
Views
System view
Predefined user roles
network-admin
Parameters
behavior-name: Specifies the name of the traffic behavior, a case-sensitive string of 1 to 31 characters.
Examples
# Create a traffic behavior named behavior1.
<Sysname> system-view
[Sysname] traffic behavior behavior1
[Sysname-behavior-behavior1]
Related commands
display traffic behavior
traffic-policy
Use traffic-policy to nest a policy in a traffic behavior.
Use undo traffic-policy to remove child policies from the behavior.
Syntax
traffic-policy policy-name
undo traffic-policy