PurposeCommand or Action
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 5
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
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 1
Changes the default level of syslog messages stored in the history
file and sent to the SNMP server.
logging history level
Example:
Switch(config)# logging history 3
Step 2
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.
logging history size number
Example:
Switch(config)# logging history size 200
Step 3
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)
1607
How to Configure System Message Logs