xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
677
DGS-3627:admin# clear attack_log
Command: clear attack_log
Success.
DGS-3627:admin#
upload attack_log_toTFTP
Purpose
Used to upload the attack log on a unit.
Syntax
upload attack_log_toTFTP [<ipaddr> | <ipv6addr> |<domain_name 255>] dest_file
<path_filename 64> {unit <unit_id 1-12>}
Description
To upload the attack log stored on a unit.
When the attack log is empty, the prompt message, “Log is empty,” will be displayed.
Parameters
unit
- The attack log messages on the specified unit will be uploaded to the TFTP server. If
specified, this unit will be referred to as the master unit.
<ipaddr>
- The IPv4 address of the TFTP server.
<ipv6addr>
- The IPv6 address of the TFTP server.
<domain_name 255>
- The domain name of the TFTP server.
dest_file
– The destination file name.
<path_filename 64>
- Specifies the path name on the TFTP server to hold the attack log.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To upload the master’s dangerous log:
DGS-3627:admin# upload attack_log_toTFTP 10.90.90.1 dest_file c:\alert.txt
Command: upload attack_log_toTFTP 10.90.90.1 dest_file c:\alert.txt
Success.
DGS-3627: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