Fortinet white logo
Fortinet white logo

CLI Reference

config firewall policy64

config firewall policy64

Configure IPv6 to IPv4 policies.

config firewall policy64

Description: Configure IPv6 to IPv4 policies.

edit <policyid>

set name {string}

set uuid {uuid}

set srcintf {string}

set dstintf {string}

set srcaddr <name1>, <name2>, ...

set dstaddr <name1>, <name2>, ...

set action [accept|deny]

set status [enable|disable]

set schedule {string}

set service <name1>, <name2>, ...

set logtraffic [enable|disable]

set logtraffic-start [enable|disable]

set permit-any-host [enable|disable]

set traffic-shaper {string}

set traffic-shaper-reverse {string}

set per-ip-shaper {string}

set fixedport [enable|disable]

set ippool [enable|disable]

set poolname <name1>, <name2>, ...

set tcp-mss-sender {integer}

set tcp-mss-receiver {integer}

set comments {var-string}

next

end

config firewall policy64

Parameter name

Description

Type

Size

name

Policy name.

string

Maximum length: 35

uuid

Universally Unique Identifier (UUID; automatically assigned but can be manually reset).

uuid

Not Specified

srcintf

Source interface name.

string

Maximum length: 35

dstintf

Destination interface name.

string

Maximum length: 35

srcaddr `<name>`

Source address name.<br>Address name.

string

Maximum length: 79

dstaddr `<name>`

Destination address name.<br>Address name.

string

Maximum length: 79

action

Policy action.

option

-

Option

Description

accept

Action accept.

deny

Action deny.

status

Enable/disable policy status.

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

schedule

Schedule name.

string

Maximum length: 35

service `<name>`

Service name.<br>Address name.

string

Maximum length: 79

logtraffic

Enable/disable policy log traffic.

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

logtraffic-start

Record logs when a session starts and ends.

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

permit-any-host

Enable/disable permit any host in.

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

traffic-shaper

Traffic shaper.

string

Maximum length: 35

traffic-shaper-reverse

Reverse traffic shaper.

string

Maximum length: 35

per-ip-shaper

Per-IP traffic shaper.

string

Maximum length: 35

fixedport

Enable/disable policy fixed port.

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

ippool

Enable/disable policy64 IP pool.

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

poolname `<name>`

Policy IP pool names.<br>IP pool name.

string

Maximum length: 79

tcp-mss-sender

TCP MSS value of sender.

integer

Minimum value: 0 Maximum value: 65535

tcp-mss-receiver

TCP MSS value of receiver.

integer

Minimum value: 0 Maximum value: 65535

comments

Comment.

var-string

Maximum length: 1023

config firewall policy64

config firewall policy64

Configure IPv6 to IPv4 policies.

config firewall policy64

Description: Configure IPv6 to IPv4 policies.

edit <policyid>

set name {string}

set uuid {uuid}

set srcintf {string}

set dstintf {string}

set srcaddr <name1>, <name2>, ...

set dstaddr <name1>, <name2>, ...

set action [accept|deny]

set status [enable|disable]

set schedule {string}

set service <name1>, <name2>, ...

set logtraffic [enable|disable]

set logtraffic-start [enable|disable]

set permit-any-host [enable|disable]

set traffic-shaper {string}

set traffic-shaper-reverse {string}

set per-ip-shaper {string}

set fixedport [enable|disable]

set ippool [enable|disable]

set poolname <name1>, <name2>, ...

set tcp-mss-sender {integer}

set tcp-mss-receiver {integer}

set comments {var-string}

next

end

config firewall policy64

Parameter name

Description

Type

Size

name

Policy name.

string

Maximum length: 35

uuid

Universally Unique Identifier (UUID; automatically assigned but can be manually reset).

uuid

Not Specified

srcintf

Source interface name.

string

Maximum length: 35

dstintf

Destination interface name.

string

Maximum length: 35

srcaddr `<name>`

Source address name.<br>Address name.

string

Maximum length: 79

dstaddr `<name>`

Destination address name.<br>Address name.

string

Maximum length: 79

action

Policy action.

option

-

Option

Description

accept

Action accept.

deny

Action deny.

status

Enable/disable policy status.

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

schedule

Schedule name.

string

Maximum length: 35

service `<name>`

Service name.<br>Address name.

string

Maximum length: 79

logtraffic

Enable/disable policy log traffic.

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

logtraffic-start

Record logs when a session starts and ends.

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

permit-any-host

Enable/disable permit any host in.

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

traffic-shaper

Traffic shaper.

string

Maximum length: 35

traffic-shaper-reverse

Reverse traffic shaper.

string

Maximum length: 35

per-ip-shaper

Per-IP traffic shaper.

string

Maximum length: 35

fixedport

Enable/disable policy fixed port.

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

ippool

Enable/disable policy64 IP pool.

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

poolname `<name>`

Policy IP pool names.<br>IP pool name.

string

Maximum length: 79

tcp-mss-sender

TCP MSS value of sender.

integer

Minimum value: 0 Maximum value: 65535

tcp-mss-receiver

TCP MSS value of receiver.

integer

Minimum value: 0 Maximum value: 65535

comments

Comment.

var-string

Maximum length: 1023