xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
482
Example usage:
To display the global RCP Server configuration:
DGS-3450:admin#show rcp server
Command: show rcp server
RCP Server Address : 172.18.212.106
RCP Server Username : rcp_user
DGS-3450:admin#
download firmware_fromRCP
Purpose
This command is used to download firmware from RCP server.
Syntax
download firmware_fromRCP [{username <username 15>} {<ipaddr>} {src_file}
<path_filename 64> |rcp: <string 128>] {unit [<unit_id 1-12> |all]} {image_id <int 1-2>}
Description
This command is used to download a firmware image file from an RCP server.
Parameters
username
- The remote user name on the RCP Server.
ipaddr
- The IP address of the RCP server.
path_filename
- The pathname specifies the pathname on the RCP server or local.
NOTE:
If user specifies the relative file path, the path search strategy is depending on the
server system. For some system, will search the current user working directory firstly, then
the environment paths.
unit
- Specifies which unit on the stacking system. If it is not specified, it refers to the master
unit.
all
- When all is specified, the boot_up firmware image on all units will be updated.
image_id
- Specifies which firmware image. It is no need to support this argument when only
one firmware image is supported. If not specified, it refers to the boot_up image.
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
Example for omitted user name in rcp string: 10.1.1.1./desxxxx.had.
NOTE:
No SPACE in the whole <string>.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To download firmware from RCP:
DGS-3450:admin# download firmware_fromRCP username rcp_user 172.18.212.106 src_file
/home/DGS-XXXX.had
Command: download firmware_fromRCP username rcp_user 172.18.212.106 src_file /home/DGS-
XXXX.had
Connecting to server................... Done.
Download firmware...................... Done. Do not power off!
Please wait, programming flash......... Done.
Saving current settings to NV-RAM...... Done.
DGS-3450:admin#
To download firmware form RCP using string: