xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
587
DGS-3627:admin# download firmware_fromRCP src_file DGS-3627.had
Command: download firmware_fromRCP src_file DGS-3627.had
Using RCP Server IP: 172.18.212.106
Using RCP Server Username
: rcp_user
Connecting to server
...................
Done.
Download firmware
......................
Done.
Do not power off!
Please wait, programming flash
.........
Done.
Saving current settings to NV-RAM
......
Done.
DGS-3627:admin#
upload firmware_toRCP
Purpose
Upload firmware from device to RCP server.
Syntax
upload firmware_toRCP [{ username <username 15>}{<ipaddr>} dest_file
<path_filename 64> |rcp:<string 128>] {src_file <pathname 64>}
Description
This command is used to upload firmware from the device to the RCP server.
Parameters
username
- The remote user name on RCP Server.
ipaddr
- The IP address of the RCP server.
path_filename
- The pathname specifies the pathname on the RCP server or local RCP
client.
Note:
If a user specifies the relative file path, the path search strategy will depend on the
server system. For some systems, the current user working directory will be searched first
followed by the environment path.
rcp: <string 128>
- Syntax: rcp: username@ipaddr/directory/filename
Example for FULL path: [email protected]/home/user_name/desxxxx.had
Example for relative path: [email protected]./desxxxx.had
Note:
No SPACE in the whole <string>.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To upload firmware to an RCP Server and rename the image file to DGS-3627-uploaded.had:
DGS-3627:admin# upload firmware_toRCP username rcp_user
172.18.212.106 dest_file
/home/DGS-3627-uploaded.had unit 1 image_id 2
Command: upload firmware_toRCP username rcp_user
172.18.212.106 dest_file /home/DGS-
3627-uploaded.had
Connecting to server
...................
Done.
Upload firmware
........................
Done.
DGS-3627:admin#
To upload firmware from a single image device to an RCP server using an RCP string: