Switch – How to factory reset the D-Link DGS3224TGR switch

switch

For further clarification: I'm looking for some hardware way of factory-resetting a D-Link DGS3224TGR switch (as any terminal access to this switch is restricted by password).

There is no "reset" button on it; the user manual doesn't say a thing, and a service manual is not to be found.

This is no sketchy activity, I assure you; the thing is, that the previous network admin who knew the password, well, died (and thus took the password with him).

Best Answer

Try the following (quote from other D-link switch manuals)

  1. For security reasons, the Password Recovery feature requires the user to physically access the device.Therefore this feature is only applicable when there is a direct connection to the console port of the device. It is necessary for the user needs to attach a terminal or PC with terminal emulation to the console port of the switch.
  2. Power on the switch. After the boot image is loaded to 100%, the Switch will allow 2 seconds for the user to press the hotkey (Shift + 6 ) to enter the "Password Recovery Mode". Once the Switch enters the "Password Recovery Mode", all ports on the Switch will be disabled.
  3. In the "Password Recovery Mode" only the following commands can be used.

    • reset config
    • reboot
    • reset account
    • reset password
    • show account

The reset config command resets the whole configuration back to the default values, with the exception of the account settings. The reboot command exits the Password Recovery Mode and restarts the switch. The reset account command deletes all of the created user accounts. The reset password command resets the password of the specified user. If a username is not specified, the password of all the users will be reset. The show account command displays all previously created accounts.

if this doesn't work, contact D-Link. They know how to generate a password based on the MAC -- this you can learn from the notes on firmware 3.01.030:

Problems Resolved: Fix the security issues recently reported for unauthorized system access.

Enhancements: Limit the access by passwords generated by "D-Link PWD calculator". Before, if customers forgot their configured passwords, D-Link could generate passwords based on the MAC addresses provided by customers via D-Link HQ maintained PWD calculator. Thus customers can use those "backdoor" passwords via telnet/ web/ console to logon to their switch again. Now the access of those passwords generated by "D-Link PWD calculator" will be limited to console access only. This is to minimize the security concern.