cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1878
Views
1
Helpful
4
Replies

How to check for a type 7 password on Cisco Device?

ZohaibAli4149
Level 1
Level 1

Hello, I have a bunch of devices that I have to check on for a "Type 7 password" configured on them. How would I check the config for a "Type 7 password? What commands would I used to find that out?

 

Thanks,

1 Accepted Solution

Accepted Solutions

liviu.gheorghe
Spotlight
Spotlight

Hello @ZohaibAli4149 ,

you can issue the command show running-config | include password

You should get an output like this:

username admin privilege 15 password 7 096F441A9A0A469059

password 7 01301F275804515D74

The first line of output is clear - you can have type 7 passwords in username configuration.

The second line doesn't provide much context to help you pinpoint the place where the command is. This command is located in the line vty configuration.

Hope this helps.

Regards, LG
*** Please Rate All Helpful Responses ***

View solution in original post

4 Replies 4

liviu.gheorghe
Spotlight
Spotlight

Hello @ZohaibAli4149 ,

you can issue the command show running-config | include password

You should get an output like this:

username admin privilege 15 password 7 096F441A9A0A469059

password 7 01301F275804515D74

The first line of output is clear - you can have type 7 passwords in username configuration.

The second line doesn't provide much context to help you pinpoint the place where the command is. This command is located in the line vty configuration.

Hope this helps.

Regards, LG
*** Please Rate All Helpful Responses ***

Ruben Cocheno
Spotlight
Spotlight

@ZohaibAli4149 

You probably need to walkthrough the config and verify all of it, and if you need to reverse it you can use this https://github.com/theevilbit/ciscot7

Tag me to follow up.
Please mark it as Helpful and/or Solution Accepted if that is the case. Thanks for making Engineering easy again.
Connect with me for more on Linkedin https://www.linkedin.com/in/rubencocheno/

Gopinath_Pigili
Spotlight
Spotlight

Hello ZohaibAli4149,

If you give the command "service password-encryption" command in Global mode...this enables all your router passwords will bet encrypted by MD-7

First document all your passwords...like enable password, console password and vty password then give the following command:

Rourter/Switch (config)# service password-encryption

you can verify with  show running-config command in privileged mode

Router/Switch# show running-config

Best regards
******* If This Helps, Please Rate *******

show run | include _7_

Review Cisco Networking for a $25 gift card