SetMatchAttributeAttach Point
—
indestinationredistribute
—
innext-hop
—
route-has-labelmpls-label
add, set
—
eigrp-metric
—
isroute-type
setis, eq, ge, letag
RIP Policy Attach Points
This section describes each of the RIP policy attach points and provides a summary of the RIP attributes and
operators.
Default-Information Originate
The default-information originate attach point allows you to conditionally inject the default route 0.0.0.0/0
into RIP updates by evaluating the attached policy. If any routes in the local RIB pass the policy, then the
default route is inserted.
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 rip-originate
if rib-has-route in (10.0.0.0/8 ge 8 le 25) then
pass
endif
end-policy
router rip
default-information originate route-policy rip-originate
Redistribute
The redistribution attach point within RIP allows you to inject routes from other routing protocol sources into
the RIP database.
The following example shows how to inject OSPF routes into RIP:
route-policy redist-ospf
set rip-metric 5
end-policy
router rip
redistribute ospf 1 route-policy redist-ospf
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
528 OL-30423-03
Implementing Routing Policy
Attach Points