Implementing BGP on Cisco IOS XR Software
How to Implement BGP on CiscoIOS XR Software
RC-95
Cisco IOS XR Routing Configuration Guide
OL-14356-01
Step7 neighbor ip-address
Example:
RP/0/RP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Places the router in neighbor configuration mode for BGP
routing and configures the neighbor IP address as a BGP
peer.
Step8 remote-as as-number
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr)# remote-as
2002
Creates a neighbor and assigns a remote autonomous
system number to it.
Step9 speaker-id id
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr)#
speaker-id 2
Allocates a neighbor to a specified speaker process.
Step10 address-family {ipv4 unicast | ipv4 multicast |
ipv4 labeled-unicast | ipv4 tunnel | ipv4 mdt |
ipv6 unicast | ipv6 multicast | ipv6
labeled-unicast | vpnv4 unicast | vpnv6
unicast}
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr)#
address-family ipv4 unicast
Enters neighbor address family configuration mode for the
specified address family.
Step11 end
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr-af)# end
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.
Step12 clear bgp current-mode
Example:
RP/0/RP0/CPU0:router# clear bgp current-mode
Switches from standalone mode to distributed mode.
Command or Action Purpose