H3C WX5004

  1. Start the console session.

    Plug in serial cable to console port of device from PC COM1 port
    Open PuTTY and select "Serial" connection type, leave baud rate (Speed) and other settings as default.
    Plug PoE cable into device turning it on.
  2. Access the extended boot menu.

    When you see the line BootWare Validating... press Ctrl B only ONCE, before seeing any prompt to do so:
    System is starting... Press Ctrl+D to access BASIC-BOOTWARE MENU Booting Normal Extend BootWare.... The Extend BootWare is self-decompressing..................... Done! **************************************************************************** * * * H3C WX5004 BootWare, Version 2.02 * * * **************************************************************************** Copyright (c) 2004-2014 Hangzhou H3C Technologies Co., Ltd. Compiled Date : Nov 19 2014 CPU Type : XLR716 CPU L1 Cache : 32KB CPU Clock Speed : 800MHz Memory Type : DDR2 SDRAM Memory Size : 1024MB Memory Speed : 533MHz BootWare Size : 512KB Flash Size : 4MB cfa0 Size : 259MB CPLD Version : 010 PCB Version : Ver.B BootWare Validating...
    Press Enter when prompted:
    Press Ctrl+B to enter extended boot menu... BootWare password: Not required. Please press Enter to continue.
    Further output will take you to the extended bootware menu.
  3. Bypass configuration and boot up system.

    At the Enter your choice(0-9):  prompt type 6 to skip the current system configuration and press Enter:
    ===========================<EXTEND-BOOTWARE MENU>=========================== |<1> Boot System | |<2> Enter Serial SubMenu | |<3> Enter Ethernet SubMenu | |<4> File Control | |<5> Restore to Factory Default Configuration | |<6> Skip Current System Configuration | |<7> BootWare Operation Menu | |<8> Clear Super Password | |<9> Storage Device Operation | |<0> Reboot | ============================================================================ Ctrl+Z: Access EXTEND-ASSISTANT MENU Ctrl+F: Format File System Enter your choice(0-9): 6 Flag Set Success.
    The same menu and prompt will appear, this time type 1 to boot the system.
    Enter your choice(0-9): 1 Starting to get the main application file--cfa0:/WX5004-CMW520-R2507P48-EI.bin!.................................. ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ........................................ The main application file is self-decompressing............................. ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ ............................................................................ .............................. Done! System application is starting... Configuration file is skipped. User interface con0 is available.
  4. Disable password recovery capability

    Access elevated privileges mode:
    Press ENTER to get started. <H3C>system-view System View: return to User View with Ctrl+Z.
    Type the undo password-recovery enable command and type y to confirm:
    [H3C]undo password-recovery enable The command will disable the password recovery function. Continue? [Y/N]:y
    Press Ctrl Z then type reboot and follow prompts to continue:
    <H3C>reboot Start to check configuration with next startup configuration file, please wait.........DONE! This command will reboot the device. Current configuration will be lost, save current configuration? [Y/N]: y Please input the file name(*.cfg)[cfa0:/startup.cfg] (To leave the existing filename unchanged, press the enter key): Validating file. Please wait... Configuration is saved to device successfully. This command will reboot the device. Continue? [Y/N]: y Reboot device by command.
  5. Erase configuration and reboot.

    Repeat step 2 to access the extended boot menu and type 4 to access the file control menu:
    ===========================<EXTEND-BOOTWARE MENU>=========================== |<1> Boot System | |<2> Enter Serial SubMenu | |<3> Enter Ethernet SubMenu | |<4> File Control | |<5> Restore to Factory Default Configuration | |<6> Skip Current System Configuration | |<7> BootWare Operation Menu | |<8> Clear Super Password | |<9> Storage Device Operation | |<0> Reboot | ============================================================================ Ctrl+Z: Access EXTEND-ASSISTANT MENU Ctrl+F: Format File System Ctrl+C: Display Copyright Enter your choice(0-9): 4
    Type 3 to delete a file, then select each file not ending in .bin and confirm the deletion. Repeat this until the only files remaining are the .bin Operating System files:
    ===============================<File CONTROL>=============================== |Note:the operating device is cfa0 | |<1> Display All File(s) | |<2> Set Application File type | |<3> Delete File | |<0> Exit To Main Menu | ============================================================================ Enter your choice(0-3): 3 Deleting the file in cfa0: 'M' = MAIN 'B' = BACKUP 'S' = SECURE 'N/A' = NOT ASSIGNED ============================================================================ |NO. Size(B) Time Type Name | |1 3145688 Oct/08/2020 07:26:06 N/A cfa0:/logfile/logfile.log | |2 1615 Jun/22/2021 00:17:56 N/A cfa0:/startup.cfg | |3 136712192 Feb/17/2016 19:40:04 M cfa0:/wx5004-cmw520-r2507p~001 | |4 8825 Aug/11/2020 11:48:58 N/A cfa0:/ap2620x6.cfg | |5 508 Oct/21/2014 18:06:32 N/A cfa0:/system.xml | |6 6799 Nov/17/2015 09:33:50 N/A cfa0:/ap2620x6.tise | |7 671 Mar/09/2011 03:00:04 N/A cfa0:/h3c-wlan_ca.cer | |8 1738 Mar/09/2011 03:00:06 N/A cfa0:/h3c-wlan_local.pfx | |9 672 Jun/03/2013 05:05:00 N/A cfa0:/wlan_ca_certificate.cer | |10 64698368 Jun/03/2013 14:58:38 B cfa0:/wx5004-cmw520-r2308p~002 | |11 1744 Jun/03/2013 05:05:00 N/A cfa0:/wlan_local_certifica~003 | |12 6201 Jun/03/2013 15:47:22 N/A cfa0:/_startup_bak.cfg | |0 Exit | ============================================================================ Enter file No:1 The file you selected is cfa0:/logfile/logfile.log,Delete it? [Y/N]Y Deleting.....................................Done! ===============================<File CONTROL>=============================== |Note:the operating device is cfa0 | |<1> Display All File(s) | |<2> Set Application File type | |<3> Delete File | |<0> Exit To Main Menu | ============================================================================ Enter your choice(0-3): 3 Deleting the file in cfa0: 'M' = MAIN 'B' = BACKUP 'S' = SECURE 'N/A' = NOT ASSIGNED ============================================================================ |NO. Size(B) Time Type Name | |1 1615 Jun/22/2021 00:17:56 N/A cfa0:/startup.cfg | |2 136712192 Feb/17/2016 19:40:04 M cfa0:/wx5004-cmw520-r2507p~001 | |3 8825 Aug/11/2020 11:48:58 N/A cfa0:/ap2620x6.cfg | |4 508 Oct/21/2014 18:06:32 N/A cfa0:/system.xml | |5 6799 Nov/17/2015 09:33:50 N/A cfa0:/ap2620x6.tise | |6 671 Mar/09/2011 03:00:04 N/A cfa0:/h3c-wlan_ca.cer | |7 1738 Mar/09/2011 03:00:06 N/A cfa0:/h3c-wlan_local.pfx | |8 672 Jun/03/2013 05:05:00 N/A cfa0:/wlan_ca_certificate.cer | |9 64698368 Jun/03/2013 14:58:38 B cfa0:/wx5004-cmw520-r2308p~002 | |10 1744 Jun/03/2013 05:05:00 N/A cfa0:/wlan_local_certifica~003 | |11 6201 Jun/03/2013 15:47:22 N/A cfa0:/_startup_bak.cfg | |0 Exit | ============================================================================ Enter file No:1 The file you selected is cfa0:/startup.cfg,Delete it? [Y/N]Y Deleting..........Done! ===============================<File CONTROL>=============================== |Note:the operating device is cfa0 | |<1> Display All File(s) | |<2> Set Application File type | |<3> Delete File | |<0> Exit To Main Menu | ============================================================================ Enter your choice(0-3): 3 Deleting the file in cfa0: 'M' = MAIN 'B' = BACKUP 'S' = SECURE 'N/A' = NOT ASSIGNED ============================================================================ |NO. Size(B) Time Type Name | |1 136712192 Feb/17/2016 19:40:04 M cfa0:/wx5004-cmw520-r2507p~001 | |2 8825 Aug/11/2020 11:48:58 N/A cfa0:/ap2620x6.cfg | |3 508 Oct/21/2014 18:06:32 N/A cfa0:/system.xml | |4 6799 Nov/17/2015 09:33:50 N/A cfa0:/ap2620x6.tise | |5 671 Mar/09/2011 03:00:04 N/A cfa0:/h3c-wlan_ca.cer | |6 1738 Mar/09/2011 03:00:06 N/A cfa0:/h3c-wlan_local.pfx | |7 672 Jun/03/2013 05:05:00 N/A cfa0:/wlan_ca_certificate.cer | |8 64698368 Jun/03/2013 14:58:38 B cfa0:/wx5004-cmw520-r2308p~002 | |9 1744 Jun/03/2013 05:05:00 N/A cfa0:/wlan_local_certifica~003 | |10 6201 Jun/03/2013 15:47:22 N/A cfa0:/_startup_bak.cfg | |0 Exit | ============================================================================ Enter file No:2 The file you selected is cfa0:/ap2620x6.cfg,Delete it? [Y/N]Y Deleting..........Done! ===============================<File CONTROL>=============================== |Note:the operating device is cfa0 | |<1> Display All File(s) | |<2> Set Application File type | |<3> Delete File | |<0> Exit To Main Menu | ============================================================================ Enter your choice(0-3): 3 Deleting the file in cfa0: 'M' = MAIN 'B' = BACKUP 'S' = SECURE 'N/A' = NOT ASSIGNED ============================================================================ |NO. Size(B) Time Type Name | |1 136712192 Feb/17/2016 19:40:04 M cfa0:/wx5004-cmw520-r2507p~001 | |2 508 Oct/21/2014 18:06:32 N/A cfa0:/system.xml | |3 6799 Nov/17/2015 09:33:50 N/A cfa0:/ap2620x6.tise | |4 671 Mar/09/2011 03:00:04 N/A cfa0:/h3c-wlan_ca.cer | |5 1738 Mar/09/2011 03:00:06 N/A cfa0:/h3c-wlan_local.pfx | |6 672 Jun/03/2013 05:05:00 N/A cfa0:/wlan_ca_certificate.cer | |7 64698368 Jun/03/2013 14:58:38 B cfa0:/wx5004-cmw520-r2308p~002 | |8 1744 Jun/03/2013 05:05:00 N/A cfa0:/wlan_local_certifica~003 | |9 6201 Jun/03/2013 15:47:22 N/A cfa0:/_startup_bak.cfg | |0 Exit | ============================================================================ Enter file No:2 The file you selected is cfa0:/system.xml,Delete it? [Y/N]Y Deleting..........Done! ===============================<File CONTROL>=============================== |Note:the operating device is cfa0 | |<1> Display All File(s) | |<2> Set Application File type | |<3> Delete File | |<0> Exit To Main Menu | ============================================================================ Enter your choice(0-3): 3 Deleting the file in cfa0: 'M' = MAIN 'B' = BACKUP 'S' = SECURE 'N/A' = NOT ASSIGNED ============================================================================ |NO. Size(B) Time Type Name | |1 136712192 Feb/17/2016 19:40:04 M cfa0:/wx5004-cmw520-r2507p~001 | |2 6799 Nov/17/2015 09:33:50 N/A cfa0:/ap2620x6.tise | |3 671 Mar/09/2011 03:00:04 N/A cfa0:/h3c-wlan_ca.cer | |4 1738 Mar/09/2011 03:00:06 N/A cfa0:/h3c-wlan_local.pfx | |5 672 Jun/03/2013 05:05:00 N/A cfa0:/wlan_ca_certificate.cer | |6 64698368 Jun/03/2013 14:58:38 B cfa0:/wx5004-cmw520-r2308p~002 | |7 1744 Jun/03/2013 05:05:00 N/A cfa0:/wlan_local_certifica~003 | |8 6201 Jun/03/2013 15:47:22 N/A cfa0:/_startup_bak.cfg | |0 Exit | ============================================================================ Enter file No:2 The file you selected is cfa0:/ap2620x6.tise,Delete it? [Y/N]Y Deleting............Done! ===============================<File CONTROL>=============================== |Note:the operating device is cfa0 | |<1> Display All File(s) | |<2> Set Application File type | |<3> Delete File | |<0> Exit To Main Menu | ============================================================================ Enter your choice(0-3): 3 Deleting the file in cfa0: 'M' = MAIN 'B' = BACKUP 'S' = SECURE 'N/A' = NOT ASSIGNED ============================================================================ |NO. Size(B) Time Type Name | |1 136712192 Feb/17/2016 19:40:04 M cfa0:/wx5004-cmw520-r2507p~001 | |2 671 Mar/09/2011 03:00:04 N/A cfa0:/h3c-wlan_ca.cer | |3 1738 Mar/09/2011 03:00:06 N/A cfa0:/h3c-wlan_local.pfx | |4 672 Jun/03/2013 05:05:00 N/A cfa0:/wlan_ca_certificate.cer | |5 64698368 Jun/03/2013 14:58:38 B cfa0:/wx5004-cmw520-r2308p~002 | |6 1744 Jun/03/2013 05:05:00 N/A cfa0:/wlan_local_certifica~003 | |7 6201 Jun/03/2013 15:47:22 N/A cfa0:/_startup_bak.cfg | |0 Exit | ============================================================================ Enter file No:7 The file you selected is cfa0:/_startup_bak.cfg,Delete it? [Y/N]Y Deleting.............Done!
    Type 0 to return to the main menu:
    ===============================<File CONTROL>=============================== |Note:the operating device is cfa0 | |<1> Display All File(s) | |<2> Set Application File type | |<3> Delete File | |<0> Exit To Main Menu | ============================================================================ Enter your choice(0-3): 0
    Type 5 to reset the configuration to factory defaults, and y to confirm:
    ===========================<EXTEND-BOOTWARE MENU>=========================== |<1> Boot System | |<2> Enter Serial SubMenu | |<3> Enter Ethernet SubMenu | |<4> File Control | |<5> Restore to Factory Default Configuration | |<6> Skip Current System Configuration | |<7> BootWare Operation Menu | |<8> Clear Super Password | |<9> Storage Device Operation | |<0> Reboot | ============================================================================ Ctrl+Z: Access EXTEND-ASSISTANT MENU Ctrl+F: Format File System Ctrl+C: Display Copyright Enter your choice(0-9): 5 Because the password recovery capability is disabled, this operation can cause the configuration files to be deleted, and the system will start up with factory defaults. Are you sure to continue?[Y/N]Y Setting...Done.
    Finally type 0 to reboot the system.
  6. Copy all the output from the session into your records.

    Right-click PuTTY's titlebar, from that dropdown menu click on "Copy All to Clipboard"
    Open the file of record certifying the deconfiguration of this device and use CTRL V to paste all the output from PuTTY into that file. Formatting the text with a fixed-width font helps it look more readable.
  7. End the session.

    Close PuTTy.