110
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
Description
enable
show syslog
The command displays all of log message
recorded in the Switch.
enable
show syslog level
LEVEL
The command displays the log message with the
LEVEL recorded in the Switch.
enable
show syslog server
The command displays the syslog server
configurations.
configure syslog-server
(disable|enable)
The command disables / enables the syslog
function.
configure syslog-server ip
IPADDR
The command configures the syslog server’s IP
address.
Example:
L2SWITCH#configure terminal
L2SWITCH(config)#syslog-server ip 192.168.200.106
L2SWITCH(config)#syslog-server enable
Summary of Contents for NGI-S04C2
Page 1: ...1...