Fortinet black 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 rule

Parameter

Description

Type

Size

Default

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

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 rule

Parameter

Description

Type

Size

Default

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