| 场景 | 设备回收复用、实验重置、报废前清理 |
|---|---|
| 适用 | 全部设备 |
| 命令族 | reset saved-configuration / erase startup-config / reset saved-configuration |
华为 VRP
华为 VRP
<SW-CORE-01> reset saved-configuration
Warning: The action will delete the saved configuration in the device.
Are you sure to continue? (y/n)[n]: y
<SW-CORE-01> reboot思科 IOS
思科 IOS
SW-CORE-01# erase startup-config
Erasing the nvram filesystem will remove all configuration files!
SW-CORE-01# delete vlan.dat
SW-CORE-01# reloadH3C Comware
H3C Comware
<SW-CORE-01> reset saved-configuration
Are you sure to reset the saved configuration? (y/n)[n]: y
<SW-CORE-01> reboot三厂命令同为 reset saved-configuration(华为/H3C)与 erase startup-config(思科);思科若漏删 vlan.dat,重启后 VLAN 定义仍在,等于没恢复干净。