Displaying interface names in syslog messages – Brocade FastIron Ethernet Switch Administration Guide User Manual

Page 225

Advertising
background image

NOTE
You can specify only one facility. If you configure the Brocade device to use two Syslog servers, the
device uses the same facility on both servers.

device(config)#logging facility local0

Syntax: loggingfacility facility-name

The facility-name can be one of the following:

• kern - kernel messages
• user - random user-level messages
• mail - mail system
• daemon - system daemons
• auth - security or authorization messages
• syslog - messages generated internally by Syslog
• lpr - line printer subsystem
• news - netnews subsystem
• uucp - uucp subsystem
• sys9 - cron/at subsystem
• sys10 - reserved for system use
• sys11 - reserved for system use
• sys12 - reserved for system use
• sys13 - reserved for system use
• sys14 - reserved for system use
• cron - cron/at subsystem
• local0 - reserved for local use
• local1 - reserved for local use
• local2 - reserved for local use
• 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:

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

Displaying interface names in Syslog messages

FastIron Ethernet Switch Administration Guide

225

53-1003075-02

Advertising