H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 6 BGP Configuration
6-20
Before configuring a large-scale BGP network, you need to prepare the following
data:
z Peer group type, name, and the peers included.
z If you want to use community, the name of the applied routing policy is needed.
z If you want to use RR, you need to determine the roles (client, non-client) of
routers.
z If you want to use confederation, you need to determine the confederation ID and
the sub-AS number.
6.7.2 Configuring a BGP Peer Group
Follow these steps to configure a BGP peer group:
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 ]
Create
an IBGP
peer
group
Add a peer to a
peer group
peer ip-address
group group-name
[ as-number
as-number ]
Optional
If the command is executed
without the internal or
external keyword, an IBGP
peer group will be created.
You can add multiple peers
to the group, and the
system will automatically
create a peer in BGP view,
and configure its AS
number as the local AS
number.
Create an EBGP
peer group
group group-name
external
Configure the AS
number of a peer
group
peer group-name
as-number
as-number
Create
an
EBGP
peer
group
Add a peer to a
peer group
peer ip-address
group group-name
[ as-number
as-number ]
Optional
You can add multiple peers
to the group. The system
automatically creates the
peer in BGP view and
specifies its AS number as
the one of the peer group.