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>
        set name {string}
        config rule
            Description: AS path list rule.
            edit <id>
                set id {integer}
                set action [deny|permit]
                set regexp {string}
            next
        end
    next
end

config router aspath-list

Parameter

Description

Type

Size

Default

name

AS path list name.

string

Not Specified

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 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

Not Specified

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>
        set name {string}
        config rule
            Description: AS path list rule.
            edit <id>
                set id {integer}
                set action [deny|permit]
                set regexp {string}
            next
        end
    next
end

config router aspath-list

Parameter

Description

Type

Size

Default

name

AS path list name.

string

Not Specified

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 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

Not Specified