Installation and Getting Started Guide
NOTE: A change in the buffer size takes effect only after you restart the system. The buffer size does not
affect how many entries the device can log on a SyslogD server. The number of entries the device can log on
the server depends on the server's configuration.
6.
Enter the IP address of your SyslogD server, if you want the device to log messages on the SyslogD server
as well as in the local buffer.
7.
Select the messages facility. The default is User. For a list of values, display the pulldown menu or see
"Changing the Log Facility" on page A-9.
8.
Select the message levels you want the device to log. All the levels are logged by default.
9.
Click Apply to save the changes to the device's running-config file.
10. Select the Save link at the bottom of the dialog. Select Yes when prompted to save the configuration change
to the startup-config file on the device's flash memory.
Disabling or Re-Enabling Syslog
Syslog is enabled by default. To disable or re-enable it, use one of the following methods.
USING THE CLI
To disable it, enter the following command at the global CONFIG level:
HP9300(config)# no logging on
Syntax: [no] logging on [<udp-port>]
The <udp-port> parameter specifies the application port used for the Syslog facility. The default is 514.
To re-enable logging, enter the following command:
HP9300(config)# logging on
This command enables local Syslog logging with the following defaults:
•
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.
Specifying a SyslogD Server
To specify a SyslogD server, enter a command such as the following:
HP9300(config)# logging 10.0.0.99
Syntax: logging <ip-addr> | <server-name>
NOTE: You can specify a server name only if you have already configured the DNS Resolver feature. See the
"Configuring IP" chapter in the Advanced Configuration and Management Guide .
Specifying an Additional SyslogD Server
To specify an additional SyslogD server, enter the logging <ip-addr> command again, as in the following example.
You can specify up to six SyslogD servers.
HP9300(config)# logging 10.0.0.69
Syntax: logging <ip-addr> | <server-name>
A - 8