Fortinet black logo

CLI Reference

config router extcommunity-list

config router extcommunity-list

Configure extended community lists.

config router extcommunity-list
    Description: Configure extended community lists.
    edit <name>
        config rule
            Description: Extended community list rule.
            edit <id>
                set action [deny|permit]
                set regexp {string}
                set type [rt|soo]
                set match {string}
            next
        end
        set type [standard|expanded]
    next
end

config router extcommunity-list

Parameter

Description

Type

Size

Default

name

Extended community list name.

string

Maximum length: 35

type

Extended community list type (standard or expanded).

option

-

standard

Option

Description

standard

Standard extended community list type.

expanded

Expanded extended 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 EXTENDED COMMUNITY attribute.

option

-

Option

Description

deny

Deny route-based operations.

permit

Permit or allow route-based operations.

regexp

Ordered list of EXTENDED COMMUNITY attributes as a regular expression.

string

Maximum length: 255

type

Type of extended community.

option

-

rt

Option

Description

rt

Route Target.

soo

Site of Origin.

match

Extended community specifications for matching a reserved extended community.

string

Maximum length: 255

config router extcommunity-list

Configure extended community lists.

config router extcommunity-list
    Description: Configure extended community lists.
    edit <name>
        config rule
            Description: Extended community list rule.
            edit <id>
                set action [deny|permit]
                set regexp {string}
                set type [rt|soo]
                set match {string}
            next
        end
        set type [standard|expanded]
    next
end

config router extcommunity-list

Parameter

Description

Type

Size

Default

name

Extended community list name.

string

Maximum length: 35

type

Extended community list type (standard or expanded).

option

-

standard

Option

Description

standard

Standard extended community list type.

expanded

Expanded extended 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 EXTENDED COMMUNITY attribute.

option

-

Option

Description

deny

Deny route-based operations.

permit

Permit or allow route-based operations.

regexp

Ordered list of EXTENDED COMMUNITY attributes as a regular expression.

string

Maximum length: 255

type

Type of extended community.

option

-

rt

Option

Description

rt

Route Target.

soo

Site of Origin.

match

Extended community specifications for matching a reserved extended community.

string

Maximum length: 255