A community set can either be empty, or contain one or more community values. When used with an empty
community set, the is-empty operator will evaluate to TRUE and the matches-any and matches-every
operators will evaluate to FALSE.
extcommunity-set
An extended community-set is analogous to a community-set except that it contains extended community
values instead of regular community values. It also supports named forms and inline forms. There are three
types of extended community sets: cost, soo, and rt.
As with community sets, the inline form supports parameterization within parameterized policies. Either
portion of the extended community value can be parameterized.
Wildcards (*) and regular expressions are allowed for extended community set elements.
Every extended community-set must contain at least one extended community value. Empty extended
community-sets are invalid and rejected.
The following are syntactic examples:
Named Form for Extcommunity-set Cost
A cost set is an extcommunity set used to store cost EIGRP Cost Community type extended community type
communities.
extcommunity-set cost a_cost_set
IGP:1:10
end-set
These options are supported under extended community set Cost:
RP/0/RSP0/CPU0:router(config)#extcommunity-set cost cost_set
RP/0/RSP0/CPU0:router(config-ext)#?
#-remark Remark beginning with '#'
<0-255> decimal number
abort Discard RPL definition and return to top level config
end-set End of set definition
exit Exit from this submode
igp: Cost Community with IGP as point of insertion
pre-bestpath: Cost Community with Pre-Bestpath as point of insertion
show Show partial RPL configuration
DescriptionOption
Remark beginning with '#'#-remark
decimal number<0-255>
Discard RPL definition and return to top level configabort
End of set definitionend-set
Exit from this submodeexit
Cost Community with IGP as point of insertionigp:
Cost Community with Pre-Bestpath as point of insertionpre-bestpath:
Show partial RPL configurationshow
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
OL-30423-03 471
Implementing Routing Policy
Routing Policy Language Overview