3Com Switch 8800 Configuration Guide Chapter 19 OSPF Configuration
19-27
By default, MIB is bound to the first enabled OSPF process.

II. Configuring OSPF TRAP

You can configure the switch to send multiple types of SNMP TRAP packets in case of
OSPF anomalies. In addition, you can configure the switch to send SNMP TRAP
packets when a specific process is abnormal by specifying the process ID.
Perform the following configuration in system view.
Table 19-31 Enable/Disable OSPF TRAP function
Operation Command
Enable OSPF
TRAP function
snmp-agent trap enable ospf [ process-id ] [ ifstatechange |
virifstatechange | nbrstatechange | virnbrstatechange |
ifcfgerror | virifcfgerror | ifauthfail | virifauthfail | ifrxbadpkt |
virifrxbadpkt | txretransmit | viriftxretransmit | originatelsa |
maxagelsa | lsdboverflow | lsdbapproachoverflow ]
Disable OSPF
TRAP function
undo snmp-agent trap enable ospf [ process-id ]
[ ifstatechange | virifstatechange | nbrstatechange |
virnbrstatechange | ifcfgerror | virifcfgerror | ifauthfail |
virifauthfail | ifrxbadpkt | virifrxbadpkt | txretransmit |
viriftxretransmit | originatelsa | maxagelsa | lsdboverflow |
lsdbapproachoverflow ]
By default, OSPF TRAP function is disabled. That is, the switch does not send TRAP
packets when any OSPF process is abnormal. The configuration is valid to all OSPF
processes if you do not specify a process ID.
For detailed configuration of SNMP TRAP, refer to the module “System Management"
in this manual.
19.2.24 Resetting the OSPF Process
If the undo ospf command is executed on a router and then the ospf command is used
to restart the OSPF process, the previous OSPF configuration will lose. With the reset
ospf command, you can restart the OSPF process without losing the previous OSPF
configuration.
Perform the following configuration in user view.
Table 19-32 Reset OSPF processes
Operation Command
Reset one or all OSPF
processes reset ospf [ statistics ] { all | process-id }
Resetting the OSPF process can immediately clear invalid LSAs, and make the
modified router ID effective or the DR and BDR are re-elected.