BGP Route Refresh & Soft Policy Change Reference
Cheat sheet · https://pcornel.dk/topic.php?topic=249
Answer
BGP sends each route once, so a changed policy does not affect routes already exchanged. Route refresh re-applies it without tearing the session down: soft in asks the neighbour to resend its routes, soft out resends your own.
Remember
Inbound change → clear ip bgp <ip> soft in; outbound change → soft out. A plain clear ip bgp <ip> drops the session and all its routes. Anything negotiated in the OPEN — a new address family, timers — does need a hard reset.
First checks
show ip bgp neighbors <ip> | include refresh— route refresh advertised and received.show ip bgp neighbors <ip> | section Message statistics— Route Refresh counters.show route-map— match counters rising after the refresh.show ip bgp neighbors <ip> routes/advertised-routes— the result.
Commands
clear bgp ipv4 unicast <peer> soft in- Request/reprocess inbound BGP routes without a hard session reset when supported.
clear bgp ... <peer>clear bgp ... <peer> soft inclear bgp ... <peer> soft outshow route-mapclear ip bgp <ip> soft inclear ip bgp <ip> soft outclear ip bgp <ip>clear ip bgp <ip> softshow ip bgp neighborsshow ip bgp neighbors <ip> received-routesclear bgp ipv6 unicast <neighbor> soft inclear ip bgp
Verify in this order
policy changed → direction identified → soft clear in that direction → routes pass through the new policy (counters rise) → accepted or advertised set reflects it → session up time unchanged
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=249