Specifications

DGS-3048 Layer 2 Switch CLI Reference Manual
57
DGS3048#clear counters
Command: clear counters
Success.
DGS3048#
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:
DGS3048#clear log
Command: clear log
Success.
DGS3048#
show log
Purpose Used to display the Switch history log.
Syntax
show log {index <value>}
Description This command will display the contents of the Switch’s history log.
Parameters
index <value> The show log command will display the history log
until the log number reaches this value.
Restrictions None.
Example usage:
To display the Switch history log:
DGS3048##show log
Command : show log
Index Time Log Text
----- ---------- ---------------------------------------------------------------
4 00000 days 03:03:58 Unit 1, Successful login through Console (Username: Anonymous)
3 00000 days 03:02:58 Unit 1, Logout through Console (Username: Anonymous)
2 00000 days 03:01:28 Unit 1, Successful login through Console (Username: Anonymous)
1 00000 days 03:00:01 Unit 1, Logout through Console (Username: Anonymous)
DGS3048#