SNMPv2c Traps

The following table shows the format of an SNMPv2c trap, with the IP header forming the top section of the table and the SNMP Trap Protocol Data Unit (PDU) forming the lower section of the table.

SNMPv2c Trap Format

Version and other information

Source Address

Destination Address

PDU-Type: 4

Request Identifier

Error Status

Error Index

PDU Variable Bindings

SNMPv2c traps do not have an Agent Address field in the PDU; therefore, the only source field of the trap is within the IP packet header. NAT routers properly translate the source field.

On the source node, ensure that the interface associated with the private inside IP address sources all traps from devices behind the NAT router. Then, the NAT gateway can translate the trap to the correct public address.

The following diagram shows an example of correct translation from the NAT gateway. The NAT gateway properly translates a trap that begins with the source address of 192.168.1.2 to address 15.2.13.2. Then the NNMi management server correctly resolves this address.

SNMPv2c Example