Specifications
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-101
Cisco IOS XR Routing Configuration Guide
Configuring Route Reflector to Hold Routes that have a Defined Set of RT Communities
A provider edge (PE) needs to hold the routes that match the import route targets (RTs) of the VPNs 
configured on it. The PE router can discard all other VPNv4 (Cisco XR 12000 Series Router and 
Cisco CRS-1) and VPNv6 (Cisco XR 12000 Series Router only) routes. But, a route reflector (RR) must 
retain all VPNv4 and VPNv6 routes, because it might peer with PE routers and different PEs might 
require different RT-tagged VPNv4 and VPNv6 routes (making RRs non-scalable). You can configure 
an RR to only hold routes that have a defined set of RT communities. Also, a number of the RRs can be 
configured to service a different set of VPNs (thereby achieving some scalability). A PE is then made to 
peer with all RRs that service the VRFs configured on the PE. When a new VRF is configured with an 
RT for which the PE does not already hold routes, the PE issues route refreshes to the RRs and retrieves 
the relevant VPN routes. 
Note Note that this process can be more efficient if the PE-RR session supports extended community outbound 
route filter (ORF).
Perform this task to configure a reflector to retain routes tagged with specific RTs.
SUMMARY STEPS
1. configure 
2. router bgp as-number 
Step 16
route-policy 
route-policy-name
 out 
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr-af)# 
route-policy pe-pe-vpn-out out
Specifies a routing policy for an outbound route. The policy 
can be used to filter routes or modify route attributes. 
Step 17
end
or
commit
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr-af)# end
or
RP/0/RP0/CPU0:router(config-bgp-nbr-af)# commit
Saves configuration changes.
• When you issue the end command, the system prompts 
you to commit changes:
Uncommitted changes found, commit them before 
exiting(yes/no/cancel)?
[cancel]:
–
Entering yes saves configuration changes to the 
running configuration file, exits the configuration 
session, and returns the router to EXEC mode.
–
Entering no exits the configuration session and 
returns the router to EXEC mode without 
committing the configuration changes.
–
Entering cancel leaves the router in the current 
configuration session without exiting or 
committing the configuration changes.
• Use the commit command to save the configuration 
changes to the running configuration file and remain 
within the configuration session.
Command or Action Purpose










