mgmt-session-show
In earlier versions of Netvisor, Netvisor did not support viewing current user sessions using the CLI. This can be very useful for security and troubleshooting. Netvisor now lists all currently logged-in users along with the IP they are connecting from and the login time when you execute the command, mgt-session-show.
Syntax showmgmt-session-
user user-string |
Displays the user name. |
cli-user cli-user-string |
Displays the name used to log into the switch. |
pid pid-number |
Displays the process ID. |
terminal terminal-string |
Displays the terminal. |
from-ip ip-address |
Displays the IP address for the user. |
login-time date/time: yyyy-mm-ddTHH:mm:ss |
Displays the time and date that the user logged into the switch. |
remote-node remote-node-string |
Displays the name of the remote node. |
vnet vnet-string |
Displays the VNET assigned to the user. |
type cli|api|shell |
Displays the type of login session. |
Defaults None
Access Network Administrator
History Command introduced in Version 3.0.0
Usage Use this command to display users logged into the switch.
Examples To display users logged into the switch, NAT-1, use the following syntax:
CLI network-admin@switch > mgmt-session-show
switch user cli-user pid terminal from-ip login-time type
------------- ----- ------------- ----- -------- ------------ ------------ -------
Spine-ext-41 admin network-admin 13805 pts/3 10.60.1.216 11:20:52 cli
Spine-ext-41 root network-admin 8589 pts/2 10.14.20.109 11-15,17:16:17 cli