A SNMPv2 management communication class corresponds to a specific SNMPv2 PDU type defined in [2]. A management communication class is represented by an ASN.1 INTEGER value according to the type of the identifying PDU (see Table 1).
Get 1
GetNext 2
Response 4
Set 8
-- unused 16
GetBulk 32
Inform 64
SNMPv2-Trap 128
Table 1: Management Communication Classes
The value by which a communication class is represented is computed as 2 raised to the value of the ASN.1 context- specific tag for the appropriate SNMPv2 PDU.
A set of management communication classes is represented by the ASN.1 INTEGER value that is the sum of the representations of the communication classes in that set. The null set is represented by the value zero.