< Home

snmp-agent trap enable (upgrade-compatible command)

Function

The snmp-agent trap enable command enables the SNMP alarm function of the device.

By default, only the authentication alarm is disabled.

Format

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

Parameters

Parameter Description Value
standard Enables standard alarms. -
authentication Enables authentication failure alarms. -
coldstart Enables cold-start alarms. -
warmstart Enables warm-start alarms. -
linkup

Enables the device to generate alarms when interface links go Up.

-
linkdown

Enables the device to generate alarms when interface links go 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.

This command is replaced by the snmp-agent trap enable feature-name snmp [ trap-name trap-name ] command.

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