分以下5点
如下
最基本的配置
重命名路由器1
Router(config)#hostname r2
关闭域名查找1
r2(config)#no ip domain-lookup
设置输入同步1
2r2(config)#line console 0
r2(config-line)#logging synchronous
设置执行会话时间为20分钟1
r2(config-line)#exec-timeout 2000
设置路由器的时区、日期和时钟
1 | r1#sh clock |
设置路由器接口的IP地址
1 | router(config)#int f0/1 //int为interface缩写,以f0/1口为例 |
设置密码
1 | r3(config)#enable password 111 //设置enable的明文密码 |
创建静态hostname表,然后使用该表对直连路由器进行telnet访问
r3(config)#ip host r3 192.168.23.2
//设置之后,PC机就可以远程管理路由器了