Specifications
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-47
Cisco IOS XR Routing Configuration Guide
Configuring a Routing Domain Confederation for BGP
Perform this task to configure the routing domain confederation for BGP. This includes specifying a 
confederation identifier and autonomous systems that belong to the confederation.
Configuring a routing domain confederation reduces the internal BGP (iBGP) mesh by dividing an 
autonomous system into multiple autonomous systems and grouping them into a single confederation. 
Each autonomous system is fully meshed within itself and has a few connections to another autonomous 
system in the same confederation. The confederation maintains the next hop and local preference 
information, and that allows you to retain a single Interior Gateway Protocol (IGP) for all autonomous 
systems. To the outside world, the confederation looks like a single autonomous system.
SUMMARY STEPS
1. configure
2. router bgp as-number 
3. bgp confederation identifier as-number 
4. bgp confederation peers as-number
5. end
or
commit
Step 13
route-policy 
route-policy-name
 {in | out} 
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr-af)# 
route-policy drop-as-1234 in
(Optional) Applies the specified policy to inbound IPv4 
unicast routes.
Step 14
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










