
Syslog Commands
10
Syslog Commands
Command Description
clear log {static} Clears the log. If static is specified, the critical log messages are
also cleared.
config log display {<priority>} Configures the real-time log display. Options include:
❑
priority — 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 <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 log display Disables the log display.
disable syslog Disables logging to a remote syslog host.
enable log display Enables the log display.
enable syslog Enables logging to a remote syslog host.
show log {<priority>} Displays the current snapshot of the log. Options include:
❑
priority — 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.
Comentarios a estos manuales