beautypg.com

Snmp-server notify-filter – Brocade 6910 Ethernet Access Switch Configuration Guide (Supporting R2.2.0.0) User Manual

Page 177

background image

Brocade 6910 Ethernet Access Switch Configuration Guide

121

53-1002651-02

6

SNMP Commands

Disabling logging with this command does not delete the entries stored in the notification log.

Example
This example enables the notification log A1.

Console(config)#nlm A1

Console(config)#

snmp-server notify-filter

This command creates an SNMP notification log. Use the no form to remove this log.

Syntax

[no] snmp-server notify-filter profile-name remote ip-address

profile-name - Notification log profile name. (Range: 1-32 characters)

ip-address - The Internet address of a remote device. The specified target host must
already have been configured using the

snmp-server host

command.

NOTE

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

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.

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.

If notification logging is not configured and enabled, when the switch reboots, some SNMP
traps (such as warm start) cannot be logged.

To avoid this problem, notification logging should be configured and enabled using the
snmp-server notify-filter command and

Notification Log Commands

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.

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.