3Com 9100 Switch User Manual


 
118
C
HAPTER
8: S
TATUS
M
ONITORING
AND
S
TATISTICS
Logging Commands
The commands described in Ta bl e 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
Enables the log display to the console port.
enable syslog
Enables logging to a remote syslog host.
config log display {<priority>}
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.
config syslog [add | delete]
<ip_address> <facility>
{<priority>}
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)