cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1581
Views
3
Helpful
5
Replies

Update Catalyst 1300 via CLI

ewald.jeitler
Level 1
Level 1

I am trying to update a Cisco Catalyt 1300 switch - via Web GUI this works perfectly. Unfortunately I have customers where I only have a Linux Jumphost and no access to the Web GUI because it is disabled. So port forwarding via SSH is also not an option to access the GUI.

Now I have the task of updating the switches.
I have access via SSH
I have the following servers to choose from on which the software can be deployed ( SCP / FTP / HTTP / HTTPS / FTPS / TFTP )

Unfortunately I have not found a way to update the software purely via the CLI.
Thanks in advance for any hints to help me find the solution.

1 Accepted Solution

Accepted Solutions

@ewald.jeitler 

 This switch will not give you the possibility to upgrade via CLI.

https://www.cisco.com/c/en/us/td/docs/switches/campus-lan-switches-access/Catalyst-1200-and-1300-Switches/cli/C1300-cli/introduction.html

There is only a sub set of commands available.

Are you not able to stablish HTTP session using the linux server as jump and create a Tunnel on Putty?

View solution in original post

5 Replies 5

@ewald.jeitler 

 This switch will not give you the possibility to upgrade via CLI.

https://www.cisco.com/c/en/us/td/docs/switches/campus-lan-switches-access/Catalyst-1200-and-1300-Switches/cli/C1300-cli/introduction.html

There is only a sub set of commands available.

Are you not able to stablish HTTP session using the linux server as jump and create a Tunnel on Putty?

with the command

switchxxxxxx# boot system "Path to Image"

switchxxxxxx#sh version
Active-image: flash://system/images/image1.bin
Version: 4.0.0.93
MD5 Digest: 47e95290bcaecc0e6f2022c1dc90549b
Date: 27-Jul-2023
Time: 11:17:21
Inactive after reboot
Inactive-image: flash://system/images/image_c1300_4.1.4.1_official_key.bin
Version: 4.1.4.1
MD5 Digest: 05630f44302d1c3c96449cc0a039868e
Date: 05-Aug-2024
Time: 04:48:44
Active after reboot

 

 

you can Update the Swtich via CLI.

 

 

 

Hi !

I am trying to copy image with cli,

switchxxxx#copy   tftp://image_c1300_4.1.6.53_official_key.bin     flash://system/images/image_c1300_4.1.6.53_official_key.bin

but receive error message : "Must be valid URL or reserved keyword"

Anyone who has managed to copy by cli successfully ?

Hi Harald,

you have to enter the Name or IP of the Source tftp:

copy tftp://SERVER_IP/filename.bin flash://filename.bin

I hope this will Help you

Thanks, solved