xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
568
DGS-3450:admin# show attack_log index 1
Command: show attack_log index 1
Index Date Time Level Log Text
----- ---------- -------- -------- ----------------------------------------------
1 2008-10-17 15:00:14 CRIT(2) Land attack is blocked from (IP: 10.72.24.1
Port: 7)
DGS-3450:admin#
clear attack_log
Purpose
Used to clear the attack log.
Syntax
clear attack_log {unit <unit_id 1-n>|all}
Description
Used to clear the attack log.
Parameters
unit
- The attack log messages on the specified unit will be cleared.
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 clear the master’s attack log:
DGS-3450:admin# clear attack_log
Command: clear attack_log
Success.
DGS-3450: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: