beautypg.com

Retaining syslog messages after a soft reboot, Clearing the syslog messages from the local buffer, Syslog reboot configuration considerations – Brocade Communications Systems Brocade ICX 6650 User Manual

Page 260

background image

242

Brocade ICX 6650 Administration Guide

53-1002600-01

Syslog service configuration

10

Brocade(config)#ip show-service-number-in-log

Syntax: [no] ip show-service-number-in-log

Retaining Syslog messages after a soft reboot

You can configure the device to save the System log (Syslog) after a soft reboot (reload command).

Syslog reboot configuration considerations

If the Syslog buffer size was set to a different value using the CLI command logging buffered,
the System log will be cleared after a soft reboot, even when this feature (logging persistence)
is in effect. This will occur only with a soft reboot immediately following a Syslog buffer size
change. A soft reboot by itself will not clear the System log. To prevent the system from clearing
the System log, leave the number of entries allowed in the Syslog buffer unchanged.

This feature does not save Syslog messages after a hard reboot. When the Brocade device is
power-cycled, the Syslog messages are cleared.

If logging persistence is enabled and you load a new software image on the device, you must
first clear the log if you want to reload the device. (Refer to

“Clearing the Syslog messages from

the local buffer”

on page 242.)

To configure the device to save the System log messages after a soft reboot, enter the following
command.

Brocade(config)#logging persistence

Syntax: [no] logging persistence

Enter no logging persistence to disable this feature after it has been enabled.

Clearing the Syslog messages from the local buffer

To clear the Syslog messages stored in the local buffer of the Brocade device, enter the clear
logging command.

Brocade#clear logging

Syntax: clear logging

.