D-Link xStack DGS-3400 Series Cli Reference Manual page 430

Xstack dgs-3400 series layer 2 managed gigabit ethernet switch
Hide thumbs Also See for xStack DGS-3400 Series:
Table of Contents

Advertisement

xStack
upload log_toRCP
Restrictions
Example usage:
To upload the log from the device to an RCP server:
DGS-3450:admin# upload log_toRCP username rcp_user
XXXX.log
Command: upload log_toRCP username rcp_user
Connecting to server... Done.
Upload log............. Done.
DGS-3450:admin#
To upload log from the device to an RCP server using an RCP string:
DGS-3450: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-XXXX.log
Connecting to server................... Done.
Upload configuration................... Done.
DGS-3450:admin#
upload attack_log_toRCP
Purpose
Syntax
Description
Parameters
Restrictions
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
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 are allowed in the whole <string>.
Only Administrator and Operator-level users can issue this command.
Upload attack log file from the device to an RCP server.
upload attack_log_toRCP [{ username <username 15>}{<ipaddr>} dest_file
<path_filename 64> |rcp:<string 128>] {unit <unit_id 1-12>}
This command is used to upload the system attack log file from the device to an RCP server.
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>.
Only Administrator and Operator-level users can issue this command.
172.18.212.104 dest_file /home/DGS-
172.18.212.104 dest_file /home/DGS-XXXX.log
426

Advertisement

Table of Contents
loading

Table of Contents