OSPF Attributes and Operators
This table summarizes the OSPF attributes and operators per attach points.
Table 8: OSPF Attributes and Operators
SetMatchAttributeAttach Point
setn/aospf-metricdefault-information
originate
setn/ametric-type
n/ainrib-has-route
setn/atag
n/a
indestinationredistribute
setn/ametric-type
n/ainnext-hop
setn/aospf-metric
n/ais, le, ge, eqrib-metric
n/aroute-has-levelroute-has-level
n/aisroute-type
setis, le, ge, letag
n/a
indestinationarea-in
n/aindestinationarea-out
n/aindestinationspf-prefix-priority
setn/aspf-priority
n/ais, le, ge, eqtag
OSPFv3 Policy Attach Points
This section describes each of the OSPFv3 policy attach points and provides a summary of the OSPFv3
attributes and operators.
Default-Information Originate
The default-information originate attach point allows the user to conditionally inject the default route 0::/0
into the OSPFv3 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 2001::/96 are
present in the RIB:
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
433
Implementing Routing Policy
OSPF Attributes and Operators