H3C系统及配置文件备份操作文档推荐

上传人:粗**** 文档编号:135281781 上传时间:2020-06-14 格式:PDF 页数:5 大小:8.99KB
返回 下载 相关 举报
H3C系统及配置文件备份操作文档推荐_第1页
第1页 / 共5页
H3C系统及配置文件备份操作文档推荐_第2页
第2页 / 共5页
H3C系统及配置文件备份操作文档推荐_第3页
第3页 / 共5页
H3C系统及配置文件备份操作文档推荐_第4页
第4页 / 共5页
H3C系统及配置文件备份操作文档推荐_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
资源描述

《H3C系统及配置文件备份操作文档推荐》由会员分享,可在线阅读,更多相关《H3C系统及配置文件备份操作文档推荐(5页珍藏版)》请在金锄头文库上搜索。

1、系统及配置文件备份操作 使用系统操作及文件操作的基本命令 进入系统视图 执行 system view 命令进入系统视图 系统视图的提示符为 系统名 执行 quit 命令可以从系统视图 切换到用户视图 练习使用帮助特性和补全键 s sysname 更改系统名称 H3C sysname YourName YourName 更改系统时间 YourName display clock 17 28 07 UTC Mon 09 08 2008 YourName quit clock datetime 10 20 30 10 01 2008 display clock 10 20 32 UTC Wed 10

2、 01 2008 显示系统运行配置 display current configuration 显示保存的配置 display saved configuration 此时尚未保存配置 因此不存在saved configuration 保存配置 默认配置文件名通常为 某些版本为 save The current configuration will be written to the device Are you sure Y N Please input the file name cfg cf To leave the existing filename unchanged press t

3、he enter key Validating file Please wait Now saving current configuration to the device Saving configuration cf Please wait Configuration is saved to cf successfully save The current configuration will be written to the device Are you sure Y N y Please input the file name cfg cf To leave the existin

4、g filename unchanged press the enter key cf exists overwrite Y N y Validating file Please wait Now saving current configuration to the device Saving configuration cf Please wait Configuration is saved to cf successfully 由于执行了save 命令 保存配置与运行配置一致 删除和清空配置 YourName undo sysname reset saved configuration

5、 The saved configuration file will be erased Are you sure Y N y Configuration file in cf is being cleared Please wait Configuration file in cf is cleared reboot Start to check configuration with next startup configuration file please wait This command will reboot the device Current configuration may

6、 be lost in next startup if you continue Continue Y N Y 显示文件目录 pwd cf dir Directory of cf 0 drw Jan 19 2007 18 26 34 logfile 1 rw Aug 03 2007 17 59 36 2 rw 739 Oct 01 2008 10 15 54 249852 KB total 221648 KB free File system type of cf FAT32 显示文本文件内容 用 more 命令 改变当前工作路径 使 cd 命令 文件删除 用 save dir delete

7、dir 命令 虽然删除了该文件 但是在删除该文件前后 为什么CF卡的可用内存空间却没有变化呢 那是因为 使用 delete 命令删除文件时 被删除的文件被保存在回收站中 仍会占用存储空间 如果用户经常 使用该命令删除文件 则可能导致设备的存储空间不足 如果要彻底删除回收站中的某个废弃文件 必须在文件的原归属目录下执行reset recycle bin命令 才可以将回收站中的废弃文件彻底删除 以 回收存储空间 dir all 命令显示内容包括隐藏文件 隐藏子文件夹以及回收站中的原属于该目录下的文件的信息 回收站里的文件会以方括号 标出 文件应该仍然存在于CF卡的回收站中 用 reset recy

8、cle bin 命令清空回收站后 可发现文件列表中已经找不到文件 并且可用内存空间已经 增加 使用 delete unreserved命令删除一个文件 则该文件将被彻底删除 不能再恢复 其效果等同于执 行 delete 命令之后 再在同一个目录下执行了reset recycle bin 命令 通过 Telnet 登录 通过 Console 口配置 Telnet 用户 YourName luser test password simple test YourName luser test service type telnet YourName luser test level 0 YourNa

9、me luser test quit 在某些 CMW 版本中需用命令authorization attribute level 0替代命令level 0 配置 super 口令 YourName super password level 3 simple H3C 配置登录欢迎信息 YourName header login Please input banner content and quit with the character Welcome to H3C world YourName 配置对 Telnet 用户使用缺省的本地认证 YourName user interface vty

10、0 4 YourName ui vty0 4 authentication mode scheme 进入接口视图 配置以太口和PC网卡地址 YourName interface GigabitEthernet 0 1 YourName GigabitEthernet0 1 ip add 打开 Telnet 服务 YourName telnet server enable Telnet server has been started 使用 Telnet 登录 telnet 由于此时登录用户处于访问级别 所以只能看到并使用有限的几个命令 同时 超级终端上 会有如下信息显示 表明源IP 为的设备远程

11、登入到路由器上 Oct 2 10 27 13 325 2008 YourName SHELL 4 LOGIN test login from 更改登录用户级别 super 3 能使用的命令明显多于level0 保存配置 重新启动 使用 save 和 reboot 命令 使用 FTP上传下载系统文件 通过 Console 口配置 FTP用户 YourName local user test ftp YourName luser test ftp password simple test ftp YourName luser test ftp service type ftp YourName l

12、user test ftp level 3 打开 FTP服务 YourName ftp server enable Info Start FTP server 使用 FTP登录 使用 FTP上传文件 如果用户以Administrator登录 PC 则默认的本地目录是C Documents and Settings Administrator 使用 FTP下载文件 dir 通常为或 使用 TFTP上传下载系统文件 本实验以3CDaemon 程序作为TFTP的服务器端 实际上任何支持TFTP服务的程序均可以使用 启动 TFTP服务器端程序 使用 TFTP下载文件 tftp get The file

13、 exists Overwrite it Y N y Verifying server file Deleting the old file please wait File will be transferred in binary mode Downloading file from remote tftp server please wait TFTP 913 bytes received in 0 second s File downloaded successfully 使用 TFTP上传文件 tftp put File will be transferred in binary mode Sending file to remote tftp server Please wait TFTP 940 bytes sent in 0 second s File uploaded successfully

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 大杂烩/其它

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号