Link to home
Start Free TrialLog in
Avatar of amigan_99
amigan_99Flag for United States of America

asked on

Downloading the .AES code from a Cisco WLC 2504 - possible?

I want to downgrade a Cisco 2504 WLC from 8.3 to 7.6. I believe this needs to be done in two steps.

First downgrade to 8.0. This was successful.

But now I see that 7.6 code is no longer available for download from Cisco due to some bug in that train. Yet 7.6 is running on some of my active WLCs.
Is there a way I can obtain the 7.6 from one of my active WLCs and put it onto an sftp server? If I go to Commands/Upload file - the file type in the dropdown
are: Config, logs, crash file, debug file and a bung of other things. Everything except the .aes code that I want to obtain for my lab device.

Any suggestions? I tried using WinSCP to sftp or scp to the WLC in hopes of grabbing the code that way. But no luck.
Avatar of Joseph Hornsey
Joseph Hornsey
Flag of United States of America image

I'm not specifically familiar with Cisco WLCs, however on Cisco switches, firewalls and routers, the OS image is located in flash.  At CLI, try:

dir disk0:

or

dir flash:

See if the image is there on one of your working 7.6 WLCs.  If so, then try tftp or ftp to get that file.
Avatar of amigan_99

ASKER

I meant to try this today and got onto something else. Many there's copy flash: tftp: or copy flash: sftp: command on there. ??

Trying to sftp to the WLC from my desktop with WinSCP was a no-go.
There appears to be a transfer command. The closest thing to a show flash is:

(Cisco Controller) >test   system dir /mnt            
drwxrwxrwt    5 root     root          100 Apr  4 17:50 ap_bundle
drwxr-xr-x    9 root     root         4096 Apr  4 17:51 application
drwxr-xr-x    2 root     root         4096 Apr  3 01:06 bootsys
drwxr-xr-x    2 root     root            0 Apr  4 17:50 core
drwxr-xr-x    2 root     root            0 Jan  1  1970 download
drwxr-xr-x    5 root     root         4096 Apr  4 17:47 images

But going into each of those directories I don't see any .AES file. Any other idea where it m ight be hiding?
I found the directory but it looks like the file on the WLC is stored in several files. I recall that when upgrading the WLC that there was an unpacking process. Looks like this is the result of that operation...

(Cisco Controller) >test   system dir /mnt/images/ap.pri  
-rwxr-xr-x    1 root     root     13629440 Apr  4 17:46 ap1g1
-rwxr-xr-x    1 root     root           40 Apr  4 17:46 ap1g1.md5
-rwxr-xr-x    1 root     root     27043840 Apr  4 17:47 ap1g4
-rwxr-xr-x    1 root     root           40 Apr  4 17:47 ap1g4.md5
-rwxr-xr-x    1 root     root     23398400 Apr  4 17:47 ap1g5
-rwxr-xr-x    1 root     root           40 Apr  4 17:47 ap1g5.md5
-rwxr-xr-x    1 root     root     10393600 Apr  4 17:46 ap3g1
-rwxr-xr-x    1 root     root           40 Apr  4 17:46 ap3g1.md5
-rwxr-xr-x    1 root     root     15728640 Apr  4 17:46 ap3g2
-rwxr-xr-x    1 root     root           40 Apr  4 17:46 ap3g2.md5
-rwxr-xr-x    1 root     root     41134080 Apr  4 17:46 ap3g3
-rwxr-xr-x    1 root     root           40 Apr  4 17:46 ap3g3.md5
drwxr-xr-x    2 root     root         4096 Apr  4 17:47 avc
-rwxr-xr-x    1 root     root     14694400 Apr  4 17:46 c3700
-rwxr-xr-x    1 root     root           40 Apr  4 17:46 c3700.md5
-rwxr-xr-x    1 root     root          683 Apr  4 17:47 supported_ap.info
-rwxr-xr-x    1 root     root          244 Apr  4 17:46 version.info
Once you've SSH'd in there, go to an enable prompt and then try the dir command.  It should be in the root of the flash: or disk: object.
Hmmm - so this is what I see when I try to enable..

(Cisco Controller)
User: admin
Password:************

(Cisco Controller) >en

Incorrect usage.  Use the '?' or <TAB> key to list commands.

(Cisco Controller) >?
               
clear          Clear selected configuration elements.
config         Configure switch options and settings.
cping          Send capwap echo packets to a specified mobility peer IP address.
debug          Manages system debug options.
eping          Send Ethernet-over-IP echo packets to a specified mobility peer IP address.
grep           Print lines matching a pattern.
help           Help
license        Manage Software License
linktest       Perform a link test to a specified MAC address.
logout         Exit this session. Any unsaved changes are lost.
mping          Send Mobility echo packets to a specified mobility peer IP address.
ping           Send ICMP echo packets to a specified IP address.
reset          Reboot (hard reload) options.
save           Save switch configurations.
show           Display switch options and settings.
test           Test trigger commands
transfer       Transfer a file to or from the switch.
               
(Cisco Controller) >
ASKER CERTIFIED SOLUTION
Avatar of Benjamin Van Ditmars
Benjamin Van Ditmars
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks much