there are some reasonable technical limitations as to why it has not happened yet, but there is a neat workaround that I would like to share that provides the exact same behavior!
The logic of the workaround solution is as follows:
In BGP one defines a network statement for the route that needs to be conditionally advertised. (One could possible instead of a network statement also use redistribute static with a route-policy using a prefix-set)
This network statement's prefix is defined as a static route under router static
The static route references the outgoing interface Null0 and a object track definition
The object track definition references something that you want to track.
The tracking options include:
bfdrtr track type bfd rtr
line-protocoltrack type line-protocol; the line protocol of an interface, this interface can be l2transport or an l3 interface of any kind
list track type list; this allows you to track other track definitions in an AND or OR manner
routetrack type ipv4 route ; the presence of a route
rtrtrack type ipsla; an IPSLA probe to verify an end to end connectivity or port or anything that IPSLA can monitor!
This example talks you through a solution of using the BGP network statement, a conditional static route and the dependency on an interface line state
Static route that is conditional with a tracker called MYIF
LC/0/2/CPU0:Jun 12 09:41:33 : ifmgr: %PKT_INFRA-LINK-3-UPDOWN : Interface TenGigE0/2/0/3, changed state to Down LC/0/2/CPU0:Jun 12 09:41:33 : ifmgr: %PKT_INFRA-LINEPROTO-5-UPDOWN : Line protocol on Interface TenGigE0/2/0/3, changed state to Dn
Verify the static route is not there:
RP/0/RSP0/CPU0:A9K-BNG(config-if)#do sh route static | i 192.168.123
Wed Jun 12 09:41:18.977 EDT
Now bring up the interface, in this case it is not connected so i force it up with a loopback
Wed Jun 12 09:41:33.044 EDT LC/0/2/CPU0:Jun 12 09:41:33 : ifmgr: %PKT_INFRA-LINK-3-UPDOWN : Interface TenGigE0/2/0/3, changed state to Up LC/0/2/CPU0:Jun 12 09:41:33 : ifmgr: %PKT_INFRA-LINEPROTO-5-UPDOWN : Line protocol on Interface TenGigE0/2/0/3, changed state to Up
Hi all,on all our new ASR9k we are observing a loss of NTP synchronization. We have many IOS devices which do not show this issue, so obviously it is not a network problem as the NTP servers are the same for all devices (internal server). I see...
So I picked up a used 2911 to replace my aging 3825 that I use for home router and intercom system via low end cisco 69xx voip phones. Was hoping the newer unit, advertised with CME 12, would let me maybe upgrade my phones to something more colorful.Note:...
First time dealing with L2VPN/VPLS BGP and have been tasked with adding a management network for SNMP/Remote Access. We will connect a 3850 to our data center ASR 9010 via copper, but I'm not sure how our management subnet (10.215.215.x/24) will be ...
HI all, We have configured an external NTP server for A9K. Before today, the SYNC LED was green, but now it has changed to Amber color. I consulted related documents for explanation, but I don’t know why? do you know? Synchronization (SYNC)Green...