Hi all
Lately I have been working with the mobility express AP’s from Cisco. One of the important things to do when you set up new equipment is to have a backup and restore policy for the config.. I chose the easy way out using tftp, it’s the quickest and easiest way to transfer files as long as you have the tftp server secured. The other option you have is ftp.
transfer upload mode tftp
Sets the mode to tftp, you can also choose ftp but then you need to add in username and password too.
transfer upload datatype config
Choose config as the information to store on the server
transfer encrypt enable
Turns on encryption for the file
transfer encrypt set-key supersecret
Gives the encryption a password
transfer upload serverip 10.10.10.10
Gives the ME an IP to the server where to store the config
transfer upload filename MEconfig.cfg
Filename for the config.
transfer upload start
Start the upload.
transfer upload mode tftp transfer upload datatype config transfer encrypt enable transfer encrypt set-key supersecret transfer upload serverip 10.10.10.10 transfer upload filename MEconfig.cfg transfer upload start
You should then get the following output.
Mode……………………………………… TFTP TFTP Server IP…………………………….. 10.10.10.10 TFTP Path…………………………………. TFTP Filename……………………………… MEconfig.cfg Data Type…………………………………. Config File Encryption………………………………… Enabled Are you sure you want to start? (y/N) y File transfer operation completed successfully.
So far you have done the backup. Then the second most important thing comes, do the restore. It’s almost the same, but you swap out upload with download.
transfer download datatype config transfer download mode tftp transfer encrypt enable transfer encrypt set-key supersecret transfer download serverip 10.10.10.10 transfer download filename MEconfig.cfg transfer download start
After the commands have been entered you should see the following output.
Mode............................................. TFTP Data Type........................................ Config TFTP Server IP................................... 10.10.10.10 TFTP Packet Timeout.............................. 6 TFTP Max Retries................................. 10 TFTP Path........................................ TFTP Filename.................................... MEconfig.cfg Encrypt/Decrypt Flag............................. Enabled Warning: Downloading configuration will cause the controller to reset... This may take some time. Are you sure you want to start? (y/N) y TFTP Config transfer starting. TFTP receive complete... updating configuration. CCO Username & Password will NOT be imported. Please Re-Configure the Credentials 'transfer download ap-images cco-username ' 'transfer download ap-images cco-password ' after bootup for Image Download TFTP receive complete... storing in flash. Sync config to peers. System being reset.