Event logging commands, Logging on, Event logging commands -59 – SMC Networks TIGERSWITCH SMC6752AL2 User Manual

Page 299: Logging on -59, Table 4-17 event logging commands -59, 59 event logging commands

Advertising
background image

S

YSTEM

M

ANAGEMENT

C

OMMANDS

4-59

Event Logging Commands

logging on

This command controls logging of error messages, sending debug or error
messages to switch memory. The no form disables the logging process.

Syntax

[no] logging on

Default Setting

None

Command Mode

Global Configuration

Command Usage

The logging process controls error messages saved to switch memory.
You can use the logging history command to control the type of error
messages that are stored.

Table 4-17 Event Logging Commands

Command

Function

Mode Page

logging on

Controls logging of error messages

GC

4-59

logging history Limits syslog messages saved to switch memory

based on severity

GC

4-60

logging host

Adds a syslog server host IP address that will
receive logging messages

GC

4-61

logging facility

Sets the facility type for remote logging of syslog
messages

GC

4-62

logging trap

Limits syslog messages saved to a remote server
based on severity

GC

4-63

clear logging

Clears messages from the logging buffer

PE

4-64

show logging

Displays the state of logging

PE

4-64

show log

Displays log messages

PE

4-67

Advertising