xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
Example usage:
To clear the counters:
DGS-3612G:4#clear counters ports 2-9
Command: clear counters ports 2-9
Success.
DGS-3612G:4#
clear log
Purpose
Used to clear the Switch’s history log.
Syntax
clear log
Description
This command will clear the Switch’s history log.
Parameters None.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To clear the log information:
DGS-3612G:4#clear log
Command: clear log
Success.
DGS-3612G: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 Only
administrator-level users can issue this command.
Example usage:
To display the switch history log
:
DGS-3612G: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)
4 2006-08-21 00:00:14 System started up
3 2006-08-21 00:00:06 Port 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-3612G:4#
62