1. Set Console console port password
-
Router (config) #line console 0 #进入控制台口
-
Router (config-line) #login #允许口令登录
-
Router (config-line) #password xxx #登录口令xxx
2, set the remote virtual terminal login password
-
Router (config) #line vty 0 4 #进入虚拟终端 ( maximum 5 terminals supported )
-
Router (config-line) #login #允许口令登录
-
Router (config-line) #password xxx #登录口令xxx
-
Router (config-line) #no login #不需要密码就能登录
-
Router (config-line) #no password #删除密码 (no password) Disable login
-
Telnet must be configured with enable password
3. Setting enable Enable password
-
Router (config) #enable password xxx #明文密码
-
Router (config) #enable secret xyz #加密密码 (High priority)
-
Router (config) #no enable password #删除明文密码
-
Router (config) #no enable secret #删除加密密码
Cisco IOS configuration console console port and remote virtual terminal and enable enable login password