<SW1>undoterminal monitor Info: Current terminal monitor is off.
更改自动退出超时
终端会话默认超过10分钟会自动退出
调试设备时可以延长超时时间
为了安全调试完毕后需设置短时间
1 2 3 4
<SW1>system-view Entersystem view, return user view with Ctrl+Z. [SW1]user-interfaceconsole 0 [SW1-ui-console0]idle-timeout1440 //修改超时时间为1440分钟
如果设置为0的话则设备永不休眠
重启设备
reboot
在用户视图下执行,可重启当前设备
1 2 3 4 5 6 7
<SW1>reboot Info: The system is now comparing the configuration, please wait. Warning: All the configuration will be saved to the configuration file for the n extstartup:flash:/vrpcfg.zip, Continue?[Y/N]:n //如果交换机配置进行了修改则询问是否保存配置 Info: If want to reboot with saving diagnostic information, input 'N' and then e xecute'reboot save diagnostic-information'. Systemwill reboot! Continue?[Y/N]:y //确认是否进行重启
如果重启前未对配置进行修改则不会进行第一次确认
恢复出厂设置
reset saved-configuration
用户视图下执行,适用于系统配置紊乱/错误、修复不便等情况
1 2 3 4 5 6 7
<SW1>resetsaved-configuration Warning: The action will delete the saved configuration in the device. Theconfiguration will be erased to reconfigure. Continue? [Y/N]:y //提示恢复出厂设置将清空所有配置,是否继续 Warning: Now clearing the configuration in the device. Nov23 2023 19:45:20-08:00 SW1 %%01CFM/4/RST_CFG(l)[0]:The user chose Y when dec idingwhether to reset the saved configuration. Info: Succeeded in clearing the configuration in the device.