When loopback interfaces are used to establish a BGP4+ connection between two peers, the local interface used for the BGP4+ connection needs to be configured on the devices.
To improve the reliability and stability of a BGP4+ connection, the local interfaces used for the BGP4+ connection should be configured as loopback interfaces. When redundant links are available on the network, the BGP4+ connection will not be torn down if an interface or a link fails.
The system view is displayed.
The BGP view is displayed.
The source interface and source address used to set up a TCP connection are specified.
BGP4+ uses the physical interface that is directly connected to the peer as the local interface of a TCP connection.
When multiple peer relationships between two routers are established through various links, running the peer connect-interface command to specify the local interface for a BGP4+ connection is recommended.
The configuration is committed.