8 setting the syslog parameters, Setting the syslog parameters -20, Table 4-5 – Riverstone Networks RS 2100 User Manual
Page 60: Types of syslog messages -20, Table 4-6, Examples of message types -20
4-20 Riverstone Networks RS 2100 Switch Router Getting Started Guide
Setting the SYSLOG Parameters
RS 2100 Initial Configuration
4.8
SETTING THE SYSLOG PARAMETERS
The RS 2100 can use SYSLOG messages to communicate the following types of messages to a SYSLOG server:
shows examples of the types of SYSLOG messages. Notice that after the facility type (in this case,
“
CONFIG
”) the message contains a letter that refers to the message type: “
F
” for fatal, “
E
” for error, and so on.
The RS 2100 writes the SYSLOG messages to a SYSLOG daemon on UDP port 514. You can set the CLI to send all
or only some of the message types. By default, the CLI sends warning, error, and fatal messages but not informational
messages to the specified SYSLOG server.
Use the following procedure to specify the SYSLOG server and the types of messages you want the CLI to send to the
server.
1.
Ensure that you are in Enable mode by entering the
enable
command in the CLI.
2.
Use the
ping
command to verify that the RS 2100 can reach the SYSLOG server.
3.
Ensure that you are in Configure mode by entering the
configure
command in the CLI.
4.
Enter the following commands to add the SYSLOG server to the RS 2100, set the message level, and
set the SYSLOG facility:
Table 4-5
Types of SYSLOG messages
Message Type
Description
Fatal
Information about events that caused the RS 2100 to crash and reset.
Error
Information about errors.
Warning
Warnings against invalid configuration information and other conditions that are not
necessarily errors.
Informational
Informational messages such as status messages. The SYSLOG messages that the CPU
displays while booting the software and reading the startup configuration file are examples of
Informational messages.
Table 4-6
Examples of message types
Message Type
Example
Fatal
%CONFIG-F-CREATE_SEMA4 Unable to create %s semaphore: %d
Error
%CONFIG-E-NEED_COMMAND Need at least one command word to match
Warning
%CONFIG-W-BACKUP_CFG Cannot find Startup config - using backup on
PCMCIA flash
Informational
%CONFIG-I-SAVED configuration saved to Startup configuration
system set syslog server
system set syslog level fatal|error|warning|info
system set syslog
facility