Concept Guide
Restrictions
Dell EMC Networking OS supports only one BGP routing conguration and autonomous system (AS), but supports multiple address family
conguration.
Enabling BGP
By default, BGP is disabled on the system. Dell EMC Networking OS supports one autonomous system (AS) and assigns the AS number
(ASN). To enable the BGP process and begin exchanging information, assign an AS number and use commands in ROUTER BGP mode to
congure a BGP neighbor.
To establish BGP sessions and route trac, congure at least one BGP neighbor or peer.
In BGP, routers with an established TCP connection are called neighbors or peers. After a connection is established, the neighbors
exchange full BGP routing tables with incremental updates afterward. In addition, neighbors exchange KEEPALIVE messages to maintain
the connection.
In BGP, neighbor routers or peers can be classied as internal or external. External BGP peers must be connected physically to one another
(unless you enable the EBGP multihop feature), while internal BGP peers do not need to be directly connected. The IP address of an EBGP
neighbor is usually the IP address of the interface directly connected to the router. First, the BGP process determines if all internal BGP
peers are reachable, then it determines which peers outside the AS are reachable.
Following is the sample conguration steps to enable BGP, congure a BGP router-id and network for a router. The same congurations
have to be repeated with appropriate changes in the IP addresses for a peer or router to achieve BGP session between two devices. In the
below conguration example, no address family is congured. So, the routing information for the IPv4 unicast address family is advertised
by default.
1 Assign an AS number and enter ROUTER BGP mode.
CONFIGURATION mode
router bgp as-number
• as-number: from 0 to 65535 (2 Byte) or from 1 to 4294967295 (4 Byte) or 0.1 to 65535.65535 (Dotted format).
Only one AS is supported per system.
NOTE
: If you enter a 4-Byte AS number, 4-Byte AS support is enabled automatically.
2 Add a BGP neighbor or peer and AS number.
CONFIG-ROUTER-BGP mode
neighbor {ip-address | ipv6-address| peer-group name} remote-as as-number
• ip-address: IPv4 address of the neighbor
• ipv6-address: IPv6 address of the neighbor
• peer-group name: Name of the peer group. It can contain 16 characters.
• as-number: Autonomous number
NOTE
: Neighbors that are dened using the neighbor remote-as command in the CONFIGURATION-ROUTER-
BGP mode exchange IPv4 unicast address prexes only.
3 Enable the BGP neighbor.
CONFIG-ROUTER-BGP mode
neighbor {ip-address | ipv6–address | peer-group-name} no shutdown
190
Border Gateway Protocol (BGP)