HCIA认证学习笔记5:VRP的基本命令小结
Tachyon.xue
本文讲述了HCIA认证VRP的基本命令。分享给大家供大家参考,具体如下:
VRP操作
[tachyonAR01]header login information "XXXXXXXX" \\用户登录前标题信息 [tachyonAR01]header shell information "XXXXXXXX" \\用户登录后的标题信息
命令权限等级
0-15
文件系统管理命令
基本查询命令
目录操作
文件操作
重点:保存命令
保存命令save(必须在用户模式下才可以使用)
正在运行的(在内存里的)键入save会保存在flash:下的vrpcfg.zip里面
系统启动文件查询
display startup查看下次系统启动的文件
<tachyonAR01>display startup //查看下次系统启动的文件 MainBoard: Startup system software: null Next startup system software: null Backup system software for next 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: null
配置系统下次启动时使用的文件
startup saved-configuration
<tachyonAR01>startup ? patch Config patch file for system to startup \\补丁,加载补丁 saved-configuration Config saved-configuration file for system to startup \\加载下次的配置 system-software Config system software for system to startup \\加载下次启动的软件
<tachyonAR01>startup saved-configuration tachyon.zip \\更改下次启动使用的文件为tachyon.zip This operation will take several minutes, please wait.... Info: Succeeded in setting the file for booting system <tachyonAR01>display startup \\查看下 MainBoard: Startup system software: null Next startup system software: null Backup system software for next startup: null Startup saved-configuration file: flash:/vrpcfg.zip Next startup saved-configuration file: flash:/tachyon.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: null
比较当前配置和保存的配置
<tachyonAR01>compare configuration \\比较当前配置和保存的配置命令 The current configuration is not the same as the next startup configuration file. ====== Current configuration line 33 ====== \\当前配置情况 ip address 20.1.1.1 255.255.255.0 # interface GigabitEthernet0/0/2 # interface NULL0 # user-interface con 0 authentication-mode password ====== Configuration file line 33 ====== \\保存配置的情况 # interface GigabitEthernet0/0/2 # interface NULL0 # user-interface con 0 authentication-mode password user-interface vty 0 4
配置文件重置(可以用来恢复出厂默认)慎用!!!不知道会不会删除License
查看华为设备储存详细信息
display version