Creating A Bgp Connection; Specifying The Source Interface For Tcp Connections - HP 4800G Series Configuration Manual

24/48 port
Table of Contents

Advertisement

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
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. For information about global
router ID, refer to IP Routing Overview in the IP Routing Volume.
If the global router ID is used and then it is removed, the system will select a new router ID.
If the router ID is specified in BGP view, using the undo router-id command can make the system
select a new router ID.
Follow these steps to create a BGP connection:
To do...
Enter system view
Enable BGP and enter BGP
view
Specify a Router ID
Specify a peer or a peer group
and its AS number
Enable the default use of IPv4
unicast address family for the
peers that are established
using the peer as-number
command
Enable a peer
Configure a description for a
peer/peer group
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 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:
Use the command...
system-view
bgp as-number
router-id router-id
peer { group-name |
ip-address } as-number
as-number
default ipv4-unicast
peer ip-address enable
peer { group-name |
ip-address } description
description-text
1-18
Remarks
Not enabled by default
Optional
By default, the global router ID is
used.
Required
Not specified by default
Optional
Enabled by default
Optional
Enabled by default
Not configured by default.

Advertisement

Chapters

Table of Contents
loading

Table of Contents