Cisco Tips & Tricks

May 31, 2006

Resetting BGP session

Filed under: bgp, IP Routing, Router — ciscotips @ 8:59 pm

There are times when route propagated in BGP doesn't exist. As we know that even in link down situation, BGP takes its own sweet time to converge. In this kind of scenario we need to clear advertised routes and in some cases we use the following command

clear ip bgp *

You can also verify the advertised routes with following command

sh ip bgp neighbors A.B.C.D advertised-routes

Even in cases when you change the inbound/outbound policy , you need to reset your BGP session.But using clear ip bgp * can impact all other links as BGP will create routing table from scratch. This is as good as rebooting the router. To minimise impact we can use following command.

clear ip bgp A.B.C.D soft out –> When you make changes in outbound policy

and use

clear ip bgp A.B.C.D soft in –> When you make changes in inbound policy .

Create a free website or blog at