HC110110010 文件系统基础_第1页
HC110110010 文件系统基础_第2页
HC110110010 文件系统基础_第3页
HC110110010 文件系统基础_第4页
HC110110010 文件系统基础_第5页
已阅读5页,还剩14页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、HUAWEI TECHNOLOGIES CO., LTD.Huawei Confidential 文件系统基础Copyright 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 2前言 华为网络设备的配置文件和VRP系统文件都保存在物理存储介质中,所以文件系统是VRP正常运行的基础。只有掌握了对文件系统的基本操作,网络工程师才能对设备的配置文件和VRP系统文件进行高效的管理。Copyright 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 3学习

2、目标学完本课程后,您应该能:l掌握文件系统的基本操作Copyright 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 4基本查询命令功能命令查看当前目录 pwd显示当前目录下的文件信息 dir查看文本文件的具体内容moredirDirectory of flash:/ Idx Attr Size(Byte) Date Time 0 drw- - Apr 10 2016 09:30:35 src 1 -rw- 28 Apr 10 2016 09:31:38 private-data.txt 2 -rw- 120 Apr

3、10 2016 09:32:38 wzbk1.cfg32,004 KB total (31,995 KB free)Copyright 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 5目录操作功能命令修改用户当前界面的工作目录cd创建新的目录mkdir删除目录rmdirmkdir testInfo: Create directory flash:/test.Done.dirDirectory of flash:/ Idx Attr Size(Byte) Date Time 0 drw- - Apr 10 2016 09

4、:30:35 src 1 -rw- 28 Apr 10 2016 09:31:38 private-data.txt 2 -rw- 120 Apr 10 2016 09:32:38 wzbk1.cfg 3 drw- - Apr 10 2016 09:53:11 test32,004 KB total (31,995 KB free)Copyright 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 6文件操作功能命令复制文件copy移动文件 move重命名文件renamerename test.txt huawei.tx

5、tRename flash:/test.txt to flash:/huawei.txt ?Y/N:yInfo: Rename .txt to flash:/huawei.txt .Done.dirDirectory of flash:/ Idx Attr Size(Byte) Date Time 0 drw- - Apr 10 2016 09:30:35 src 1 -rw- 28 Apr 10 2016 09:31:38 private-data.txt 2 -rw- 120 Apr 10 2016 09:32:38 wzbk1.cfg 3 -rw- 12 Apr 10 2016 09:5

6、3:11 huawei.txt32,004 KB total (31,995 KB free)Copyright 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 7文件操作功能命令删除/永久删除文件delete /unreserved恢复删除的文件 undelete彻底删除回收站中的文件reset recycle-bindelete /unreserved flash:/huawei.txt dirDirectory of flash:/ Idx Attr Size(Byte) Date Time 0 drw- - Ap

7、r 10 2016 09:30:35 src 1 -rw- 28 Apr 10 2016 09:31:38 private-data.txt 2 -rw- 120 Apr 10 2016 09:32:38 wzbk1.cfg32,004 KB total (30,995 KB free)Copyright 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 8配置文件管理RAMCurrent-Configuration FileFlash/SD卡Saved-Configuration File保存加载l设备启动时,会加载保存

8、的配置文件到RAM,并作为当前配置文件。Copyright 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 9配置文件查询display current-configuration #sysname Huawei#Returndisplay saved-configuration #sysname Huawei#Return功能命令显示当前配置文件display current-configuration 显示保存的配置文件display saved-configuration Copyright 2016 Huawei

9、 Technologies Co., Ltd. All rights reserved. Page 10配置文件保存save The current configuration will be written to the device. Are you sure to continue? (y/n)n:y It will take several minutes to save configuration file, please wait. Configuration been saved successfully Note: The configuration take effect a

10、fter being activated功能命令保存当前配置信息saveCopyright 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 11系统启动文件查询display startup MainBoard: Startup system software: flash:/AR2220E-V200R007C00SPC600.cc Next startup system software: flash:/AR2220E-V200R007C00SPC600.cc Backup system software for ne

11、xt startup: null Startup saved-configuration file: flash:/vrpcfg.zip Next startup saved-configuration file: flash:/vrpcfg.zip Startup license file: null Next startup license file: null Startup patch package: null Next startup patch package: null Startup voice-files: null Next startup voice-files: nu

12、ll功能命令查看系统启动配置参数display startup Copyright 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 12系统启动配置文件修改startup saved-configuration flash:/huawei.zip This operation will take several minutes, please wait.Info: Succeeded in setting the configuration for booting system.display startup MainB

13、oard: Startup system software: flash:/ar2220E-V200R007C00SPC600.ccNext startup system software: flash:/ar2220E-V200R007C00SPC600.ccStartup saved-configuration file: flash:/vrpcfg.zipNext startup saved-configuration file: flash:/huawei.zipStartup paf file: NULLNext startup paf file: NULLStartup licen

14、se file: NULLNext startup license file: NULLStartup patch package: NULL Next startup patch package: NULL功能命令配置系统下次启动时使用的配置文件startup saved-configuration Copyright 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 13比较当前配置和保存的配置compare configuration = Current configuration line 36 = ip addr

15、ess #interface GigabitEthernet0/0/2#interface GigabitEthernet0/0/3#interface NULL0 = Configuration 37 =interface GigabitEthernet0/0/2#interface GigabitEthernet0/0/3#功能命令比较当前配置与下次启动的配置compare configurationCopyright 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 14

16、配置文件重置reset saved-configuration Warning: This will delete the configuration in the flash memory. The device configurations will be erased to reconfigure. Are you soure? Y/N:yInfo: Clear the configuration in the device successfully.功能命令清除下次启动时加载的配置文件reset saved-configuration Copyright 2016 Huawei Tec

17、hnologies Co., Ltd. All rights reserved. Page 15存储设备lSDRAMlFlashlNVRAM lSD CardlUSBdisplay versionSDRAM Memory Size : 1024 M bytesFlash Memory Size : 512 M bytesNVRAM Memory Size : 512 K bytes Copyright 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 16存储设备修复fixdisk flash:Fixdisk flash:

18、 will take long time if needed%Fixdisk flash: completed.fixdisk sd1:sd1:/ - disk check in progress %Fixdisk sd1: completed.l当存储设备的文件系统出现异常时,可以通过fixdisk命令进行修复。Copyright 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 17存储设备格式化format flash: All data(include configuration and system startup file) on flash: will be lost , procee

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论