D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
676
DGS-3627:admin# show log_save_timing
Command: show log_save_timing
Saving log method: on_demand
DGS-3627:admin#
show attack_log
Purpose Displays the attack log messages.
Syntax
show attack_log {unit <unit_id 1-n>} {index <value_list>}
Description Displays the attack log messages. The attack log message refers to log messages driven by
modules such as DOS and the IP-MAC-port binding module. This type of log message may
generate a large amount of messages and quickly cause the system to run out of system log
storage. Therefore, for this type of log messages only the first log that is generated each
minute can be stored in the system log, with the rest of them being stored in a separate table
named attack log.
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 displayed.
If unit ID is specified, then this unit will be referred to as the master unit.
index - The list of index numbers of the entries that need to be displayed. For example, show
attack_log index 1-5 will display the attack log messages from 1 to 5.
If no parameter is specified, all entries in the attack log will be displayed.
Restrictions None.
Example usage:
To show dangerous messages on the master:
DGS-3627: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-3627: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: