通过telnet访问路由器
實驗2:通過telnet訪問路由器
1、 實驗?zāi)康?/p>
通過本次實驗我們可以掌握以下技能
1) 配置路由器以太網(wǎng)接口地址。
2) 配置路由器的enable密碼和vty密碼。
3) telnet程序的使用。
2、 實驗拓撲圖
3、 實驗步驟
(1) 配置路由器的以太網(wǎng)接口地址
RA>enable
RA#conft
RA#conf t
RA#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
RA(config)#int
RA(config)#interface f
RA(config)#interface fastEthernet 0/0
RA(config-if)#ip ad
RA(config-if)#ip address 172.16.1.1 255.255.0.0
RA(config-if)#no sh
RA(config-if)#no shutdown
RA(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
RA#
(2) 配置路由器的密碼
RA>en
RA#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RA(config)#line
RA(config)#line vt
RA(config)#line vty 0 4
RA(config-line)#pas
RA(config-line)#password 123
RA(config-line)#log
RA(config-line)#logi
RA(config-line)#login
RA(config-line)#exit
RA(config)#en
RA(config)#ena
RA(config)#enable pa
RA(config)#enable password 456
RA(config)#end
%SYS-5-CONFIG_I: Configured from console by console
RA#
(3) 通過telnet訪問路由器
雙擊“pc機”進入如下界面:
選擇“command prompt”進入,命令提示符,首先ping 172.16.1.1看能否ping通路由器,然后在通過telnet進行遠程訪問路由器。如下圖:
OK了,出現(xiàn)如上圖,表明我們可以成功的訪問路由器!!實驗成功。
轉(zhuǎn)載于:https://blog.51cto.com/lorna8023/239732
總結(jié)
以上是生活随笔為你收集整理的通过telnet访问路由器的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 轻松隐藏
- 下一篇: Visual Studio 2010 U