
Configuring and Customizing BGP
303528-A Rev 00
8-29
Defining a Peer-to-Peer Session
To define a peer-to-peer session, you specify the following:
• The address of the local IP interface
• The address of the remote IP interface
• The AS number of the autonomous system in which the remote BGP peer is
located
If the remote peer is located in a different AS from the local peer, the remote
address must be on the same subnet as the local address. (To override this
restriction, see “Enabling Multihop Connections” on page 8-20.)
If the local peer and the remote peer are located in the same AS, BGP assumes
that you are configuring an IBGP session and does not impose this restriction.
You can use the BCC or Site Manager to supply this information.
Using the BCC
Navigate to the BGP prompt and enter:
peer local
local_address
remote
remote_address
as
as_number
local_address is the IP address of the local interface.
remote_address is the IP address of the remote interface.
as_number is the number of the AS in which the remote peer is located.
For example, the following command defines a session with a remote peer in
AS 5. The local IP interface is 2.2.2.2. The interface for the remote peer is 2.2.2.5.
/jointfilesconvert/92449/bgp# peer local 2.2.2.2 remote 2.2.2.5 as 5
peer/2.2.2.2/2.2.2.5/5#
Comentarios a estos manuales