Copy multiple files to Cisco flash using IOS command

I found that copy files one by one from tftp server to Cisco router flash is extremely annoying and inefficient. So what I did is to group the files I want to copy to Cisco router flash in tar format with 7zip, then use the copy command in cisco IOS.

Router#copy tftp://192.168.0.10/IOS.tar flash:
Destination filename [IOS.tar]?
Accessing tftp://192.168.0.10/IOS.tar...
Loading IOS.tar from 192.168.0.10 (via FastEthernet0/1): !!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 6503936 bytes]

6503936 bytes copied in 29.388 secs (221313 bytes/sec)
Router#archive tar /xtract IOS.tar flash:
extracting 128MB.sdf (504643 bytes)
extracting common.tar (820224 bytes)
extracting es.tar (763392 bytes)
extracting home.shtml (1038 bytes)
extracting home.tar (113152 bytes)
extracting ips.tar (1208320 bytes)
extracting sdm.tar (3085312 bytes)
extracting sdmconfig-2811.cfg (1648 bytes)
Router#delete flash:IOS.tar
Delete filename [IOS.tar]?
Delete flash:IOS.tar? [confirm]
Advertisements
This entry was posted in Network Maintenance and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s