Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The set routing community-list standard command configures a standard 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 standard community list configuration.

...

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>}

Optional. Specifies BGP community type, it can be one of following BGP communities:

  • local-AS: a BGP community that restricts routes to your confederation’s sub-AS.
  • no-advertise: a BGP community that is not advertised to anyone.
  • no-export: a BGP community that is not advertised to the eBGP peer.
  • internet: a BGP community that matches all routes.
  • <community-numer>: specifies the communities value.

...

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.Here is an example of a standard community list filter:
Code Block
admin@Xorplus# set routing as-pathcommunity-list Asliststandard COMMUNITY1 permit _20_100:100
admin@Xorplus# commit