Logging Example - Cisco Catalyst 2000 Configuration Handbook

Catalyst series lan switching
Table of Contents

Advertisement

198 Cisco LAN Switching Configuration Handbook
(Optional) Control the rate of system message generation:
7.
(global) logging rate-limit number [all | console] [except level]
To avoid flooding system messages to a logging destination, you can limit the rate
that the messages are sent to number (1 to 10,000 messages per second, no default).
The all keyword rate limits all messages, whereas the console keyword rate limits
only messages that are sent to the console. You can use the except keyword to rate-
limit messages at or below the specified level (0 to 7 as given in Table 12-1).

Logging Example

A switch is configured for logging to a syslog server at 192.168.254.91. By default, the
local7 facility is used, with messages that are at level 6, or informational, or less. The
switch buffers up to 64 Kb characters of message text.
The switch prepends date and time timestamps to each logged message:
(global) logging 192.168.254.91
(global) logging buffered 65536
(global) service timestamps log datetime
Displaying Information About Logging
Table 12-2 lists some switch commands that you can use to display helpful information
about system logging.
12-2: Simple Network Management Protocol
Simple Network Management Protocol (SNMP) is a protocol that enables the moni-
toring of information about and management of a network device.
A Management Information Base (MIB) is a collection of variables stored on a net-
work device. The variables can be updated by the device or queried from an external
source.
Table 12-2 Switch Commands to Display System Logging Information
Display Function
Logging configuration
System messages
Command
(exec) show logging
(exec) show logging

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents