Cisco Systems OL-14356-01 Network Router User Manual


 
Implementing Routing Policy on Cisco IOS XR Software
Information About Implementing Routing Policy on Cisco IOS XR Software
RC-406
Cisco IOS XR Routing Configuration Guide
OL-14356-01
Attached Policy Modification
Policies that are in use do, on occasion, need to be modified. In the traditional configuration model, a
policy modification would be done by completely removing the policy and re-entering it. However, this
model allows for a window of time in which no policy is attached and default actions to be used, which
is an opportunity for inconsistencies to exist. To close this window of opportunity, you can modify a
policy in use at an attach point by respecifying it, which allows for policies that are in use to be changed,
without having a window of time in which no policy is applied at the given attach point.
Note A route policy or set that is in use at an attach point cannot be removed because this removal would result
in an undefined reference. An attempt to remove a route policy or set that is in use at an attach point
results in an error message to the user.
Nonattached Policy Modification
As long as a given policy is not attached at an attach point, the policy is allowed to refer to nonexistent
sets and policies. Configurations can be built that reference sets or policy blocks that are not yet defined,
and then later those undefined policies and sets can be filled in. This method of building configurations
gives much greater flexibility in policy definition. Every piece of policy you want to reference while
defining a policy need not exist in the configuration. Thus, you can define a policy sample1 that
references a policy sample2 using an apply statement even if the policy sample2 does not exist. Similarly,
you can enter a policy statement that refers to a nonexistent set.
However, the existence of all referenced policies and sets is enforced when a policy is attached. Thus, if
a user attempts to attach the policy sample1 with the reference to an undefined policy sample2 at an
inbound BGP policy using the statement neighbor 1.2.3.4 address-family ipv4 unicast policy sample1
in, the configuration attempt is rejected because the policy sample2 does not exist.
redistribute destination in n/a
next-hop in set
rip-metric n/a set
rip-tag n/a set
mpls-label
1
route-has-label n/a
route-type is n/a
tag is, eq, ge, le set
1. The mpls-label attribute is implicit in the conditional syntax; it is implied by the route-has-label operator.
Table 7 RIP Attributes and Operators (continued)
Attach Point Attribute Match Set