cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1940
Views
0
Helpful
11
Replies

isco Prime 3.9 Software Distribute fails - Copying x.bin to the flash

daniel.k.hall
Level 1
Level 1

I consistently get the following errors when attempting to perform a software upgrade via Prime:

 

SCP
Flash Validation successfully completed.Loading Image File to Device : Copying image cat3k_caa-universalk9.16.12.06.SPA.bin to the flash flash: failed. Error occured while communicating with the device. Check device credentials and SSH/telnet reachability..

 

FTP
Flash Validation successfully completed.Loading Image File to Device : Copying image cat3k_caa-universalk9.16.12.06.SPA.bin to the flash flash: failed. Error occured while executing the command copy ftp://ftp-user:LD7SIZKcSLGK7BX@172.26.16.170/cat3k_caa-universalk9.16.12.06.SPA.bin flash.Command Output : ]? cat3k_caa-universalk9.16.12.06.SPA.binAccessing ftp://*:*@172.26.16.170/cat3k_caa-universalk9.16.12.06.SPA.bin...%Error opening ftp://*:*@172.26.16.170/cat3k_caa-universalk9.16.12.06.SPA.bin (Timed out).

 

I am able to connect via SSH to the switch stack consisting of two WS-C3650-48PS.  I attempted the process and it continued to fail when I removed:  

snmp-server view ViewName ciscoFlashMIB excluded

 

11 Replies 11

Leo Laohoo
Hall of Fame
Hall of Fame

Is the target switch a standalone or a stack?

Go to the target switch and post the complete output to the command "dir". 

A switch stack. 

Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
* 1 52 WS-C3650-48PS 16.9.4 CAT3K_CAA-UNIVERSALK9 INSTALL
2 52 WS-C3650-48PS 16.9.4 CAT3K_CAA-UNIVERSALK9 INSTALL

 

Directory of flash:/

7766 -rw- 736 Feb 21 2022 19:18:09 -05:00 stby-vlan.dat
7780 -rw- 68584 Jul 20 2021 21:56:01 -04:00 -Jul-20-21-55-58.616-EDT-0
7773 -rw- 2097152 Mar 11 2022 12:11:42 -05:00 nvram_config
7781 -rw- 4774 Jul 20 2021 15:40:15 -04:00 packages.conf
7768 drwx 4096 Feb 21 2022 18:29:04 -05:00 .installer
7769 -rw- 555 Feb 21 2022 18:29:06 -05:00 bootloader_evt_handle.log
7770 drwx 4096 Dec 13 2021 08:39:20 -05:00 core
38801 drwx 4096 Dec 13 2021 08:45:47 -05:00 .prst_sync
54321 drwx 4096 Jun 7 2019 20:12:33 -04:00 .rollback_timer
62081 drwx 4096 Jun 7 2019 20:12:41 -04:00 gs_script
69841 drwx 4096 Feb 21 2022 18:29:18 -05:00 dc_profile_dir
7771 -rw- 123888 Feb 21 2022 18:29:41 -05:00 memleak.tcl
7775 -rw- 2097152 Mar 11 2022 12:11:42 -05:00 nvram_config_bkup
7772 -rw- 35 Jul 20 2021 15:54:00 -04:00 pnp-tech-time
7776 -rw- 83117 Jul 20 2021 15:54:05 -04:00 pnp-tech-discovery-summary
7782 -rw- 736 Feb 21 2022 18:33:44 -05:00 vlan.dat
7767 drwx 4096 Jul 20 2021 15:46:26 -04:00 tech_support
7805 drwx 4096 Jul 20 2021 15:54:55 -04:00 .dbpersist
7806 -rw- 0 Feb 21 2022 18:33:07 -05:00 rdope_out.txt
7808 drwx 4096 Jul 20 2021 15:50:34 -04:00 onep
7783 -rw- 19858044 Jul 20 2021 15:39:13 -04:00 cat3k_caa-guestshell.16.09.04.SPA.pkg
7787 -rw- 30894576 Jul 20 2021 15:39:16 -04:00 cat3k_caa-rpbase.16.09.04.SPA.pkg
7784 -rw- 373381748 Jul 20 2021 15:39:15 -04:00 cat3k_caa-rpcore.16.09.04.SPA.pkg
7786 -rw- 3107452 Jul 20 2021 15:39:16 -04:00 cat3k_caa-srdriver.16.09.04.SPA.pkg
7785 -rw- 22784632 Jul 20 2021 15:39:16 -04:00 cat3k_caa-webui.16.09.04.SPA.pkg
7807 -rw- 90 Feb 21 2022 18:33:18 -05:00 rdope.log

1624104960 bytes total (1080135680 bytes free)

 

 

How many stacks are being upgraded by PI?

Two switches in the stack.

marce1000
VIP
VIP

 

              - Anything in the logs of the switch when Prime is doing this ? Also check https://www.cisco.com/c/dam/en/us/td/docs/net_mgmt/prime/infrastructure/3-9/supported/devices/PI39-Supported-Device-List.xlsx , verify your device is supported in the current Prime version that you are using , also look at the minimum IOS requirement(s)

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Nothing useful in the logs.

 

  - Remove a particular device from Prime (which has the problem). Enter it again , but press Verify Credentials  first.

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

I did that prior to making the original post to include verifying credentials.  Credentials register as 'success'.  Unfortunately, I received the same failed results after removing, re-adding, and verifying credentials.

Hello,

 

also, what if your try TFTP ?

Hello,

 

can you clarify what you mean by this:

 

I am able to connect via SSH to the switch stack consisting of two WS-C3650-48PS. I attempted the process and it continued to fail when I removed:

snmp-server view ViewName ciscoFlashMIB excluded

 

The process (what process) works when you configure 'snmp-server view ViewName ciscoFlashMIB excluded' ?

I followed the procedure from this link:  https://www.cisco.com/c/en/us/td/docs/net_mgmt/prime/infrastructure/3-9/user/guide/bk_CiscoPrimeInfrastructure_3_9_0_UserGuide/manage_device_software_images.html#task_F0E7BA3005B5434D9FC0E70E78668A8C

 

The note under Distribute a New Software Image to Devices states:  

To ensure that there are no SNMP views blocking access to the CISCO-FLASH-MIB, remove the following command from the configuration for all routers and switches (if present) on which you want to download a software image:

The software image distribution and image import may fail with authentication error, if you use special characters in the protocol password.

 

Right below the note shows:  snmp-server view ViewName ciscoFlashMIB excluded

 

I issued:  no snmp-server view ViewName ciscoFlashMIB exclueded

Review Cisco Networking for a $25 gift card