The set routing community-list standard command configures a community list to match a specific community number attribute. Community-list is a named list of regular expressions. They are used to match the community number attributes in the routes for inclusion in, or exclusion from route policies.
The delete routing community-list standard command removes the community list configuration.
Command Syntax
set routing community-list standard <community-list-name> {deny|permit) {local-AS|no-advertise|no-export|internet|<community>}
delete routing community-list standard <community-list-name>{deny|permit) {local-AS|no-advertise|no-export|internet|<community>}
Parameter
Parameter | Description |
<community-list-name> | Specifies the name of the community list that matches a route. |
<deny|permit> | Specifies whether the route is available for further processing when there is a match. |
{local-AS|no-advertise|no-export|internet|<community-numer>} | Specifies BGP community type, it can be one of following BGP communities:
|
Usage Guidelines
The BGP community list can be either standard or expanded. The standard BGP community list is a pair of values (such as 100:100) that can be tagged on a specific prefix and advertised to other neighbors or applied on route
ingress.
Example
- Configure an AS Path list, permit routes that contain 20 in the AS_Path to pass through.
admin@Xorplus# set routing as-path-list Aslist permit _20_ admin@Xorplus# commit