3com S7906E Instruccion De Instalación
1-38
Configure an eBGP peer group
If peers in an eBGP group belong to the same external AS, the eBGP peer group is a pure eBGP peer
group; if not, it is a mixed eBGP peer group.
There are three approaches for configuring an eBGP peer group:
z
Create the eBGP peer group, specify its AS number, and add peers into it. All the added peers
share the same AS number.
z
Create the eBGP peer group, specify an AS number for a peer, and add the peer into the peer
group.
z
Create the eBGP peer group and add a peer into it with an AS number specified.
Follow these steps to configure an eBGP peer group using the first approach:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—
Create an eBGP peer group
group group-name external
Required
Specify the AS number for the
group
group
peer group-name as-number
as-number
as-number
Required
Add a peer into the group
peer ip-address group
group-name
group-name
Required
All the added peers have the same AS number as that of the peer group.
Follow these steps to configure an eBGP peer group using the second approach:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—
Create an eBGP peer group
group group-name external
Required
Specify an AS number for a
peer
peer
peer ip-address as-number
as-number
as-number
Required
Add the peer into the group
peer ip-address group
group-name [ as-number
as-number ]
group-name [ as-number
as-number ]
Required
The AS number can be either
specified or not specified in the
command. If specified, the AS
number must be the same as that
specified for the peer with the
peer ip-address as-number
as-number command.
specified or not specified in the
command. If specified, the AS
number must be the same as that
specified for the peer with the
peer ip-address as-number
as-number command.