Installation and Getting Started Guide
A - 2
Displaying Syslog Messages
To display the Syslog messages in the device’s local buffer, enter the following command at any level of the CLI:
For information about the Syslog configuration information, time stamps, and dynamic and static buffers, see
“Displaying the Syslog Configuration” on page A-3.
Enabling Real-Time Display of Syslog Messages
By default, to view Syslog messages generated by an HP device, you need to display the Syslog buffer or the log
on a Syslog server used by the HP 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.
When you enable the feature, the software displays Syslog messages on the serial console when they occur.
However, to enable display of real-time Syslog messages in Telnet or SSH sessions, you also must enable display
within the individual sessions.
USING THE CLI
To enable real-time display of Syslog messages, enter the following command at the global CONFIG level of the
CLI:
HP9300(config)# logging console
Syntax:
[no] logging console
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.
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@HP9300# 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@HP9300# terminal monitor
Syslog trace was turned OFF
Here is an example of how the Syslog messages are displayed:
telnet@HP9300# terminal monitor
Syslog trace was turned ON
HP9300> 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 1/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