xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
618
DGS-3420-28SC:admin#
60-21 show attack_log
Description
This command is used to display the switch’s attack log.
Format
show attack_log {index <value_list>}
Parameters
index - (Optional) Specify the list of index of the entries that need to be displayed.
<value_list> - Specify the list of index 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.
Note: If no parameter is specified, all entries in the attack log will be displayed.
Restrictions
None.
Example
To display the switch’s attack log:
DGS-3420-28SC:admin#show attack_log index 1-3
Command: show attack_log index 1-3
Index Date Time Level Log Text
----- ---------- -------- -------- --------------------------------------------
--
3 2009-12-26 14:15:45 WARN(4) Port security violation mac addrss 00-18-
F3-10-94-89 on locking address full port 28
2 2009-12-26 14:15:45 WARN(4) Port security violation mac addrss 00-18-
F3-10-94-89 on locking address full port 28
1 2009-12-26 14:15:45 WARN(4) Port security violation mac addrss 00-18-
F3-10-94-89 on locking address full port 28
DGS-3420-28SC:admin#
60-22 clear attack_log
Description
This command is used to clear the switch’s attack log.
Format
clear attack_log