peer check-tunnel-reachable (BGP-Labeled address family view) (group)

Function

The peer check-tunnel-reachable command enables a peer in a labeled address family to check the reachability of a tunnel between the BGP peers.

The undo peer check-tunnel-reachable command disables a peer in a labeled address family from checking the reachability of a tunnel between BGP peers.

By default, a peer in a labeled address family is not enabled to check the reachability of a tunnel between BGP peers.

Format

peer group-name check-tunnel-reachable

undo peer group-name check-tunnel-reachable

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-Labeled address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

To enable a peer in a labeled address family to check reachability of a tunnel between the BGP peers, run the peer check-tunnel-reachable command.

Precautions

After the command is run, the device advertises the routes imported in the labeled address family to the specified peer only when the tunnel to the peer is up. There is no limit on the tunnel type.

Example

# Enable BGP to send labeled routes and check the reachability of the tunnel between BGP peer group.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] group test
[*HUAWEI-bgp] ipv4-family labeled-unicast
[*HUAWEI-bgp-af-ipv4-labeled] peer test enable
[*HUAWEI-bgp-af-ipv4-labeled] peer test check-tunnel-reachable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >