< Home

apply qos-local-id

Function

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.

Format

apply qos-local-id qos-local-id

undo apply qos-local-id

Parameters

Parameter Description Value
qos-local-id Specifies the QoS local ID. The value is an integer ranging from 1 to 4095.

Views

Route-policy view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Set the QoS local ID in the route-policy named test.

<HUAWEI> system-view
[HUAWEI] route-policy test permit node 10
[HUAWEI-route-policy] apply qos-local-id 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >