session timeout

Syntax

session-timeout <SESSION-TIMEOUT>

no session-timeout

Description

Configures the session timeout for the role. After the timeout period, the session will be disconnected.

Command context

config-pa-role

The port-access role command takes you into the config-pa-role context.

Parameters

<SESSION-TIMEOUT>

Specifies the session timeout (in seconds). Range: 1 to 4294967295.

NOTE:

A session timeout period of less than 60 seconds is not recommended.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Configuring session timeout for a role:

switch(config-pa-role)# session timeout 3600