Cisco Cisco IOS Software Release 12.0(22)S

Page de 8
      SNMP Notification Logging
snmp mib notification-log default
5
Cisco IOS Release 12.0(22)S, 12.2(13)T, and 12.0(32)S
snmp mib notification-log default
To create the default log in the MIB, use the snmp mib notification-log default command in global 
configuration mode. To delete the log, use the no form of this command.
snmp mib notification-log default [disable] [size number]
no snmp mib notification-log default [disable] [size number]
Syntax Description
Defaults
Logging is enabled.
Command Modes
Global configuration
Command History
Usage Guidelines
The no form of this command reverts the size to the default and enables logging, and the log will not be 
destroyed.
Examples
The following examples shows how to create a default log with a size of 10:
snmp mib notification-log default size 10 
Related Commands
disable
(Optional) Log is not allowed to add new notifications to itself.
size
(Optional) Maximum number of notifications a log can contain.
number 
Number of notifications.
Release
Modification
12.0(22)S
This command was introduced.
12.2(13)T
This command was integrated into 12.2(13)T.
12.0(32)S
This command was integrated into 12.0(32)S.
Command
Description
show snmp mib notification-log
Provides a summary of logs.
snmp mib notification-log globalageout
Sets the maximum age for a notification.
snmp mib notification-log globalsize
Sets the maximum number of notifications allowed in 
all logs.