How to set the Cisco router password

Source: Internet
Author: User
Tags password protection

In the Cisco router product, we usually need to use restricted access for general users when we initially configure. This is very important for routers, by default, our router is an open system, access control options are turned off, any user can log on to the device for further attack, so we need our network administrator to configure the password to restrict unauthorized users through direct connections, Console terminals and access devices from the Dial-up modem line. Here's a detailed description of how to configure the router's password on the Cisco router product.

Configure passwords and keys to enter privileged mode:

These two passwords are used to restrict unauthorized user access to privileged mode. Because privileged passwords are unencrypted, we generally recommend that users use privileged keys, and that privileged passwords are valid only if the privileged key is not in use.

1. Router (config) #enable password Cisco

Command explanation: Open Privileged password protection.

2. Router (config) #enable secret Cisco

Command explanation: Open Privileged key protection.

Configure the user password for the control port

1, Router (config) #line console 0

Command explanation: Enter the control line configuration mode.

2, Router (config-line) #login

Command explanation: Open Login password protection

3, Router (config-line) #password Cisco

Command explanation: Set the password to Cisco, where the password is case-sensitive.

Configure the user password for the secondary port (AUX):

1, Router (config) #line aux 0

Command interpretation: Enter secondary port configuration mode.

2, Router (config-line) #login

Command explanation: Open Login password protection

3, Router (config-line) #password Cisco

Command explanation: Set the password to Cisco, where the password is case-sensitive.

Configure vty (telnet) login access password:

1, Router (config) #line vty 0 4

Command explanation: Enter vty configuration mode.

2, Router (config-line) #login

Command explanation: Open Login password protection

3, Router (config-line) #password Cisco

Command explanation: Set the password to Cisco, where the password is case-sensitive.

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.