hit counter script

Displaying The Logging Configuration - Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual

Software guide
Table of Contents

Advertisement

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 remove 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 remove 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.
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

Use the show logging command to display the current system message logging configuration. Use 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.
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
33-8
Chapter 33
Configuring System Message Logging
Command
clear logging server ip_addr
Command
set logging server disable
Command
show logging [noalias]
78-12647-02

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents