peer label-route-capability (BGP-IPv6 unicast address family view) (group)

Function

The peer label-route-capability command enables a BGP device to exchange labeled routes with a specified peer.

The undo peer label-route-capability command disables this function.

By default, this function is disabled.

Format

peer group-name label-route-capability

undo peer group-name label-route-capability

Parameters

Parameter Description Value
group-name

Specifies the name of a peer group.

The name is a string of 1 to 47 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

The peer label-route-capability command is applicable to the scenario where labeled IPv4 routes need to be exchanged between the local end and the specified peer.

Configuring the check-tunnel-reachable parameter can only be used to check tunnels on IPv4 public networks.

Prerequisites

The peer as-number command has been run to create a peer.

Configuration Impact

If the peer label-route-capability command is run multiple times, the latest configuration overwrites the previous one.

Precautions

When the capability of sending labeled routes is enabled or disabled, BGP connection is automatically closed and the capability of the neighbor is re-negotiated, and then the BGP connection is automatically established.

Example

# Enable BGP peer group to send the labeled routes.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] group test internal
[*HUAWEI-bgp] ipv6-family unicast
[*HUAWEI-bgp-af-ipv6] peer test enable
[*HUAWEI-bgp-af-ipv6] peer test label-route-capability
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >