xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
569
DGS-3450:admin# upload attack_log_toTFTP 10.9.68.9 dest_file test
Command: upload attack_log_toTFTP 10.9.68.9 dest_file test
Success.
DGS-3450:admin#
upload attack_log_toRCP
Purpose
Used to upload the 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 attack log file from the device to an RCP server.
Parameters
username
- The remote user name on the RCP Server.
<ipaddr>
- The IPv4 address of the RCP server.
path_filename
- The pathname specifies the pathname on the RCP server or local device.
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.
dest_file
– Specify the destination file here.
rcp: <string 128>
- Syntax: rcp: username@ipaddr/directory/filename
Example for FULL path: [email protected]/home/user_name/desxxxx.had
Example for relative path: [email protected]./desxxxx.had
NOTE:
Do not use any blank spaces in the <string>.
unitid
- The attack log messages on the specified unit will be uploaded to the RCP server. If
specified, this unit will be referred to as the master unit.
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:
DGS-3450:admin# upload attack_log_toRCP username rcp_user 172.18.212.104 /home/DGS-
XXXX.log unit 2
Command: upload attack_log_toRCP username rcp_user 172.18.212.104 /home/DGS-XXXX.log unit
2
Connecting to server.......... Done.
Upload Attack log............. Done.
DGS-3450:admin#