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 protocol {integer}
            set start-port {integer}
            set end-port {integer}
            set timeout {user}
            set refresh-direction [both|outgoing|...]
        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

id

Table entry ID.

integer

Minimum value: 0 Maximum value: 65535

0

protocol

Protocol.

integer

Minimum value: 0 Maximum value: 255

0

start-port

Start port number.

integer

Minimum value: 0 Maximum value: 65535

0

end-port

End port number.

integer

Minimum value: 0 Maximum value: 65535

0

timeout

Session timeout (TTL).

user

Not Specified

refresh-direction

Configure refresh direction.

option

-

both

Option

Description

both

Refresh both directions.

outgoing

Refresh outgoing direction (original).

incoming

Refresh incoming direction (reply).

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 protocol {integer}
            set start-port {integer}
            set end-port {integer}
            set timeout {user}
            set refresh-direction [both|outgoing|...]
        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

id

Table entry ID.

integer

Minimum value: 0 Maximum value: 65535

0

protocol

Protocol.

integer

Minimum value: 0 Maximum value: 255

0

start-port

Start port number.

integer

Minimum value: 0 Maximum value: 65535

0

end-port

End port number.

integer

Minimum value: 0 Maximum value: 65535

0

timeout

Session timeout (TTL).

user

Not Specified

refresh-direction

Configure refresh direction.

option

-

both

Option

Description

both

Refresh both directions.

outgoing

Refresh outgoing direction (original).

incoming

Refresh incoming direction (reply).