Fortinet white logo
Fortinet white logo

CLI Reference

config system session-ttl

config system session-ttl

Configure global session TTL timers for this FortiGate.

config system session-ttl
    Description: Configure global session TTL timers for this FortiGate.
    set default {user}
    config port
        Description: Session TTL port.
        edit <id>
            set end-port {integer}
            set protocol {integer}
            set refresh-direction [both|outgoing|...]
            set start-port {integer}
            set timeout {user}
        next
    end
end

config system session-ttl

Parameter

Description

Type

Size

Default

default

Default timeout.

user

Not Specified

config port

Parameter

Description

Type

Size

Default

end-port

End port number.

integer

Minimum value: 0 Maximum value: 65535

0

id

Table entry ID.

integer

Minimum value: 0 Maximum value: 65535

0

protocol

Protocol.

integer

Minimum value: 0 Maximum value: 255

0

refresh-direction

Configure refresh direction.

option

-

both

Option

Description

both

Refresh both directions.

outgoing

Refresh outgoing direction (original).

incoming

Refresh incoming direction (reply).

start-port

Start port number.

integer

Minimum value: 0 Maximum value: 65535

0

timeout

Session timeout (TTL).

user

Not Specified

config system session-ttl

config system session-ttl

Configure global session TTL timers for this FortiGate.

config system session-ttl
    Description: Configure global session TTL timers for this FortiGate.
    set default {user}
    config port
        Description: Session TTL port.
        edit <id>
            set end-port {integer}
            set protocol {integer}
            set refresh-direction [both|outgoing|...]
            set start-port {integer}
            set timeout {user}
        next
    end
end

config system session-ttl

Parameter

Description

Type

Size

Default

default

Default timeout.

user

Not Specified

config port

Parameter

Description

Type

Size

Default

end-port

End port number.

integer

Minimum value: 0 Maximum value: 65535

0

id

Table entry ID.

integer

Minimum value: 0 Maximum value: 65535

0

protocol

Protocol.

integer

Minimum value: 0 Maximum value: 255

0

refresh-direction

Configure refresh direction.

option

-

both

Option

Description

both

Refresh both directions.

outgoing

Refresh outgoing direction (original).

incoming

Refresh incoming direction (reply).

start-port

Start port number.

integer

Minimum value: 0 Maximum value: 65535

0

timeout

Session timeout (TTL).

user

Not Specified