操作步骤
1、在用户视图下执行以下命令,系统提示配置将被清除,输入「y」继续执行。
<Switch>reset saved-configuration
Warning: The action will delete the saved configuration in the device.
The configuration will be erased to reconfigure. Continue? [Y/N]:y
Warning: Now clearing the configuration in the device..
Info: Succeeded in clearing the configuration in the device.2、输入「reboot」重启设备,系统询问下次启动是否使用现有配置,输入「n」拒绝,接着输入「y」执行重启。
<Switch>reboot
Info: The system is now comparing the configuration, please wait........
Warning: The configuration has been modified, and it will be saved to the next startup saved-configuration file . Continue? [Y/N]:n
Info: If want to reboot with saving diagnostic information, input 'N' and then execute 'reboot save diagnostic-information'.
System will reboot! Continue?[Y/N]:y3、重启完成后,设备将恢复出厂设置。
