Command or Action
Step 5
end
Example:
Switch(config)# end
Limiting Syslog Messages Sent to the History Table and to SNMP
This task explains how to limit syslog messages that are sent to the history table and to SNMP.
This task is optional.
SUMMARY STEPS
1. configure terminal
2. logging history level
3. logging history size number
4. end
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
Switch# configure terminal
Step 2
logging history level
Example:
Switch(config)# logging history 3
Step 3
logging history size number
Example:
Switch(config)# logging history size 200
Enters global configuration mode.
Changes the default level of syslog messages stored in the history
file and sent to the SNMP server.
By default, warnings, errors, critical, alerts, and emergencies
messages are sent.
Specifies the number of syslog messages that can be stored in the
history table.
The default is to store one message. The range is 0 to 500
messages.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
How to Configure System Message Logs
Purpose
Returns to privileged EXEC mode.
Purpose
1607