852
C
56: BGP C
HAPTER
ONFIGURATION
c
Configuring BGP
Community
c
To do...
Configure
Create an EBGP peer
a pure
group
EBGP peer
Specify the AS number
group
for the group
Add a peer into the
group
Configure
Create an EBGP peer
a mixed
group
EBGP peer
Specify a peer and the
group
AS number for the
peer respectively
Add a peer into the
group
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 specify the AS number for each peer in a mixed EBGP peer group
■
respectively.
To configure BGP community, use the following commands:
To do...
Enter system view
Enter BGP view
Advertise the
Advertise the
community
community attribute to
attribute to a
a peer/peer group
peer/peer group
Advertise the extended
community attribute to
a peer/peer group
Apply a routing policy to routes advertised
to a peer/peer group
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
■
page
991.
Use the command...
Remarks
group group-name
Optional
external
You can add multiple peers into
peer group-name
the group. The system will
as-number as-number
create these peers automatically
and specify the local AS number
peer ip-address group
as their AS in BGP view.
group-name
[ as-number
as-number ]
group group-name
Optional
external
You can add multiple peers into
peer ip-address
the group.
as-number as-number
peer ip-address group
group-name
[ as-number
as-number ]
Use the command...
system-view
bgp as-number
peer { group-name |
ip-address }
advertise-communit
y
peer { group-name |
ip-address }
advertise-ext-comm
unity
peer { group-name |
ip-address }
route-policy
route-policy-name
export
"Routing Policy Configuration" on
Remarks
-
-
Required
Not configured by
default
Required
Not configured by
default
Need help?
Do you have a question about the MSR 50 Series and is the answer not in the manual?
Questions and answers