ADC Telecommunications, Inc.
318 CHAPTER 14: CONFIGURING IP
Configuring OSPF Neighbor Traps

You can enable the sending of the OSPF neighbor state trap and the OSPF

virtual neighbor state trap. These traps report changes in OSPF neighbor

state or virtual neighbor state.

To enable OSPF neighbor traps, perform the following tasks:

Task Command
1. Enter router-ospf mode. router ospf
2. Enable the OSPF neighbor state
trap.
report ospf-nbr-state
Note: To disable the trap, issue this
command:
no report ospf-nbr-state
3. Enable the OSPF virtual neighbor
state trap.
report ospf-virt-nbr-state
Note: To disable the trap, issue this
command:
no report ospf-virt-nbr-state
4. Use the event-config reporting
command to configure how
different classes of events are
reported. The OSPF neighbor state
and OSPF virtual neighbor state
traps are in the Notify class.
Refer to Chapter 10 “Managing System
Events” for more information.
5. Use the snmp-server host
command to indicate that you
want the ospf-nbr-state and
ospf-virt-nbr-state notification
types to be sent to the specified
SNMP management station.
Note: You can skip this step if you
do not want changes in the OSPF
neighbor state or OSPF virtual
neighbor state to be reported as
an SNMP trap.
Refer to Chapter 9 “Simple Network
Management Protocol (SNMP)” for
more information.