We have two BGP sessions with two independent ISPs at two different locations and a multihop BGP session between our two routers. We have configured route reflection to our inter-site peering but notice that some routes are not distributed. I assume that this is simply due to the routes not currently being active.
Site A:
/routing bgp instance
set default as=37105 router-id=48.29.21.1
/routing bgp peer
add name=TATA remote-address=208.160.18.81 remote-as=26937 ttl=default
add multihop=yes name=siteB nexthop-choice=force-self \
remote-address=48.29.23.1 remote-as=37105 route-reflect=yes \
ttl=default update-source=lo
Site B:
/routing bgp instance
set default as=37105 router-id=48.29.23.1
/routing bgp peer
add name=Level3 remote-address=209.62.70.53 remote-as=28100 ttl=default
add multihop=yes name=siteA nexthop-choice=force-self \
remote-address=48.29.21.1 remote-as=37105 route-reflect=yes \
ttl=default update-source=lo
Site A learns the route from its ISP but installs the route via Site B, so has both routes ready. Site B doesn’t install the backup route via site A as the route via its ISP is preferred:
site A:
[admin@siteA] > ip route print detail where dst-address in 41.79.4.0/24
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip,
b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
0 ADb dst-address=41.79.4.0/24 gateway=48.29.23.1 gateway-status=48.29.23.1 recursive via 198.19.12.54
ether4 distance=200 scope=40 target-scope=30 bgp-as-path="28100,1299,37148,37209" bgp-local-pref=100
bgp-origin=igp bgp-communities=28100:1,28100:13 received-from=siteB
1 Db dst-address=41.79.4.0/24 gateway=208.160.18.81 gateway-status=208.160.18.81 reachable via ether3
distance=20 scope=40 target-scope=10 bgp-as-path="26937,6453,1299,37148,37209" bgp-origin=igp
bgp-communities=6453:86,6453:2000,6453:2100,6453:2101,26937:4000,26937:11020 received-from=TATA
site B:
[admin@siteB] > ip route print detail where dst-address in 41.79.4.0/24
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip,
b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
0 ADb dst-address=41.79.4.0/24 gateway=209.62.70.53 gateway-status=209.62.70.53 reachable via ether5
distance=20 scope=40 target-scope=10 bgp-as-path="28100,1299,37148,37209" bgp-weight=40
bgp-origin=igp bgp-communities=28100:1,28100:13 received-from=Level3
Is there something I can do to announce inactive routes so that site B can recovery more quickly in the event of its ISP loosing connectivity?