BGP Soft Reconfiguration

Hi Davis,

When you don’t have soft configuration configured then that command will use the route refresh:

R1#clear ip bgp 192.168.12.2 soft in

Here’s what you will see:

R1#
BGP: 192.168.12.2 sending REFRESH_REQ(5) for afi/safi: 1/1, refresh code is 0
BGP: 192.168.12.2 rcv message type 5, length (excl. header) 4
BGP: 192.168.12.2 rcvd REFRESH_REQ for afi/safi: 1/1, refresh code is 1
BGP: 192.168.12.2 rcv message type 5, length (excl. header) 4
BGP: 192.168.12.2 rcvd REFRESH_REQ for afi/safi: 1/1, refresh code is 2

About the commands:

  • clear ip bgp x.x.x.x in: Soft reconfig inbound updates
  • clear ip bgp x.x.x.x out: Soft reconfig outbound updates
  • clear ip bgp x.x.x.x soft: Soft reconfig inbound + outbound updates
  • clear ip bgp x.x.x.x soft in: Soft reconfig inbound updates
  • clear ip bgp x.x.x.x soft out: Soft reconfig outbound updates

When you don’t have soft reconfiguration enabled, it will use a route refresh instead.

Rene