< Home

snmp-agent trap enable feature-name mstp (upgrade-compatible command)

Function

The snmp-agent trap enable feature-name mstp command enables the trap function for the MSTP module.

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

Format

snmp-agent trap enable feature-name mstp trap-name { nnewroot | ntopologychange }

undo snmp-agent trap enable feature-name mstp trap-name { nnewroot | ntopologychange }

Parameters

Parameter Description Value
trap-name Enables the traps of spanning tree protocol events of specified types. -
nnewroot Enables the device to send trap when the current device is elected as the root bridge. -
ntopologychange Enables the device to send trap when the topology changes. -

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 mstp trap-name { newroot | topologychange } command in the system view.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >