Specifying the source interface for tcp, Connections – H3C Technologies H3C S7500E Series Switches User Manual
Page 222
6-19
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable BGP and enter BGP view
bgp as-number
—
Not enabled by default
Specify a Router ID
router-id ip-address
Optional
By default, the global router ID is
used.
Specify a peer or a peer group and
its AS number
peer { group-name | ip-address }
as-number as-number
Required
Not specified by default
Enable the default use of IPv4
unicast address family for the
peers that are established using
the peer as-number command
default ipv4-unicast
Optional
Enabled by default
Enable a peer
peer ip-address enable
Optional
Enabled by default
Configure a description for a
peer/peer group
peer { group-name | ip-address }
description description-text
Not configured by default.
z
Since a router can reside in only one AS, the router can run only one BGP process.
z
You need to create a peer group before configuring it.
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:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—