Concept Guide
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
BGP local RIB : Routes to be Added 0, Replaced 0, Withdrawn 0
1 neighbor(s) using 40960 bytes of memory
Neighbor AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/Pfx
20.20.20.1 200 0 0 0 0 0 00:00:00 0
194
Border Gateway Protocol version 4 (BGPv4)










