psClassCode
ADVANTECH-COMMON-MIB ·
.1.3.6.1.4.1.10297.100.3.1.2.1.11
Object
column OctetString
Identifies the generic function of the device.
Base Sub- Prog
Class Class If. Description
------ ------ ------ --------------------------------------
00h Device was built before Class Code
definitions were finalized
Context
- MIB
- ADVANTECH-COMMON-MIB
- OID
.1.3.6.1.4.1.10297.100.3.1.2.1.11- Type
- column
- Access
- readonly
- Status
- current
- Parent
- pciSlotEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'ADVANTECH-COMMON-MIB' -M '/opt/observium/mibs/advantech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADVANTECH-COMMON-MIB::psClassCode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ADVANTECH-COMMON-MIB' -M '/opt/observium/mibs/advantech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADVANTECH-COMMON-MIB::psClassCode.<psIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ADVANTECH-COMMON-MIB' -M '/opt/observium/mibs/advantech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ADVANTECH-COMMON-MIB::psClassCode'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 3-3