Fortinet white logo
Fortinet white logo

CLI Reference

config router prefix-list6

config router prefix-list6

Configure IPv6 prefix lists.

config router prefix-list6
    Description: Configure IPv6 prefix lists.
    edit <name>
        set comments {string}
        config rule
            Description: IPv6 prefix list rule.
            edit <id>
                set action [permit|deny]
                set prefix6 {user}
                set ge {integer}
                set le {integer}
                set flags {integer}
            next
        end
    next
end

config router prefix-list6

Parameter

Description

Type

Size

Default

comments

Comment.

string

Maximum length: 127

name

Name.

string

Maximum length: 35

config rule

Parameter

Description

Type

Size

Default

id

Rule ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

action

Permit or deny packets that match this rule.

option

-

permit

Option

Description

permit

Allow or permit packets that match this rule.

deny

Deny packets that match this rule.

prefix6

IPv6 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: 128

le

Maximum prefix length to be matched.

integer

Minimum value: 0 Maximum value: 128

flags

Flags.

integer

Minimum value: 0 Maximum value: 4294967295

0

config router prefix-list6

config router prefix-list6

Configure IPv6 prefix lists.

config router prefix-list6
    Description: Configure IPv6 prefix lists.
    edit <name>
        set comments {string}
        config rule
            Description: IPv6 prefix list rule.
            edit <id>
                set action [permit|deny]
                set prefix6 {user}
                set ge {integer}
                set le {integer}
                set flags {integer}
            next
        end
    next
end

config router prefix-list6

Parameter

Description

Type

Size

Default

comments

Comment.

string

Maximum length: 127

name

Name.

string

Maximum length: 35

config rule

Parameter

Description

Type

Size

Default

id

Rule ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

action

Permit or deny packets that match this rule.

option

-

permit

Option

Description

permit

Allow or permit packets that match this rule.

deny

Deny packets that match this rule.

prefix6

IPv6 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: 128

le

Maximum prefix length to be matched.

integer

Minimum value: 0 Maximum value: 128

flags

Flags.

integer

Minimum value: 0 Maximum value: 4294967295

0