cisco3550交换机恢复出厂设置

2019-07-14 03:44发布

1、用console电缆连接PC机与要恢复的cisco3550交换机,打开超级终端 2、拔下交换机电源,按住前面板mode按钮(前面板就一个按钮,在机器左上方)接通电源,等到前面板所有接口指示灯全亮,同时system指示灯停止闪动时松开按钮(大约30秒),松手后system指示灯会闪动。 3、此时超级终端会出现以下提示: The password-recovery mechanism has been triggered, but
is currently disabled.  Access to the boot loader prompt
through the password-recovery mechanism is disallowed at
this point.  However, if you agree to let the system be
reset back to the default system configuration, access
to the boot loader prompt can still be allowed.
Would you like to reset the system back to the default configuration (y/n)? 按y回车,按y后设备会擦除配置文件即:config.text和vlan.dat文件会被删除。提示信息如下: The system has been interrupted, and the config file
has been deleted.  The following command will finish
loading the operating system software:
    boot switch: 4、在switch:提示符下输入help或?回车可以查看可以使用哪些命令 switch: help
           ? -- Present list of available commands
        boot -- Load and boot an executable image
         cat -- Concatenate (type) file(s)
        copy -- Copy a file
      delete -- Delete file(s)
         dir -- List files in directories
  flash_init -- Initialize flash filesystem(s)
      format -- Format a filesystem
        fsck -- Check filesystem consistency
        help -- Present list of available commands
 load_helper -- Load and initialize a helper image
      memory -- Present memory heap utilization information
       mkdir -- Create dir(s)
        more -- Concatenate (display) file(s)
      rename -- Rename a file
       reset -- Reset the system
       rmdir -- Delete empty dir(s)
         set -- Set or display environment variables
   set_param -- Set system parameters in flash
       sleep -- Pause (sleep) for a specified number of seconds
        trap -- Cause a software breakpoint to occur
 -- MORE --
        type -- Concatenate (type) file(s)
       unset -- Unset one or more environment variables
     version -- Display boot loader version
初始化flash      switch: flash_init 输入dir flash查看flash存储的文件      switch: dir flash:
Directory of flash:/
2    -rwx  6972800                  c3550-ipservicesk9-mz.122-25.SED.bin
6    -rwx  24                       private-config.text
9024512 bytes available (6974464 bytes used)
switch:
5、加载iOS文件完成恢复工作 switch: boot flash:/c3550-ipservicesk9-mz.122-25.SED.bin 输入以上命令后设备开始加载ios文件,完成后就可以正常使用了