PurposeCommand or Action
(Optional) Applies a routing policy to updates advertised
to or received from a RIP neighbor.
route-policy { in | out }
Example:
Step 8
RP/0/RP0/CPU0:router(config-rip-if)# route-policy
out
commit
Step 9
Creating a Route Policy for RIP
This task defines a route policy and shows how to attach it to an instance of a RIP process. Route policies can
be used to:
• Control routes sent and received
• Control which routes are redistributed
• Control origination of the default route
A route policy definition consists of the route-policy command and name argument followed by a sequence
of optional policy statements, and then closes 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 rip-metric number
4. end-policy
5. commit
6. configure
7. router rip
8. route-policy route-policy-name { in | out }
9. 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 RIP metric attribute.
set rip-metric number
Example:
Step 3
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
376
Implementing RIP
Creating a Route Policy for RIP