snmp-agent trap enable feature-name ospfv3
Function
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.
Format
snmp-agent trap enable feature-name ospfv3 [ trap-name { ifconfigerror | ifrxbadpacket | ifstatechange | nbrrestarthelperstatuschange | nbrstatechange | nssatranslatorstatuschange | restartstatuschange | virtifconfigerror | virtifrxbadpacket | virtifstatechange | virtnbrrestarthelperstatuschange | virtnbrstatechange } ]
undo snmp-agent trap enable feature-name ospfv3 [ trap-name { ifconfigerror | ifrxbadpacket | ifstatechange | nbrrestarthelperstatuschange | nbrstatechange | nssatranslatorstatuschange | restartstatuschange | virtifconfigerror | virtifrxbadpacket | virtifstatechange | virtnbrrestarthelperstatuschange | virtnbrstatechange } ]
Parameters
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. | - |