To configure a community for Layer 2 circuits, include the community statement.
-
community community-name {
- members [ community-ids ];
- }
You can include the community statement at the following hierarchy levels:
name identifies the community or communities.
community-ids identifies the type of community or extended community:
as-number:community-value
as-number is the autonomous system (AS) number of the community member.
community-value is the identifier of the community member. It can be a number from 0 through 65,535.
type:administrator:assigned-number
type is the type of target community. The target community identifies the route’s destination.
administrator is either an AS number or an IP version 4 (IPv4) address prefix, depending on the type of community.
assigned-number identifies the local provider.
You also need to configure the community for the Layer 2 circuit interface; see Configuring a Community for the Layer 2 Circuit.