華為VRP文件系統基礎命令


1. 查看當前目錄位置 ——pwd

2.顯示當前目錄下的文件信息 —— dir

3. 查看文本文件的具體內容 —— more

4. 修改用戶當前界面的工作目錄 —— cd 

5. 創建新的目錄 —— mkdir

6. 刪除目錄 —— rmdir

7. 復制文件 —— cp

8. 移動文件 —— move

9. 重命名文件 —— rename 

10. 刪除/永久刪除文件 ——  delete /unreserved

11. 恢復刪除的文件 —— undetele

12. 徹底刪除回收站中的文件 ——   reset recycle-bin

13. 配置系統下次啟動時使用的配置文件 —— startup saved-configuration

14. 清除下次啟動時加載的配置文件—— reset saved-configuration

15. 修復存儲設備 —— fixdisk       常見得存儲設備: SDRAM、Flash、NVRAM、SD卡、U盤

16. 格式化存儲設備 —— format 

 

從FTP服務器更新配置:

<RTA>dir
……
508,248 KB total (2,334 KB free)
<RTA>delete /unreserved flash:/ar2220E_v100r006c00.cc          // 刪除本地配置文件,釋放空間
……
<RTA>ftp 10.1.1.2                                 // 連接服務器
Trying 10.1.1.2 ...
Press CTRL+K to abort
Connected to 10.1.1.2.
220 FTP service ready.
User(10.1.1.2:(none)):huawei                          // 登陸用戶
331 Password required for huawei.
Enter password:                                  // 密碼
230 User logged in.
[ftp]get AR2220E-V200R007C00SPC600.cc                     // 下載文件

從TFTP服務器更新:

<RTA>tftp 10.1.1.2 get AR2220E-V200R003C00SPC600.cc

 

 指定下次啟動文件:

<RTA>startup system-software AR2220E-V200R007C00SPC600.cc
Info: Succeeded in setting the software for booting system
<RTA>display startup 
MainBoard: 
 Startup system software:     flash:/ar2220E_V200R007C00SPC600.cc  
 Next startup system software:flash:/ar2220E_V200R007C00SPC600.cc
 Startup saved-configuration file:          NULL
 Next startup saved-configuration file:     NULL

 

重啟生效:

<RTA>reboot 
Info: The system is now comparing the configuration, please wait.
Warning: All the configuration will be saved to the configuration file for the next startup, Continue?[Y/N]:n
System will reboot! Continue?[Y/N]:y

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM