309
9.5
System 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 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 4KB size. If the file is full, 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
Summary of Contents for NGI-M08C4POE8-2
Page 1: ......
Page 197: ...197 Clear Clear the statistics of the valn ...
Page 298: ...298 9 2 2 Web Configurations ...