Tear Down the BGP Connection

If neither route refresh nor soft reconfiguration are enabled, the only other method for dealing with soft refresh is to completely tear down the BGP connection. This approach is the most disruptive and requires reinitiation of the TCP and BGP connections and the reexchange of update messages. The reexchange of updates ensures that the new policy is applied to the routes. This approach is considered a last resort.

Use the clear ip bgp command, in any command mode, specifying the IP address of the peer to be torn down or an asterisk (*) for all peers on this local router. Specifying the soft keyword sends a route refresh, if supported by the effected peers.

The following example clears the BGP peer 1.2.3.4:

System(rw)->clear ip bgp 1.2.3.4

The following example clears all BGP peers and sends a route refresh message to each cleared peer.

System(rw)->clear ip bgp * soft