27-8
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 27 Configuring System Message Logging
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:
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:
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)
Step 3
Enable system message logging to configured
syslog servers.
set logging server enable
Step 4
Verify the configuration.
show logging
[
noalias
]
1.
You can configure a maximum of three syslog servers.
Task
Command
Task
Command
Delete a syslog server from the syslog server
table.
clear logging server
ip_addr
Task
Command
Disable system message logging to configured
syslog servers.
set logging server disable