Syslog service configuration

10

local3 – reserved for local use

local4 – reserved for local use

local5 – reserved for local use

local6 – reserved for local use

local7 – reserved for local use

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:

Brocade(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”, “pos”, and so on. For example, you see the following

SYSLOG: <14>Jun 27 16:17:02 10.20.68.32 System: Interface ethernet 1/1/4, 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 shown in the example below.

SYSLOG: <14>Jun 27 16:18:33 10.20.68.32 System: Interface port4 1/1/4, 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:

Brocade# 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-logallows 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.

Brocade ICX 6650 Administration Guide

241

53-1002600-01

 

Page 259
Image 259
Brocade Communications Systems 6650 manual Displaying interface names in Syslog messages, Syntax no Ip show-portname