Viewing User Sessions on a Switch


Netvisor ONE enables you to view the user sessions on a specified switch and displays all currently logged-in users along with the IP address of the user and login time when you run the command, mgmt-session-show.  This information is useful for troubleshooting purposes or while dealing on issues with Pluribus Customer Support teams.


CLI (network-admin@Leaf1) > mgmt-session-show


Specify any of the following:


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 ID

from-ip ip-address

Displays the IP address of  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.


For example,


CLI (network-admin@Leaf1) > mgmt-session-show


user   cli-user         pid    terminal  from-ip      login-time             type

----   -------        ---    -------  --------      ---------             ----

admin  network-admin  13805  pts/3    10.60.1.216   11:20:52                cli

root   network-admin  8589   pts/2    10.14.20.109  11-15,17:16:17        cli

       network-admin                                            08:24:10                cli

root                         19139   pts/1    10.14.22.54   11-15,11:01:08        shell


In this example, the root user represents the user who has all access by default, while the admin user has only customized access privileges.


north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south