Using Syslog
A - 3
SYSLOG: <9>HP9300, Power supply 2, power supply on left connector, failed
SYSLOG: <14>HP9300, Interface ethernet 1/6, state down
SYSLOG: <14>HP9300, Interface ethernet 1/2, state up
Configuring the Syslog Service
The procedures in this section describe how to perform the following Syslog configuration tasks:
• Specify a SyslogD server. You can configure the HP device to use up to six SyslogD servers. (Use of a
SyslogD server is optional. The system can hold up to 100 Syslog messages in an internal buffer.)
• Change the level of messages the system logs.
• Change the number of messages the local Syslog buffer can hold.
• Display the Syslog configuration.
• Clear the local Syslog buffer.
Logging is enabled by default, with the following settings:
• Messages of all severity levels (Emergencies – Debugging) are logged.
• Up to 50 messages are retained in the local Syslog buffer.
• No SyslogD server is specified.
Displaying the Syslog Configuration
To display the Syslog parameters currently in effect on an HP device, enter the following command from any level
of the CLI:
Syntax:
show logging
The Syslog display shows the following configuration information, in the rows above the log entries themselves.
Table A.1: CLI Display of Syslog Buffer Configuration
This Field... Displays...
Syslog logging The state (enabled or disabled) of the Syslog buffer.
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