snmp-agent trap enable ospfv3
Use snmp-agent trap enable ospfv3 to enable SNMP notifications for OSPFv3.
Use undo snmp-agent trap enable ospfv3 to disable SNMP notifications for OSPFv3.
Syntax
snmp-agent trap enable ospfv3 [ grrestarter-status-change | grhelper-status-change | if-state-change | if-cfg-error | if-bad-pkt | neighbor-state-change | nssatranslator-status-change | virtif-bad-pkt | virtif-cfg-error |virtif-state-change | virtgrhelper-status-change | virtneighbor-state-change ] *
undo snmp-agent trap enable ospfv3 [ grrestarter-status-change | grhelper-status-change | if-state-change | if-cfg-error | if-bad-pkt | neighbor-state-change | nssatranslator-status-change | virtif-bad-pkt | virtif-cfg-error |virtif-state-change | virtgrhelper-status-change | virtneighbor-state-change] *
Default
SNMP notifications for OSPFv3 are enabled.
Views
System view
Predefined user roles
network-admin
Parameters
grrestarter-status-change: Specifies notifications about GR restarter state changes.
grhelper-status-change: Specifies notifications about GR helper state changes.
if-state-change: Specifies notifications about interface state changes.
if-cfg-error: Specifies notifications about error configuration of an interface.
if-bad-pkt: Specifies notifications about error messages received on an interface.
neighbor-state-change: Specifies notifications about neighbor state changes.
nssatranslator-status-change: Specifies notifications about NSSA translator state changes.
virtif-bad-pkt: Specifies notifications about error messages received on a virtual interface.
virtif-cfg-error: Specifies notifications about error configuration of a virtual interface.
virtif-state-change: Specifies notifications about virtual interface state changes.
virtgrhelper-status-change: Specifies notifications about neighbor GR helper state changes of a virtual interface.
virtneighbor-state-change: Specifies notifications about the neighbor state changes of a virtual interface.
Examples
# Disable SNMP notifications for OSPFv3.
<Sysname> system-view [Sysname] undo snmp-agent trap enable ospfv3