Disabling and enabling snmp traps for ospf – Brocade BigIron RX Series Configuration Guide User Manual

Page 870

Advertising
background image

792

BigIron RX Series Configuration Guide

53-1002484-04

Configuring OSPF

26

Disabling and enabling SNMP traps for OSPF

By default, most SNMP trap generation for OSPF is enabled (Refer to

Table 123

on page 791 for

the OSPF trap default values). You can disable the generation of these traps by entering the
following CLI command.

BigIron RX(config-ospf-router)# no snmp-server trap ospf

To later re-enable the trap feature, enter snmp-server trap ospf.

To disable a specific OSPF trap, enter the command as no snmp-server trap ospf <ospf-trap>.

These commands are at the OSPF router Level of the CLI.

Here is a summary of OSPF traps supported on BigIron RX, their corresponding CLI commands, and
their associated MIB objects from RFC 1850. The first list are traps enabled by default:

interface-state-change-trap – [MIB object: OspfIfstateChange]

virtual-interface-state-change-trap – [MIB object: OspfVirtIfStateChange

neighbor-state-change-trap – [MIB object:ospfNbrStateChange]

virtual-neighbor-state-change-trap – [MIB object: ospfVirtNbrStateChange]

interface-config-error-trap – [MIB object: ospfIfConfigError]

virtual-interface-config-error-trap – [MIB object: ospfVirtIfConfigError]

interface-authentication-failure-trap – [MIB object: ospfIfAuthFailure]

virtual-interface-authentication-failure-trap – [MIB object: ospfVirtIfAuthFailure]

interface-receive-bad-packet-trap – [MIB object: ospfIfrxBadPacket]

virtual-interface-receive-bad-packet-trap – [MIB object: ospfVirtIfRxBadPacket]

The following traps are disabled by default:

interface-retransmit-packet-trap – [MIB object: ospfTxRetransmit]

virtual-interface-retransmit-packet-trap – [MIB object: ospfVirtIfTxRetransmit]

originate-lsa-trap – [MIB object: ospfOriginateLsa]

originate-maxage-lsa-trap – [MIB object: ospfMaxAgeLsa]

link-state-database-overflow-trap – [MIB object: ospfLsdbOverflow]

link-state-database-approaching-overflow-trap – [MIB object: ospfLsdbApproachingOverflow

To stop an OSPF trap from being collected, use the CLI command: no trap <ospf-trap>, at the
Router OSPF level of the CLI. To disable reporting of the neighbor-state-change-trap, enter the
following command.

BigIron RX(config-ospf-router)# no trap neighbor-state-change-tra

Originate LSA Trap

Disabled

Originate MaxAge LSA Trap

Disabled

Link State Database Overflow Trap

Disabled

Link State Database Approaching Overflow Trap

Disabled

TABLE 123

Default settings for OSPF traps (Continued)

Trap name

default

Advertising