比较当前配置与下一次启动所使用的配置<R1>compare configuration The current configuration is the same as the next startup configuration file.查看当前目录下的文件列表<R1>dir Directory of flash:/ Idx Attr Size(Byte) Date Time(LMT) FileName 0 drw- - Jun 09 2025 02:59:43 dhcp 1 -rw- 121,802 May 26 2014 09:20:58 portalpage.zip 2 -rw- 2,263 Jun 09 2025 02:59:38 statemach.efs 3
-rw-
828,482
May
26
2014
09:20:58
sslvpn.zip
4 -rw- 249 Jun 09 2025 03:01:18 private-data.txt
5 -rw- 557 Jun 09 2025 03:01:18 vrpcfg.zip
1,090,732 KB total (784,456 KB free)
将当前的配置保存同时命名为 test.cfg
<R1>save test.cfg
Are you sure to save the configuration to test.cfg? (y/n)[n]:y
It will take several minutes to save configuration file, please wait......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<R1>dir
Directory of flash:/
Idx Attr Size(Byte) Date Time(LMT) FileName
0 -rw- 848 Jun 09 2025 03:01:54 test.cfg
1 drw- - Jun 09 2025 02:59:43 dhcp
2 -rw- 121,802 May 26 2014 09:20:58 portalpage.zip
3 -rw- 2,263 Jun 09 2025 02:59:38 statemach.efs
4 -rw- 828,482 May 26 2014 09:20:58 sslvpn.zip
5 -rw- 249 Jun 09 2025 03:01:18 private-data.txt
6 -rw- 557 Jun 09 2025 03:01:18 vrpcfg.zip
1,090,732 KB total (784,448 KB free)
把该文件设置为设备下一次启动所使用的配置文件
<R1>startup saved-configuration test.cfg
This operation will take several minutes, please wait....
Info: Succeeded in setting the file for booting system