Specifications
Implementing Routing Policy on Cisco IOS XR Software
Additional References
RC-400
Cisco IOS XR Routing Configuration Guide
 apply set-lpref-prepend(100,101,2)
 set community (2:1234) additive
 else
 set local-preference 125
 endif
end-policy
!
route-policy filter-bogons
 if destination in bogon then
drop
else 
pass
 endif
end-policy
!
route-policy common-inbound
 apply filter-bogons
 set origin igp
 set community (2:333)
end-policy
!
route-policy set-lpref-prepend($lpref,$as,$prependcnt)
 set local-preference $lpref
 prepend as-path $as $prependcnt
end-policy
Translating Cisco IOS Route Maps to Cisco IOS XR Routing Policy Language: 
Example
RPL performs the same functions as route-maps. See Converting Cisco IOS Configurations to 
Cisco IOS XR Configurations.
Additional References
The following sections provide references related to implementing RPL.
Related Documents
Related Topic Document Title
Routing policy language commands: complete 
command syntax, command modes, command history, 
defaults, usage guidelines, and examples
Routing Policy Language Commands on Cisco IOS XR Software, 
Release 3.5
Regular expression syntax “Understanding Regular Expressions, Special Characters and 
Patterns” appendix in the Cisco IOS XR Getting Started Guide 










