The snmp-agent trap enable feature-name ospfv3 command enables the trap function for the OSPFv3 module.
The undo snmp-agent trap enable feature-name ospfv3 command disables the trap function for the OSPFv3 module.
snmp-agent trap enable feature-name ospfv3 [ trap-name { authenticationsequencenumberwrap | ifconfigerror | ifrxbadpacket | ifstatechange | lastauthenticationkeyexpiry | nbrrestarthelperstatuschange | nbrstatechange | nssatranslatorstatuschange | restartstatuschange | virtifconfigerror | virtifrxbadpacket | virtifstatechange | virtnbrrestarthelperstatuschange | virtnbrstatechange } ]
undo snmp-agent trap enable feature-name ospfv3 [ trap-name { authenticationsequencenumberwrap | ifconfigerror | ifrxbadpacket | ifstatechange | lastauthenticationkeyexpiry | nbrrestarthelperstatuschange | nbrstatechange | nssatranslatorstatuschange | restartstatuschange | virtifconfigerror | virtifrxbadpacket | virtifstatechange | virtnbrrestarthelperstatuschange | virtnbrstatechange } ]
| Parameter | Description | Value |
|---|---|---|
| trap-name | Enables the traps of OSPFv3 events of specified types. | - |
| authenticationsequencenumberwrap | Enables the trap for cryptographic sequence number wrapping. | By default, this trap is disabled. |
| ifconfigerror | Enables the traps of errors of the interface configuration. | By default, this trap is disabled. |
| ifrxbadpacket | Enables the traps of received bad packets. | By default, this trap is disabled. |
| ifstatechange | Enables the traps of changes of the interface state. | By default, this trap is disabled. |
| lastauthenticationkeyexpiry | Enables the trap for last authentication key in keychain expiry. | By default, this trap is disabled. |
| nbrrestarthelperstatuschange | Enables the traps of changes of the state of the helper during GR. | By default, this trap is disabled. |
| nbrstatechange | Enables the traps of changes of the neighbor state. | By default, this trap is disabled. |
| nssatranslatorstatuschange | Enables the traps of changes of the NSSA translator state. | By default, this trap is disabled. |
| restartstatuschange | Enables the traps of changes of the state of the restarter during GR. | By default, this trap is disabled. |
| virtifconfigerror | Enables the traps of error of the virtual interface configuration. | By default, this trap is disabled. |
| virtifrxbadpacket | Enables the traps of the bad packet that is received on the virtual interface. | By default, this trap is disabled. |
| virtifstatechange | Enables the traps of changes of the virtual interface state. | By default, this trap is disabled. |
| virtnbrrestarthelperstatuschange | Enables the traps of changes of the GR helper state of neighboring nodes on the virtual link. | By default, this trap is disabled. |
| virtnbrstatechange | Enables the traps of changes of the state for the neighbor of the virtual-link. | By default, this trap is disabled. |