beautypg.com

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

Page 79

background image

TD020850-0MG

79

5.1.6.2 Traps for SNMPv1

5.1.6.2.1 Format of Trap Messages

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

5.1.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.1.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 56 —Format of the Trap Message for SNMP Version 1

This manual is related to the following products: