H3C Technologies H3C SecPath F1000-E User Manual
Page 475
450
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure a global router ID.
router id router-id
Optional.
Not configured by default.
If no global router ID is
configured, the highest
loopback interface IP
address—if any—is used as
the router ID. If no loopback
interface IP address is
available, the highest physical
interface IP address is used,
regardless of the interface
status.
3.
Enable BGP and enter BGP
view.
bgp as-number
Not enabled by default.
4.
Specify a router ID.
router-id router-id
Optional.
By default, the global router ID
is used.
5.
Specify a peer or a peer group
and its AS number.
peer { group-name | ip-address }
as-number as-number
Not specified by default.
6.
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.
7.
Enable a peer.
peer ip-address enable
Optional.
Enabled by default.
8.
Configure a description for a
peer/peer group.
peer { group-name | ip-address }
description description-text
Not configured by default.
NOTE:
•
Since a router can reside in only one AS, the router can run only one BGP process.
•
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 outgoing interface of the optimal
route to a peer/peer group as the source interface for establishing TCP connections to the peer/peer
group.
If a BGP router has multiple links to a peer, and the source interface fails, BGP has to reestablish TCP
connections, causing network oscillation. To enhance stability of BGP connections, H3C recommends
using a loopback interface as the source interface.
To specify the source interface for TCP connections:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp as-number
N/A
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS H3C SecBlade LB Cards H3C SecPath L1000-A Load Balancer