HP VPN Firewall Appliances Network Management Configuration Guide
477
Task Remarks
Enabling trap Optional.
Enabling logging of session state changes Optional.
Configuring BFD for BGP Optional.
Configuring basic BGP
This section describes the tasks required for a BGP network to work.
Enabling BGP
A router ID is the unique identifier of a BGP router in an AS.
• To ensure the uniqueness of a router ID and enhance availability, you can specify in BGP view the
IP address of a local loopback interface as the router ID.
• If no router ID is specified in BGP view, the global router ID is used.
• If the global router ID is used and then the interface that owns the router ID is removed, the router
selects a new router ID.
• If you specify a router ID in BGP view and then remove the interface that owns the router ID, the
router does not select a new router ID. To select a new router ID, use the undo router-id command
in BGP view.
To enable BGP:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure a global router ID.
router id router-id
Optional.
By default, no global router ID is configured.
BGP uses the highest loopback interface IP
address as the router ID. If no loopback interface
IP address is available, BGP uses the highest
physical interface IP address as the router ID
regardless of the interface status.
3. Enable BGP and enter BGP
view.
bgp as-number
Not enabled by default.
A router can reside in only one AS, so the router
can run only one BGP process.
4. Specify a router ID.
router-id router-id
Optional.
By default, the global router ID is used.
Configuring a BGP peer
To configure a BGP peer:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A