cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1017
Views
0
Helpful
2
Replies

ASA SSM IPS module upgrade won't work

chrisserafin
Level 1
Level 1

Hello all,

I'm trying to upgrade the IPS sig's on an ASA5520 with a SSM IPS module. I'm trying to upgrade the system to 5.1.1 to further upgrade the device with no luck.

I followed these steps provided by Cisco.com:

1. Log in to the ASA.

2. Enter enable mode:

asa# enable

3. Configure the recovery settings for ASA-SSM:

asa (enable)# hw-module module 1 recover configure

NOTE: If you make an error in the recovery configuration, use the

hw-module module 1 recover stop command to stop the system reimaging

and then you can correct the configuration.

4. Specify the TFTP URL for the system image:

Image URL [tftp://0.0.0.0/]:

Example:

Image URL [tftp://0.0.0.0/]: tftp://10.20.30.40/IPS-SSM-K9-sys-1.1-a-5.1-1.img

5. Specify the command and control interface of ASA-SSM:

Port IP Address [0.0.0.0]:

Example:

Port IP Address [0.0.0.0]: 11.21.31.41

6. Leave the VLAN ID at 0.

VLAN ID [0]:

7. Specify the default gateway of the ASA-SSM:

Gateway IP Address [0.0.0.0]:

Example:

Gateway IP Address [0.0.0.0]: 11.22.33.44

8. Execute the recovery:

asa# hw-module module 1 recover boot

9. Periodically check the recovery until it is complete.

NOTE: The status reads "Recovery" during recovery and reads "Up" when

reimaging is complete.

AFter #8 it just goes back to the enable prompt. A 'sh module' lists the device as 'recover' and hangs FOREVER.... I tested the TFTP server which the new image resides on, and the TFTP is working fine. I don't see any attempts or downloads from the TFTP server for over an hour.

I opened a Ciscop TAC on this and not receiving alot of help...

Please help!!!:)

Thanks

Chris Serafin

cserafin@rkon.com

2 Replies 2

marcabal
Cisco Employee
Cisco Employee

The recovery using this method can takes upwards of 30 minutes, and in some cases even longer.

How long have you left the SSM in the "recovery" state?

There may be something wrong in the config you entered. when that happens the SSM can go into a continuous reboot cycle trying to do the recovery.

Execute "debug module-boot" on the console of the ASA.

The debug output will show you the ROMMON output of the SSM itself. (The SSM has it's own ROMMON. The recovery boot command sends the settings made during the recover configure command to the SSM's ROMMON).

If the ROMMON is experiencing a problem in trying to download the tftp image you should now see that ROMMON error message.

Some typical problems I have seen:

1) Wrong IP given for the sensor.

2) Wrong IP given for the gateway (the gateway must exist on the same network as the sensor) this problem usually happens when using a non-standard netmasked network.

3) Not having the sensor's command and control port plugged into the right network. The external port of the SSM itself is where the IP is being applied. You need to ensure that the extenral port of the SSM is plugged into the right network for that IP.

4) The tftp server is not reachable from the network where the sensor's command and control port is attached. Some users think that if the ASA itself can reach the tftp server that the SSM will also be able to. This is not always the case. It is best to use a tftp server on the same network as the IP provided to the SSM. Or to test the tftp server from another machine on the same network as the SSM.

5) The file name is wrong. Check the captialization especially.

6) The file is not in the default directory on the tftp server. If the file is in a subdirectory you will need to add that subdirectory to the URL:

tftp://10.20.30.40/subdirectoryname/filename

7) The tftp is timing out.

There are 2 things that can cause this:

a) The tftp server is remote, and it takes too long to download the file. The ROMMON does have limits on the number of retries and per packet timeouts (but they are not user configurable). Try using a tftp server local to the SSM.

b) The switch that the SSM connects to has spanning-tree running and spanning-tree does not complete before the SSM ROMMON times out for the tftp attempt. The tftp attempt happens immediately upon ROMMON startup and link up. But with a switch the switch port may be in a "Listen" or "Learn" state for 40 seconds before the box can actually talk on the network. In some cases the tftp download attempts started as soon as link up, and may timeout even before the spanning-tree completes. To work around this configure "spanning-tree portfast" on the switchport. Spanning-tree will connect the port into the vlan immediately rather than 40 seconds later.

If it was a config problem when configuring the recovery settings, then there is a "recover stop" command on the ASA.

It will stop the reboot cycle from happening.

Let the module come up with the old image.

Then correct your "recover configure" settings, and try the "recover boot" again.

Another alternative:

Stop the recovery "recover stop"

Let it boot into the old image.

If it was a 5.0 version, then you can actually upgrade to 5.1 using the sensor's own CLI "upgrade" command. It is actually the preferred method.

The "recover" from the ASA will wipe the box clean and load a fresh image.

The "upgrade" from the sensor will convert your 5.0 config into a 5.1 config while installing 5.1.

5.1 upgrade file:

IPS-K9-min-5.1-1g.pkg

http://www.cisco.com/cgi-bin/tablebuild.pl/ips5

It can be applied through the sensor's CLI upgrade command, or pushed directly through IDM, or applied by CSM.

The "recover" should be limited to disaster recovery. When you can't access the SSM at all, or the files on the SSM have been corrupted.

For normal upgrades you want to use "upgrade" files done through the sensor itelf (CLI, IDM, or CSM).

thedstrom
Level 1
Level 1

Hi Chris

If you haven't solved your problem yet.

I had the same problems, it worked for me when putting the tftp server on a different subnet, cisco aip on 10.x.x.x and tftp server on 172.16.x.x for example and then have the gateway you specify in the recovery config to route between the two networks.

Torbjorn Hedstrom

Review Cisco Networking for a $25 gift card