03-25-2016 02:27 AM - edited 03-08-2019 05:06 AM
Pls tell me how to copy C3850 IOS Software image to tftp.
C3850 default configuration is istallation mode to boot packages.conf.
If it adapt bandle mode, "copy flash:*.bin tftp:command can be conducted to backup. How about installation mode ??
Pls see some command result and let me know how to. Thanks.
---
TEST#show version
Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIV ERSALK9-M), Version 03.02.03.SE RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Mon 23-Sep-13 18:24 by prod_rel_team
Cisco IOS-XE software, Copyright (c) 2005-2013 by cisco Systems, Inc.
All rights reserved. Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0. The
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0.
(http://www.gnu.org/licenses/gpl-2.0.html) For more details, see the
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
software.
ROM: IOS-XE ROMMON
BOOTLDR: CAT3K_CAA Boot Loader (CAT3K_CAA-HBOOT-M) Version 1.2, RELEASE SOFTWARE (P)
--More--
WMJ-CORE-SW01 uptime is 6 weeks, 3 days, 22 hours, 32 minutes
Uptime for this control processor is 6 weeks, 3 days, 22 hours, 35 minutes
System returned to ROM by reload at 10:10:10 JST Wed Apr 23 2014
System restarted at 17:18:50 JST Sun Feb 7 2016
System image file is "flash:packages.conf"
Last reload reason: Reload command
WMJ-CORE-SW01#show flash
-#- --length-- ---------date/time--------- path
2 2097152 Feb 07 2016 00:06:12 +00:00 nvram_config
3 74369716 Jan 21 2014 16:31:59 +00:00 cat3k_caa-base.SPA.03.02.03.SE.pkg
4 5808828 Apr 10 2014 23:24:58 +00:00 cat3k_caa-drivers.SPA.03.02.03.SE.pkg
5 32496484 Jan 21 2014 16:31:59 +00:00 cat3k_caa-infra.SPA.03.02.03.SE.pkg
6 30418104 Jan 21 2014 16:31:59 +00:00 cat3k_caa-iosd-universalk9.SPA.150-1.EX3.pkg
7 16059104 Jan 21 2014 16:31:59 +00:00 cat3k_caa-platform.SPA.03.02.03.SE.pkg
8 64586444 Jan 21 2014 16:31:59 +00:00 cat3k_caa-wcm.SPA.10.0.120.0.pkg
9 1224 Apr 10 2014 23:25:02 +00:00 packages.conf
10 976 Feb 07 2016 00:05:47 +00:00 vlan.dat
1311023104 bytes available (228552704 bytes used)
03-25-2016 02:55 AM
Hi
Copy the image to the directory and then use the command as an example ----------software install file flash:cat3k_caa-universalk9.SPA.03.03.01.SE.150-1.bin
Here is the cisco doc showing it
http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3850-series-switches/117552-technote-cat3850-00.html
03-28-2016 07:58 PM
Hi Mark,
I just need how to copy the image file to local computer due to emergency recovery which would happen in the future.
Is the only way to download the IOS-XE .bin file from the Cisco web site ? Never extract it from active switch ?
Thanks,
03-29-2016 01:15 AM
it depends on what way you installed it , it can be done but it has to uploaded that way first , as mine below I have .bin and .pkg files , there are multiple upload methods on 3850
https://supportforums.cisco.com/document/12067331/3850-switch-ios-xe-upgrade-detailed-standalone
Directory of flash:/
46466 -rwx 2097152 Feb 24 2016 17:59:49 +00:00 nvram_config
46467 -rwx 74369716 Mar 4 2014 03:32:33 +00:00 cat3k_caa-base.SPA.03.02.03.SE.pkg
46468 -rwx 5808828 Mar 4 2014 03:32:33 +00:00 cat3k_caa-drivers.SPA.03.02.03.SE.pkg
46469 -rwx 32496484 Mar 4 2014 03:32:33 +00:00 cat3k_caa-infra.SPA.03.02.03.SE.pkg
46470 -rwx 30418104 Mar 4 2014 03:32:33 +00:00 cat3k_caa-iosd-universalk9.SPA.150-1.EX3.pkg
46471 -rwx 16059104 Mar 4 2014 03:32:33 +00:00 cat3k_caa-platform.SPA.03.02.03.SE.pkg
46472 -rwx 64586444 Mar 4 2014 03:32:33 +00:00 cat3k_caa-wcm.SPA.10.0.120.0.pkg
46473 -rwx 1224 Mar 4 2014 03:32:43 +00:00 packages.conf
46474 -rw- 676 Oct 29 2015 15:56:27 +00:00 vlan.dat
46475 -rw- 290796004 Jul 15 2015 07:22:34 +00:00 cat3k_caa-universalk9.SPA.03.06.02a.E.152-2a.E2.bin
77442 drwx 4096 Jul 25 2015 14:14:58 +00:00 dc_profile_dir
07-06-2017 02:51 AM
-#- --length-- ---------date/time--------- path
2 2097152 Jul 05 2017 10:55:05.0000000000 +00:00 nvram_config
3 83293932 May 12 2017 15:28:32.0000000000 +00:00 cat3k_caa-base.SPA.03.06.06E.pkg
4 3982012 May 12 2017 15:28:33.0000000000 +00:00 cat3k_caa-drivers.SPA.03.06.06E.pkg
5 33788908 May 12 2017 15:28:32.0000000000 +00:00 cat3k_caa-infra.SPA.03.06.06E.pkg
6 43074880 May 12 2017 15:28:32.0000000000 +00:00 cat3k_caa-iosd-universalk9.SPA.152-2.E6.pkg
7 28394380 May 12 2017 15:28:32.0000000000 +00:00 cat3k_caa-platform.SPA.03.06.06E.pkg
8 111233856 May 12 2017 15:28:33.0000000000 +00:00 cat3k_caa-wcm.SPA.10.2.160.0.pkg
9 1236 May 12 2017 15:28:46.0000000000 +00:00 packages.conf
10 4096 May 12 2017 15:48:17.0000000000 +00:00 dc_profile_dir
11 193087 May 12 2017 15:48:17.0000000000 +00:00 dc_profile_dir/dc_default_profiles.txt
12 616 Jul 04 2017 07:28:39.0000000000 +00:00 vlan.dat
1230716928 bytes available (308858880 bytes used)
which one is the ios file that i can use in another switch
03-29-2016 01:31 AM
Hello
1)Download free tftp server/client here and install it on your pc
2)Attach pc to you network and make sure the ip address range/subnet of the pc isnt being denied tftp access (tcp/udp port 69)
3) enable your tftp server/client software on pc and test to see if your switch can ping your pc
( make sure any software fw on your pc isnt negating icmp)
4) from switch - use the copy flash: command
sh ver | in System image
System image file is "flash:/c3560-ipbase-mz.122-25.SEE2/c3560-advipservicesk9-mz.122-46.SE.bin"
copy flash:c3560-ipbase-mz.122-25.SEE2/c3560-advipservicesk9-mz.122-46.SE.bin tftp:
(press enter)
Address or name of remote host ? 1.1.1.1
You can also save your running-config to a file on the router itself and be able retrieve if need be:
copy running-config flash:SAVEMYCONFIG
Destination filename [SAVEMYCONFIG]?
4718 bytes copied in 1.619 secs (2914 bytes/sec
to replace it back to active state:
Configure replace flash:SAVEMYCONFIG
This will apply all necessary additions and deletions
to replace the current running configuration with the
contents of the specified configuration file, which is
assumed to be a complete configuration, not a partial
configuration. Enter Y if you are sure you want to proceed. ? [no]: yes
Total number of passes: 0
Rollback Done
res
Paul
03-29-2016 06:40 AM
hi,
try issuing command:
copy flash:cat3k_caa-iosd-universalk9.SPA.150-1.EX3.pkg tftp
personally, i just upgrade a 3850 which uses .pkg image to the normal .bin file.
this is also a good practice for future stacking as well.
the latest recommended IOS Cisco's download site is:
cat3k_caa-universalk9.SPA.03.06.04.E.152-2.E4.bin
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