Limiting Syslog Messages Sent to the History Table and to SNMP
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.
Procedure
Step 1
Step 2
Step 3
Step 4
Logging Messages to a UNIX Syslog Daemon
This task is optional.
System Management Configuration Guide, Cisco IOS XE Amsterdam 17.2.x (Catalyst 9500 Switches)
186
Command or Action
end
Example:
Device(config)# end
Command or Action
configure terminal
Example:
Device# configure terminal
logging history level
Example:
Device(config)# logging history 3
logging history size number
Example:
Device(config)# logging history size 200
end
Example:
Device(config)# end
Configuring System Message Logs
Purpose
Returns to privileged EXEC mode.
Purpose
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.
Returns to privileged EXEC mode.