274
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 extension and route refresh for peer 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
# In BGP-VPN instance view, disable multi-protocol extension and route refresh for peer 1::1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] peer 1::1 as-number 100
[Sysname-bgp-vpn1] peer 1::1 capability-advertise conventional
Related commands
•
display bgp peer ipv4 unicast
•
display bgp peer ipv6 unicast
•
peer capability-advertise route-refresh