cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
1289
Views
20
Helpful
6
Replies

Copy/ftp non-image files to multiple router flash via LMS

harpreetparhar
Level 1
Level 1

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.

6 Replies 6

Vinod Arya
Cisco Employee
Cisco Employee

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: 64.103.176.114 8787.mp3

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. **

-Thanks Vinod **Rating Encourages contributors, and its really free. **

AFROJ AHMAD
Cisco Employee
Cisco Employee

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]

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

harpreetparhar
Level 1
Level 1

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

   !

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]

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

Thank you Afroj & Vinod

All good now, I wasn't using the syntax at the end.

Is that a default syntax to trigger enter?

Vinod Arya
Cisco Employee
Cisco Employee

Glad to know it worked. To handle any interactive input is used in NetConfig.

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

-Thanks Vinod **Rating Encourages contributors, and its really free. **