< Home

snmp-agent trap enable standard (upgrade-compatible command)

Function

Using the snmp-agent trap enable standard command, you can enable the trap function of standard SNMP.

Using the undo snmp-agent trap enable standard command, you can disable the trap function of standard SNMP.

By default, no trap messages are sent to a device.

Format

snmp-agent trap enable standard [ authentication | coldstart | warmstart | linkup | linkdown ] *

undo snmp-agent trap enable standard [ authentication | coldstart | warmstart | linkup | linkdown ] *

Parameters

Parameter Description Value
Authentication Indicates that a trap message is sent when packets failed to be authenticated through SNMP. -
Coldstart Indicates that a trap message is sent when the system is cold started. -
Warmstart Indicates that a trap message is sent when the system is hot started. -
Linkup Indicates that a trap message is sent when the interface goes Up. -
Linkdown Indicates that a trap message is sent when the interface goes Down. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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

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