All MIBs › IB-PM-MIB › pmPortSampleCntrlOpCode
pmPortSampleCntrlOpCode
Module: IB-PM-MIB
OID (symbolic): IB-PM-MIB::pmPortSampleCntrlOpCode
OID (numeric): 1.3.6.1.3.117.1.2.1.2
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description: Used to select a specific packet OpCode (as found in BTH) when sampling optional quantities that are op code specific. If OpCode is 0xFF, all OpCodes are sampled as one otherwise only one OpCode can be sampled at a time, although multiple quantities can be sampled for the same OpCode. The possible OpCode are defined as follows: 0x0 : RC SEND First, 0x1 : RC SEND Middle, 0x2 : RC SEND Last, 0x3 : RC SEND Last with Immediate, 0x4 : RC SEND Only, 0x5 : RC SEND Only with Immediate, 0x6 : RC RDMA Write First, 0x7 : RC RDMA Write Middle, 0x8 : RC RDMA Write Last, 0x9 : RC RDMA Write Last with Immediate, 0xA : RC RDMA Write Only, 0xB : RC RDMA Write Only with Immediate, 0xC : RC RDMA Read Request, 0xD : RC RDMA Read Response First, 0xE : RC RDMA Read Response Middle, 0xF : RC RDMA Read Response Last, 0x10 : RC RDMA Read Response Only, 0x11 : RC RDMA Acknowledge, 0x12 : RC RDMA Atomic Acknowledge, 0x13 : RC RDMA CmpSwap, 0x14 : RC RDMA FetchAdd, 0x15 - 0x1F : RC Reserved, 0x20 : UC Send First, 0x21 : UC Send Middle, 0x22 : UC Send Last,
0x23 : UC Send Last with Immediate, 0x24 : UC Send Only, 0x25 : UC Send Only with Immediate, 0x26 : UC RDMA Write First, 0x27 : UC RDMA Write Middle, 0x28 : UC RDMA Write Last, 0x29 : UC RDMA Write Last with Immediate, 0x2A : UC RDMA Write Only, 0x2B : UC RDMA Write Only with Immediate, 0x2C - 0x3F : UC Reserved 0x40 : RD Send First, 0x41 : RD Send Middle, 0x42 : RD Send Last, 0x43 : RD Send Last with Immediate, 0x44 : RD Send Only, 0x45 : RD Send Only with Immediate, 0x46 : RD RDMA Write First, 0x47 : RD RDMA Write Middle, 0x48 : RD RDMA Write Last, 0x49 : RD RDMA Write Last with Immediate, 0x4A : RD RDMA Write Only, 0x4B : RD RDMA Write Only with Immediate, 0x4C : RD RDMA Read Request, 0x4D : RD RDMA Read Response First, 0x4E : RD RDMA Read Response Middle, 0x4F : RD RDMA Read Response Last, 0x50 : RD RDMA Read Only, 0x51 : RD Acknowledge, 0x52 : RD Atomic Acknowledge, 0x53 : RD CmpSwap, 0x54 : RD FetchAdd, 0x55 - 0x5F : RD Reserved, 0x64 : UD Send Only, 0x65 : UD Send Only with Immediate, 0x66 - 0x7F : UD Reserved, 0x80 - 0xBF : Reserved, 0xC0 - 0xEF : Manufacture Specific Opcodes.
What is pmPortSampleCntrlOpCode?
Selects which specific InfiniBand packet operation code (e.g. RC SEND, RDMA Write, RDMA Read) to restrict sampling to, with 0xFF meaning 'sample all OpCodes together'. Only one specific OpCode can be sampled at a time, so an admin isolating a particular RDMA operation's performance would set this to that operation's numeric code before starting a sample run.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.3.117.1.2.1.2 snmpwalk -v2c -c public <target> IB-PM-MIB::pmPortSampleCntrlOpCode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.3.117.1.2.1.2.1 snmpget -v2c -c public <target> IB-PM-MIB::pmPortSampleCntrlOpCode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.3.117.1.2.1.2.1 i <value>
Start monitoring InfiniBand switch/host channel adapter (HCA), performance management with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the IB-PM-MIB::pmPortSampleCntrlOpCode OID value, configure state conditions and alerts, and monitor any InfiniBand switch/host channel adapter (HCA), performance management from a single console.
OID Breakdown
Upper-level ancestors (5 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.3 | experimental | APERTUS-NPG-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.3.117 | pm | IB-PM-MIB |
| 1.3.6.1.3.117.1 | pmMIBObjects | IB-PM-MIB |
| 1.3.6.1.3.117.1.2 | pmPortSampleCntrlTable | IB-PM-MIB |
| 1.3.6.1.3.117.1.2.1 | pmPortSampleCntrlEntry | IB-PM-MIB |
| 1.3.6.1.3.117.1.2.1.2 | pmPortSampleCntrlOpCode | IB-PM-MIB |