How to list all passwords on a Cisco switch.

This Cisco command will list all passwords on a switch.

mrrobot#sh ru | inc password
service password-encryption
 password 7 00141215174C04140B70
 password 7 00141215174C04140B70

The inc command looks for any text that matches the argument.

Like this:

mrrobot#sh ru | inc line    
line con 0
line aux 0
line vty 0 4

This is how to list all users on the switch.

mrrobot#show users 
    Line       User       Host(s)              Idle       Location
*  0 con 0                idle                 00:00:00   
 
  Interface    User               Mode         Idle     Peer Address

This will give you a custom prompt.

mrrobot(config)#prompt %h:%n%p

Here is more information on customizing the Cisco prompt to your liking.

http://itknowledgeexchange.techtarget.com/network-technologies/how-to-configure-the-system-prompt-in-a-cisco-router-or-a-cisco-switch/.

Use this command in enable mode to disable console logging messages.

batman(config)#no logging console

No comments have been made. Use this form to start the conversation :)

Leave a Reply