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}
        next
    end
end

config system session-ttl

Parameter

Description

Type

Size

default

Default timeout.

user

Not Specified

config port

Parameter

Description

Type

Size

id

Table entry ID.

integer

Minimum value: 0 Maximum value: 65535

protocol

Protocol.

integer

Minimum value: 0 Maximum value: 255

start-port

Start port number.

integer

Minimum value: 0 Maximum value: 65535

end-port

End port number.

integer

Minimum value: 0 Maximum value: 65535

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 protocol {integer}
            set start-port {integer}
            set end-port {integer}
            set timeout {user}
        next
    end
end

config system session-ttl

Parameter

Description

Type

Size

default

Default timeout.

user

Not Specified

config port

Parameter

Description

Type

Size

id

Table entry ID.

integer

Minimum value: 0 Maximum value: 65535

protocol

Protocol.

integer

Minimum value: 0 Maximum value: 255

start-port

Start port number.

integer

Minimum value: 0 Maximum value: 65535

end-port

End port number.

integer

Minimum value: 0 Maximum value: 65535

timeout

Session timeout (TTL).

user

Not Specified