The qos-local-id behavior command binds a QoS local ID to a traffic behavior.
The undo qos-local-id command unbinds a QoS local ID from a traffic behavior.
By default, no QoS local ID is bound to a traffic behavior.
| Parameter | Description | Value | 
|---|---|---|
| qos-local-id qos-local-id | Specifies the QoS local ID. | The value is an integer ranging from 1 to 255. | 
| behavior behavior-name | Specifies the name of a traffic behavior. The traffic behavior must have been defined. The value of this parameter can be defined by the system or users by using the traffic behavior command. | The value is a string of 1 to 127 case-sensitive characters with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. | 
Usage Scenario
You can run this command to bind a QoS local ID to a specified traffic behavior. The traffic behavior is then applied to the traffic on the specified route.
Prerequisites
A QoS policy has defined a routing policy for routes requiring QoS guarantee.
The traffic behavior has been created in the system view.Precautions
When flow-queue is bound to user-queue in the QPPB traffic action, the applied share-shaping 1 instance profile does not take effect.
A QoS local ID can be bound to only one traffic behavior. When the QoS policy ID, configured by apply qos-local-id, is applied to QPPB, the ID value can be configured within the range of the QoS policy ID value using qos-local-id behavior. The template Be of the traffic behavior defined by the system has not been bound.