Technical data
Network OS Message Reference 5
53-1002489-01
Configuring the syslog message destinations
1
Configuring a syslog server
To configure the switch to forward all system events and error messages to the syslogd of one or
more servers, perform the following steps.
1. Execute the configure terminal command to access the global configuration level of the CLI.
switch# configure terminal
Entering configuration mode terminal
2. Execute the logging syslog-server IPv4 address command to add a server to which system
messages are forwarded.
switch(config)# logging syslog-server 172.26.3.83
You can configure up to four syslog servers to receive the syslog messages.
3. Execute the show running-config logging syslog-server command to verify the syslog
configuration on the switch.
switch# show running-config logging syslog-server
logging syslog-server 172.26.3.83
You can remove a configured syslog server using the no logging syslog-server IPv4 address
command.
System console
The system console displays system messages, Audit messages (if enabled), and panic dump
messages. These messages are mirrored to the system console; they are always saved in one of
the system logs.
The system console displays messages only through the serial port. If you log into a switch through
the Ethernet port or modem port, you will not receive system console messages.
You can filter messages that display on the system console by severity using the logging raslog
console command. All messages are still sent to the system message log and syslog (if enabled).
Setting the RASLog console severity level
You can limit the types of messages that are logged to the console using the logging raslog console
command. The RASLog messages displayed on the console are filtered up to and include the
configured severity level. You can choose one of the following severity levels: INFO, WARNING,
ERROR, or CRITICAL. The default severity level is INFO.
To set the severity levels for the RASLog console, perform the following steps.
1. Execute the configure terminal command to access the global configuration level of the CLI.
switch# configure terminal
Entering configuration mode terminal
2. Execute the logging rbridge-id rbridge-id raslog console severity level command to set the
RASLog console severity level. The severity level can be one of the following: WARNING,
ERROR, or CRITICAL. The severity level values are case-sensitive. For example, to set the
console severity level to ERROR on switch 1, enter the following command.
switch(config)# logging rbridge-id 1 raslog console ERROR
3. Execute the copy running-config startup-config command to save the configuration changes.