Static and dynamic buffers, Clearing log entries – Brocade FastIron Ethernet Switch Administration Guide User Manual

Page 221

Advertising
background image

CLI display of Syslog buffer configuration (Continued)

TABLE 31

Field

Definition

overruns

The number of times the dynamic log buffer has filled up and been cleared to hold new
entries. For example, if the buffer is set for 100 entries, the 101st entry causes an overrun.
After that, the 201st entry causes a second overrun.

level

The message levels that are enabled. Each letter represents a message type and is
identified by the key (level code) below the value. If you disable logging of a message level,
the code for that level is not listed.

messages logged

The total number of messages that have been logged since the software was loaded.

level code

The message levels represented by the one-letter codes.

Static and dynamic buffers

The software provides two buffers:

• Static - logs power supply failures, fan failures, and temperature warning or shutdown messages
• Dynamic - logs all other message types

In the static log, new messages replace older ones, so only the most recent message is displayed. For
example, only the most recent temperature warning message will be present in the log. If multiple
temperature warning messages are sent to the log, the latest one replaces the previous one. The static
buffer is not configurable.

The message types that appear in the static buffer do not appear in the dynamic buffer. The dynamic
buffer contains up to the maximum number of messages configured for the buffer (50 by default), then
begins removing the oldest messages (at the bottom of the log) to make room for new ones.

The static and dynamic buffers are both displayed when you display the log.

device#show logging

Syslog logging: enabled (0 messages dropped, 0 flushes, 0 overruns)

Buffer logging: level ACDMEINW, 3 messages logged

level code: A=alert C=critical D=debugging M=emergency E=error

I=informational N=notification W=warning

Static Log Buffer:

Dec 15 19:04:14:A:Fan 1, fan on right connector, failed

Dec 15 19:00:14:A:Fan 2, fan on left connector, failed

Dynamic Log Buffer (50 entries):

Dec 15 18:46:17:I:Interface ethernet 4, state up

Dec 15 18:45:21:I:Bridge topology change, vlan 4095, interface 4, changed

state to forwarding

Dec 15 18:45:15:I:Warm start

Notice that the static buffer contains two separate messages for fan failures. Each message of each
type has its own buffer. Thus, if you replace fan 1 but for some reason that fan also fails, the software
replaces the first message about the failure of fan 1 with the newer message. The software does not
overwrite the message for fan 2, unless the software sends a newer message for fan 2.

Clearing log entries

When you clear log entries, you can selectively clear the static or dynamic buffer, or you can clear both.
For example, to clear only the dynamic buffer, enter the following command at the Privileged EXEC
level.

device#clear logging dynamic-buffer

Static and dynamic buffers

FastIron Ethernet Switch Administration Guide

221

53-1003075-02

Advertising