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-401
Cisco IOS XR Routing Configuration Guide
OL-14356-01
Default-Accept-In
The default-accept-in attach point allows you to set and reset the conditional default flag for EIGRP
routes by evaluating the attached policy.
The following example shows a policy that sets the conditional default flag for all routes that match
10.0.0.0/8 and longer prefixes up to 10.0.0.0/25:
route-policy eigrp-cd-policy-in
if destination in (10.0.0.0/8 ge 8 le 25) then
pass
endif
end-policy
!
router eigrp 100
address-family ipv4
default-information allowed in route-policy eigrp-cd-policy-in
.
.
.
Default-Accept-Out
The default-accept-out attach point allows you to set and reset the conditional default flag for EIGRP
routes by evaluating the attached policy.
The following example shows a policy that sets the conditional default flag for all routes that match
100.10.0.0/16:
route-policy eigrp-cd-policy-out
if destination in (200.10.0.0/16) then
pass
endif
end-policy
!
router eigrp 100
address-family ipv4
default-information allowed out route-policy eigrp-cd-policy-out
.
.
.
Policy-In
The policy-in attach point allows you to filter and modify inbound EIGRP routes. This policy is applied
to all interfaces for which there is no interface inbound route policy.
The following example shows the command under EIGRP:
router eigrp 100
address-family ipv4
route-policy global-policy-in in
.
.
.