Reset Search
 

 

Article

Updating HiveOS from CLI using SCP, TFTP, or HTTP(s)

« Go Back

Information

 
TitleUpdating HiveOS from CLI using SCP, TFTP, or HTTP(s)
Symptoms
Goal: Update HiveOS via CLI using SCP, TFTP, HTTP, or HTTPS
Environment
  • HiveOS Device
  • IP-SSH or Console-CLI Session
  • SCP, TFTP, HTTP, or HTTPS hosted HiveOS image

Scenario:
  • Device was migrated to Cloud Hivemanager on unsupported HiveOS
  • Failing to update Configuration or HiveOS through Hivemanager
  • SR2024P, SR2124P, SR2148P Switches Don't have WebUI
Cause
Resolution

SSH in to the AP How to SSH in to a device using PuTTY

The Command:
  • save image <location>
  • save image <url>

Enter the protocol, SCP user name, location, path, file name, and SCP port number
(Range: 1-256 chars; Default SCP port number: 22)

Format:
tftp://location:path/filename,
scp://username@location:path/filename
or scp://username@location:port:path/filename;

If location is an IPv6 address:
tftp://[IPv6 address]:path/filename,
scp://username@[IPv6 address]:path/filename
or scp://username@[IPv6 address]:port:path/filename)

If the file is available via HTTP or HTTPS:
Enter the HTTP protocol, remote server domain name, port, directory path, and file name (Default port: 80; 1-256 chars)

Format:
http://domain/path/file,
http://domain:port/path/file;
Note: You can substitute "https" for "http".)


EXAMPLE
save image https://s3.amazonaws.com/yourS3bucket/HiveOS_10.0r5/AP130-10.0r5.img.S

You can further add:
  • <time>   Enter the time that you want the system to reboot (Format:hh:mm:ss)
  • admin  Set the name of the server administrator
  • now  Save the image and reboot the system immediately
  • offset   Set a relative time for the system to reboot
  • proxy  Set parameters for the HTTP proxy server
  • no-prompt  Simply queries for the file without credentials.


User-added image
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255