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-402
Cisco IOS XR Routing Configuration Guide
OL-14356-01
Policy-Out
The policy-out attach point allows you to filter and modify outbound EIGRP routes. This policy is
applied to all interfaces for which there is no interface outbound route policy.
The following example shows the command under EIGRP:
router eigrp 100
address-family ipv4
route-policy global-policy-out out
.
.
.
If-Policy-In
The if-policy-in attach point allows you to filter routes received on a particular EIGRP interface. The
following example shows an inbound policy for Packet-over-SONET/SDH (POS) interface 0/2/0/3:
router eigrp 100
address-family ipv4
interface POS0/2/0/3
route-policy if-filter-policy-in in
.
.
.
If-Policy-Out
The if-policy-out attach point allows you to filter routes sent out on a particular EIGRP interface. The
following example shows an outbound policy for Packet-over-SONET/SDH (POS) interface 0/2/0/3:
router eigrp 100
address-family ipv4
interface POS0/2/0/3
route-policy if-filter-policy-out out
.
.
.
Redistribute
The redistribute attach point in EIGRP allows you to filter redistributed routes from other routing
protocols and modify some routing parameters before installing the route in the EIGRP database. The
following example shows a policy filter redistribution of RIP routes into EIGRP.
router-policy redistribute-rip
if destination in (100.1.1.0/24) then
set eigrp-metric 5000000 4000 150 30 2000
else
set tag 200
endif
end-policy
router eigrp 100
address-family ipv4
redistribute rip route-policy redistribute-rip
.
.
.