beautypg.com

Configure an ebgp peer group – H3C Technologies H3C S7500E Series Switches User Manual

Page 243

background image

6-40

To do…

Use the command…

Remarks

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.

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

peer group-name as-number

as-number

Required

Add a peer into the group

peer ip-address group

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 ip-address as-number

as-number

Required