IOS配置基础(7)<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
视频地址:http://www.enet.com.cn/eschool/video/autohtml/449/761/6.shtml
1、 查看路由器的状态
Show version
Show running-config
Show startup-config
Show interface 接口
2、 配置路由器的密码
(1)作用:用于控制对Console的访问(Console密码)
配置步骤:
Router(config)#line console 0
Router(config-line)#login (删除密码 no login)
Router(config-line)#password+密码字符串
(2)作用:控制对虚拟终端的访问(Telnet密码)
配置步骤:
Router(config)#line vty 0 4
Router(config-line)#login (删除密码 no login)
Router(config-line)#password+密码字符串
(3)作用:控制对AUX接口的访问(AUX密码)
配置步骤:
Router(config)#line aux 0
Router(config-line)#login
Router(config-line)#password+密码字符串
配置特权模式密码
(1) 不加密密码
Router(config)#enable password + 密码字符串
(2) 配置加密密码
Router(config)#enable secert + 密码字符串(no enable secret)
注意
两种密码不能相同
同时配置两种密码,以Secret为准
3、 配置路由器的标识
(1)Router Name 命令:hostname + 名称
转载于:https://blog.51cto.com/vvv1420/165873