思科 CISCO2918 交换机密码破解方法
思科CISCO 2918交换机密码破解方法1、连接交换机的console口到终端或PC超级终端
2、先按住交换机上mode键,然后打开电源
3、初始化Flash
Switch:Flash_init
4、改名含有Password的配置文件
Switch:renameFlash:config.text Flash:config.old
5、重启交换机
Switch:boot
6、进入特权模式
Switch:enable
7、此时开机时已忽略Password
Switch:rename Flash:config.old Flash:config.text
8、copy配置文件到当前系统中
Switch:copyFlash:config.textsystem:running-config
9、修改口令
Switch:enable secretcisco
10、保存配置
Switch:copy running-config startup-config
这时可以将flash里的配置文件和vlan.dat上传到TFTP里。。
#erase startup-config清除所有配置命令;
页:
[1]