D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
589
DGS-3627:admin# download cfg_fromRCP username rcp_user 172.18.212.106 src_file
/home/DGS-3627.cfg
Command: download cfg_fromRCP username rcp_user 172.18.212.106 src_file /home/DGS-
3627.cfg
Connecting to server.................…. Done.
Download configuration................. Done.
DGS-3627:admin#
To download a configuration using an RCP string:
DGS-3627:admin# download cfg_fromRCP rcp: rcp_user@172.18.212.106/home/DGS-3627.cfg
Command: download cfg_fromRCP rcp: rcp_user@172.18.212.106/home/DGS-3627.cfg
Connecting to server................... Done.
Download configuration................. Done.
DGS-3627:admin#
To download configuration on a device that supports a file system:
DGS-3627:admin# download cfg_fromRCP rcp: rcp_user@172.18.212.106/home/rcp_user/DGS-
3627.cfg dest_file bone_switch.cfg
Command: download cfg_fromRCP rcp: rcp_user@172.18.212.106/home/rcp_user/DGS-3627.cfg
dest_file bone_switch.cfg
Connecting to server................... Done.
Download configuration................. Done.
DGS-3627:admin#
upload cfg_toRCP
Purpose Upload a configuration file from the device to an RCP server.
Syntax
upload cfg_toRCP [{ username <username 15>}{<ipaddr>} dest_file <path_filename
64> |rcp:<string 128>] {src_file <pathname 64>} {[include | exclude | begin]
<filter_string 80> {<filter_string 80>{<filter_string 80>}} {[include | exclude | begin]
<filter_string 80> {<filter_string 80> {<filter_string 80>}} {[include | exclude | begin]
<filter_string 80> {<filter_string 80> {<filter_string 80>}}}}}
Description This command is used to upload a configuration file from the device to an RCP server.
If the remote filename is not specified, the default file name will be modelname-image-id.
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 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 paths.Note:
If a user only specifies the path_filename parameter, only the current device configuration will
be uploaded.
rcp: <string 128> - 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