DES-7200 Configuration Guide Chapter 6 BGP
Configuration
6-19
6.11.5 COMMUNITY Attribute Configuration
COMMUNITY Attribute is another method to control the distribution of the route
information.
The community is a set of destinations. The purpose is to implement the
community-based routing policy so as to simplify the configuration to control the
distribution of the route information in the BGP Speakers.
Each destination may be of more than one community, and the manager of the
AS can define which community the destination is of.
By default, all destinations are of the Internet community carried in the community
attribute of the path.
At present, total for four common community attribute values are predefined:
Internet: Indicate the Internet community, and all paths are of this
community.
no-export: Indicate this path will not be exported to the BGP peers.
no-export: Indicate this path will not be advertised to the BGP peers.
local-as: Indicate this path will be advertised only in the local AS or the AS
confederation if it is configured.
You can control the receiving, priority and distribution of the route information by
the community attribute.
The BGP supports up to 32 COMMUNITY attributes for every route. When
configuring the route-map command, you can set up to 32 COMMUNITY
attributes for the parameters match and set COMMUNITY.
The BGP Speakers can set, add or modify the community attribute value when
they learn about, issue or redistribute the route. The aggregated path includes the
community attribute of all aggregated paths when the route aggregate is carried
out.
To configure the community attribute-based distribution of the route information,
execute the following operations in the privileged mode:
Command Function
DES-7200# configure terminal
Enter into the global configuration
mode.
DES-7200(config)# ip community-list
standard community-list-name
{permit | deny} community-number
(Optional) Create the community list.
The community-list-name is the
name of the community list.
The community-number is the