交换机忘记密码了,没有关系,恢复到出厂设置,重新来过。

  1. 交换机开机同时按住交换机的MODE按钮。进入switch:

  2. 输入 flash_init

  3. del flash:config.txt

  4. del vlan.dat

  5. boot

  6. 进入如下界面,重新配置交换机密码就可以了!

    Aug  5 07:57:03.491: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to down
    % Please answer 'yes' or 'no'.
    Would you like to enter the initial configuration dialog? [yes/no]: 选择no