peer capability-advertise (BGP-VPN instance view) (IPv6)

Function

The peer capability-advertise command enables optional BGP functions when a BGP peer advertises routes to its peer. The optional BGP functions include route-refresh, general function, 4-byte AS number, and Add-Path.

The undo peer capability-advertise command restores the default setting.

By default, the route-refresh and 4-byte AS number functions are enabled, but the general function and Add-Path are disabled.

Format

peer ipv6-address capability-advertise { route-refresh | 4-byte-as }

undo peer ipv6-address capability-advertise { route-refresh | 4-byte-as }

undo peer ipv6-address capability-advertise

Parameters

Parameter Description Value
ipv6-address

Specifies the IPv6 address of a peer.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

route-refresh

Indicates the route-refresh function.

-

4-byte-as

Indicates the 4-byte AS number function.

-

Views

BGP-VPN instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

There are multiple optional BGP functions when a BGP peer advertises routes to its peer. The optional BGP functions include route-refresh, general function, 4-byte AS number, and Add-Path. You can run the peer capability-advertise command to select one of the functions based on the needs on the live network.

Configuration Impact

If you enable or disable the route-refresh, general function, 4-byte AS number, or Add-Path function, the BGP peer relationship will be re-established, which can lead to a temporary network interruption. Therefore, exercise caution when running the related commands.

Example

# Configure a BGP device to advertise the route-refresh capability to its peer group.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] vpn-instance vpn
[*HUAWEI-bgp-instance-vpn] peer 2001:DB8:4::4 capability-advertise route-refresh
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >