Fortinet white logo
Fortinet white logo

CLI Reference

config firewall ttl-policy

config firewall ttl-policy

Configure TTL policies.

config firewall ttl-policy

Description: Configure TTL policies.

edit <id>

set status [enable|disable]

set action [accept|deny]

set srcintf {string}

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

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

set schedule {string}

set ttl {user}

next

end

config firewall ttl-policy

Parameter

Description

Type

Size

status

Enable/disable this TTL policy.

option

-

Option

Description

enable

Enable this TTL policy.

disable

Disable this TTL policy.

action

Action to be performed on traffic matching this policy .

option

-

Option

Description

accept

Allow traffic matching this policy.

deny

Deny or block traffic matching this policy.

srcintf

Source interface name from available interfaces.

string

Maximum length: 35

srcaddr <name>

Source address object(s) from available options. Separate multiple names with a space.

Address name.

string

Maximum length: 79

service <name>

Service object(s) from available options. Separate multiple names with a space.

Service name.

string

Maximum length: 79

schedule

Schedule object from available options.

string

Maximum length: 35

ttl

Value/range to match against the packet's Time to Live value .

user

Not Specified

config firewall ttl-policy

config firewall ttl-policy

Configure TTL policies.

config firewall ttl-policy

Description: Configure TTL policies.

edit <id>

set status [enable|disable]

set action [accept|deny]

set srcintf {string}

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

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

set schedule {string}

set ttl {user}

next

end

config firewall ttl-policy

Parameter

Description

Type

Size

status

Enable/disable this TTL policy.

option

-

Option

Description

enable

Enable this TTL policy.

disable

Disable this TTL policy.

action

Action to be performed on traffic matching this policy .

option

-

Option

Description

accept

Allow traffic matching this policy.

deny

Deny or block traffic matching this policy.

srcintf

Source interface name from available interfaces.

string

Maximum length: 35

srcaddr <name>

Source address object(s) from available options. Separate multiple names with a space.

Address name.

string

Maximum length: 79

service <name>

Service object(s) from available options. Separate multiple names with a space.

Service name.

string

Maximum length: 79

schedule

Schedule object from available options.

string

Maximum length: 35

ttl

Value/range to match against the packet's Time to Live value .

user

Not Specified