< Home

snmp-agent trap enable ospfv3

Function

The snmp-agent trap enable ospfv3 command enables the traps for one or more OSPFv3 events.

Format

snmp-agent trap enable ospfv3 [ process-id ] [ ospfv3ifconfigerror | ospfv3ifrxbadpacket | ospfv3ifstatechange | ospfv3nbrrestarthelperstatuschange | ospfv3nbrstatechange | ospfv3restartstatuschange | ospfv3virtifconfigerror | ospfv3virtifrxbadpacket | ospfv3virtifstatechange | ospfv3virtnbrrestarthelperstatuschange | ospfv3virtnbrstatechange | ospfv3nssatranslatorstatuschange ] *

Parameters

Parameter Description Value
process-id

Specifies the OSPFv3 process ID.

The value is an integer ranging from 1 to 65535.

ospfv3ifconfigerror

Enables the traps of errors of the interface configuration.

-

ospfv3ifrxbadpacket

Enables the traps of received bad packets.

-

ospfv3ifstatechange

Enables the traps of changes of the interface state.

-

ospfv3nbrrestarthelperstatuschange

Enables the traps of changes of the state of the helper during GR.

-

ospfv3nbrstatechange

Enables the traps of changes of the neighbor state.

-

ospfv3nssatranslatorstatuschange

Enables the traps of changes of the NSSA translator state.

-

ospfv3restartstatuschange

Enables the traps of changes of the state of the restarter during GR.

-

ospfv3virtifconfigerror

Enables the traps of error of the virtual interface configuration.

-

ospfv3virtifrxbadpacket

Enables the traps of the bad packet that is received on the virtual interface.

-

ospfv3virtifstatechange

Enables the traps of changes of the virtual interface state.

-

ospfv3virtnbrrestarthelperstatuschange

Enables the traps of changes of the GR helper state of neighboring nodes on the virtual link.

-

ospfv3virtnbrstatechange

Enables the traps of changes of the state for the neighbor of the virtual-link.

-

Views

System view

Default Level

3: Management level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

After the upgrade, this command is no longer supported, and it is replaced by the snmp-agent trap enable feature-name ospfv3 command.

Example

Enable the trap of the status change of OSPFv3 interfaces.

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