3Com Switch 8800 Configuration Guide
Chapter 21 BGP Configuration
21-6
Perform the following configurations in BGP view.
I. Creating a peer group
A BGP peer must belong to a peer group. Before configuring a BGP peer, a peer group
to which the peer belongs must be created first.
Table 21-2
Create a peer group
Operation
Command
Create a peer group
group
group
-
name
[
internal
|
external
]
Delete the specified peer group
undo group
group
-
name
There are two types of BGP peer group, IBGP and EBGP. Using the
internal
keyword
to create a IBGP peer group. You can use the
external
keyword to create an EBGP
peer group and sub-AS peer groups inside a confederation.
group
-
name
is locally
significant.
The default type of BGP peer group is IBGP.
II. Configuring AS number of an EBGP peer group
You can specify AS number for an EBGP peer group, but IBGP needs no AS number.
When a peer group is specified with an AS number, all its member peers inherit the AS
number.
Table 21-3
Configure AS number of a EBGP peer group
Operation
Command
Configure the AS number of the EBGP
peer group
peer
group
-
name
as-number
as
-
number
Delete the AS number of the EBGP peer
group
undo peer
group
-
name
as-number
as
-
number
If a peer group has peers, you cannot specify an AS number for the peer group. In
addition, deleting the AS number of a peer group will delete all peers in it.
III. Adding a member to a peer group
A BGP peer must belong to a peer group. If you want to configure a BGP peer, you
need first to create a peer group and then add a peer into the group.
Table 21-4
Create a peer group and add a member
Operation
Command
Add a peer to the peer group
peer peer
-
address
group group
-
name
[
as-number
as
-
number
]