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