During the decommissioning process of legacy routers and switches, what is the MOST effective method to ensure that all residual data, including configuration files and sensitive information, cannot be retrieved by future users?
Simply turn off the device and disconnect it from the network.
Manually delete configuration files using the command-line interface.
Securely wipe all data and configurations, then perform a factory reset.
Reboot the device twice in quick succession.