In this article we will see how to Reset Aruba 5406Rzl2 to Factory Default.
CMD to Reset Aruba 5406Rzl2 to Factory Default
HP-Switch-5406Rzl2> enable HP-Switch-5406Rzl2# HP-Switch-5406Rzl2# erase startup-config The current configuration will be deleted, existing login passwords removed, and the device rebooted. Continue (y/n)? yNOTE:- The erase startup-config command does not clear passwords/Credentials. Inorder to Clear all the Credentials, Username & Passwords follow below CMD.
CMD to Clear all the Credentials, Username & Passwords
HP-Switch-5406Rzl2> enable HP-Switch-5406Rzl2# HP-Switch-5406Rzl2# configure terminal HP-Switch-5406Rzl2(config)# include-credentials **** CAUTION **** You have invoked the command 'include-credentials'. This action will make changes to the password and SSH public-key storage. It will affect *all* stored configurations, which might need to be updated. Those credentials will no longer be readable by older software revisions. It also may break some of your existing user scripts. Continue?[y/n] y **** CAUTION **** This will insert possibly sensitive information in switch configuration files, and as a part of some CLI commands output. It is strongly recommended that you use SFTP rather than TFTP for transfer of the configuration over the network, and that you use the web configuration interface only with SSL enabled. Erasing configurations with 'include-credentials' enabled will erase stored passwords and security credentials. The system will reboot with the factory default configuration. Proceed?[y/n] y