348
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] peer 2::2 bfd
Related commands
• display bgp peer
• display bfd session (High Availability Command Reference)
peer capability-advertise conventional
Use peer capability-advertise conventional to disable BGP multi-protocol extension and route refresh for
a peer or peer group.
Use undo peer capability-advertise conventional to enable BGP multi-protocol extension and route
refresh for a peer or peer group.
Syntax
peer { group-name | ip-address | ipv6-address } capability-advertise conventional
undo peer { group-name | ip-address | ipv6-address } capability-advertise conventional
Default
BGP multi-protocol extension and route refresh are enabled.
Views
BGP view, BGP-VPN instance view
Predefined user roles
network-admin
Parameters
group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer
group must have been created.
ip-address: Specifies a peer by its IP address. The peer must have been created.
ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created.
Usage guidelines
The route refresh function enables BGP to send and receive Route-refresh messages and implement BGP
session soft-reset.
The multi-protocol extension function enables BGP to advertise and receive routing information for
various protocols (for example, IPv6 routing information).
If both the peer capability-advertise conventional and peer capability-advertise route-refresh
commands are executed, the last configuration takes effect.
Examples
# In BGP view, disable multi-protocol extensio n a n d ro u t e re fr es h f o r p e er 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 1.1.1.1 as-number 100
[Sysname-bgp] peer 1.1.1.1 capability-advertise conventional