Technical data

122 CHAPTER 5: IP ROUTING PROTOCOL OPERATION
Perform the following configuration in OSPF view.
By default, all the interfaces are allowed to transmit and receive OSPF packets.
After an OSPF interface is set to silent status, the interface can still advertise its
direct route. However, the OSPF calling packets of the interface are blocked, and
no neighboring relationship can be established on the interface. This enhances
OSPF’s ability to adapt to the network, which reduces the consumption of system
resources.
Configuring OSPF and Network Management System (NMS)
Configuring OSPF MIB Binding After multiple OSPF processes are enabled,
you can configure to which OSPF process MIB is bound.
Perform the following configuration in system view.
By default, MIB is bound to the first enabled OSPF process.
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.
Tab le 49 Disabling the Interface to Send OSPF Packets
Operation Command
Prevent the interface from sending OSPF
packets
silent-interface silent-interface-type
silent-interface-number
Allow the interface to send OSPF packets undo silent-interface silent-interface-type
silent-interface-number
Tab le 50 Configuring OSPF MIB Binding
Operation Command
Configure OSPF MIB binding ospf mib-binding process-id
Restore the default OSPF MIB binding undo ospf mib-binding
Tab le 51 Enabling/Disabling 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 ]