undo snmp-agent trap enable feature-name trap-name

Function

The undo snmp-agent trap enable feature-name trap-name command disables the trap function for the OSPFv3 module.

By default, the trap function for the OSPFv3 module is disabled.

Format

undo snmp-agent trap enable feature-name feature-name-val trap-name { ospfv3ifconfigerror | ospfv3ifrxbadpacket | ospfv3ifstatechange | ospfv3nbrrestarthelperstatuschange | ospfv3nbrstatechange }

Parameters

Parameter Description Value
feature-name-val

Specifies a feature name.

The value is a string of 1 to 7 case-insensitive characters, spaces not supported.

ospfv3ifconfigerror

Indicates that OSPFv3 interface configurations are inconsistent.

-

ospfv3ifrxbadpacket

Indicates that an OSPFv3 interface received an error packet.

-

ospfv3ifstatechange

Indicates that the OSPFv3 interface status changed.

-

ospfv3nbrrestarthelperstatuschange

Indicates that a neighbor's restart status changed during GR.

-

ospfv3nbrstatechange

Indicates that the OSPFv3 neighbor status changed.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ospf write

Usage Guidelines

Usage Scenario

To disable the traps of one or more events, you can specify trap-name .

Example

# Disable a device to send the ospfv3nbrstatechange alarm to an NMS.
<HUAWEI> system-view
[~HUAWEI] undo snmp-agent trap enable feature-name ospfv3 trap-name ospfv3nbrstatechange
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >