
Displaying interface names in Syslog messages
By default, an interface slot number (if applicable) and port number are displayed when you display
Syslog messages. If you want to display the name of the interface instead of its number, enter the
following command:
FastIron(config)# ip show-portname
This command is applied globally to all interfaces on Layer 2 Switches and Layer 3 Switches.
Syntax:[no] Ip
show-portname
By default, Syslog messages show the interface type, such as "ethernet", and so on. For example, you
see the following
SYSLOG: <14>0d00h02m18s:ICX6610-48P Router System: Interface ethernet 1/1/5, state up
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).
Displaying interface names in Syslog messages
FastIron Ethernet Switch Administration Guide
293
53-1003625-01