apply qos-local-id

Use apply qos-local-id to set a local QoS ID for matching routes.

Use undo apply qos-local-id to restore the default.

Syntax

apply qos-local-id { local-id-value | clear }

undo apply qos-local-id

Default

No local QoS ID is set.

Views

Routing policy node view

Predefined user roles

network-admin

Parameters

local-id-value: Specifies a local QoS ID in the range of 1 to 4095.

clear: Clears the local QoS ID of matching routes.

Usage guidelines

In a QPPB network, the value range for the local-id-value argument is 1 to 7.

Examples

# Configure node 10 in permit mode for routing policy policy1 to set a local QoS ID of 100 for BGP routes matching extended community list 100.

<Sysname> system-view
[Sysname] ip extcommunity-list 100 permit rt 100:100
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy-policy1-10] if-match extcommunity 100
[Sysname-route-policy-policy1-10] apply qos-local-id 100