PurposeCommand or Action
commit
Step 9
Creating a Route Policy and Attaching It to an EIGRP Process
This task defines a route policy and shows how to attach it to an EIGRP process.
A route policy definition consists of the route-policy command and name argument followed by a sequence
of optional policy statements, and then closed with the end-policy command.
A route policy is not useful until it is applied to routes of a routing protocol.
SUMMARY STEPS
1. configure
2. route-policy name
3. set eigrp-metric bandwidth delay reliability load mtu
4. end-policy
5. commit
6. configure
7. router eigrp as-number
8. address-family { ipv4 | ipv6 }
9. route-policy route-policy-name { in | out }
10. commit
DETAILED STEPS
PurposeCommand or Action
configure
Step 1
Defines a route policy and enters route-policy configuration
mode.
route-policy name
Example:
Step 2
RP/0/RP0/CPU0:router(config)# route-policy IN-IPv4
(Optional) Sets the EIGRP metric attribute.
set eigrp-metric bandwidth delay reliability load
mtu
Step 3
Example:
RP/0/RP0/CPU0:router(config-rpl)# set eigrp metric
42 100 200 100 1200
Ends the definition of a route policy and exits route-policy
configuration mode.
end-policy
Example:
Step 4
RP/0/RP0/CPU0:router(config-rpl)# end-policy
commit
Step 5
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
194
Implementing EIGRP
Creating a Route Policy and Attaching It to an EIGRP Process