In CISCO router products, we usually need to restrict the access of general users during initial configuration. This is very important for Routers. By default, Our routers are an open system and the access control options are all disabled, any user can log on to the device to initiate further attacks, therefore, our network administrator needs to configure a password to restrict unauthorized users from accessing devices through direct connections, CONSOLE terminals, and dial-up MODEM lines. Next we will introduce in detail how to configure the vro password on the CISCO router product.
Configure the password and key used to enter the privileged mode:
These two passwords are used to restrict unauthorized users from entering the privileged mode. Because the privileged password is unencrypted, we generally recommend that you use the privileged key, which is valid only when the privileged key is not used.
1. router (config) # enable password cisco
Command explanation:Enable privileged password protection.
2. router (config) # enable secret cisco
Command explanation:Enable 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:Enable password protection
3. router (config-line) # password cisco
Command explanation:Set the password to cisco. The password here is case sensitive.
Configure the user password for the Auxiliary Port AUX:
1. router (config) # line aux 0
Command explanation:Enter the Auxiliary port configuration mode.
2. router (config-line) # login
Command explanation:Enable password protection
3. router (config-line) # password cisco
Command explanation:Set the password to cisco. The password here is case sensitive.
Configure the VTY (telnet) logon password:
1. router (config) # line vty 0 4
Command explanation:Enter the VTY configuration mode.
2. router (config-line) # login
Command explanation:Enable password protection
3. router (config-line) # password cisco
Command explanation:Set the password to cisco. The password here is case sensitive.