xStack DES-3800 Series Layer 3 Stackable Fast Ethernet Managed Switch CLI Manual
73
show log
Purpose
Used to display the switch history log.
Syntax
show log index <value 1-65535> >
Description
This command will display the contents of the Switch’s history log.
Parameters
index <value 1-65535>
−
This command will display the history log,
beginning at 1 and ending at the value specified by the user in the
<value 1-65535>
field.
If no parameter is specified, all history log entries will be displayed.
Restrictions
None.
Example usage:
To display the switch history log
:
DES-3800:admin#show log index 5
Command: show log index 5
Index Time Log Text
----- ------------------- ---------------------------------------
5 2008/06/19 09:36:37 Port 23 link up, 100Mbps FULL duplex
4 2008/06/19 09:36:37 Redundant Power failed
3 2008/06/19 09:36:37 Spanning Tree Protocol is disabled
2 2008/06/19 09:36:37 System cold start
1 2008/06/19 09:36:10 Configuration saved to flash (Username:
Anonymous)
DES-3800:admin#
enable syslog
Purpose
Used to enable the system log to be sent to a remote host.
Syntax enable
syslog
Description
The
enable syslog
command enables the system log to be sent to
a remote host.
Parameters
None.
Restrictions
Only Administrator or Operator-level users can issue this command.
Example usage:
To enable the syslog function on the Switch:
DES-3800:admin#enable syslog
Command: enable syslog
Success.
DES-3800:admin#