Defining Communities
You can create a named community and include it in a routing policy with the
communitymatch condition (described in Table 12).You can configure community and extended communities attributes to be included in BGP update messages. The community attribute is only four octets. The BGP extended communities attribute provides a larger range (eight octets) for grouping or categorizing communities. You can use community and extended communities attributes to trigger routing decisions, such as acceptance, rejection, preference, or redistribution.
The
community-idsformat varies according to the type of attribute that you use. The BGP community attribute format isas-number:community-value. The BGP extended communities attribute format istype:administrator:assigned-number.When specifying
community-idsfor the community attribute, you can use UNIX-style regular expressions. Regular expressions are not supported for the extended communities attributes.