D-Link DES-3200 Switch User Manual


 
xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
88
show log
Purpose
Used to display the switch history log.
Syntax
show log {index <value_list X-Y>}
Description
This command is used to display the contents of the Switch’s
history log.
Parameters
index <value_list X-Y> This command will display the history log,
beginning and ending at the value specified by the user in the
<value_list X-Y> field.
If no parameter is specified, all history log entries will be displayed.
Restrictions
None.
Example usage:
To display the switch history log:
DES-3200-28:4#show log index 1-5
Command: show log index 1-5
Index Data Time Log Text
----- -------------------- ------------------------------------------------------
5 00000-00-
00 01:01:09 Successful login through Console (Username: Anonymous)
4 00000-00-00 00:00:14 System warm start
3 00000-00-00 00:00:06 Port 25 link up, 1000Mbps FULL duplex
2 00000-00-00 00:00:01 Port 25 link down
1 00000-00-00 00:06:31 Port 25 link up, 1000Mbps FULL duplex
DES-3200-28:4#
enable syslog
Purpose
Used to enable the system log to be sent to a remote host.
Syntax
enable syslog
Description
This command is used to enable the system log to be sent to a
remote host.
Parameters
None.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To enable the syslog function on the Switch:
DES-3200-28:4#enable syslog
Command: enable syslog
Success.
DES-3200-28:4#
disable syslog
Purpose
Used to disable the system log to be sent to a remote host.
Syntax
disable syslog