cisco交换机的密码恢复,这个实验在模拟器上无法完成
 
首先在重启交换机,然后按住交换机的mode键(在交换机的正面)15s,进入switch:模式,
switch:flash_init     //初始化Flash
switch:rename flash:config.text flash:config.old//交换机不像路由器可以改寄存器让系统不加载配置文件,交换机只能把配置文件重命名让系统不加载
switch:boot    //重启系统
进入交换机
switch#copy flash:config.old running-config  //将配置文件加载到RAM中
switch(config)#enable secret ******  //更改特权密码
switch#rename flash:config.old flash:config.text  //把配置文件的文件名在改回来
switch#copy running-config startup-config  //保存配置
 
 
 
 
如有错误,欢迎大家提出;有好的建议和意见也欢迎留言