beautypg.com

Logging commands, Logging commands -10 – Allied Telesis AT-8550 User Manual

Page 230

background image

Logging

13-10

Logging

Commands

The commands described in

Table 13-5

allow you to configure

logging options, reset logging options, display the log, and clear the
log.

Table 13-5 Logging Command

Command

Description

enable log display

Enables the log display.

enable syslog

Enables logging to a remote syslog host.

config log display {}

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
{}

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.

show log {}

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.

clear counters

Clears all switch statistics and port counters.

clear log {static}

Clears the log. If

static

is specified, the critical log

messages are also cleared.

This manual is related to the following products: