SNMPv1 Trap Types

[SNMP is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use Windows Remote Management, which is the Microsoft implementation of WS-Man.]

The SNMPv1 trap types describe a predefined set of generic trap types that are formatted to comply with the SNMPv1 trap PDU standard.

Constant Description
SNMP_GENERICTRAP_COLDSTART
Indicates a cold start trap. The agent is initializing protocol entities on the managed mode. It may alter objects in its view.
SNMP_GENERICTRAP_WARMSTART
Indicates a warm start trap. The agent is reinitializing itself but it will not alter objects in its view.
SNMP_GENERICTRAP_LINKDOWN
Indicates a link-down trap. An attached interface has changed from the up state to the down state. The first variable in the variable bindings list identifies the interface.
SNMP_GENERICTRAP_LINKUP
Indicates a link-up trap. An attached interface has changed from the down start to the up state. The first variable in the variable bindings list identifies the interface.
SNMP_GENERICTRAP_AUTHFAILURE
Indicates an authentication failure trap. An SNMP entity has sent an SNMP message, but it has falsely claimed to belong to a known community.
SNMP_GENERICTRAP_EGPNEIGHLOSS
Indicates an EGP neighbor loss trap. An EGP peer has changed to the down state. The first variable in the variable bindings list identifies the IP address of the EGP peer.
SNMP_GENERICTRAP_ENTERSPECIFIC
Indicates an enterprise-specific trap. An extraordinary event has occurred. It is identified in the specificTrap parameter with an enterprise-specific value.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Snmp.h

See also

Simple Network Management Protocol (SNMP) Overview

SNMP Reference

SNMP Constants