Administrator Guide
NOTE: Neighbors that are dened using the neighbor remote-as command in the CONFIGURATION-ROUTER-
BGP mode exchange IPv4 unicast address prexes only. To exchange other address prexes (IPv6/IPv4 multicast), the
neighbors must be activated using neighbor activate command under the respective address family conguration
such as
address-family ipv6 unicast (for IPv6) and address-family ipv4 multicast (for IPv4
multicast).
You must Congure Peer Groups before assigning it a remote AS.
4 Enable the BGP neighbor.
CONFIG-ROUTER-BGP mode
neighbor {ip-address | ipv6–address | peer-group-name} no shutdown
5 Specify a network to this AS and add the routing information to the BGP routing table.
CONFIG-ROUTER-BGP mode
network ip-address mask
You can provide the mask IP address in slash format too. Eg. 10.10.21.0/24
6 Congure a xed 32–bit router ID for the local device running BGP.
CONFIG-ROUTER-BGP mode
bgp router-id ip-address
Example conguration steps to enable BGP, congure BGP router-id and network
NOTE
: When you change the conguration of a BGP neighbor, always reset it by entering the clear ip bgp * command in
EXEC Privilege mode.
To view the BGP conguration, enter show config in CONFIGURATION ROUTER BGP mode. To view the BGP status, use the show
ip bgp summary command in EXEC Privilege mode. The example shows that the summary with a 4-byte AS number using the show
ip bgp summary
command (displays a 4–byte AS number in bold).
Following is the conguration steps:
DellEMC# configure terminal
DellEMC(conf)# router bgp 65550
DellEMC(conf-router_bgp)# bgp four-octet-as-support
DellEMC(conf-router_bgp)# neighbor 20.20.20.1 remote-as 20
DellEMC(conf-router_bgp)# neighbor 20.20.20.1 no shutdown
DellEMC(conf-router_bgp)# network 10.10.21.0/24
DellEMC(conf-router_bgp)# bgp router-id 1.1.1.1
DellEMC(conf-router_bgp)#exit
DellEMC(conf)#
The following example shows verifying the BGP conguration using the show running-config bgp command..
DellEMC#show running-config bgp
!
router bgp 65550
bgp router-id 1.1.1.1
network 10.10.21.0/24
bgp four-octet-as-support
neighbor 20.20.20.1 remote-as 20
neighbor 20.20.20.1 no shutdown
DellEMC#
Examples of the show ip bgp Commands
The following example shows the show ip bgp summary command output (4–byte AS number displays).
R2#show ip bgp summary
BGP router identifier 1.1.1.1, local 65550
Border Gateway Protocol (BGP)
189