Enabling route-refresh—The BGP router advertises a route-refresh message to the specified peer,
•
and the peer resends its routing information to the router. After receiving the routing information, the
router filters the routing information by using the new policy.
This method requires that both the local router and the peer support route refresh.
Saving updates—Use the peer keep-all-routes command to save all route updates from the
•
specified peer. After modifying the route selection policy, filter routing information by using the new
policy.
This method does not require that the local router and the peer support route refresh but it uses
more memory resources to save routes.
•
Manual soft-reset—Use the refresh bgp command to enable BGP to send local routing information
or advertise a route-refresh message to the specified peer so the peer resends its routing information.
After receiving the routing information, the router filters the routing information by using the new
policy.
This method requires that both the local router and the peer support route refresh.
Enabling route-refresh
To enable BGP route refresh for a peer or peer group (IPv4):
Step
1.
Enter system view.
2.
Enter BGP view or BGP-VPN
instance view.
3.
Enable BGP route refresh for a
peer or peer group.
To enable BGP route refresh for a peer or peer group (IPv6):
Step
1.
Enter system view.
Command
system-view
•
Enter BGP view:
bgp as-number
•
Enter BGP-VPN instance view:
a.
bgp as-number
b.
ip vpn-instance
vpn-instance-name
•
Enable BGP route refresh for the
specified peer or peer group:
peer { group-name |
ip-address }
capability-advertise
route-refresh
•
Enable BGP route refresh and
multi-protocol extension
capability for the specified peer
or peer group:
undo peer { group-name |
ip-address }
capability-advertise
conventional
Command
system-view
213
Remarks
N/A
N/A
Use either method.
By default, BGP route refresh is
enabled.
Remarks
N/A