Router>Router>enable(进入特权模式)Router#configure terminal (进入全局模式)Enter configuration commands, one per
.
Router>
Router>enable(进入特权模式)
Router#configure terminal (进入全局模式)
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup (关闭dns域名解悉)
Router(config)#line console 0
Router(config-line)#no exec-timeout(关闭超时)
Router(config-line)#logging synchronous (日志同步)
Router(config-line)#hostname Bob(对此路由器的名称进行了修改)
//以上为基本配置与本实验无关
Bob(config)#line con 0(进入线路配置模式)
Bob(config-line)#password cisco(修改其密码为cisco)
Bob(config-line)#login(配置路由器验证)
Bob(config-line)#^Z
Bob#^Z
Bob#exit
//以上为console口配置信息,是本实验的主要内容。
Bob con0 is now available
Press RETURN to get started.
User Access Verification
Bob>en
Password:(要求输入密码)输入刚配置的密码即可。
这是最简单配置密码的命令,后续为大家介绍用户+密码的方式登录。