Displaying The Logging Configuration - Cisco WS-C6506 Software Manual

Catalyst 6500 series switch
Hide thumbs Also See for WS-C6506:
Table of Contents

Advertisement

Chapter 29
Configuring System Message Logging
This example shows how to specify a syslog server, set the facility and severity levels, and enable
logging to the server:
Console> (enable) set logging server 10.10.10.100
10.10.10.100 added to System logging server table.
Console> (enable) set logging server facility local5
System logging server facility set to <local5>
Console> (enable) set logging server severity 5
System logging server severity set to <5>
Console> (enable) set logging server enable
System logging messages will be sent to the configured syslog servers.
Console> (enable)
To delete a syslog server from the syslog server table, perform this task in privileged mode:
Task
Delete a syslog server from the syslog server
table.
This example shows how to delete a syslog server from the syslog server table:
Console> (enable) clear logging server 10.10.10.100
System logging server 10.10.10.100 removed from system logging server table.
Console> (enable)
To disable logging to the syslog server, perform this task in privileged mode:
Task
Disable system message logging to the configured
syslog servers.
This example shows how to disable logging to the syslog servers:
Console> (enable) set logging server disable
System logging messages will not be sent to the configured syslog servers.
Console> (enable)

Displaying the Logging Configuration

Enter the show logging command to display the current system message logging configuration. Enter
the noalias keyword to display the IP addresses instead of the host names of the configured syslog
servers.
To display the current system message logging configuration, perform this task:
Task
Display the current system message logging
configuration.
OL-8978-04
Configuring the System Message Logging on the Switch
Command
clear logging server ip_addr
Command
set logging server disable
Command
show logging [noalias]
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
29-9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents