beautypg.com

Logging commands, Logging commands 4-22 – 3Com 3800 User Manual

Page 76

background image

4-22

C

HAPTER

4: C

OMMANDS

Logging Commands

Table 4-18 describes Switch logging commands.

Table 4-18 Logging Commands

Command

Description

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.

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, 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.

clear log

Allows you to clear the log.

config log display {}
{}

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.

(continued)

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