cisco交换机的密码相关
交换机密码清除步骤:1.启动过程中,按交换机面板上的mode 键
2.输入flash_init,初始化Flash(或直接命令 flash)
3.dir flash:
4. rename flash:/config.text flash:/config1.text
5.switch:模式下 boot
6. en
7.write 然后 reload
以上完成,开机即可消去密码。
交换机密码恢复步骤:
1.通电按住modem键,出现switch:后松开
2.输入 flash_init 初始化flash 或者“flash”
3.查看flash输入 dir flash:
4重命名配置文件:renameflash:/config.text flash:/config2.text
((不行的话可以参考百度经验原文的命令:switch:rename flash:config.text flash:config.old))
5.输入 boot 启动交换机
6.在特权模式下查看flash。输入: dir flash:
7.将重命名的配置文件改回原来的名字:rename flash:/config2.textflash:/config.text
8.拷贝config.text 内容到当前配置文件:copyflash:/config.text running-config
9.查看running-config内容,查看密码或修改密码:#showrunning-config
10.查看修改完成,保存配置。
删除配置信息的方法:
# erasenvram或 #deleteflash:config.text
删除vlan信息
# deleteflash:vlan.dat
# reload 重启生效
页:
[1]