Implementing BGP on Cisco IOS XR Software
How to Implement BGP on CiscoIOS XR Software
RC-110
Cisco IOS XR Routing Configuration Guide
OL-14356-01
9. end
or
commit
DETAILED STEPS
Command or Action Purpose
Step1 configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step2 router bgp as-number
Example:
RP/0/RP0/CPU0:router(config)# router bgp 120
Enters BGP configuration mode, allowing you to configure
the BGP routing process.
Step3 vrf vrf-name
Example:
RP/0/RP0/CPU0:router(config-bgp)# vrf vrf_a
Enables BGP routing for a particular VRF on the PE router.
Step4 address-family {ipv4 | ipv6} unicast
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf)#
address-family ipv4 unicast
Enters VPN address family configuration mode.
Step5 maximum-paths {ebgp | ibgp | eibgp} maximum
[unequal-cost]
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf-af)#
maximum-paths ebgp 3
Configures the maximum number of parallel routes that
BGP installs in the routing table.
•ebgp maximum: Consider only EBGP paths for
multipath.
•ibgp maximum [unequal-cost]: Consider load
balancing between IBGP learned paths.
•eibgp: Consider both EBGP and IBGP learned paths
for load balancing. EIBGP load balancing always does
unequal-cost load balancing.
When EIBGP is applied, EBGP or IBGP load balancing
cannot be configured. EBGP and IBGP load balancing can
coexist.
Step6 exit
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf-af)# exit
Exits the current configuration mode.
Step7 neighbor ip-address
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf)# neighbor
10.0.0.0
Configures a CE neighbor. The ip-address argument must
be a private address.