220
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:
Step Command
1. Enter system view.
system-view
2. Enter BGP view.
bgp as-number
3. Create an IBGP peer group.
group group-name [ internal ]
4. Add a peer into the IBGP
peer group.
peer ip-address group group-name
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:
• 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.
To configure an EBGP peer group using Approach 1:
Ste
Command
1. Enter system view.
system-view
2. Enter BGP view.
bgp as-number
3. Create an EBGP peer group.
group group-name external
4. Specify the AS number for the
group.
peer group-name as-number as-number
5. Add the peer into the group.
peer ip-address group group-name
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.
To configure an EBGP peer group using Approach 2:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter BGP view.
bgp as-number N/A
3. Create an EBGP peer group.
group group-name external N/A