设为首页收藏本站language 语言切换
查看: 1929|回复: 0
收起左侧

交换机的配置要怎么清除

[复制链接]
发表于 2021-12-2 16:32:43 | 显示全部楼层 |阅读模式
  交换机的使用是需要配置的,有时候我们可能配置错了或者是这台交换机要转让的时候是需要清除交换机的配置的,可能有的人知道怎么配置交换机,但是对于这个交换机的配置怎么清除呢?下面我们就一起来了解一下吧!
  清除交换机配置命令:
  首先我们需要的是要清除交换机的配置,交换机的配置命令就是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  欢迎来咨询。
您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-2 20:48 , Processed in 0.058643 second(s), 11 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表