The apply qos-local-id command sets the QoS local ID.
The undo apply qos-local-id command cancels the configuration.
By default, no QoS local ID is set.
Parameter | Description | Value |
---|---|---|
qos-local-id | Specifies the QoS local ID. | The value is an integer ranging from 1 to 4095. |
Usage Scenario
The QoS local ID is a local identifier of QoS. In actual applications, you can set the QoS local ID in the route-policy, and add the command that matches the QoS local ID in the QoS policy. The QoS local ID set in the route-policy is delivered to the FIB table. During packet forwarding, the system obtains the QoS local ID from the FIB table and applies the related QoS policy according to the QoS local ID.
Configuration Impact
The apply qos-local-id command is mutually exclusive with the apply behavior and apply ip-precedence commands, and only one of these commands can be configured on a node of a routing policy. For example, if the apply qos-local-id command is configured in the view created by the route-policy test permit node 10 command, configuring the apply ip-precedence command replaces apply qos-local-id command.