Dell Command Line Reference Guide for the S4048–ON System 9.14.2.8

PDF

login concurrent-session

Configures the limit of concurrent sessions for each user on console and virtual terminal lines.

Syntax

login concurrent-session {limit number-of-sessions | clear—line enable}

no login concurrent-session {limit number-of-sessions | clear—line enable}

Parameters
limit number-of-sessions

Sets the number of concurrent sessions that any user can have on console and virtual terminal lines. The range is from 1 to 12 (10 VTY lines, one console, and one AUX line).

clear-line enable

Enables you to clear your existing sessions.

Defaults
Not configured. You can use all the available sessions.
Command Modes
CONFIGURATION
Command History

This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.10(0.1)
Introduced on the S6010-ON and S4048T-ON.
9.10(0.0)
Introduced on the S3148.
9.10(0.0)
Introduced on the S6100-ON.
9.8(2.0)
Introduced on the S3100 series.
9.8(1.0)
Introduced on the Z9100–ON.
9.8(0.0P5)
Introduced on the S4048-ON.
9.8(0.0P2)
Introduced on the S3048-ON.
9.8(0.0)
Introduced on the S4810, S4820, S5000, S6000, S6000-ON, and Z9500.
Usage Information

You must have either the System Administrator or Security Administrator privileges to configure login concurrent-session limit or to enable clear-line.

To limit the number of concurrent sessions that any user can have on console, auxiliary, and virtual terminal lines, use the login concurrent-session limit number-of-sessions command.

If the login concurrent-session clear-line enable command is configured, you are provided with an option to clear any of your existing sessions after a successful login authentication. When you reach the maximum concurrent session limit, you can still log in by clearing any of your existing sessions.

Example

The following example shows how to limit the number of concurrent sessions that any user can have to four:

DellEMC(conf)# login concurrent-session limit 4
DellEMC(conf)#

The following example shows how to use the login concurrent-session clear-line enable command.

DellEMC(conf)# login concurrent-session clear-line enable
DellEMC(conf)#

When you try to log in, the following message appears with all your existing concurrent sessions, providing an option to close any one of the existing sessions:

$ telnet 10.11.178.14
Trying 10.11.178.14...
Connected to 10.11.178.14.
Escape character is '^]'.
Login: admin
Password:
Current sessions for user admin:
Line              Location
2  vty 0          10.14.1.97
3  vty 1          10.14.1.97
Clear existing session? [line number/Enter to cancel]:

When you try to create more than the permitted number of sessions, the following message appears, prompting you to close one of your existing sessions. Close any of your existing sessions to log in to the system.

$ telnet 10.11.178.14
Trying 10.11.178.14...
Connected to 10.11.178.14.
Escape character is '^]'.
Login: admin
Password:
Maximum concurrent sessions for the user reached.
Current sessions for user admin:
Line              Location
2  vty 0          10.14.1.97
3  vty 1          10.14.1.97
4  vty 2          10.14.1.97
5  vty 3          10.14.1.97
Clear existing session? [line number/Enter to cancel]:
Related Commands
  • login statistics — enable and configure user login statistics on console and virtual terminal lines.
  • show login statistics — displays login statistics of users who have used the console or virtual terminal lines to log in to the system.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\