Juniper EX3300
Start the console session.
Plug in a 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.
Boot into single-user mode
When prompted press the space bar twice for commandline access ensuring you are at the loader> prompt:
Hit [Enter] to boot immediately, or space bar for command prompt.
Type '?' for a list of commands, 'help' for more detailed help.
loader>
Type the boot -s commands:
loader> boot -s
Further output will be followed by a prompt where you type recovery:
System watchdog timer disabled
Enter full pathname of shell or 'recovery' for root password recovery or RETURN
for /bin/sh: recovery
Further output will take you to the root> prompt.
Erase all data and reboot.
Type configure to enter configuration mode and then type the load factory-default and delete system commit factory-settings commands:
Starting CLI ...
root> configure
Entering configuration mode
{linecard:0}[edit]
root# load factory-default
warning: activating factory configuration
root# delete system commit factory-settings
As a precaution set the password for username root to juniper1 before returning from configuration mode:
{linecard:0}[edit]
root# set system root-authentication plain-text-password
New password: juniper1
Retype new password: juniper1
{linecard:0}[edit]
root# commit and-quit
commit complete
Exiting configuration mode
root>
Type request system zeroize media and confirm with yes to erase all data including the password you just set. If this process is interrupted by a system freeze or power being cut in some way, log back in as root with the juniper1 password to get back to this step upon powering back up.
root> request system zeroize media
warning: System will be rebooted and may not boot without configuration
Erase all data, including configuration and log files? [yes,no] (no) yes
warning: zeroizing fpc0
root> Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `vnlru_mem' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...8 2 2 2 1 1 1 1 0 0 0 0 0 done
syncing disks... All buffers synced.
Uptime: 4m31s
Rebooting...
Allow the system to boot up to the login: prompt and type root which without needing a password will bring you to the root@:RE:0% prompt:
Amnesiac (ttyu0)
login: root
--- JUNOS 12.3R11.2 built 2015-09-24 11:15:41 UTC
root@:RE:0%
Type the cli command, then type show virtual-chassis status to confirm the serial number.
root@:RE:0% cli
root> show virtual-chassis status
Virtual Chassis ID: xxxx.xxxx.xxxx
Virtual Chassis Mode: Enabled
Mstr Mixed Route Neighbor List
Member ID Status Serial No Model prio Role Mode Mode ID Interface
0 (FPC 0) Prsnt XXXXXXXXXXXX ex4200-24f 128 Master* N VC
Member ID for next new member: 1 (FPC 1)
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.
End the session.
Turn off/unplug the device and close PuTTy.