Log in Go to the main page Page Discussion History Go to the file list Go to the site toolbox

Show users command

From NetworkCommands


Image:Cisco-logo-large.gif

A command available on most Cisco IOS based platforms; used to display ssh, telnet and console (i.e. line) connections (in)to the device.

Contents

Image:Vm-power-on-medium.png Usage Syntax

show users [all]

The all option displays additional information about inactive ports.

Image:accessories-text-editor-v2-medium.png Usage Notes

The hidden who command has the same function

The method used to actually connect to a VTY line is not displayed.

Image:utilities-terminal-medium.png Typical Output

show users

    Line       User       Host(s)              Idle       Location
*  1 vty 0     testuser   idle                 00:00:00 99.166.13.68

  Interface      User        Mode                     Idle     Peer Address

show users all

    Line       User       Host(s)              Idle       Location
   0 con 0                                     00:00:00
*  1 vty 0     testuser   idle                 00:00:00 10.220.18.86
   2 vty 1                                     00:00:00
   3 vty 2                                     00:00:00
   4 vty 3                                     00:00:00
   5 vty 4                                     00:00:00

  Interface      User        Mode                     Idle     Peer Address

Image:icemon-medium.png Related Commands

Use the show line command to display the lines available on the device

Use the send command to send a message to another or all console or vty lines

The Cisco show ssh command can be used to display more detailed ssh connection information, including encryption algorithm.

The connect command and telnet command can both be used to initiate outbound connections to other devices

Image:object-flip-horizontal-medium.png Command Equivalents

The Cisco CSS command equivalent is the show lines command

The Linux platform command equivalent has the same name: who command, Linux

The Zebra routing application suite command equivalent has the same name: who command, Zebra

The Extreme command equivalent is the show session command, which includes ssh connection information.

The Juniper command equivalent is the show system users command


Image:internet-group-chat-small.png We really do appreciate all feedback so please do send your comments, suggestions or corrections to steve#networkstuff.eu (replacing the # with an @)



Site Toolbox:

Personal tools
This page was last modified on 1 September 2008, at 16:35. - This page has been accessed 47 times. - Disclaimers - About NetworkCommands
Powered by MediaWiki