Logging 117

Real-Time Display

In addition to viewing a snapshot of the log, you can configure the system to maintain a running real-time display of log messages on the console. To turn on the log display, enter the following command:

enable log display

To configure the log display, use the following command:

config log display {<priority>}

If priority is not specified, only messages of critical priority are displayed.

If you enable the log display on a terminal connected to the console port, your settings will remain in effect even after your console session is ended (unless you explicitly disable the log display).

Remote Logging In addition to maintaining an internal log, the switch supports remote logging by way of the UNIX syslog host facility. Up to four syslogs may be configured. To enable remote logging, do the following:

Configure the syslog host to accept and log messages.

Enable remote logging by using the following command:

enable syslog

Configure remote logging by using the following command:

config syslog [add delete] <ipaddress> <facility>

{<priority>}

Specify the following:

ipaddress — The IP address of the syslog host.

facility — The syslog facility level for local use. Options include

local0 through local7.

priority — Filters the log to display message with the selected priority or higher (more critical). Priorities include (in order) critical, emergency, alert, error, warning, notice, info, and debug. If not specified, only critical priority messages are sent to the syslog host.

Refer to your UNIX documentation for more information about the syslog host facility.

Page 117
Image 117
3Com 9100 manual Real-Time Display, To configure the log display, use the following command