howtonetwork.net

Cisco Certification Training

  • Products
  • CCNA
    • CCNA Videos
    • CCNA Lectures
    • CCNA Practice Exams
    • Challenge Labs
      • Challenge Video Solutions
    • Cisco Commands
  • CCNP ROUTE
    • ROUTE Exams
  • CCNP SWITCH
    • SWITCH Exams
  • CCNP TSHOOT
  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training
You are here: Home / Service Password-Encryption

Service Password-Encryption

Command

Service Password-Encryption

Use

Allows you to encrypt all passwords on your router so they can not be easily guessed from your running-config.
This command uses a very weak encryption because the router has to be very quickly decode the passwords for its operation.
It is meant to prevent someone from looking over your shoulder and seeing the password, that is all.

Syntax

R2(config)#service password-encryption

Example

In the below example we will set a password for telnet then we will encrypt it.

R2(config)#line vty 0 4
R2(config-line)#password cisco

R2(config-line)#do sh run | sec vty
line vty 0 4
password cisco
login
transport input telnet ssh

Now we will encrypt the password with service password-encryption

R2(config)#service password-encryption
R2(config)#do sh run | sec vty
line vty 0 4
password 7 060506324F41
login
transport input telnet ssh

To illustrate how easy it is to decode the password, we will make a key chain like you would to authenticate RIP

R2(config)#key chain CRACK_ENCRYPTION
R2(config-keychain)#key 1
R2(config-keychain-key)#key-string 7 060506324F41

R2#show key chain
Key-chain CRACK_ENCRYPTION:
key 1 — text “cisco”
accept lifetime (always valid) – (always valid) [valid now]
send lifetime (always valid) – (always valid) [valid now]
R2#

 
Get access to over 5 hours of IT webinar videos as well as regular study tips and ideas when you
join our mailing list

About This Site

We replaced this site some time ago with an upgraded version. Please feel free to enjoy the content and if you like what you see check out our brilliant new site:

howtonetwork.com

Keep In Touch

About Us

This is a free access website which has now been replaced by howtonetwork.com.

Navigation

  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training

Copyright

All content is protected by international copyright laws. Copyright Reality Press Ltd.

Copyright © 2023 · Dynamik Website Builder on Genesis Framework · WordPress · Log in