Fortinet FortiGate 3240C

  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 power into device and if a power button exists, turn it on.
  2. Reset Password.

    At the login prompt type maintainer and type bcpb followed by the Serial Number of the device for the password. You only have 14 seconds to do this:
    FortiGate-3240C (14:46-03.02.2012) Ver:04000006 Serial number:FG3K2C3Z12800216 RAM activation … Starting system maintenance... Scanning /dev/sdb1... (100%) Scanning /dev/sdb3... (100%) PHSTDCDFW02 login: maintainer Password: bcpbFG3K2C3Z12800216 Welcome !
    Type the following commands to change the admin account's password to Pa$$w0rd then log out.
    PHSTDCDFW02 (global) # config system admin PHSTDCDFW02 (admin) # edit admin PHSTDCDFW02 (admin) # set password Pa$$w0rd PHSTDCDFW02 (admin) # end PHSTDCDFW02 (global) # exit
  3. Erase configuration.

    Login as admin with Pa$$w0rd as the password:
    PHSTDCDFW02 login: admin Password: Pa$$w0rd Welcome !
    Type config global then exec factoryreset and y to confirm:
    PHSTDCDFW02 # config global PHSTDCDFW02 (global) # exec factoryreset This operation will reset the system to factory default! Do you want to continue? (y/n)y System is resetting to factory default... The system is going down NOW !! PHSTDCDFW02 (global) # Please stand by while rebooting the system. Restarting system.
    There is a backup system with a configuration that also needs erasing.
  4. Load backup system.

    When prompted press a key for the configuration menu:
    Press any key to display configuration menu... . [G]: Get firmware image from TFTP server. [F]: Format boot device. [B]: Boot with backup firmware and set as default. [I]: Configuration and information. [Q]: Quit menu and continue to boot with default firmware. [H]: Display this list of options. Enter Selection [G]:
    Type b to boot the backup and set it as default:
    Enter G,F,B,I,Q,or H: b Loading backup firmware from boot device... Reading boot image 1483900 bytes. Initializing firewall... System is starting... Starting system maintenance...
  5. Erase the backup.

    Repeat steps 2 and 3 on the backup.
  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.