F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100

474
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:
{ Approach 1—Create an EBGP peer group, specify its AS number, and add peers into it. All the
added peers have the same AS number. You can specify an AS number for a peer before
adding it into the peer group. The AS number must be the same as that of the peer group. All
peers in the peer group have the same AS number as the peer group.
{ Approach 2—Create an EBGP peer group, specify an AS number for a peer, and add the peer
into the peer group. Peers added in the group can have different AS numbers.
{ Approach 3—Create an EBGP peer group and add a peer with an AS number into it. Peers
added in the group can have different AS numbers.
To configure an EBGP peer group by using Approach 1:
Ste
p
Command
Remarks
472. Enter system view. system-view N/A
473. Enter BGP view or BGP-VPN
instance view.
Enter BGP view:
bgp as-number
Enter BGP-VPN instance view:
a. bgp as-number
b. ipv4-family vpn-instance
vpn-instance-name
Use either approach.
474. Create an EBGP peer group. group group-name external
By default, no EBGP peer group is
created.
475. Specify the AS number for the
group.
peer group-name as-number
as-number
By default, no AS number is
specified.
476. Add a peer into the EBGP
peer group.
peer ip-address group group-name
[ as-number as-number ]
By default, no peer exists in the
peer group.
The as-number as-number option,
if used, must specify the same AS
number as the peer group-name
as-number as-number command.
477. Enable a peer.
peer ip-address enable
Optional.
Enabled by default.
478. Configure a description for a
peer group.
peer group-name description
description-text
Optional.
By default, no description is
configured for the peer group.
To configure an EBGP peer group by using Approach 2:
Ste
p
Command
Remarks
479. Enter system view. system-view N/A