![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/3/be/3bebaf9c-1005-4ee8-b7c8-c2df46a91b7f/3bebaf9c-1005-4ee8-b7c8-c2df46a91b7f-bgfd.png)
Implementing Routing Policy on Cisco IOS XR Software
How to Implement Routing Policy
RC-237
Cisco IOS XR Routing Configuration Guide
How to Implement Routing Policy
This section contains the following procedures:
• Defining a Route Policy, page RC-237 (required)
• Attaching a Routing Policy to a BGP Neighbor, page RC-238 (required)
• Modifying a Routing Policy Using the Microemacs Editor, page RC-240 (optional)
Defining a Route Policy
This task explains how to define a route policy.
Note If you want to modify an existing routing policy using the command-line interface (CLI), you must
redefine the policy by completing this task.
SUMMARY STEPS
1. configure
2. route-policy name
3. end-policy
4. end
or
commit
DETAILED STEPS
Command or Action Purpose
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step 2
route-policy
name
Example:
RP/0/RP0/CPU0:router(config)# route-policy
sample1
Enters route-policy configuration mode.
• After the route-policy has been entered, a group of
commands can be entered to define the route-policy.