The inbound BGP soft reset allows the system to apply the new import policies immediately and refresh BGP routing table dynamically without tearing down any BGP connection.
After changing a BGP import policy, you can reset BGP connections for the new import policy to take effect, interrupting these BGP connections temporarily. BGP route-refresh allows the system to refresh a BGP routing table dynamically without tearing down any BGP connection if routing policies are changed.
If a device's peer supports route-refresh, the refresh bgp command can be used on the device to softly reset the BGP connection with the peer and update the BGP routing table.
If a device's peer does not support route-refresh, the peer keep-all-routes command can be used on the device to remain all routing updates received from the peer so that the device can refresh its routing table without closing the connection with the peer.
Configure the device to store all the routing updates received from its peers or peer groups.
The system view is displayed.
The BGP view is displayed.
The IPv4 unicast address family view is displayed.
The device is configured to store all the routing updates received from its peers or peer groups.
After this command is used, all routing updates sent by a specified peer or peer group are stored, regardless of whether an import policy is used. When the local routing policy changes, the information can be used to regenerate BGP routes again.
This command must be run on the local device and its peers. If the peer keep-all-routes command is run on the device for the first time, the sessions between the device and its peers are reestablished.
The peer keep-all-routes command does not need to be run on the router that supports route-refresh. If the peer keep-all-routes command is run on the router, the sessions between the router and its peers will not be reestablished but the refresh bgp command does not take effect on the router.
The configuration is committed.