Posted: . At: 9:53 AM. This was 8 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.


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

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.