![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/3/be/3bebaf9c-1005-4ee8-b7c8-c2df46a91b7f/3bebaf9c-1005-4ee8-b7c8-c2df46a91b7f-bg4a.png)
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-58
Cisco IOS XR Routing Configuration Guide
Configuring a BGP Neighbor
Perform this task to configure BGP neighbors.
SUMMARY STEPS
1. configure
2. router bgp autonomous-system-number
3. neighbor ip-address
4. remote-as autonomous-system-number
5. address-family {ipv4 unicast | ipv4 multicast | ipv6 unicast | ipv6 multicast}
6. end
or
commit
Step 19
use neighbor-group
group-name
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr)# use
neighbor-group nbr-grp-A
(Optional) Specifies that BGP neighbor 172.168.40.24
inherit configuration from neighbor group nbr-grp-A.
Step 20
end
or
commit
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr)# end
or
RP/0/RP0/CPU0:router(config-bgp-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