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

Description

Type

Size

comments

Comment.

string

Not Specified

config rule

Parameter

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 .

integer

Minimum value: 0 Maximum value: 32

le

Maximum prefix length to be matched .

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

Description

Type

Size

comments

Comment.

string

Not Specified

config rule

Parameter

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 .

integer

Minimum value: 0 Maximum value: 32

le

Maximum prefix length to be matched .

integer

Minimum value: 0 Maximum value: 32

flags

Flags.

integer

Minimum value: 0 Maximum value: 4294967295