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
Hello,How can I verify status of license (Ten Gigabit Interfaces) loaded on secondary (standby) pre 5 procesor on my ubr 10k platform?Command show licence display info about primary processor:Index 1 Feature: WAN_LicensePeriod left: Life timeLicense Type:...
Hello,( R1 ) -ibgp-> ( R2 ) -ebgp-> ( R3 )The scenario is that router R1 is announcing routes to R2. Those routes are tagged from R2 inbound using RPL (community is 123:123). Now the R2 has an RPL policy towards R3 which dictates to match any r...
Hi All, I have an ASR 9000, but it doesn't support MPLS. The current release is 4.2.1, and if is it possible for me to upgrade it to 4.3.4? When I login with my CCO account, I found the software is 4.3.4(MD), and why it has an MD? Thanks,Mei&nbs...
Hello, I have to install these license ASR 9001 L3 VPN (smart licensing) and A9K-9001-MOB-LIC (traditional licensing with PAK) on a ASR9001S router.Can I mix smart and traditional licensing?From what I read, smart and traditional licensing can coexis...
Hello community, How do I have to configure CDP on a trunk interface on an NCS540 with IOS-XR?I have added the command "cdp" under the phisical Interface, but it wasn't successful :(interface GigabitEthernet0/0/0/13cdpspeed 1000negotiation auto!inter...