D-Link DGS-1210-52/ME rev.A [160/457] Clear log

D-Link DGS-1210-52/ME rev.A [160/457] Clear log
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide
142
clear log
Purpose
To clear the Switch’s history log.
Syntax
clear log
Description
The clear log command clears the Switch’s history log.
Parameters
None.
Restrictions
Only Administrator or operator-level users can issue this command.
Example usage:
To clear the log information:
DGS-1210-28P/ME:5# clear log
Command: clear log
Success.
DGS-1210-28P/ME:5#
show log
Purpose
To display the Switch history log.
Syntax
show log {index <value 1-500> - <value 1-500> | module <string
32>}
Description
The show log command displays the contents of the Switch’s
history log.
Parameters
index <value 1-500> The number of entries in the history log to
displayed.
module <string 32> The module of entries in the history log to be
displayed.
Restrictions
None.
Example usage:
To display the Switch history log:
DGS-1210-28P/ME:5# show log
Command: show log
Index Time Log Text
-------- ------------------------------ -----------------------------------
1 03-Jan-2000 17:48:21 %AAA-I-CONNECT: User CLI session for user admin over
telnet , source 10.6.150.34 destination 10.6.41.37 ACCEPTED
2 03-Jan-2000 17:48:02 %AAA-I-DISCONNECT: User CLI session for user admin o
ver telnet , source 10.6.150.34 destination 10.6.41.37 TERMINATED. The Telnet/
SSH session may still be connected.
DGS-1210-28P/ME:5#
enable syslog
Purpose
To enable the system log to be sent to a remote host.

Содержание

Похожие устройства

Скачать