Netgear PROSAFE M5300-52G-POE+
Start the console session.
Plug in serial cable to console port of device from PC COM1 port
Open PuTTY and select "Serial" connection type, set baud rate (Speed) as printed next to port, leave other settings as default.
Slide USB-DB9 physical switch to DB9.
Plug power into device and if a power button exists, turn it on.
Erase settings and access CLI from Boot Menu.
When you see Checking for application press and hold q until the Boot menu appears, then type 7 for Erase Current Configuration:
Uboot M5300 VerNo=1.0.0.5
starting pid 30, tty '': '/etc/init.d/rcS'
starting pid 37, tty '/dev/ttyS0': '/etc/rc.d/rc.fastpath'
Checking for application q
Boot Menu
Options available
1 - Start Operational code
2 - Load Code Update Package
3 - Load new operational code using USB
4 - Load Configuration
5 - Select Serial Speed
6 - Retrieve Error Log
7 - Erase Current Configuration
8 - Erase Permanent Storage
9 - Select Boot Method
10 - Activate Backup Image
11 - Start Diagnostic Application
12 - Run Manufacturing Diagnostics
13 - Delete Manufacturing Diagnostics
14 - Password Recovery Procedure
15 - Reboot
Q - Quit from Operational code Startup
Select option (1-15 or Q): 7
Erasing present configuration...done.
When the Boot Menu reappears type 14 for Password Recovery Procedure:
Boot Menu
Options available
1 - Start Operational code
2 - Load Code Update Package
3 - Load new operational code using USB
4 - Load Configuration
5 - Select Serial Speed
6 - Retrieve Error Log
7 - Erase Current Configuration
8 - Erase Permanent Storage
9 - Select Boot Method
10 - Activate Backup Image
11 - Start Diagnostic Application
12 - Run Manufacturing Diagnostics
13 - Delete Manufacturing Diagnostics
14 - Password Recovery Procedure
15 - Reboot
Q - Quit from Operational code Startup
Select option (1-15 or Q): 14
Starting operational code for Password Recovery...
Further output will bring you to the (Unit 1)> prompt. Wait a bit longer to be taken to the (M5300-52G-POE+) > prompt. If you get a User: prompt type admin with no password:
Starting Operational code ...
Rel 11, Ver 0, Maint Lev 0, Bld No 18
Uncompressing apps.lzma
SyncDB Running...
DMA pool size: 8388608
<10> Jan 1 00:00:52 0.0.0.0-1 General[fp_main_task]: bootos.c(195) 11 %% Event(0xaaaaaaaa)
started!
<9> Jan 1 00:00:52 0.0.0.0-1 SIM[Cnfgr_Thread ]: sim_util.c(3805) 12 %% Switch was reset due to power disruption.
(Unit 1)>
Applying Global configuration, please wait ...
Applying Interface configuration, please wait ...
Box is in recovery mode;Please configure password for admin
Box is in recovery mode;please configure password for enable mode
(M5300-52G-POE+) >
Reset passwords, hostname and configuration.
Type the enable command for elevated privileges:
(M5300-52G-POE+) >enable
(M5300-52G-POE+) #
Type the clear pass command, and confirm with y:
(M5300-52G-POE+) #clear pass
Are you sure you want to reset all passwords? (y/n) y
Passwords Reset!
Type the clear host all then the clear config commands, confirming with y:
(M5300-52G-POE+) #clear host all
(M5300-52G-POE+) #clear config
Are you sure you want to clear the configuration? (y/n) y
Clearing configuration. Please wait for login prompt.
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.
Close PuTTy.