Configure an ebgp peer group – H3C Technologies H3C S10500 Series Switches User Manual
Page 241

226
To do…
Use the command…
Remarks
Enter BGP view
bgp as-number
—
Create an iBGP peer group
group group-name [ internal ]
Required
Add a peer into the iBGP peer
group
peer ip-address group
group-name
Required
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.
Use one of the following approaches to configure an eBGP peer group:
•
Create the eBGP peer group, specify its AS number, and add peers into it. All the added peers
share the same AS number.
•
Create the eBGP peer group, specify an AS number for a peer, and add the peer into the peer
group.
•
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
peer group-name as-number
as-number
Required
Add the peer into the group
peer ip-address group
group-name
Required
NOTE:
•
Do not specify any AS number for a peer before adding it into the peer group.
•
All of 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 ip-address as-number
as-number
Required