Skip to main content

192.168.1.1 > 新闻资讯 >

路由器为Client时的维护

2012-04-13 16:05 浏览:

 我们也可以通过搭建FTP服务器,路由器做客户端来实现对路由器文件系统的维护。

 第一步:搭建环境

  路由器为客户端,用户在微机上运行FTP服务器程序作为FTP服务器。并设置好FTP服务器的路径,同时为路由器添加用户名和密码。

  配置两边IP地址为同一网络,本节在服务器一端设置为192.168.1.1,与其相连的路由器以太网口(本例为Ethernet 0/0,任何以太网口均可)设置为192.168.1.2。双方可以用ping命令检验是否连接成功。

  

 第二步:通过连接在路由器Console口的终端对路由器进行维护

  本例如下:

  ftp 192.168.1.1

  Trying 192.168.1.1 ...

  Press CTRL+K to abort

  Connected to 192.168.1.1.

  220 3Com 3CDaemon FTP Server Version 2.0

  User(192.168.1.1:(none)):guest

  331 User name ok, need password

  Password:

  230 User logged in

  [ftp]

  连接成功后,我们通过如下命令完成对路由器的维护

  同样我们是通过get和put的命令实现对文件的备份和恢复:

  [ftp]get main.bin main.bin

  flash:/main.bin has been existing. Overwrite it?[Y/N]:y

  200 PORT command successful.

  150 File status OK ; about to open data connection

  226 Closing data connection; File transfer successful.

  FTP: 14323376 byte(s) received in 69.256 second(s) 206.00K byte(s)/sec.

  [ftp]put main.bin main.bin

  200 PORT command successful.

  150 File status OK ; about to open data connection

  226 Closing data connection; File transfer successful.

  FTP: 14323376 byte(s) sent in 15.974 second(s) 896.00Kbyte(s)/sec.

  [ftp]quit

  221 Service closing control connection

  注意事项

相关文章

家里新装了宽度,怎么挑选路由器

2024-09-12 21:49:25    浏览: 154

中国人使用最多的十大路由器品牌,TP-LINK、华为、小米、水星路由器上榜

2024-09-12 21:43:21    浏览: 56

光猫可以设置WiFi,为什么还要买路由器?

2023-01-28 19:39:48    浏览: 165

华为mate50pro上市价格

2022-08-19 16:37:26    浏览: 141

华为mate50pro价格详细介绍

2022-08-19 16:37:41    浏览: 111