ā01-22-2014 05:10 PM
Hi All,
Is it possible to copy non-image files such as music on hold to multiple router flash via Cisco LMS. I couldn't find any option. We are using
Cisco Prime LAN Management Solution Version 4.2.3.
We have successfully deployed images in past via lms but not other files.
Thanks in advance.
ā01-22-2014 07:10 PM
The Software distribution mechanism would not be able to do so, as it is designed to use the commands necessary for image/patch transfers and not the simple tftp/ftp transfers.
Its mechanism transfers file, checks the md5 checksum for image and verifies other details on images like flash, RAM requirements as well. Any other file when selected will fail.
Though there can be a workaround on what you want to try, via NetConfig tasks.
You can try to configure Interactive and Multiline command to make it work, by externally hosting the file in an FTP/TFTP Server.
I just tested an external TFTP server to transfer an .mp3 file to my switch's disk0:.
Following is the command I tried on NetConfig:
copy tftp disk0:
I see the file copied to my switch :
6500#dir disk0:
Directory of disk0:/
1 -rw- 51088 Nov 22 2013 18:12:10 +05:30 snmp_data
2 -rw- 115488 Jan 23 2014 07:11:00 +05:30 8787.mp3
127873024 bytes total (127586304 bytes free)
6500#
You can deploy this job on multiple devices from NetConfig.
Apart from this, I don't see any other option in LMS.
-Thanks
Vinod
**Rating Encourages contributors, and its really free. **
ā01-22-2014 08:26 PM
Hi Harpreet,
As vinod suggestion should work for you ,however in case if the syntax suggested by vinod does not work then try something like below:
copy tftp://x.x.x.x/updates.txt running
Thanks-
Afroz
[Do rate the useful post]
ā01-23-2014 02:25 PM
Thanks for your reply.
If I manually copy the command on the router, the router wants me to confirm the destination filename (see below)
router#copy ftp://10.xx.xx.xx/MOH.au flash:MOH.au
Destination filename [MOH.au]?
which is ok but how would you tell lms to press enter or provide the name of the file.
Below are the netconfigs I have tried and it fails everytime
1) copy ftp://10.xx.xx.xx/MOH.au flash:MOH.au
2) copy ftp://10.xx.xx.xx/MOH.au flash:MOH.au
MOH.au
3) copy ftp://10.xx.xx.xx/MOH.au flash:MOH.au
!
ā01-23-2014 07:25 PM
Hi,
That's where the syntax that we suggested will work for you..
create a Netconfig ,ADHOC JOB and select ENABLE mode NOT the config mode.
and use the below syntax:
copy ftp://10.xx.xx.xx/MOH.auflash:MOH.au
Thanks-
Afroz
[Do rate the useful post]
ā01-28-2014 06:25 PM
Thank you Afroj & Vinod
All good now, I wasn't using the syntax
Is that a default syntax to trigger enter?
ā01-28-2014 07:44 PM
Glad to know it worked. To handle any interactive input
It can be used with any input a vammand execution may need.
Please check this document for more details:
http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_lan_management_solution/4.2/user/guide/configuration/netcfg.html#wp1301559
-Thanks
Vinod
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