Configuring System Message Logging; System Log Message Format - Cisco WS-C3750-48PS-S Software Configuration Manual

Network switch
Table of Contents

Advertisement

Configuring System Message Logging

You can access logged system messages by using the switch command-line interface (CLI) or by saving
them to a properly configured syslog server. The switch software saves syslog messages in an internal
buffer on a standalone switch, and in the case of a switch stack, on the stack master. If a standalone
switch or the stack master fails, the log is lost unless you had saved it to flash memory.
You can remotely monitor system messages by viewing the logs on a syslog server or by accessing the
switch through Telnet or through the console port. In a switch stack, all stack member consoles provide
the same console output.
Configuring System Message Logging
These sections describe how to configure system message logging:

System Log Message Format

System log messages can contain up to 80 characters and a percent sign (%), which follows the optional
sequence number or time-stamp information, if configured. Messages appear in this format:
seq no:timestamp: %facility-severity-MNEMONIC:description (hostname-n)
The part of the message preceding the percent sign depends on the setting of the service
sequence-numbers, service timestamps log datetime, service timestamps log datetime [localtime]
[msec] [show-timezone], or service timestamps log uptime global configuration command.
Catalyst 3750 Switch Software Configuration Guide
29-2
System Log Message Format, page 29-2
Default System Message Logging Configuration, page 29-4
Disabling Message Logging, page 29-4
Setting the Message Display Destination Device, page 29-5
Synchronizing Log Messages, page 29-6
Enabling and Disabling Time Stamps on Log Messages, page 29-7
Enabling and Disabling Sequence Numbers in Log Messages, page 29-8
Defining the Message Severity Level, page 29-9
Limiting Syslog Messages Sent to the History Table and to SNMP, page 29-10
Configuring UNIX Syslog Servers, page 29-11
Chapter 29
(optional)
(optional)
(optional)
(optional)
(optional)
Configuring System Message Logging
(optional)
(optional)
(optional)
78-16180-02

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750

Table of Contents