Creating a BGP connection
• A router ID is the unique identifier of a BGP router in an AS.
• To ensure the uniqueness of a router ID and enhance network reliability, you can specify in BGP configuration
context the IP address of a local loopback interface as the router ID.
• If no router ID is specified in BGP context, the global router ID is used.
• If the global router ID is used and then it is removed, the system will select a new router ID.
• Unconfiguring the router ID in BGP context can make the system select a new router ID.
Follow these steps to create a BGP connection:
To do...
Use the command...
Remarks
Enter global configuration context
configuration
Enter BGP context
router bgp
as-number
Not enabled by default
Enable BGP
enable
Specify a BGP Router ID
bgp router-id
ip-address
Optional. By default, the global
router ID is used.
Specify a neighbor and its AS
number
neighbor {
ip-address
}
remote-as as-number
Required
Configure a description for a
neighbor
neighbor {
ip-address
}
description
description-
text
Optional. Not configured by default
CAUTION:
Since a router can reside in only one AS, the router can run only one BGP process.
Specifying the source interface for TCP connections
BGP uses TCP as the transport layer protocol. By default, BGP uses the output interface of the optimal router to a
peer as the source interface for establishing TCP connections to the peer. If a BGP router has multiple links to a
peer, when the source interface fails, BGP has to reestablish TCP connections, causing network oscillation.
Therefore, it is recommended to use a loopback interface as the source interface to enhance stability of BGP
connections.
Follow these steps to specify the source interface of TCP connections:
380
Aruba 3810 / 5400R Multicast and Routing Guide for ArubaOS-
Switch 16.08