AR28系列路由器配置備份

galdys發表於2011-08-23
 

一、   telnet路由器,開啟路由器ftp功能:建立ftp使用者,設定ftp使用者密碼

Login authentication                                               #遠端登入路由器

Username:AAAA              

Password:        

<AR28-11>system-view                                   #進入全域性模式         

System View: return to User View with Ctrl+Z.                                                                   

[AR28-11]ftp server enable                               #建立ftp server

% FTP server has been started                            

                                                                                                       

[AR28-11]local-user adminftp                          #建立ftp 使用者:adminftp

New local user added.

[AR28-11-luser-adminftp]password simple adminftp     #設定ftp密碼:adminftp

[AR28-11-luser-adminftp]service-type ftp                 #開啟ftp服務

二、   在通過網路能連線上路由器的PC機上

執行cmd

C:\Documents and Settings\ks16>ftp 192.168.1.248             #ftp路由器

Connected to 192.168.1.248     

220 FTP service ready.

User (192.168.1.248     :(none)): adminftp                       #輸入使用者名稱

331 Password required for adminftp.

Password:                                                #輸入密碼

230 User logged in.

ftp> dir                                                 #顯示選單

200 Port command okay.

150 Opening ASCII mode data connection for *.

-rwxrwxrwx   1 noone    nogroup 11941732     236 2196 main.bin

-rwxrwxrwx   1 noone    nogroup      2642 Apr 27 15:31 config.cfg

226 Transfer complete.

ftp: 收到 133 位元組,用時 0.00Seconds 133000.00Kbytes/sec.      

ftp> get config.cfg                                        #下載配置檔案

200 Port command okay.

150 Opening ASCII mode data connection for config.cfg.

226 Transfer complete.

ftp: 收到 2642 位元組,用時 0.00Seconds 2642000.00Kbytes/sec.

ftp> get main.bin                              #下載路由器系統檔案(可部下載)

Invalid command.

200 Port command okay.

150 Opening ASCII mode data connection for main.bin.

226 Transfer complete.

ftp: 收到 11941732 位元組,用時 25.48Seconds 468.58Kbytes/sec.

一般下載在PC機C盤,通過搜尋可得這兩個檔案。

三、   回到超級終端關閉ftp:

[AR28-11]undo ftp server

% Close FTP server

相關文章