Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-111
Cisco IOS XR Routing Configuration Guide
OL-14356-01
Redistribution of IGPs to BGP
Perform this task to configure redistribution of a protocol into the VRF address family.
Even if Interior Gateway Protocols (IGPs) are used as the PE-CE protocol, the import logic happens
through BGP. Therefore, all IGP routes have to be imported into the BGP VRF table.
SUMMARY STEPS
1. configure
2. router bgp as-number
3. vrf vrf-name
4. address-family {ipv4 | ipv6} unicast
5. redistribute connected [metric metric-value] [route-policy route-policy-name]
or
redistribute eigrp process-id [match {external | internal}] [metric metric-value] [route-policy
route-policy-name]
or
redistribute isis process-id [level {1 | 1-inter-area | 2}] [metric metric-value] [route-policy
route-policy-name]
or
Step 8
dmz-link-bandwidth
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf-nbr)#
dmz-link-bandwidth
Originates a demilitarized-zone (DMZ) link-bandwidth
extended community for the link to an EBGP neighbor.
Step 9
end
or
commit
Example:
RP/0/RP0/CPU0:router(config-bgp-vrf-nbr)# end
or
RP/0/RP0/CPU0:router(config-bgp-vrf-nbr)#
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