SetMatchAttributeAttach Point
n/a
in
is-local
length
neighbor-is
originates-from
passes-through
unique-length
as-pathtable-policy
n/ais, ge, le, eqas-path-length
n/ais, ge, le, eqas-path-unique-length
n/ais-empty
matches-any
matches-every
community
n/aindestination
n/ais, eg, ge, lemed
n/ainnext-hop
n/aisorigin
setn/arib-metric
n/ainsource
setn/atag
setn/atraffic-index
Some BGP route attributes are inaccessible from some BGP attach points for various reasons. For example,
the set med igp-cost only command makes sense when there is a configured igp-cost to provide a source
value.
Default-Information Originate
The default-information originate attach point allows the user to conditionally inject the default route 0.0.0.0/0
into the OSPF link-state database, which is done by evaluating the attached policy. If any routes in the local
RIB pass the policy, then the default route is inserted into the link-state database.
The following example shows how to generate a default route if any of the routes that match 10.0.0.0/8 ge 8
le 25 are present in the RIB:
route-policy ospf-originate
if rib-has-route in (10.0.0.0/8 ge 8 le 25) then
pass
endif
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
429
Implementing Routing Policy
Default-Information Originate