- 积分
- 281
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 注册时间
- 2021-5-10
- 最后登录
- 1970-1-1
- 阅读权限
- 30
- 听众
- 收听
初级工程师
|
交换机的使用是需要配置的,有时候我们可能配置错了或者是这台交换机要转让的时候是需要清除交换机的配置的,可能有的人知道怎么配置交换机,但是对于这个交换机的配置怎么清除呢?下面我们就一起来了解一下吧!
清除交换机配置命令:
首先我们需要的是要清除交换机的配置,交换机的配置命令就是write erase
删除vlan:
第一步:察看当前VLAN配置
Cat2950#show vlan
第二步:察看Flash中的文件名称(交换机的配置文件和ios都保存在Flash中)
Cat2950#dir flash: 看一下VLAN文件在FLASH里的具体名称,一般的都是VLAN.DAT
第三步:删除vlan.dat (交换机的VLAN信息保存在vlan.dat中)
Cat2950#delete flash:vlan.dat
第四步:察看当前的VLAN配置
Cat2950#show vlan
交换机恢复出厂设置:
<H3C>reset saved-configuration //清空交换机配置
The saved configuration file will be erased. Are you sure? [Y/N]:y //设备提示保存的配置将会被删除,是否继续。
Configuration file in flash: is being cleared. Please wait ……
MainBoard:
Configuration file is cleared. //配置已被清空
<H3C>reboot //重启交换机
Start to check configuration with next startup configuration file, please wait……DONE!
Current configuration may be lost after the reboot, save current configuration? [Y/N]:n //设备提示会在重启后丢失当前配置,是否保存当前配置,选择n
This command will reboot the device. Continue? [Y/N]:y //设备提示设备将会重启,是否继续,选择Y
Now rebooting, please wait……
%Dec 14 20:48:39:352 2019 SW1 DEV/5/SYSTEM_REBOOT: System is rebooting now.
以上的文章是来自于众盈创达科技。更多的产品信息和型号信息欢迎来咨询。
以上的文章来自于cisco Nexus交换机 http://www.zycd.net/product-smallclass-1.html 欢迎来咨询。 |
|