Chapter 37
Configuring System Message Logging
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 configured syslog servers. set logging server disable
This example shows how to disable logging to 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.
This example shows how to display the current system message logging configuration:
Console> (enable) show logging
Logging buffer size:
Logging history size:
Logging console:
Logging server:
{syslog.bigcorp.com}
Facility
-------------
cdp
drip
dtp
dvlan
earl
78-15486-01
timestamp option:
severity:
server facility:
server severity:
Default Severity
-----------------------
3
2
5
2
2
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
Configuring System Message Logging on the Switch
200
disabled
1
notifications(5)
enabled
enabled
LOCAL5
notifications(5)
Current Session Severity
------------------------
3
5
5
5
5
Command
clear logging server ip_addr
Command
Command
show logging [noalias]
—
Release 8.1
37-9