apply-label explicit-null (BGP-IPv6 unicast address family view)

Function

The apply-label explicit-null command enables IPv6 provider edge (6PE) routes to share the explicit null label.

The undo apply-label explicit-null command disables 6PE routes from sharing the explicit null label.

By default, the function is disabled.

Format

apply-label explicit-null

undo apply-label explicit-null

Parameters

None

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 save label resources on a 6PE device and avoid the problem that IPv6 routes cannot be advertised due to a label shortage, run the apply-label explicit-null command on the 6PE device.

Configuration Impact

After the apply-label explicit-null command is run on a 6PE device, all the routes sent by the 6PE device to its peer share the explicit null label.

Precautions

If you run the apply-label explicit-null or undo apply-label explicit-null command after a 6PE peer relationship is established, temporary packet loss occurs.

Example

# Enable 6PE routes to share the explicit null label in the BGP-IPv6 unicast address family view.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] ipv6-family unicast
[*HUAWEI-bgp-af-ipv6] apply-label explicit-null
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >