Analysis of Cisco networking device password

Source: Internet
Author: User

Cisco networking device: password explanation

Password0 + password: Set the plaintext password. The password can be seen in both transmission and show.

Password7 + password: Set the ciphertext password, which must be followed by the ciphertext. How can this ciphertext be obtained? In fact, you do not have to consider that when your switch enables the encryption service, it is the ciphertext directly.

Cisco networking device: understanding of plaintext and ciphertext passwords

You do not need to manually add 0 to the plaintext password. The default value is to set the password.

View password configuration

The above can clearly show the enable password I set earlier. Next we will enable the encryption service, and write down the enable Password aaa I just set before enabling it)

After encryption is enabled, it is automatically changed to 1416130A after 7, which is the encryption of the ciphertext aaa)

Cisco networking device: we will not enable the encryption service

What should I do if I need ciphertext for telnet and enable plaintext? Of course, this is not the case in practice. If this is to help you understand), enable password can be used to enablepassword + password directly. What should I do if telnet does not support secret? Password7 + password: the password must be encrypted by the cisco device, just like the aaa ciphertext above is 1416130A). What should I do if I set the telnet password to aaa? password71416130A, in this case, enter the password aaa for telnet login.

Set the user name and password, and use the user name and password to log on via telnet. The configuration is as follows:

(Config) # usernameaa1_vilege15password0aaa1

After login via telnet, you only need to enter the user name and password to enter the privileged mode.

Cisco networking device: configuration instance

Enable password is set to aaa, telnet password is set to bbb, console password is set to ccc, and switch user name abc) and password abc ), when you set console and telnet logon, you only need to enter the user name and password to log on. That is, you can enter the user name abc and password abc to directly log on to the vswitch router and directly enter the privileged mode. And all encryption is required! Showrunning-config cannot see the password.

The configuration is as follows:

 
 
  1. Router(config)#enablesecretaaa  
  2.  
  3. Router(config)#linecon0  
  4.  
  5. Router(config-line)#passwordccc  
  6.  
  7. Router(config-line)#exec-timeout010  
  8.  
  9. Router(config-line)#loginlocal  
  10.  
  11. Router(config-line)#exit  
  12.  
  13. Router(config)#linevty04  
  14.  
  15. Router(config-line)#passwordbbb  
  16.  
  17. Router(config-line)#exec-timeout010  
  18.  
  19. Router(config-line)#loginlocal  
  20.  
  21. Router(config-line)#exit  
  22.  
  23. Router(config)#servicepassword-encryption  
  24.  
  25. Router(config)#usernameabcprivilege15passwordabc 

Set!

The following figure shows the configuration in showrunning-config.

 
 
  1. Router#showrun  
  2.  
  3. Buildingconfiguration...  
  4.  
  5. Currentconfiguration:1144bytes  
  6.  
  7. !  
  8.  
  9. !Lastconfigurationchangeat22:19:07CDTWedMay112011  
  10.  
  11. !  
  12.  
  13. version12.4  
  14.  
  15. servicetimestampsdebugdatetimemsec  
  16.  
  17. servicetimestampslogdatetimemsec  
  18.  
  19. servicepassword-encryption  
  20.  
  21. !  
  22.  
  23. hostnameRouter  
  24.  
  25. !  
  26.  
  27. boot-start-marker  
  28.  
  29. boot-end-marker  
  30.  
  31. !  
  32.  
  33. enablesecret5$1$bLK6$.2O8OpX8WEfH8BNvxjFZT.  
  34.  
  35. !  
  36.  
  37. noaaanew-model  
  38.  
  39. memory-sizeiomem5  
  40.  
  41. clocktimezoneBeijing8  
  42.  
  43. clocksummer-timeCDTrecurring  
  44.  
  45. ipcef  
  46.  
  47. !  
  48.  
  49. !  
  50.  
  51. !  
  52.  
  53. usernameabcprivilege15password70005110544  
  54.  
  55. !  
  56.  
  57. !  
  58.  
  59. !  
  60.  
  61. linecon0  
  62.  
  63. exec-timeout010  
  64.  
  65. password714141108  
  66.  
  67. loginlocal  
  68.  
  69. lineaux0  
  70.  
  71. linevty04  
  72.  
  73. exec-timeout010  
  74.  
  75. password706040D23  
  76.  
  77. loginlocal  
  78.  
  79. !  
  80.  
  81. !  
  82.  
  83. end 

After the Cisco networking device is configured in this way, the system prompts you to enter username after entering the password and press enter to enter the privileged mode. Some passwords can be changed to secret.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.