qos-local-id route-filter (BGP view)

Function

The qos-local-id route-filter command specifies a route filter to set a value for the QoS local ID.

The undo qos-local-id route-filter command deletes the value set for the QoS local ID.

By default, no value is set for the QoS local ID.

Format

qos-local-id route-filter route-filter-name

undo qos-local-id route-filter route-filter-name

Parameters

Parameter Description Value
route-filter route-filter-name

Specifies the name of a route-filter.

The value is a string of 1 to 200 case-sensitive characters, spaces not supported. If parameters are included in the referenced route-filter, specify values for them in the format of (var1, var2, ...var8) behind the route-filter name. A maximum of eight parameters can be specified, and each value ranges from 1 to 200 characters.

Views

BGP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

To set a value for the QoS local ID, run the qos-local-id command. The set QoS local ID is delivered to the FIB. During forwarding, the system implements QoS policies based on the QoS local IDs in the FIB. Alternatively, you can use a route-policy to set a value for the QoS local ID.

Precautions

To set a QoS local ID for the routes to be imported, you can configure one using the qos-local-id command. Alternatively, you can configure a QoS local ID in a route-policy using the apply qos-local-id command and then set the route-policy as an import policy. If different QoS local IDs are configured using the two methods, the one configured using the second method takes effect.

Example

# Set a QoS local ID in a route-filter.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] qos-local-id route-filter rf
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >