How to clear the router's internal configuration data

Source: Internet
Author: User
Tags config

For network devices, clearing configuration information is the best way to prevent hackers from easily connecting to a corporate network. Today, I'm going to teach you how to clean up the internal data problems in routers and switches.

When you clean a Cisco router, there are two different ways to choose, and they are typically used in different ways:

First, know the router's password, the relevant steps are as follows:

(1) Login to the router, enter the Enbale command to start Superuser mode, in which mode, enter the Enable password command

(2) Enter configure Terminal command, start global configuration mode

(3) Input config-register 0x2142 command

(4) Enter the end command and enter the Write erase command to remove the router's current boot configuration

(5) Enter the reload command to reboot the router when the system asks if you want to save the configuration, select No

When the router completes the reboot, all parameters will revert to the factory default settings

More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Network/lyjs/

Second, the configuration register parameters are set to 0x2142, most network administrators use this method to recover the password, but in the recovery password, all the configuration information will also be cleared, the entire processing process as follows:

(1) Login to the router, enter the Enbale command to start Superuser mode, in which mode, enter the Enable password command

(2) Enter configure Terminal command, start global configuration mode

(3) Enter the Config-register 0x2142 command (This action will cause the router to ignore the boot configuration at the next reboot time)

(4) Enter the end command and restart the router by entering the reload command in router # prompt mode

(5) At this time, the system will ask whether to save the configuration information input no, and in the next reboot to be confirmed

(6) After the router completes the reboot, the system will ask if you want to load the initial Configuration dialog box to enter n

(7) The input Enbale command sets the parameters of the configuration register to 0x2142 and uses the Configure Terminal command to return to the global configuration mode and enter the Config-register 0x2142 command

(8) Enter the end command and enter the Write memory command to overwrite the existing boot configuration with the currently running blank configuration

(9) Enter the reload command to restart the router and complete the cleanup process.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.