3Com Switch 8800 Advanced Software V5 Configuration Guide

Configuring a Large Scale BGP Network 445
c
CAUTION:
You need not specify the AS number when creating an IBGP peer group.
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
You need to specify the AS number for each peer in a mixed EBGP peer group
respectively.
Configuring BGP
Community
To configure BGP community, use the following commands:
c
CAUTION:
When configuring BGP community, you need to configure a routing policy to
define the community attribute, and apply the routing policy to route
advertisement.
For routing policy configuration, refer to “Routing Policy Configuration” on
page 243.
Configure
a pure
EBGP peer
group
Create an EBGP peer
group
group group-name
external
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.
Specify the AS number
for the group
peer group-name
as-number as-number
Add a peer into the
group
peer ip-address group
group-name [
as-number as-number
]
Configure
a mixed
EBGP peer
group
Create an EBGP peer
group
group group-name
external
Optional
You can add multiple peers into
the group.
Specify a peer and the
AS number for the
peer respectively
peer ip-address
as-number as-number
Add a peer into the
group
peer ip-address group
group-name [
as-number as-number
]
To do... Use the command... Remarks
To do... Use the command... Remarks
Enter system view system-view -
Enter BGP view bgp as-number -
Advertise the
community
attribute to a
peer/peer group
Advertise the
community
attribute to a
peer/peer group
peer { group-name |
ip-address }
advertise-community
Required
Not configured by default
Advertise the
extended
community
attribute to a
peer/peer group
peer { group-name |
ip-address }
advertise-ext-communi
ty
Apply a routing policy to routes
advertised to a peer/peer group
peer { group-name |
ip-address } route-policy
route-policy-name export
Required
Not configured by default