Chapter 32 Configuring System Message Logging

Displaying the Logging Configuration

 

Command

Purpose

Step 6

 

 

show running-config

Verify your entries.

Step 7

 

 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

 

 

 

To remove a syslog server, use the no logging host global configuration command, and specify the syslog server IP address. To disable logging to syslog servers, enter the no logging trap global configuration command.

Table 32-4lists the UNIX system facilities supported by the software. For more information about these facilities, consult the operator’s manual for your UNIX operating system.

Table 32-4

Logging Facility-Type Keywords

 

 

Facility Type Keyword

Description

 

 

 

auth

 

Authorization system

 

 

 

cron

 

Cron facility

 

 

 

daemon

 

System daemon

 

 

 

kern

 

Kernel

 

 

 

local0-7

 

Locally defined messages

 

 

 

lpr

 

Line printer system

 

 

 

mail

 

Mail system

 

 

 

news

 

USENET news

 

 

 

sys9-14

 

System use

 

 

 

syslog

 

System log

 

 

 

user

 

User process

 

 

 

uucp

 

UNIX-to-UNIX copy system

 

 

 

Displaying the Logging Configuration

To display the logging configuration and the contents of the log buffer, use the show logging privileged EXEC command. For information about the fields in this display, see the Cisco IOS Configuration Fundamentals Command Reference, Release 12.2.

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

32-14

OL-9775-02

Page 680
Image 680
Cisco Systems 3750E manual Displaying the Logging Configuration, Facility Type Keyword Description, 32-14