peer label-route-capability (BGP-VPN instance IPv6 address family view)

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 ipv4-address label-route-capability

undo peer ipv4-address label-route-capability

Parameters

Parameter Description Value
ipv4-address

Specifies the IPv4 address of a peer.

It is in dotted decimal notation.

Views

BGP-VPN instance IPv6 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 to send the labeled routes.
<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] peer 10.1.1.2 enable
[*HUAWEI-bgp-6-vpna] peer 10.1.1.2 label-route-capability
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >