Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-44
Cisco IOS XR Routing Configuration Guide
Redistributing iBGP Routes into IGP
Perform this task to redistribute iBGP routes into an Interior Gateway Protocol (IGP), such as
Intermediate System-to-Intermediate System (IS-IS) or Open Shortest Path First (OSPF).
Note Use of the bgp redistribute-internal command requires the clear route * command to be issued to
reinstall all BGP routes into the IP routing table.
Caution Redistributing iBGP routes into IGPs may cause routing loops to form within an autonomous system.
Use this command with caution.
Step 4
aggregate-address
address/mask-length
[as-set]
[as-confed-set] [summary-only] [route-policy
route-policy-name
]
Example:
RP/0/RP0/CPU0:router(config-bgp-af)#
aggregate-address 10.0.0.0/8 as-set
Creates an aggregate address. The path advertised for this
route is an autonomous system set consisting of all elements
contained in all paths that are being summarized.
• The as-set keyword generates autonomous system set
path information and community information from
contributing paths.
• The as-confed-set keyword generates autonomous
system confederation set path information from
contributing paths.
• The summary-only keyword filters all more specific
routes from updates.
• The route-policy route-policy-name keyword and
argument specify the route policy used to set the
attributes of the aggregate route.
Step 5
end
or
commit
Example:
RP/0/RP0/CPU0:router(config-bgp-af)# end
or
RP/0/RP0/CPU0:router(config-bgp-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