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.
By default, all traps function of the OSPFv3 module are disabled.
snmp-agent trap enable feature-name ospfv3 [ trap-name { ifconfigerror | ifrxbadpacket | ifstatechange | nbrrestarthelperstatuschange | nbrstatechange | nssatranslatorstatuschange | restartstatuschange | virtifconfigerror | virtifrxbadpacket | virtifstatechange | virtnbrrestarthelperstatuschange | virtnbrstatechange | authenticationsequencenumberwrap | lastauthenticationkeyexpiry } ]
undo snmp-agent trap enable feature-name ospfv3 [ trap-name { ifconfigerror | ifrxbadpacket | ifstatechange | nbrrestarthelperstatuschange | nbrstatechange | nssatranslatorstatuschange | restartstatuschange | virtifconfigerror | virtifrxbadpacket | virtifstatechange | virtnbrrestarthelperstatuschange | virtnbrstatechange | authenticationsequencenumberwrap | lastauthenticationkeyexpiry } ]
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support lastauthenticationkeyexpiry.
Parameter | Description | Value |
---|---|---|
trap-name | Enables the traps of OSPFv3 events of specified types. | - |
ifconfigerror | Enables the traps of errors of the interface configuration. | - |
ifrxbadpacket | Enables the traps of received bad packets. | - |
ifstatechange | Enables the traps of changes of the interface state. | - |
nbrrestarthelperstatuschange | Enables the traps of changes of the state of the helper during GR. | - |
nbrstatechange | Enables the traps of changes of the neighbor state. | - |
nssatranslatorstatuschange | Enables the traps of changes of the NSSA translator state. | - |
restartstatuschange | Enables the traps of changes of the state of the restarter during GR. | - |
virtifconfigerror | Enables the traps of error of the virtual interface configuration. | - |
virtifrxbadpacket | Enables the traps of the bad packet that is received on the virtual interface. | - |
virtifstatechange | Enables the traps of changes of the virtual interface state. | - |
virtnbrrestarthelperstatuschange | Enables the traps of changes of the GR helper state of neighboring nodes on the virtual link. | - |
virtnbrstatechange | Enables the traps of changes of the state for the neighbor of the virtual-link. | - |
authenticationsequencenumberwrap | Enables the trap for cryptographic sequence number wrapping. | - |
lastauthenticationkeyexpiry | Enables the trap for last authentication key in keychain expiry. | - |