02-09-2022 03:36 PM
I mistaken factory reset the cisco 9300 i was working on. After getting it to boot from my Flash drive I am trying to save the ios to flash but keep getting this:
Switch#copy usbflash1:/cat9k_iosxe.17.03.01.SPA.bin system flash:
^
% Invalid input detected at '^' marker.
Switch#copy usbflash1:cat9k_iosxe.17.03.01.SPA.bin run
^
% Invalid input detected at '^' marker.
02-09-2022 03:40 PM
Try below :
Try first
#dir usbflash1
# copy usbflash1:cat9k_iosxe.17.03.01.SPA.bin flash:
still issue, post complete boot process, dir output
02-09-2022 03:56 PM
Switch>
Switch>en
Switch#terminal length 0
Switch#dir usbflash1
%Error opening flash:/usbflash1 (No such file or directory)
Switch#dir usbflash1:
^
% Invalid input detected at '^' marker.
Switch#
02-09-2022 03:44 PM - edited 02-09-2022 03:46 PM
@DO5 wrote:
Switch#copy usbflash1:/cat9k_iosxe.17.03.01.SPA.bin system flash:
The syntax is incorrect.
For a switch that is stacked, the correct syntax is:
copy usbflash-1:filename.bin flash-1:filename.bin
For a standalone switch:
copy usbflash:filename.bin flash:filename.bin
02-09-2022 03:54 PM - edited 02-09-2022 03:59 PM
do I still utilize the same syntax if I am copying from a usb?
Switch#$sh:cat9k_iosxe.17.03.01.SPA.bin flash:cat9k_iosxe.17.03.01.SPA.bin
copy usbflash:cat9k_iosxe.17.03.01.SPA.bin flash:cat9k_iosxe.17.03.01.SPA.bin
^
% Invalid input detected at '^' marker.
Switch#
Switch#
Switch#$sh:/cat9k_iosxe.17.03.01.SPA.bin flash:cat9k_iosxe.17.03.01.SPA.bin
copy usbflash:/cat9k_iosxe.17.03.01.SPA.bin flash:cat9k_iosxe.17.03.01.SPA.bin
^
% Invalid input detected at '^' marker.
02-09-2022 03:55 PM
yes
try first
#dir usbflash1:
#dir flash:
# copy usbflash1:cat9k_iosxe.17.03.01.SPA.bin flash:
still issue, post complete boot process, dir output
02-09-2022 04:05 PM
Switch#dir flash:
Directory of flash:/
360530 -rw- 0 Feb 9 2022 23:49:00 +00:00 dope_hist
360515 -rw- 18158 Feb 9 2022 23:49:00 +00:00 rdope_out.txt
360516 -rw- 89 Feb 9 2022 23:48:58 +00:00 rdope.log
360521 -rw- 2097152 Feb 9 2022 23:48:49 +00:00 nvram_config_bkup
360520 -rw- 2097152 Feb 9 2022 23:48:49 +00:00 nvram_config
360453 drwx 4096 Feb 9 2022 23:48:41 +00:00 .prst_sync
360462 -rw- 5242880 Feb 9 2022 23:48:22 +00:00 ssd
360500 -rwx 2049 Feb 9 2022 23:48:06 +00:00 svl_ipc.tcl
360456 -rw- 134458 Feb 9 2022 23:48:06 +00:00 memleak.tcl
360455 -rw- 395 Feb 9 2022 23:47:53 +00:00 boothelper.log
368642 drwx 4096 Feb 9 2022 23:47:51 +00:00 dc_profile_dir
360451 -rw- 296 Feb 9 2022 23:47:41 +00:00 bootloader_evt_handle.log
360450 drwx 4096 Feb 9 2022 23:47:40 +00:00 .installer
360529 -rw- 6467 Feb 9 2022 23:01:42 +00:00 backup.cfg
360511 drwx 4096 Feb 9 2022 19:17:14 +00:00 .dbpersist
360518 drwx 4096 Feb 9 2022 19:15:05 +00:00 pnp-tech
360452 drwx 4096 Feb 9 2022 17:24:22 +00:00 core
360517 drwx 4096 Feb 9 2022 17:24:06 +00:00 guest-share
360513 drwx 4096 Feb 9 2022 17:24:02 +00:00 onep
360458 drwx 4096 Feb 9 2022 17:24:02 +00:00 pnp-info
360501 drwx 4096 Feb 9 2022 17:18:39 +00:00 Tbot
360495 drwx 4096 Feb 9 2022 17:18:30 +00:00 sys_report
360464 drwx 4096 Feb 9 2022 17:18:30 +00:00 tech_support
368644 drwx 4096 Feb 9 2022 17:18:30 +00:00 gs_script
360463 drwx 4096 Feb 9 2022 17:18:27 +00:00 ss_disc
368641 drwx 4096 Feb 8 2022 22:04:41 +00:00 .rollback_timer
11353194496 bytes total (10736525312 bytes free)
Switch#
Switch#copy usbflash1:cat9k_iosxe.17.03.01.SPA.bin flash:
^
% Invalid input detected at '^' marker.
Switch#
02-09-2022 04:12 PM
Switch#dir usbflash1:
^
% Invalid input detected at '^' marker.
Switch#dir flash:
Directory of flash:/
360530 -rw- 0 Feb 9 2022 23:49:00 +00:00 dope_hist
360515 -rw- 18158 Feb 9 2022 23:49:00 +00:00 rdope_out.txt
360516 -rw- 89 Feb 9 2022 23:48:58 +00:00 rdope.log
360521 -rw- 2097152 Feb 9 2022 23:48:49 +00:00 nvram_config_bkup
360520 -rw- 2097152 Feb 9 2022 23:48:49 +00:00 nvram_config
360453 drwx 4096 Feb 9 2022 23:48:41 +00:00 .prst_sync
360462 -rw- 5242880 Feb 9 2022 23:48:22 +00:00 ssd
360500 -rwx 2049 Feb 9 2022 23:48:06 +00:00 svl_ipc.tcl
360456 -rw- 134458 Feb 9 2022 23:48:06 +00:00 memleak.tcl
360455 -rw- 395 Feb 9 2022 23:47:53 +00:00 boothelper.log
368642 drwx 4096 Feb 9 2022 23:47:51 +00:00 dc_profile_dir
360451 -rw- 296 Feb 9 2022 23:47:41 +00:00 bootloader_evt_handle.log
360450 drwx 4096 Feb 9 2022 23:47:40 +00:00 .installer
360529 -rw- 6467 Feb 9 2022 23:01:42 +00:00 backup.cfg
360511 drwx 4096 Feb 9 2022 19:17:14 +00:00 .dbpersist
360518 drwx 4096 Feb 9 2022 19:15:05 +00:00 pnp-tech
360452 drwx 4096 Feb 9 2022 17:24:22 +00:00 core
360517 drwx 4096 Feb 9 2022 17:24:06 +00:00 guest-share
360513 drwx 4096 Feb 9 2022 17:24:02 +00:00 onep
360458 drwx 4096 Feb 9 2022 17:24:02 +00:00 pnp-info
360501 drwx 4096 Feb 9 2022 17:18:39 +00:00 Tbot
360495 drwx 4096 Feb 9 2022 17:18:30 +00:00 sys_report
360464 drwx 4096 Feb 9 2022 17:18:30 +00:00 tech_support
368644 drwx 4096 Feb 9 2022 17:18:30 +00:00 gs_script
360463 drwx 4096 Feb 9 2022 17:18:27 +00:00 ss_disc
368641 drwx 4096 Feb 8 2022 22:04:41 +00:00 .rollback_timer
11353194496 bytes total (10736525312 bytes free)
Switch#copy usbflash1:cat9k_iosxe.17.03.01.SPA.bin flash:
^
% Invalid input detected at '^' marker.
02-10-2022 12:05 AM
As you mentioned you booted with USB that is correct right ? if yes then try
dir usbflash0: (if the files display) then copy from USB. make sure it list the file cat9k_iosxe.17.03.01.SPA.bin
#copy usbflash0:cat9k_iosxe.17.03.01.SPA.bin flash:cat9k_iosxe.17.03.01.SPA.bin
02-10-2022 04:31 AM
when i booted from usb it was boot usbflash1:/cat9k_iosxe.17.03.01.SPA.bin why does now change to Usbflash0:?
02-10-2022 07:02 AM
Not sure until we see the output we requested, check the logs what name it recognised as . (its really not matter we are just using USB to copy image to flash to work
02-09-2022 03:56 PM
@DO5 wrote:
do I still utilize the same syntax if I am copying from a usb?
Yes, use the same syntax for either standalone or a switch member.
02-09-2022 04:13 PM
I am dealing with an standalone and the syntax didn't work.
02-09-2022 04:31 PM
@DO5 wrote:
I am dealing with an standalone and the syntax didn't work.
For standalone, the syntax is:
copy usbflash:filename.bin flash:filename.bin
Check the logs to make sure the USB thumb drive is "compatible" with the switch.
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