How to list all passwords on a Cisco switch.

Posted: March 14, 2016. At: 9:53 AM. This was 2 years ago. Post ID: 8782
Page permalink.
WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters. These cookies expire two weeks after they are set.

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.

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