• 正在运行的配置(running config)存储在RAM(易失性寄存器)中,不保存的情况下,下次设备重启会丢失配置
• 将当前配置保存(write/save,可以保存多个版本)后将保存到NVRAM(非易失性寄存器,可能是flash)后,称之为startup config/saved-config
基本查询命令
目录操作
文件操作
思科
R1#write erase //清空设备所有配置
删除vlan.dat
Switch#delete vlan.dat
设置启动IOS为新IOS
Switch#conf t
Switch(config)#boot system flash:c3750-advipservicesk9-mz.122-50.SE2.bin
设置备用的IOS启动
switch(config)#boot boothlpr flash:c3750-advipservicesk9-mz.122-50.SE2.bin
R1#boot config file-system-prefix:[directory/]filename设置系统启动哪个配置文件
R1#show startup-config
华为
reset saved-configuration //清空设备所有配置
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 //华为设备设置系统启动文件
display saved-configuration
重启设备
reboot
schedule reboot ?
at Specify the exact time //HW在特定时间重启设备
delay Specify the time interval //HW延迟特定时间重启设备
R1#reload ?
at Reload at a specific time/date //思科在特定时间重启设备
cancel Cancel pending reload
in Reload after a time interval //思科延迟特定时间重启设备