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 mgmt-session-show
user user-string |
The user name. |
cli-user cli-user-string |
Name used to log into the switch. |
pid pid-number |
The process ID. |
terminal terminal-string |
The terminal. |
from-ip ip-address |
The IP address for the user. |
login-time date/time: yyyy-mm-ddTHH:mm:ss |
The time and date that the user logged into the switch. |
remote-node remote-node-string |
Name of the remote node. |
vnet vnet-string |
The vNET assigned to the user. |
type cli|api|shell |
The type of login session. |
Defaults None
Access Network Administrator
History
Version 3.0.0 |
Command introduced. |
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
------ ---- ------------- ------ -------- ----------- ------------------- ----
switch root network-admin 394801 pts/0 10.140.0.54 2022-01-11,19:36:09 cli