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.
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. |
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.
<HUAWEI> system-view [~HUAWEI] ip vpn-instance vpna [*HUAWEI-vpn-instance-vpna] ipv6-family [*HUAWEI-vpn-instance-vpna-af-ipv6] quit [*HUAWEI-vpn-instance-vpna] quit [*HUAWEI] bgp 100 [*HUAWEI-bgp] ipv6-family vpn-instance vpna [*HUAWEI-bgp-6-vpna] qos-local-id route-filter rf