Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

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}

next

end

next

end

config router prefix-list

Parameter

Description

Type

Size

Default

comments

Comment.

string

Maximum length: 127

config rule

Parameter

Description

Type

Size

Default

action

Permit or deny this IP address and netmask prefix.

option

-

permit

 

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

0.0.0.0 0.0.0.0

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

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}

next

end

next

end

config router prefix-list

Parameter

Description

Type

Size

Default

comments

Comment.

string

Maximum length: 127

config rule

Parameter

Description

Type

Size

Default

action

Permit or deny this IP address and netmask prefix.

option

-

permit

 

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

0.0.0.0 0.0.0.0

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