[c-nsp] XR conditional default advertisement

Oliver Boehmer (oboehmer) oboehmer at cisco.com
Thu Jan 31 12:54:03 EST 2013


Adam,

>Is there really no conditional default advertisement possibility in IOS
>XR?
>I mean towards vpnv4:
>
>(config-bgp)#vrf inet
>(config-bgp-vrf)#default-information originate ?
>  <cr>

in BGP, this command by itself does not originate a default, it just
enables the redistribution of 0.0.0.0/0 or ::/0 into BGP from another
protocol. this is not specific to vrf, same issue for global/ipv4/ipv6.

The only way of generating a conditional default is towards a neighbor via
the "neighbor .... default-originate route-policy FOO" where the RPL FOO
can use the "rib-has-route" statement/command. Unfortunately, you can't
use the "rib-has-route" in a "redistribute" or "network" statement or in
neighbor filters.. 

	oli




More information about the cisco-nsp mailing list