Concept Guide

Example conguration steps to enable BGP
NOTE: When you change the conguration of a BGP neighbor, always reset it by entering the clear ip bgp * command in
EXEC Privilege mode.
To view the BGP conguration, 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 2-byte AS number using the show
ip bgp summary command.
Following is the conguration steps:
DellEMC# configure terminal
DellEMC(conf)# router bgp 65535
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)#exit
DellEMC(conf)#
The following example shows verifying the BGP conguration using the show running-config bgp command..
DellEMC#show running-config bgp
!
router bgp 65535
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.
R2#show ip bgp summary
BGP router identifier 1.1.1.1, local 65535
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 20 0 0 0 0 0 00:00:00 0
For the router’s identier, Dell EMC Networking OS uses the highest IP address of the Loopback interfaces congured. Because Loopback
interfaces are virtual, they cannot go down, thus preventing changes in the router ID. If you do not congure Loopback interfaces, the
highest IP address of any interface is used as the router ID.
To view the status of BGP neighbors, use the show ip bgp neighbors command in EXEC Privilege mode as shown in the rst
example. For BGP neighbor conguration information, use the show running-config bgp command in EXEC Privilege mode as
shown in the second example.
NOTE
: The showconfig command in CONFIGURATION ROUTER BGP mode gives the same information as the show
running-config bgp command.
The following example displays two neighbors: one is an external internal BGP neighbor and the second one is an internal BGP neighbor.
The rst line of the output for each neighbor displays the AS number and states whether the link is an external or internal (shown in bold).
The third line of the show ip bgp neighbors output contains the BGP State. If anything other than ESTABLISHED is listed, the
neighbor is not exchanging information and routes. For more information about using the show ip bgp neighbors command, refer to
the
Dell EMC Networking OS Command Line Interface Reference Guide.
The following example shows the show ip bgp neighbors command output.
DellEMC#show ip bgp neighbors
BGP neighbor is 20.20.20.1, remote AS 20, external link
BGP remote router ID 1.1.1.1
BGP state ESTABLISHED, in this state for 00:05:22
Border Gateway Protocol (BGP)
201