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

思科3750交换机忘记密码怎么重置

[复制链接]
发表于 2021-5-14 15:37:37 | 显示全部楼层 |阅读模式
  交换机忘记密码乃是常事,忘记密码不重要,重要的是忘记了知道该怎么重置回来,下面就介绍关于思科3750交换机重置密码的方法。
  1、启用超级终端并出现连接界面
  2、拔掉交换机的电源
  3、按下交换机上的Mode按钮,与此同时,重新插上交换机的电源线
  4、当交换机左边的sys灯会慢慢的闪动,(细心的话会发现部分灯红色的闪过),按住mode按钮直到sys灯不闪动(常亮状态).否则提前松开的按钮的话会直接进入正常的启动,必须跳回步骤2重新操作
  5、可以松开Mode按钮
  之后系统将显示一些指示信息:
  The system has been interrupted prior to initializing the flash file system.The following
  commands will initialize the flash file system, and finish loading theoperating system software:
  flash_init //初始化flash文件系统
  load_helper //加载帮助文件
  boot //启动设备进入正常的模式/p>
  进行以下步骤:
  switch:
  Switch:flash_init
  Switch:dir flash: //查看Flash的文件名字可以用来确认文件名为config.text
  Switch:rename flash:config.text flash:config.text.old //把配置文件重命名,当然你可以不改为config.text.old,只要文件名和原来的不相同就可以
  Switch:boot //手动启动交换机
  由于配置文件改过了,所以交换机找不到默认的config.text而出现配置的对话向导,选择n然后回车然后我们就会绕过原来的password而进入到:
  Switch>
  Switch>en //可以进入特权模式
  Switch#rename flash:config.text.old flash:config.text //恢复交换机配置文件
  Switch#copy flash:config.text system:running-config //保存配置到DRAM里
  Switch#config t
  Switch(config)#no enable password //删除特权模式旧密码
  Switch(config)#no enable secret //删除加密密码
  Switch(config)#exit
  Switch#copy run start //把当前配置的文件写回Flash
  用这个方法修改密码不会把原来的配置文件内容清掉。
  特别是一个现成的大型网络里已经在运行的交换机,这样比较保险!
  以上的文章来自于cisco Nexus交换机 http://www.zycd.net/product-smallclass-1.html  欢迎来咨询。
您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

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

GMT+8, 2025-2-2 22:43 , Processed in 0.060015 second(s), 14 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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