Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

12071

February 2nd, 2012 10:00

How do I list user accounts on a Cisco SAN Switch with commands?

All:

I created a new user with the following commands:

     switch# config terminal

     switch(config)# username fedona password sox2004ch@mps role network-admin

And now I want to list the existing accounts to see if it was created. 

I can't find the command to do that.  Can anybody tell me what the command is, please?

     Stuart

5 Practitioner

 • 

274.2K Posts

February 2nd, 2012 10:00

The show users command displays all users currently accessing the switch.

Example:

switch# show users
admin pts/7 Jan 12 20:56 (10.77.202.149)
admin pts/9 Jan 12 23:29 (modena.cisco.com)
admin pts/11 Jan 13 01:53 (dhcp-171-71-49-49.cisco.com)

If SNMP is used, then the following holds good

Example:

switch# show snmp user
______________________________________________________________
SNMP USERS
______________________________________________________________
User Auth Priv(enforce) Groups
____ ____ _____________ ______
admin md5 des(no) network-admin
testusr md5 aes-128(no) role111
role222
______________________________________________________________
NOTIFICATION TARGET USERS (configured for sending V3 Inform)
______________________________________________________________
User Auth Priv
____ ____ ____
testtargetusr md5 des
(EngineID 0:0:0:63:0:1:0:0:0:15:10:3)

197 Posts

February 2nd, 2012 10:00

Configured user accounts:

show user-account

Users currently logged in:

show users

No Events found!

Top