Fortinet white logo
Fortinet white logo

CLI Reference

config router community-list

config router community-list

Configure community lists.

config router community-list

Description: Configure community lists.

edit <name>

set type [standard|expanded]

config rule

Description: Community list rule.

edit <id>

set action [deny|permit]

set regexp {string}

set match {string}

next

end

next

end

config router community-list

Parameter

Description

Type

Size

Default

type

Community list type (standard or expanded).

option

-

standard

Option

Description

standard

Standard community list type.

expanded

Expanded community list type.

config rule

Parameter

Description

Type

Size

Default

action

Permit or deny route-based operations, based on the route's COMMUNITY attribute.

option

-

Option

Description

deny

Deny route-based operations.

permit

Permit or allow route-based operations.

regexp

Ordered list of COMMUNITY attributes as a regular expression.

string

Maximum length: 255

match

Community specifications for matching a reserved community.

string

Maximum length: 255

config router community-list

config router community-list

Configure community lists.

config router community-list

Description: Configure community lists.

edit <name>

set type [standard|expanded]

config rule

Description: Community list rule.

edit <id>

set action [deny|permit]

set regexp {string}

set match {string}

next

end

next

end

config router community-list

Parameter

Description

Type

Size

Default

type

Community list type (standard or expanded).

option

-

standard

Option

Description

standard

Standard community list type.

expanded

Expanded community list type.

config rule

Parameter

Description

Type

Size

Default

action

Permit or deny route-based operations, based on the route's COMMUNITY attribute.

option

-

Option

Description

deny

Deny route-based operations.

permit

Permit or allow route-based operations.

regexp

Ordered list of COMMUNITY attributes as a regular expression.

string

Maximum length: 255

match

Community specifications for matching a reserved community.

string

Maximum length: 255