R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)
392
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.
Examples
# I n B G P v i e w, e n a b l e B G P r o u t e r e f r e s h f o r p e e r 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 route-refresh
# In BGP-VPN instance view, enable BGP 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 200
[Sysname-bgp-vpn1] peer 1::1 capability-advertise route-refresh
Related commands
• display bgp peer
• peer capability-advertise conventional
• peer keep-all-routes
• refresh bgp