D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
591
To upload the log from the device to an RCP server:
DGS-3627:admin# upload log_toRCP username rcp_user 172.18.212.104 dest_file /home/DGS-
XXXX.log
Command: upload log_toRCP username rcp_user 172.18.212.104 dest_file /home/DGS-3627.log
Connecting to server... Done.
Upload log............. Done.
DGS-3627:admin#
To upload log from the device to an RCP server using an RCP string:
DGS-3627:admin# upload log_toRCP rcp: rcp_user@172.18.212.104/home/DGS-XXXX.log
Command: upload log_toRCP rcp: rcp_user@172.18.212.104/home/DGS-3627.log
Connecting to server................... Done.
Upload configuration................... Done.
DGS-3627:admin#
upload attack_log_toRCP
Purpose Upload attack log file from the device to an RCP server.
Syntax
upload attack_log_toRCP [{ username <username 15>}{<ipaddr>} dest_file
<path_filename 64> |rcp:<string 128>] {unit <unit_id 1-12>}
Description This command is used to upload the system attack log file from the device to 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 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 pathsNote:
If a user only specifies the path_filename parameter for the RCP server, it will upload the
master attack log file.
unit - Specifies which unit on the stacking system. If not specified, it refers to the master unit.
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
Note: No SPACES allowed in the whole <string>.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To upload the attack log from the device to an RCP server: