7.5. Syslog
The syslog function records some of system information for debugging purpose. Each log
message recorded with one of these levels, Alert / Critical / Error / Warning / Notice /
Information. The syslog function can be enabled or disabled. The default setting is
disabled. The log message is recorded in the Switch file system. If the syslog server's IP
address has been configured, the Switch will send a copy to the syslog server.
The log message file is limited in 2000 entries. If the file is full, the oldest one will be
replaced.
7.5.1.
CLI Configuration
Node
Command
enable
show syslog
enable
show syslog level
LEVEL
enable
show syslog server
configure
syslog-server
(disable|enable)
configure
syslog-server ip
IPADDR
Example:
L2SWITCH#configure terminal
L2SWITCH(config)#syslog-server ip 192.168.200.106
L2SWITCH(config)#syslog-server enable
Description
The command displays all of log message
recorded in the Switch.
The command displays the log message with the
LEVEL recorded in the Switch.
The command displays the syslog server
configurations.
The command disables / enables the syslog
function.
The command configures the syslog server's IP
address.
110