Retaining syslog messages after a soft reboot, Syslog reboot configuration considerations – Brocade FastIron Ethernet Switch Administration Guide User Manual
Page 226

However, if ip show-portname is configured and a name has been assigned to the port, the port name
replaces the interface type as in the example below, where "port5_name" is the name of the port.
SYSLOG: <14>0d00h02m18s:ICX6610-48P Router System: Interface port5_name 1/1/5, state
up
Also, when you display the messages in the Syslog, you see the interface name under the Dynamic
Log Buffer section. The actual interface number is appended to the interface name. For example, if the
interface name is "lab" and its port number is "2", you see "lab2" displayed as in the example below:
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
Dynamic Log Buffer (50 entries):
Dec 15 18:46:17:I:Interface ethernet Lab2
, state up
Dec 15 18:45:15:I:Warm start
Displaying TCP or UDP port numbers in Syslog messages
The command ip show-service-number-in-log allows you to change the display of TCP or UDP
application information from the TCP or UDP well-known port name to the TCP or UDP port number.
For example, when this command is in effect, the Brocade device will display http (the well-known port
name) instead of 80 (the port number) in the output of show commands, and other commands that
contain application port information. By default, Brocade devices display TCP or UDP application
information in named notation.
To display TCP or UDP port numbers instead of their names, enter the following command.
device(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
on page 227.)
To configure the device to save the System log messages after a soft reboot, enter the following
command.
device(config)#logging persistence
Displaying TCP or UDP port numbers in Syslog messages
226
FastIron Ethernet Switch Administration Guide
53-1003075-02