7、目标:
熟练掌握如何为路由器各个配置模式设置密码.
语法:
1.从全局配置模式进入线路配置模式,进入控制台口线路:
Router(config)#line {console|aux|vty} {start-number} [end-number]
2.设置密码:
Router(config-line)#password {password}
3.启用登陆:
Router(config-line)#login
8、目标:
熟练掌握如何为路由器关闭 DNS 查询功能.
语法:
全局配置模式下,关闭 DNS 查询功能:
Router(config)#no ip domain lookup
9、目标:
熟练掌握如何连通路由器并进行相互间 ping 和 telnet 的测试.
语法:
1.进入接口配置模式:
Router(config)#interface {type} {number}
2.为接口设置 IP 地址信息:
Router(config-if)#ip address {ip-address} {mask}
3.根据需要,如果接口为串行接口,要为 DCE 端设置时钟频率:
Router(config-if)#clock rate {speed}
4.开启接口:
Router(config-if)#no shutdown
转载于:https://blog.51cto.com/sunzy/398533