3com S7906E Manuel De Montage
1-18
Configuring BGP Basic Functions
This section does not differentiate between BGP and MP-BGP.
Prerequisites
The neighboring nodes are accessible to each other at the network layer.
Creating a BGP Connection
A router ID is the unique identifier of a BGP router in an AS.
z
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.
z
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 Basics in the IP Routing Volume.
z
If the global router ID is used and then it is removed, the system will select a new router ID.
z
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…
Use the command…
Remarks
Enter system view
system-view
—
Enable BGP and enter BGP
view
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.
used.
Specify a peer or a peer group
and its AS number
and its AS number
peer { group-name |
ip-address } as-number
as-number
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
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/peer group
peer { group-name |
ip-address } description
description-text
ip-address } description
description-text
Not configured by default.