beautypg.com

Configuring the syslog message destinations, System logging daemon, Configuring a syslog server – Brocade Network OS Message Reference v4.1.1 User Manual

Page 21

background image

Network OS Message Reference

5

53-1003227-01

Configuring the syslog message destinations

1

SYSTEM and DCE messages are saved to separate nonvolatile storage repositories.

SYSTEM and DCE message logs can save a maximum of 4096 messages.

The message log is implemented as a circular buffer. When more than the maximum entries
are added to the log file, new entries overwrite the old entries.

Messages are numbered sequentially from 1 through 2,147,483,647 (0x7ffffff). The sequence
number continues to increase after the message log wraps around. The message sequence
numbering is not split for the system and DCE message logs. The sequence number can be
reset to 1 using the clear logging raslog command. However, the sequence number is not reset
to 1 if you clear a particular message type, for example, DCE.

Trace dump, FFDC, and core dump files can be uploaded to the FTP server using the copy
support ftp command.

Brocade recommends that you configure the system logging daemon (syslogd) facility as a
management tool for error logs. For more information, refer to

“System logging daemon”

on

page 5.

Configuring the syslog message destinations

You can configure a switch to send the syslog messages to the following output locations: syslog
daemon, system console, and SNMP management station.

System logging daemon

The system logging daemon (syslogd) is a process on UNIX, Linux, and some Windows systems that
reads and logs messages as specified by the system administrator.

Network OS can be configured to use a UNIX-style syslogd process to forward system events and
error messages to log files on a remote host system. The host system can be running UNIX, Linux,
or any other operating system that supports the standard syslogd functionality. All the RASLog
messages are forwarded to the syslogd. Configuring for syslogd involves configuring the host,
enabling syslogd on the Brocade model, and optionally, setting the facility level.

Configuring a syslog server

To configure the switch to forward all RASLog 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 IP address command to add a server to which the messages

are forwarded. You can configure a syslog server in both IPv4 or IPv6 format. The following
example is for configuring a syslog server with IPv4 address.

switch(config)# logging syslog-server 192.0.2.2

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