Connectivity Guide

Table Of Contents
limit number — Sets the maximum number of concurrent login sessions allowed for a user ID, from 1 to 12; default 10.
When you congure the maximum number of allowed concurrent login sessions, take into account that:
Each remote VTY connection counts as one login session.
All login sessions from a terminal emulator on an attached console count as one session.
Congure concurrent login sessions
OS10(config)# login concurrent-session limit 4
If you log in to the switch after the maximum number of concurrent sessions are active, an error message displays. To log in to the system,
close one of your existing sessions.
OS10(config)# login concurrent-session limit 4
Too many logins for 'admin'.
Last login: Wed Jan 31 20:37:34 2018 from 10.14.1.213
Connection to 10.11.178.26 closed.
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
Enable login statistics
To monitor system security, allow users to view their own login statistics when they sign in to the system. A large number of login failures or
an unusual login location may indicate a system hacker. Enable the display of login information after a user successfully logs in; for example:
OS10 login: admin
Password:
Last login: Thu Nov 2 16:02:44 UTC 2017 on ttyS1
Linux OS10 3.16.43 #2 SMP Debian 3.16.43-2+deb8u5 x86_64
...
Time-frame for statistics : 25 days
Role changed since last login : false
Failures since last login : 0
Failures in time period : 1
Successes in time period : 14
OS10#
This feature is available only for the sysadmin and secadmin roles.
Enable the display of login information in CONFIGURATION mode.
login-statistics enable
To display information about user logins, use the show login-statistics command.
Enable login statistics
OS10(config)# login-statistics enable
To disable login statistics, use the no login-statistics enable command.
Security commands
System management
621