< Home

snmp-agent trap start-trap resend disable

Function

The snmp-agent trap start-trap resend disable command disables the function of resending device cold-start or warm-start traps.

The undo snmp-agent trap start-trap resend disable command restores the default status of the function of resending device cold-start or warm-start traps.

By default, the function of resending device cold-start or warm-start traps is enabled.

Format

snmp-agent trap start-trap resend disable

undo snmp-agent trap start-trap resend disable

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

SNMP uses the resending mechanism for device cold-start or warm-start traps. This mechanism works in the following way:
  • The system resends a cold-start or warm-start trap for three consecutive times to ensure that the trap can be sent to the destination.
  • The first trap that the device sends must be a cold-start or warm-start trap. If another alarm is generated before the cold-start or warm-start trap, the system buffers that alarm and sends it only after the cold-start or warm-start trap is sent. The system also resends the buffered alarm for three consecutive times.

If the function of resending device cold-start or warm-start traps is not required any more, run the snmp-agent trap start-trap resend disable command to disable it.

Example

# Disable the function of resending device cold-start or warm-start traps.

<HUAWEI> system-view
[HUAWEI] snmp-agent trap start-trap resend disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >