之后保存:
查看配置:
[r2]disp current
...
sysname r2
interface GigabitEthernet0/0/0
ip address 2.2.2.254 255.255.255.0
...
[r2]
如果想回到出厂设置
<r2>reset saved-configuration
This will delete the configuration in the flash memory.
The device configurations will be erased to reconfigure.
Are you sure? (y/n)[n]:y
Clear the configuration in the device successfully.
<r2>
重启生效
<r2>reboot
Info: The system is comparing the configuration, please wait.
Warning: All the configuration will be saved to the next startup configuration.
Continue ? [y/n]:n --注意,这里要选择 n
System will reboot! Continue ? [y/n]:y
Info: system is rebooting ,please wait...