
C-33
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 5.0
78-16527-01
Appendix C Troubleshooting
Troubleshooting the 4200 Series Appliance
Note
Not modifying the prompt only applies to versions before 4.1(4).
•
You must use the Windows FTP server setup option to emulate UNIX file structure and not MS-DOS
file structure.
•
If you are using SCP, make sure you have added the SSH host key to the known hosts list.
For the procedure, see
Adding Hosts to the Known Hosts List, page 4-31
.
Try the manual
upgrade
command before attempting the automatic update. If it works with the
upgrade
command and does not work with the automatic update, try the following:
•
Determine which IPS software version your sensor has (for the procedure, see
Displaying Version
Information, page 13-19
).
Version 4.0(1) has a known problem with automatic update. Upgrade manually to 4.1(1) before
trying to configure and use automatic update.
•
Make sure the passwords configured for automatic update. Make sure they match the same
passwords used for manual update.
•
Make sure that the filenames in the FTP server are exactly what you see on Downloads on
Cisco.com. This includes capitalization.
Some Windows FTP servers allow access to the file with the incorrect capitalization but the sensor
ultimately rejects the file because the name has changed.
If necessary, run tcpDump on automatic update. You can compare the successful manual update with the
unsuccessful automatic update and troubleshoot from there.
Updating a Sensor with the Update Stored on the Sensor
You can store the update package in the /var directory on the sensor and update the sensor from there if
you need to.
To update the sensor with an update stored on the sensor, follow these steps:
Step 1
Log in to the service account.
Step 2
Obtain the update package file from Cisco.com.
For the procedure, see
Obtaining Cisco IPS Software, page 18-1
.
Step 3
FTP or SCP the update file to the sensor’s /usr/cids/idsRoot/var directory.
Step 4
Set the file permissions:
chmod 644
ips_package_file_name
Step 5
Exit the service account.
Step 6
Log in to the sensor using an account with administrator privileges.
Step 7
Store the sensor’s host key:
sensor#
configure terminal
sensor(config)#
service ssh
sensor(config-ssh)#
rsa1-keys
sensor_ip_address
Step 8
Upgrade the sensor:
sensor(config)#
upgrade scp://service
@
s
ensor_ip_address/
upgrade
/
ips_package_file_name
Enter password: *****