< Home

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.

Format

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 } ]

Parameters

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.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

To enable the traps of one or more events, you can specify type-name.

Example

# Enable the router to send the trap of errors of the OSPFv3 interface configuration.

<sysname> system-view
[sysname] snmp-agent trap enable feature-name ospfv3 trap-name ifconfigerror
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >