
236
9.5.
Sys log
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 message can be recorded in local NV-RAM or be sent to Syslog
server. If you have configured server’s IP address and have enabled the Syslog server
function, the Switch will send a copy to the syslog server. The default setting of the Syslog
server is disabled.
The log message file is limited in 2000 entries. If the log count reach to the 2000, the
oldest one will be replaced.
9.5.1.
CLI Configurations
Node
Command
Description
enable
show syslog
The command displays the entire 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.
enable
configure terminal
This command changes the node to configure
node.
configure clear syslog
The command clears the syslog message.
configure syslog-server
(disable|enable)
The command disables / enables the syslog server
function.
configure syslog-server ipv4-ip
IPADDR
The command configures the syslog server’s IP
address in IPv4 format.
configure syslog-server ipv6-ip
IPADDR
The command configures the syslog server’s IP
address in IPv6 format.
configure syslog-server facility The command configures the syslog facility level.
configure archive upload-
syslog <URL PATH>
This command uploads the syslog file to a TFTP
server.
configure archive ipv6-upload-
syslog <URL PATH>
This command uploads the syslog file to a IPv6
TFTP server.
Example:
L2SWITCH#configure terminal
L2SWITCH(config)#syslog-server ipv4-ip 192.168.200.106
L2SWITCH(config)#syslog-server enable