D-Link DGS-3600 Switch User Manual


 
xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
73
DGS-3600:4#clear log
Command: clear log
Success.
DGS-3600:4#
show log
Purpose
Used to display the switch history log.
Syntax show log {index <value_list>}
Description
This command will display the contents of the Switch’s history log.
Parameters
index <value_list>
This command will display the history log entry
listed by the <value_list> field.
If no parameter is specified, all history log entries will be displayed.
Restrictions
None.
Example usage:
To display the switch history log:
DGS-3600:4#show log index
Command: show log index
Index Date Time Log Text
----- ------------- ------------------- ----------------------------------------------------
5 2006-08-21 00:01:09 Successful login through Console (Username: Anonymous,
IP:10.53.13.202, MAC: 00-0C-6E-6B-EB-0C)
4 2006-08-21 00:00:14 System started up
3 2006-08-21 00:00:06 Port 1:1 link up, 100Mbps FULL duplex
2 2006-08-21 00:00:01 Spanning Tree Protocol is disabled
1 2006-08-21 00:06:31 Configuration saved to flash (Username: Anonymous)
DGS-3600:4#
show attack_log
Purpose Used to display the switch history of attack log files.
Syntax
show attack_log {unit <unit_id 1-12>} {index <value_list>}
Description This command will display the contents of the attack log of the
Switch. This log displays the time and date of a possible attack on
the switch, such as a spoofing attack.
Parameters unit <unit_id 1-12> - Select the switch in the switch stack for which
to view attack log files.
index <value list>
This command will display the history log,
beginning at 1 and ending at the value specified by the user in the
<value_list> field.
If no parameter is specified, all history log entries will be displayed.
Restrictions None.
Example usage:
To display the attack log: