D-Link xStack DGS-3420 Series Reference Manual page 993

Layer 2 managed stackable gigabit switch cli
Hide thumbs Also See for xStack DGS-3420 Series:
Table of Contents

Advertisement

xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
Example
To upload the current configuration from the device to an RCP server:
DGS-3420-28SC:admin#upload cfg_toRCP username rcp_user 10.48.74.121 dest_file
/home/DGS-3420.cfg
Command: upload cfg_toRCP username rcp_user 10.48.74.121 dest_file /home/DGS-
3420.cfg
Connecting to server... Done.
Upload configuration... Done.
DGS-3420-28SC:admin#
29-7
upload firmware_toRCP
Description
This command is used to upload firmware from a device to a Remote Copy Protocol (RCP) server.
Format
upload firmware_toRCP [{username <username>} {<ipaddr>} dest_file <path_filename 64> | rcp:
<string 128>] {unit <unit_id 1-12>} {src_file <pathname>}
Parameters
username - (Optional) Specify the remote user name on the RCP server.
<username> - Specify the remote user name on the RCP server.
<ipaddr> - (Optional) Specify the IP address of the RCP server.
dest_file - Specify the path name on the RCP server. 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 paths.
<path_filename 64> - Specify the path name on the RCP server.
rcp: - Specify the path name on the RCP server or local RCP client. Syntax: rcp:
username@ipaddr/directory/filename. Example for full path:
user_name@10.1.1.1/home/user_name/desxxxx.had. Example for relative path:
user_name@10.1.1.1./desxxxx.had. Note: No spaces allowed in the <string>.
<string 128> - Specify the path name on the RCP server or local RCP client. Syntax: rcp:
username@ipaddr/directory/filename. Example for full path:
user_name@10.1.1.1/home/user_name/desxxxx.had. Example for relative path:
user_name@10.1.1.1./desxxxx.had. Note: No spaces allowed in the <string>.
unit - (Optinal) Specifies which unit on the stacking system. If it is not specified, it refers to the
master unit.
<unit_id 1-12> - Enter the unit ID used here. This value must be between 1 and 12.
src_file - (Optional) Specify the path name of the source file. If not specified, the bootup image
on the device will be uploaded.
<pathname> - Specify the path name of the source file.
988

Advertisement

Table of Contents
loading

Table of Contents