Configuring Bgp Community - HP 3600 v2 series Configuration Manual

Hide thumbs Also See for 3600 v2 series:
Table of Contents

Advertisement

To do...
Add the peer into the group
NOTE:
Peers added in the group can have different AS numbers.
Follow these steps to configure an eBGP peer group using the third approach:
To do...
Enter system view
Enter BGP view
Create an eBGP peer group
Add a peer into the group and
specify its AS number
NOTE:
Do not specify any AS number for a peer before adding it into the peer group.
Peers added in the group can have different AS numbers.

Configuring BGP community

A BGP community is a group of destinations with the same characteristics. It has no geographical
boundaries and is independent of ASs.
You can configure a routing policy to define which destinations belong to a BGP community and then
advertise the community attribute to a peer or peer group.
You can apply a routing policy to filter routes advertised to or received from a peer or peer group
according to the community attribute, which helps simplify policy configuration and management.
For how to configure a routing policy, see the chapter "Routing policy configuration."
Follow these steps to configure BGP community:
To do...
Enter system view
Enter BGP view
Advertise the
community
attribute to a peer
Use the command...
peer ip-address group
group-name [ as-number
as-number ]
Use the command...
system-view
bgp as-number
group group-name external
peer ip-address group
group-name as-number
as-number
Advertise the community
attribute to a peer or
peer group
Use the command...
system-view
bgp as-number
peer { group-name | ip-address }
advertise-community
226
Remarks
Required
The AS number can be either
specified or not specified in the
command. If specified, the AS
number must be the same as that
specified for the peer with the peer
ip-address as-number as-number
command.
Remarks
Required
Required
Remarks
Required
Not configured by

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents