beautypg.com

Enabling real-time display of syslog messages, Displaying real-time syslog messages – Brocade FastIron Ethernet Switch Administration Guide User Manual

Page 219

background image

Dynamic Log Buffer (50 entries):

Dec 15 18:46:17:I:Interface ethernet 4, state up

Dec 15 18:45:21:I:Bridge topology change, vlan 4095, interface 4, changed

state to forwarding

Dec 15 18:45:15:I:Warm start

For information about the Syslog configuration information, time stamps, and dynamic and static
buffers, refer to

Displaying the Syslog configuration

on page 220.

Enabling real-time display of Syslog messages

By default, to view Syslog messages generated by a Brocade device, you need to display the Syslog
buffer or the log on a Syslog server used by the Brocade device.

You can enable real-time display of Syslog messages on the management console. When you enable
this feature, the software displays a Syslog message on the management console when the message is
generated. However, to enable display of real-time Syslog messages in Telnet or SSH sessions, you
also must enable display within the individual sessions.

To enable real-time display of Syslog messages, enter the following command at the global CONFIG
level of the CLI.

device(config)#logging console

Syntax: [no] loggingconsole

This command enables the real-time display of Syslog messages on the serial console. You can enter
this command from the serial console or a Telnet or SSH session.

Enabling real-time display for a Telnet or SSH session

To also enable the real-time display for a Telnet or SSH session, enter the following command from the
Privileged EXEC level of the session.

telnet@device#terminal monitor

Syslog trace was turned ON

Syntax: terminal monitor

Notice that the CLI displays a message to indicate the status change for the feature. To disable the
feature in the management session, enter the terminal monitor command again. The command
toggles the feature on and off.

telnet@device#terminal monitor

Syslog trace was turned OFF

Here is an example of how the Syslog messages are displayed.

telnet@device#terminal monitor

Syslog trace was turned ON

SYSLOG: <9>device, Power supply 2, power supply on left connector, failed

SYSLOG: <14>device, Interface ethernet 6, state down

SYSLOG: <14>device, Interface ethernet 2, state up

Displaying real-time Syslog messages

Any terminal logged on to a Brocade switch can receive real-time Syslog messages when the terminal
monitor
command is issued.

Enabling real-time display of Syslog messages

FastIron Ethernet Switch Administration Guide

219

53-1003075-02