Purpose
Command or Action
Limits messages logged to the console.
logging console level
Step 2
Example:
By default, the console receives debugging messages and
numerically lower levels.
Device(config)#
logging console 3
Limits messages logged to the terminal lines.
logging monitor level
Step 3
Example:
By default, the terminal receives debugging messages and
numerically lower levels.
Device(config)#
logging monitor 3
Limits messages logged to the syslog servers.
logging trap level
Step 4
Example:
By default, syslog servers receive informational messages
and numerically lower levels.
Device(config)#
logging trap 3
Returns to privileged EXEC mode.
end
Example:
Step 5
Device(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
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
Step 1
Device#
configure terminal
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
164
Configuring System Message Logs
Limiting Syslog Messages Sent to the History Table and to SNMP