we are using Console connect the router and the computer, start the router and use the Putty connect to the router's console ( Console ), it is recommended that you first configure the hostname of the router ( hostname ) To facilitate identification, configure the privileged mode ( Enable ) Password and vty ( telnet ) password to protect the router.
Cisco the privileged mode password of the router is divided into plaintext password and encrypted password, it is recommended to configure the encryption password directly, because the plaintext password can be Show Running_configure command to see directly.
Set enable Clear text password
router> enable ' user mode enters privileged mode
Router # Configure terminal ' entering global configuration mode from privileged mode
Router (config) #hostname yong1 ' Change the router name to Yong1
Yong1 (config) # enable password Guoyong ' set privileged password to Guoyong
Yong1 (config) #exit ' access to privileged view by global configuration view
yong1#exit ' back to User mode
Yong1>
WiFi Environment Please click the following link to watch the demo
Privileged mode plaintext password settings
Set Enable Encrypt Password (no correlation with the above command)
router> enable ' user mode enters privileged mode
Router # Configure terminal ' entering global configuration mode from privileged mode
Router (config) #hostname yong1 ' Change the router name to Yong1
Yong1 (config) # enable secret Guoyong ' set the privileged password to Guoyong
Yong1 (config) #exit ' access to privileged view by global configuration view
yong1#exit ' back to User mode
Yong1>
WiFi Environment Please click the following link to watch the demo
Privileged Mode encryption Password
Set vty Line Password (control telnet login)
yong1>enable
yong1#conf t conf t Yes configure terminal shorthand
Yong1 ( config ) #vty line 0-4 ' encryption vty 0-4
Yong1 ( Config_line ) #password Yongguo ' Set telnet Password is Yongguo
Yong1 (Config_line) #login
Yong1 (config_line) #end ' Exit port configuration mode
yong1#
WiFi Environment Please click the following link to watch the demo
vty line password settings
This article is from the "Guo Yong Technology blog" blog, make sure to keep this source http://guoyong.blog.51cto.com/408495/1747364
Cisco Router Foundation Security Configuration---Privileged mode and vty line password