06-11-2019 09:49 PM - edited 07-05-2021 10:32 AM
Hi,
I am in a situation where I need to check the MD5 on the two WLC .AES images below.
AIR-CT2500-K9-8-5-105-0.aes
AIR-CT2500-AP_BUNDLE-K9-8-5-10 5-0.aes
The "show flash:" or "show dir" command does not work on the WLC CLI like a router or switch so how can I verify the image?
(Cisco Controller) >
MD5 info below
AIR-CT2500-K9-8-5-105-0.aes
7247da408a20a9cefd55482b6b79518b
AIR-CT2500-AP_BUNDLE-K9-8-5-105-0.aes
2ae0cd698a7672f4cb8aa6f70aa1d29d
06-11-2019 09:56 PM - edited 06-11-2019 10:44 PM
I dont think you can check on aireos.
And you don't need to check the MD5. When you upload the new software to the controller, as part of the upload script, the first thing the controller will do is check the MD5.
Hope this helps.
edit:
"And you don't need to check the MD5" I meant to check after you upload to WLC. You do need to verify when you download from Cisco.
How to Validate the Integrity of a Downloaded File from Cisco.com
06-11-2019 10:17 PM
Hi,
You can verify the software before you do the copy. Install MD5 checker on your machine and verify file before you copy to the controller.
Thamks
John
06-11-2019 11:32 PM
08-27-2020 12:58 PM
The thing that annoys me about WLC's is when using the GUI to download a new version of code all it show is "TFTP Code transfer is starting." and you have no idea what's happening unless your TFTP client shows transfer statistics. In our case we are using the Solarwinds TFTP server and it doesn't show stats so I found the following command on the WLC CLI will at least show the size of the file currently being transferred to at least verify it's doing something.
test system dir /mnt/download
(Cisco Controller) >test system dir /mnt/download
-rwsr-sr-t 1 root root 42438656 Aug 27 19:54 local.tgz
The numeric is the size and if you keep issuing the command you should see it increasing. In my example it's showing 42+M so far so I know it has a way to go considering the .aes file is over 300M.
08-28-2020 01:03 AM
https://emn178.github.io/online-tools/md5_checksum.html (e.g.)
M.
03-18-2022 04:56 PM
From Mac OSX terminal, run the command "md5 {{ path/to/filename }}" It will return something like:
MD5 (AIR-CT3504-K9-8-10-162-0.aes) = 1e0643984acb95983b9c64d835a624d6
The hash can be compared to the hash listed in Cisco's software download webpage.
In Linux bash, the command is almost the same "md5sum {{ path/to/filename }}"
1e0643984acb95983b9c64d835a624d6 AIR-CT3504-K9-8-10-162-0.aes
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide