Command Reference OSPFv2 Commands
2.19 enable mib-binding
Use this command to bind the Management Information Base (MIB) with the specified OSPFv2
process. Use the no form of this command to restore the default setting.
The MIB is bound with the OSPFv2 process with the smallest ID by default.
Routing process configuration mode
OSPFv2 MIB has no OSPFv2 process information, so the user operates a sole OSPFv2 process by
SNMP. By default, OSPFv2 MIB is bound with the OSPFv2 process with the smallest ID. User
operations take effect for this process.
To operate the specified OSPF process over Simple Network Management Protocol(SNMP), use this
command to bind the MIB to SNMP.
The following example operates OSPFv2 process 100 over SNMP:
Ruijie(config)# routerospf100
Ruijie(config-router)# enable mib-binding
Displays the OSPF global configuration
information.
Configures the OSPF TRAP function.
The OSPFv2 process supports 16 kinds of TRAP packets, which are classified into four categories.
Use this command to enable sending the specified TRAP messages. Use the no form of this
command to restore the default setting.
enable traps [ error [ IfAuthFailure | IfConfigError | IfRxBadPacket | VirtIfAuthFailure |
VirtIfConfigError | VirtIfRxBadPacket ] | lsa [ LsdbApproachOverflow | LsdbOverflow |
MaxAgeLsa | OriginateLsa ] | retransmit [ IfTxRetransmit | VirtIfTxRetransmit ] | state-change