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 friends , ping mpls pseudowire 10.10.10.10 1010 reply mode ? control-channel Send reply via a control channel ipv4 Send reply via IPv4 no-reply Send no reply router-alert Send reply via IPv4 UDP with router alert Could anyone explain the difference bet...
Hi there, I have two questions about licensing ASR9k, if someone can shed some light here on this matter. 1. When ordering ASR9k, is SIA software license a MUST for either FCM or Traditional model?1.1. If not, does the ASR9k get all the features...
Hi,thinking about upgrade from RSP440 to RSP880. Is it allowed, cisco supported hw configuration to use ASR 9010/9006 with SINGLE RSP880, relying to primary/secondary router redundancy only instead of additional inbox RSP redundancy?Any experience wi...
Hey there,I have been fighting (what I think is) a rewrite issue. I cannot get connectivity between two l2transport interfaces in the same bridge-domain. I've tried all kinds of rewrites and can't sort it. I did verify that it works to e...
Hi,one of the RP in our router is not coming up, the display on the front displays "operative" but, the status from the "show platform command is "SW_INACTIVE" occasionally the router will display this erorr message: 0/RSP0/ADMIN0:2021 Sep 13 15:35:0...