efa policy community-list create

Create a community-list.

Syntax

efa policy community-list create [ --name string | --type { standard | extended } | --rule stringArray ]

Parameters

--name string
Specifies the name of the community list.
--type { standard | extended }
Specifies the type of community list. Valid options are standard, extended.
--rule stringArray
Specifies the rule in format seq[seq-num], action[permit/deny], std-value[{ 1-4294967295) | (AA:NN, AA and NN is 2 bytes) | internet | local-as | no-export | no-advertise } ] | ext-value[regular expression]

Examples

This example creates a community-list of type standard with std-value.

efa policy community-list create –-name comm1 –-type standard
–-rule "seq[5],action[permit],std-value[100;11:22;local-as;no-export]"

This example creates a community list of type extended with ext-value.

efa policy community-list create –-name stdext1 –-type extended
–-rule "seq[5],action[permit],ext-value[_2000_]"