Operation Manual – IPv4 Routing
H3C S3610&S5510 Series Ethernet Switches
Chapter 5 BGP Configuration
5-34
5.7.2 Configuring BGP Peer Groups
Follow these steps to configure BGP peer groups:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Create an IBGP
peer group
group group-name
[
internal
]
Configu
re an
IBGP
peer
group
Add a peer into
the IBGP peer
group
peer
ip-address
group
group-name
[
as-number
as-number
]
Optional
You can add multiple peers
into the group. The system
will create these peers
automatically and specify
the local AS number as
their AS in BGP view.
Create an EBGP
peer group
group group-name
external
Specify the AS
number for the
group
peer group-name
as-number
as-number
Configu
re a
pure
EBGP
peer
group
Add a peer into
the group
peer
ip-address
group
group-name
[
as-number
as-number
]
Optional
You can add multiple peers
into the group. The system
will create these peers
automatically and specify
the local AS number as
their AS in BGP view.
Create an EBGP
peer group
group group-name
external
Specify a peer
and the AS
number for the
peer
peer ip-address
as-number
as-number
Configu
re a
mixed
EBGP
peer
group
Add a peer into
the group
peer
ip-address
group
group-name
[
as-number
as-number
]
Optional
You can add multiple peers
into the group.
Note:
z
You need not specify the AS number when creating an IBGP peer group.
z
If there are peers in a peer group, you can neither change the AS number of the
group nor use the
undo
command to remove the AS number
z
You need specify the AS number for each peer in a mixed EBGP peer group
respectively.