2.1.20. ip session-timeout

Syntax

ip (http | https) session-timeout <0-86400>

Parameter

http

Specify session timeout for http service.

https

Specify session timeout for https service.

<0-86400>

Specify session timeout minutes. 0 means nevertimeout.

Default

Default session timeout for http and https is 10 minutes.

Mode

Global Configuration

Usage

Use ip session-timeout command to specify the session timeout value for http or https service. When user login into WEBUI and do not do any action after session timeout will be logged out.

Example

This example shows how to change http session timeout to 15min and https session timeout to 20min

Switch(config)# ip http session-timeout 15
Switch(config)# ip https session-timeout 20

This example shows how to enable https service and show current https service status.

Switch# show ip http
HTTPS daemon : enabled
Session Timeout : 15 (minutes)
Switch show ip https
HTTPS daemon : disabled
Session Timeout : 20 (minutes)