Administrator Guide

Enabling the System to Clear Existing Sessions
To enable the system to clear existing login sessions, follow this procedure:
Use the following command.
CONFIGURATION mode
login concurrent-session clear-line enable
NOTE: If both concurrent sessions and the maximum number of VTY lines used are the same, the next or the
following attempt will be unsuccessful and the system displays access denied message. It is not possible to attempt
after clearing one of the existing sessions as user authentication has to happen first and before clearing the existing
login sessions. During the next authentication attempt, the system does not allow any attempt to login since
maximum VTY sessions have reached and hence no clear-line option.
NOTE: If the maximum number of VTY lines are more than the concurrent sessions and the same user is attempting
to login second time or more, the system displays the Maximum concurrent sessions for the user reached
message. You are allowed to clear the existing session and login. If you do not want to clear any of the existing
session, the system does not allow any attempt to login since maximum concurrent sessions have reached even
though more VTY lines are available. You are allowed to login as a different user as more VTY lines are available.
The following example enables you to clear your existing login sessions.
DellEMC(config)#login concurrent-session clear-line enable
Example of Clearing Existing Sessions
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 the
existing sessions. If you close any of the existing sessions, you are allowed to login.
$ telnet 10.11.178.17
Trying 10.11.178.17...
Connected to 10.11.178.17.
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
Kill existing session? [line number/Enter to cancel]:
Enabling Secured CLI Mode
The secured CLI mode prevents the users from enhancing the permissions or promoting the privilege levels.
Enter the following command to enable the secured CLI mode:
CONFIGURATION Mode
Management
65