118CHAPTER 8: STATUS MONITORING AND STATISTICS

Logging Commands The commands described in Table 34 allow you to configure logging options, reset logging options, display the log, and clear the log.

Table 34 Logging Commands

Command

Description

 

 

enable cli-config-logging

Enables logging CLI configuration commands to

 

the syslog for auditing purposes.

enable log display enable syslog

config log display {<priority>}

config syslog [add delete] <ip_address> <facility> {<priority>}

Enables the log display to the console port.

Enables logging to a remote syslog host.

Configures the real-time log display. The priority option filters the log to display messages with the selected priority or higher (more critical). Priorities include critical, emergency, error, alert, warning, notice, info, and debug. If not specified, informational priority messages and higher are displayed.

Configures the syslog host address and filters messages sent to the syslog host. Options include:

ipaddress — The IP address of the syslog host.

facility — The syslog facility level for local

 

use (local0 - local7).

 

priority — Filters the log to display

 

messages with the selected priority or higher

 

(more critical). Priorities include critical,

 

emergency, alert, error, warning, notice, info,

 

and debug. If not specified, only critical priority

 

messages and are sent to the syslog host.

disable cli-config-logging

Disables logging CLI configuration commands to

 

the syslog.

disable log display

Disables the log display.

disable syslog

Disables logging to a remote syslog host.

show log {<priority>}

Displays the current snapshot of the log. The

 

priority option filters the log to display

 

message with the selected priority or higher (more

 

critical). Priorities include critical, emergency, alert,

 

error, warning, notice, info, and debug. If not

 

specified, informational priority messages and

 

higher are displayed.

show log config

Displays the log configuration, including the

 

syslog host IP address, the priority level of

 

messages being logged locally, and the priority

 

level of messages being sent to the syslog host.

 

 

(continued)

 

Page 118
Image 118
3Com 9100 manual Disable log display, Disable syslog