®
xStack
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
Parameters
unit - (Optional) The attack log messages on the specified unit will be displayed. If unit ID is not
specified, then it will be referred to as the master unit.
<unit_id 1-6> - Enter the unit ID value. This value must be between 1 and 6.
index - (Optional) 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.
<value_list> - Enter the index numbers of the entries that needs to be displayed here.
If no parameter is specified, all entries in the attack log will be displayed.
Restrictions
None.
Example
To show dangerous messages on the master:
DGS-3120-24TC:admin#
Command: show attack_log index 1
Index
Date
----- ---------- -------- -------- ---------------------------------------------
1
2008-10-17 15:00:14 CRIT(2)
DGS-3120-24TC:admin#
106-14
clear attack_log
Description
This command is used to clear the attack log.
Format
clear attack_log {unit <unit_id 1-6> | all}
Parameters
unit - (Optional) The attack log messages on the specified unit will be cleared. If not specified, it
will be referred to as the master unit.
<unit_id 1-6> - Enter the unit ID value. This value must be between 1 and 6.
all - Specify that all the unit ID's information will be used.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To clear the master's attack log:
show attack_log index 1
Time
Level
Possible spoofing attack from IP: , MAC:
0A-00-00-5A-00-01, port: 1:3
(EI and SI Mode Only)
1025
(EI and SI Mode Only)
Log Text