set routing community-list expanded


The set routing community-list expanded command defines a new expanded community list. The expanded community is only used to filter.

The delete routing community-list expanded command removes the expanded community list configuration.


Command Syntax

set routing community-list expanded <community-list-name> {deny|permit} regex <regular-expression>

delete routing community-list expanded <community-list-name> {deny|permit} regex <regular-expression>


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.

<regular-expression>

Specifies a string expression of communities attribute. It can be a regular expression (BGP Regular Expressions) to match the communities attribute in BGP updates. Space is not supported.


Example

  • Configure a new expanded community list.
admin@Xorplus# set routing community-list expanded Comm1 permit regex 100:100
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.