C
HAPTER
23
| SNMP Commands
Notification Log Commands
– 790 –
ip-address - The Internet address of a remote device. The specified
target host must already have been configured using the snmp-
server host command.
N
OTE
:
The notification log is stored locally. It is not sent to a remote
device. This remote host parameter is only required to complete
mandatory fields in the SNMP Notification MIB.
DEFAULT SETTING
None
COMMAND MODE
Global Configuration
COMMAND USAGE
u Systems that support SNMP often need a mechanism for recording
Notification information as a hedge against lost notifications, whether
there are Traps or Informs that may be exceeding retransmission limits.
The Notification Log MIB (NLM, RFC 3014) provides an infrastructure in
which information from other MIBs may be logged.
u Given the service provided by the NLM, individual MIBs can now bear
less responsibility to record transient information associated with an
event against the possibility that the Notification message is lost, and
applications can poll the log to verify that they have not missed any
important Notifications.
u If notification logging is not configured and enabled, when the switch
reboots, some SNMP traps (such as warm start) cannot be logged.
u To avoid this problem, notification logging should be configured and
enabled using the snmp-server notify-filter command and nlm
command, and these commands stored in the startup configuration file.
Then when the switch reboots, SNMP traps (such as warm start) can
now be logged.
u When this command is executed, a notification log is created (with the
default parameters defined in RFC 3014). Notification logging is
enabled by default (see the nlm command), but will not start recording
information until a logging profile specified with this command is
enabled with the nlm command.
u Based on the default settings used in RFC 3014, a notification log can
contain up to 256 entries, and the entry aging time is 1440 minutes.
Information recorded in a notification log, and the entry aging time can
only be configured using SNMP from a network management station.
u When a trap host is created with the snmp-server host command, a
default notify filter will be created as shown in the example under the
show snmp notify-filter command.