qos-local-id (BGP-IPv6 unicast address family view)

Function

The qos-local-id command sets a value for the QoS local ID.

The undo qos-local-id 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 { qos-local-id | route-policy route-policy-name }

undo qos-local-id

Parameters

Parameter Description Value
qos-local-id

Specifies a value for the QoS local ID.

The value is an integer ranging from 1 to 255.

route-policy route-policy-name

Specifies the name of a route-policy.

The name is a string of 1 to 200 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

BGP-IPv6 unicast address family 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 the QoS local ID to 10.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] ipv6-family unicast
[*HUAWEI-bgp-af-ipv6] qos-local-id 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >