< Home

enable snmp trap updown

Function

The enable snmp trap updown command enables this interface to send Trap information to the NMS when its protocol state changes.

The undo enable snmp trap updown command disables this interface to send Trap information to the NMS when its protocol state changes.

Format

enable snmp trap updown

undo enable snmp trap updown

Parameters

None

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

By default, the interface sends Trap information to the NMS when its protocol state changes.

When the interface is in flapping state, run the undo enable snmp trap updown command to disable Trap function on certain interfaces so that the network management system can obtain the state change of these interfaces.

Example

# Enable sending Trap messages when the status of the interface changes.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/1
[sysname-GigabitEthernet0/0/1] enable snmp trap updown
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >