349
# 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
•
peer capability-advertise route-refresh
peer capability-advertise route-refresh
Use
peer capability-advertise route-refresh
to enable BGP route refresh for a specified peer or peer
group.
Use
undo peer capability-advertise route-refresh
to disable the function.
Syntax
peer
{
group-name
|
ip-address
|
ipv6-address
}
capability-advertise
route-refresh
undo
peer
{
group-name
|
ip-address
|
ipv6-address
}
capability-advertise
route-refresh
Default
BGP route refresh is 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.
BGP uses the route refresh function to implement BGP session soft-reset. After a policy is modified, the
router advertises a Route-refresh message to the peers. The peers resend their routing information to the
router. After receiving the routing information, the router filters the routing information by using the new
policy. This method allows you to refresh the BGP routing table and apply the new route selection policy
without tearing down BGP sessions.
BGP route refresh requires that both the local router and the peer support route refresh.
If both the
peer capability-advertise route-refresh
and
peer capability-advertise
conventional
commands are executed, the last configuration takes effect.