IP Routing Features

Configuring OSPF

Modify OSPF Traps Generated

OSPF traps as defined by RFC 1850 are supported on HP Series 5300XL Switches. OSPF trap generation is enabled on the Series 5300XL Switch, by default.

When using the CLI, you can disable all or specific OSPF trap generation by entering the following CLI command:

HPswitch(ospf)# no snmp-server trap ospf

To later re-enable the trap feature, enter the command:

HPswitch(ospf)# snmp-server trap ospf

To disable a specific OSPF trap, enter the following command:

HPswitch(ospf)# 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 HP Series 5300XL Switches, and their associated MIB objects from RFC 1850:

Table 16-2. OSPF Traps and Associated MIB Objects
OSPF Trap NameMIB Object

 

 

interface-state-change-trapospfIfstateChange

virtual-interface-state-change-trapospfVirtIfStateChange

neighbor-state-change-trapospfNbrStateChange

virtual-neighbor-state-change-trapospfVirtNbrStateChange

interface-config-error-trapospfIfConfigError

virtual-interface-config-error-trapospfVirtIfConfigError

interface-authentication-failure-trap ospfIfAuthFailure virtual-interface-authentication-failure-trap ospfVirtIfAuthFailure

interface-receive-bad-packet-trapospfIfrxBadPacket

virtual-interface-receive-bad-packet-trap ospfVirtIfRxBadPacket

interface-retransmit-packet-trapospfTxRetransmit

virtual-interface-retransmit-packet-trap ospfVirtIfTxRetransmit

16-50