Fortinet white logo
Fortinet white logo

CLI Reference

config router prefix-list

config router prefix-list

Configure IPv4 prefix lists.

config router prefix-list

Description: Configure IPv4 prefix lists.

edit <name>

set comments {string}

config rule

Description: IPv4 prefix list rule.

edit <id>

set action [permit|deny]

set prefix {user}

set ge {integer}

set le {integer}

set flags {integer}

next

end

next

end

config router prefix-list

Parameter name

Description

Type

Size

comments

Comment.

string

Maximum length: 127

config rule

Parameter name

Description

Type

Size

action

Permit or deny this IP address and netmask prefix.

option

-

Option

Description

permit

Allow or permit packets that match this rule.

deny

Deny packets that match this rule.

prefix

IPv4 prefix to define regular filter criteria, such as "any" or subnets.

user

Not Specified

ge

Minimum prefix length to be matched (0 - 32).

integer

Minimum value: 0 Maximum value: 32

le

Maximum prefix length to be matched (0 - 32).

integer

Minimum value: 0 Maximum value: 32

flags

Flags.

integer

Minimum value: 0 Maximum value: 4294967295

config router prefix-list

config router prefix-list

Configure IPv4 prefix lists.

config router prefix-list

Description: Configure IPv4 prefix lists.

edit <name>

set comments {string}

config rule

Description: IPv4 prefix list rule.

edit <id>

set action [permit|deny]

set prefix {user}

set ge {integer}

set le {integer}

set flags {integer}

next

end

next

end

config router prefix-list

Parameter name

Description

Type

Size

comments

Comment.

string

Maximum length: 127

config rule

Parameter name

Description

Type

Size

action

Permit or deny this IP address and netmask prefix.

option

-

Option

Description

permit

Allow or permit packets that match this rule.

deny

Deny packets that match this rule.

prefix

IPv4 prefix to define regular filter criteria, such as "any" or subnets.

user

Not Specified

ge

Minimum prefix length to be matched (0 - 32).

integer

Minimum value: 0 Maximum value: 32

le

Maximum prefix length to be matched (0 - 32).

integer

Minimum value: 0 Maximum value: 32

flags

Flags.

integer

Minimum value: 0 Maximum value: 4294967295