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

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
Success.
DGS-3420-28SC:admin#
29-5
upload attack_log_toRCP
Description
This command is used to upload the attack log file from the device to an RCP server.
Note: If a user specifies the relative file path, the path search strategy will depend on the
server system. For some systems, it will search the current user working directory first,
and then search the environment paths.
Format
upload attack_log_toRCP [{username <username>} {<ipaddr>} dest_file <path_filename 64> |
rcp: <string 128>] {unit <unit_id 1-12>}
Parameters
username - (Optional) The remote user name on the RCP Server.
<username> - Enter the remote username used here.
<ipaddr> - (Optional) Enter the IP address used for the configuration here.
dest_file – Specifies the destination file used.
<path_filename 64> - The pathname specifies the pathname on the RCP server or local
device.
rcp: - 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: Do not use any blank spaces in the <string>.
<string 128> - Enter the RCP string here.
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.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To upload the attack log from the device to an RCP server:
DGS-3420-28SC:admin# upload attack_log_toRCP username rcp_user 172.18.212.104
dest_file /home/DGS-3420.log unit 2
Command: upload attack_log_toRCP username rcp_user 172.18.212.104 dest_file
/home/DGS-3420.log unit 2
Connecting to server.......... Done.
Upload Attack log............. Done.
986

Advertisement

Table of Contents
loading

Table of Contents