Fortinet white logo
Fortinet white logo

CLI Reference

config router aspath-list

config router aspath-list

Configure Autonomous System (AS) path lists.

config router aspath-list
    Description: Configure Autonomous System (AS) path lists.
    edit <name>
        config rule
            Description: AS path list rule.
            edit <id>
                set action [deny|permit]
                set regexp {string}
            next
        end
    next
end

config router aspath-list

Parameter

Description

Type

Size

name

AS path list name.

string

Maximum length: 35

config rule

Parameter

Description

Type

Size

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

action

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

option

-

Option

Description

deny

Deny route-based operations.

permit

Permit route-based operations.

regexp

Regular-expression to match the Border Gateway Protocol (BGP) AS paths.

string

Maximum length: 63

config router aspath-list

config router aspath-list

Configure Autonomous System (AS) path lists.

config router aspath-list
    Description: Configure Autonomous System (AS) path lists.
    edit <name>
        config rule
            Description: AS path list rule.
            edit <id>
                set action [deny|permit]
                set regexp {string}
            next
        end
    next
end

config router aspath-list

Parameter

Description

Type

Size

name

AS path list name.

string

Maximum length: 35

config rule

Parameter

Description

Type

Size

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

action

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

option

-

Option

Description

deny

Deny route-based operations.

permit

Permit route-based operations.

regexp

Regular-expression to match the Border Gateway Protocol (BGP) AS paths.

string

Maximum length: 63