Cisco combat-Don't let bad guys log on to the device

Source: Internet
Author: User
Set Password

Method 1:

(config-line)#line vty 0 4        #设置远程连接数,允许从0到4一共五个连接数(config-line)#password 123   #设置远程登录(即telnet)密码为123(config-line)#login                  #开启远程登录密码验证

Method 2:

(config-line)#line vty 0 4     #设置远程连接数,允许从0到4一共五个连接数(config-line)#login local      #设置远程登录时,先输入用户名,再输入密码后才能登录。 而login只是要求提供密码(config-line)#username hello  password 123  #设置用户名为hello,密码为123  

Summary: The latter is more secure, custom users and passwords, such as obsessive-compulsive disorder can also be entered in the privileged mode with a password, and all passwords are encrypted.

Router(config)#enable password 123 #明文密码Router(config)#enable secret 123 #密文密码Router(config)#service password-encryption    #加密所有密码

Cisco combat-Don't let bad guys log on to the device

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.