F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101

259
Ste
p
Command
Remarks
6. Configure a description for a
peer.
peer ip-address description
description-text
Optional.
By default, no description is
configured for a peer.
Configuring a BGP peer group
In a large-scale network, grouping peers that use the same route selection policy simplifies overall
configuration. When you modify the policy of the group, the modification applies to all peers in the
group. However, if a peer group already contains peers, you cannot remove or change its AS number.
A peer group is an IBGP peer group if peers in it belong to the local AS, and is an EBGP peer group if
peers in it belong to different ASs.
1. Configuring an IBGP peer group
After you create an IBGP peer group and then add a peer into it, the system creates the peer in BGP view
and specifies the local AS number for the peer.
To configure an IBGP peer group:
Ste
p
Command
Remarks
1. Enter system view.
system-view
N/A
2. Enter BGP view.
bgp as-number
N/A
3. Create an IBGP peer group. group group-name [ internal ] N/A
4. Add a peer into the IBGP peer
group.
peer ip-address group group-name
[ as-number as-number ]
By default, no peer exists in the
peer group.
To use the as-number as-number
option, you must specify the local
AS number.
5. Enable a peer.
peer ip-address enable
Optional.
Enabled by default.
6. Configure a description for a
peer group.
peer group-name description
description-text
Optional.
By default, no description is
configured for the peer group.
2. Configuring 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:
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.