3Com Switch 7750 Configuration Guide

366 CHAPTER 36: BGP CONFIGURATION
c
CAUTION:
It is not required to specify an AS number for creating an IBGP peer group.
If there already exists a peer in a peer group, you can neither change the AS
number of the peer group, nor delete a specified AS number through the
undo command.
Configuring BGP
Community
c
CAUTION:
When configuring BGP community, you must use a routing policy to define the
specific community attribute, and then apply the routing policy when a peer
sends routing information.
For configuration of routing policy, refer to “IP Routing Policy Configuration”
on page 378.
Create an
IBGP peer
group
Create an IBGP peer
group
group group-name
[ internal ]
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.
Add a peer to a peer
group
peer ip-address group
group-name
[ as-number
as-number ]
Create an
EBGP peer
group
Create an EBGP peer
group
group group-name
external
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.
Configure the AS
number of a peer
group
peer group-name
as-number as-number
Table 301 Configure BGP peer group
Operation Command Description
Table 302 Configure BGP community
Operation Command Description
Enter system view system-view -
Enable BGP, and enter BGP view bgp as-number Required
By default, the system does not
operate BGP.
Configure the peers to advertise
community attribute to the peer
group
peer group-name
advertise-community
Required
By default, no community
attribute or extended
community attribute is
advertised to any peer group.
Specify routing policy for the routes
exported to the peer group
peer group-name
route-policy
route-policy-name
export
Required
By default, no routing policy is
specified for the routes
exported to the peer group.