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.
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.
<HUAWEI> system-view [~HUAWEI] ip vpn-instance vpna [*HUAWEI-vpn-instance-vpna] ipv4-family [*HUAWEI-vpn-instance-vpna-af-ipv4] route-distinguisher 100:1 [*HUAWEI-vpn-instance-vpna-af-ipv4] vpn-target 111:1 both [*HUAWEI-vpn-instance-vpna-af-ipv4] quit [*HUAWEI-instance-vpna] quit [*HUAWEI] bgp 100 instance a [*HUAWEI-bgp-instance-a] ipv4-family vpn-instance vpna [*HUAWEI-bgp-instance-a-vpna] peer 10.1.1.1 as-number 100 [*HUAWEI-bgp-instance-a-vpna] peer 10.1.1.1 label-route-capability