118
C
8: S
HAPTER
TATUS
Logging Commands
Table 34 Logging Commands
Command
enable cli-config-logging
enable log display
enable syslog
config log display {<priority>}
config syslog [add | delete]
<ip_address> <facility>
{<priority>}
disable cli-config-logging
disable log display
disable syslog
show log {<priority>}
show log config
(continued)
M
S
ONITORING AND
TATISTICS
The commands described in
options, reset logging options, display the log, and clear the log.
Table 34
allow you to configure logging
Description
Enables logging CLI configuration commands to
the syslog for auditing purposes.
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.
Disables logging CLI configuration commands to
the syslog.
Disables the log display.
Disables logging to a remote syslog host.
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.
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.