The xpl community-list command creates a community set and displays the community set view.
The undo xpl community-list command deletes a specified community set.
By default, no community sets are configured.
Parameter | Description | Value |
---|---|---|
community-list-name |
Specifies the name of a community set. |
The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit. |
Usage Scenario
A community set is a group of data related to the community attribute and can be used by route-filters to filter BGP routes. To create a community set and enter the community set view, run the xpl community-list command.
Follow-up Procedure
Precautions
A community set is only a group of data used as matching rules and does not have the permit or deny function. Therefore, a community set can be used to filter routes only after it is referenced by a route-filter.
To exit from the community set view, run the abort command in the community set view.