Logging commands, Logging commands 9-10 – 3Com 3800 User Manual

Page 136

Advertising
background image

9-10

C

HAPTER

9: S

TATUS

M

ONITORING

AND

S

TATISTICS

Logging Commands

The commands described in Table 9-4 allow you to do the following:

Configure logging options

Reset logging options

Display the log

Clear the log

Table 9-4 Logging Commands

Command

Description

config log display {<priority>}
{<subsystem>}

Allows you to configure the real-time log display.
Options include:

priority — Filters the log to display message with
the selected priority or higher (more critical).
Priorities include critical, warning, and informational.
If not specified, informational priority messages and
higher are displayed.

subsystem — Filters the log to display messages
associated with the selected Switch subsystem.
Subsystems include Syst, STP, Brdg, SNMP, Telnet,
VLAN, and Port. If not specified, all subsystems are
displayed.

config syslog <ip_address> <facility>
{<priority>} {<subsystem>}

Allows you to configure the syslog host address and
filter messages sent to the syslog host. Options include:

ipaddress — The IP address of the syslog host.

facility — The syslog facility level for local use.

priority — Filters the log to display message with
the selected priority or higher (more critical).
Priorities include critical, warning, and informational.
If not specified, only critical priority messages and
are sent to the syslog host.

subsystem — Filters the log to display messages
associated with the selected Switch subsystem.
Subsystems include Syst, STP, Brdg, SNMP, Telnet,
VLAN, and Port. If not specified, all subsystems are
sent to the syslog host.

enable log display

Allows you to enable the log display.

enable syslog

Allows you to enable logging to a remote syslog host.

disable log display

Allows you to disable the log display.

disable syslog

Allows you to disable logging to a remote syslog host.

(continued)

SW3800.BK Page 10 Tuesday, May 5, 1998 5:20 PM

Advertising