Specifications
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-107
Cisco IOS XR Routing Configuration Guide
BGP Load Balancing 
Perform this task to enable BGP multipath load sharing for external BGP (EBGP), interior BGP (IBGP), 
and EIBGP and to enable BGP to carry link bandwidth attribute of the DMZ link.
When the PE router includes the link bandwidth extended community in its updates to the remote PE 
through the Multiprotocol Interior BGP (MP-IBGP) session (either IPv4 or VPNv4), the remote PE 
automatically does load balancing if the maximum-paths command is enabled.
SUMMARY STEPS
1. configure 
2. router bgp as-number 
3. vrf vrf-name 
4. address-family {ipv4 | ipv6} unicast 
5. maximum-paths {ebgp | ibgp | eibgp} maximum [unequal-cost] 
6. exit 
7. neighbor ip-address 
8. dmz-link-bandwidth 
Step 19
route-policy 
route-policy-name
 out 
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf-nbr-af)# 
route-policy pe_ce_out_policy out
Specifies a routing policy for an outbound route. The policy 
can be used to filter routes or modify route attributes. 
Step 20
end
or
commit
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf-nbr-af)# en
d
or
RP/0/RP0/CPU0:router(config-bgp-vrf-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










