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:
RP/0/RSP0/CPU0:router(config)# route-policy IN-IPv4
Step 2
(Optional) Sets the RIP metric attribute.
set rip-metric number
Example:
RP/0/RSP0/CPU0:router(config-rpl)# set rip metric
42
Step 3
Ends the definition of a route policy and exits
route-policy configuration mode.
end-policy
Example:
RP/0/RSP0/CPU0:router(config-rpl)# end-policy
Step 4
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
OL-30423-03 455
Implementing RIP
Creating a Route Policy for RIP