Connected: An Internet Encyclopedia
RFC 1157 - 4.1.6. The Trap-PDU

Top: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 1157
Up: 4. Protocol Specification
Up: 4.1. Elements of Procedure
Prev: 4.1.5. The SetRequest-PDU
Next: 4.1.6.1. The coldStart Trap

### 4.1.6. The Trap-PDU

The form of the Trap-PDU is:

         Trap-PDU ::=
             [4]

                  IMPLICIT SEQUENCE {
                     enterprise          -- type of object generating
                                         -- trap, see sysObjectID in [5]
                         OBJECT IDENTIFIER,

                     agent-addr          -- address of object generating
                         NetworkAddress, -- trap

                     generic-trap        -- generic trap type
                         INTEGER {
                             coldStart(0),
                             warmStart(1),
                             linkDown(2),
                             linkUp(3),
                             authenticationFailure(4),
                             egpNeighborLoss(5),
                             enterpriseSpecific(6)
                         },

                     specific-trap     -- specific code, present even
                         INTEGER,      -- if generic-trap is not
                                       -- enterpriseSpecific

                     time-stamp        -- time elapsed between the last
                       TimeTicks,      -- (re)initialization of the network
                                       -- entity and the generation of the
                                          trap

                     variable-bindings   -- "interesting" information
                          VarBindList
                 }

The Trap-PDU is generated by a protocol entity only at the request of the SNMP application entity. The means by which an SNMP application entity selects the destination addresses of the SNMP application entities is implementation-specific.

Upon receipt of the Trap-PDU, the receiving protocol entity presents its contents to its SNMP application entity.

The significance of the variable-bindings component of the Trap-PDU is implementation-specific.

Interpretations of the value of the generic-trap field are:

4.1.6.1. The coldStart Trap
4.1.6.2. The warmStart Trap
4.1.6.3. The linkDown Trap
4.1.6.4. The linkUp Trap
4.1.6.5. The authenticationFailure Trap
4.1.6.6. The egpNeighborLoss Trap
4.1.6.7. The enterpriseSpecific Trap

Next: 4.1.6.1. The coldStart Trap

Connected: An Internet Encyclopedia
RFC 1157 - 4.1.6. The Trap-PDU