2 traps for snmpv1, 1 format of trap messages, 2 trap header – Contemporary Control Systems Compact Managed Switches Software Manual for Web Browser User Manual

Page 77: Traps for snmpv1

Advertising
background image

TD020851-0MG

77

5.2.6.2 Traps for SNMPv1

5.2.6.2.1 Format of Trap Messages

Each trap message contains a header and a protocol data unit (PDU).

5.2.6.2.2 Trap Header

The fields in the trap message header contain:
Version — 0, indicating SNMP version 1
Community string — The community string, which authorizes NMS access to the

Trap Protocol

Data Unit (PDU)

The fields in the PDU contain:
PDU type — 4 (indicates version 1 trap PDU)
Enterprise — Identifies the type of managed object generating the trap. For switch traps, the

value is as follows:

Generic Trap — value is SNMP (1.3.6.1.2.1.11)

Agent-address — The IP address of the originating agent
Generic-trap — 0 to 6, indicating the generic trap type. See Section 5.2.6.2.3 for descriptions

of the generic-trap types.
Specific-trap — Indicates the specific trap type. This field is only interpreted when the generic

trap type is 6, enterpriseSpecific.
Time-stamp — Seconds since last power cycle
Variable bindings — One or more OIDs (object identifiers) paired with the corresponding values.

A variable is an instance of a managed object. These pairings provide more information about

the event.

Figure 50 — Format of the Trap Message for SNMP Version 1

Advertising