Purpose
Command 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
Purpose
Command 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
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......