1.用console线连接到交换机,通过超级终端或Secure CRT连接到交换机;

2.一直按住交换机前面板上的 MODE键,插上交换机电源;

3.约40秒后放开Mod

1.用console线连接到交换机,通过超级终端或Secure CRT连接到交换机;

2.一直按住交换机前面板上的 MODE键,插上交换机电源;

3.约40秒后放开Mode键;

4.此时会出现如下界面:

swith: flash_init

load_helper

boot

运行flash_init命令,然后输入如下命令:

rename flash:\config.text flash:\config.old     //更名含有password的配置文件;

然后输入boot;

5.此时再输入enable,就可以直接进入特权模式(因为此时的配置文件已经没有password了此时再输入:

rename flash:\config.old flash:\config.text

copy flash:\config.text system:running-config

6.修改新的口令:

configure terminal

enable secret 你的新口令

7.保存配置:wre键;

Comments
Write a Comment