Cisco IDS Re-imaging Procedures
There are a number of reasons or circumstances where you may need to rebuild your Cisco IDS. Rebuilding refers to the reinstallation of the application software. This will tho mean that all of your configuration changes will be wiped, apart from your management configuration when reimaging your sensor via the CLI.
There are 3 ways in which you can rebuild your sensor. These are via the CLI, ISO Image or TFTP Server.
To reimage your sensor using the command line issue the following command once you are logged in.
sensor(config)# recover application-partition ?
Warning: Executing this command will stop all applications and re-image the node to version 5.1(4). All configuration changes except for network settings will be reset to default.
Continue with recovery? : yes
Once the device has rebooted itself it will proceed with the reimaging. All of your configuration will be lost apart from a subset of the management based config.
Via an TFTP server you will need to upload the image to your TFTP server and then boot your sensor into rommon mode to initiate the TFTP copy. This is achieved via :
- Reboot your sensor
- At the point your sensor reboots and displays the text "Evaluating Run Options" press CTRL - R
- This will take you into rommon.
- You will now need to specify the following settings :
rommon> address [sensor ip address]
rommon> server [tftp ip address]
rommon> file [recovery image file name]
rommon> tftp <enter>
(Once you press enter your sensor will copy the image across via your TFTP server)
As you will not have any configuration, initiate the "setup" command once you have logged into the sensor using the default username and password.
Copy the ISO image to a CD and boot your sensor from your CD. Your sensor will present you with the required options for initiating the reimage from the ISO.