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>
        config rule
            Description: Community list rule.
            edit <id>
                set action [deny|permit]
                set regexp {string}
                set match {string}
            next
        end
        set type [standard|expanded]
    next
end

config router community-list

Parameter

Description

Type

Size

Default

name

Community list name.

string

Maximum length: 35

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

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

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>
        config rule
            Description: Community list rule.
            edit <id>
                set action [deny|permit]
                set regexp {string}
                set match {string}
            next
        end
        set type [standard|expanded]
    next
end

config router community-list

Parameter

Description

Type

Size

Default

name

Community list name.

string

Maximum length: 35

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

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

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