mediaAccessDeviceObjectType
SML-MIB ·
.1.3.6.1.4.1.2.6.182.3.6.2.1.2
Object
column mandatory
Enumeration
In the 2.7 CIM Schema a Type property is no longer associated with MediaAccessDevice. However, it can be used here to specify the type of drive that is present.
Context
- MIB
- SML-MIB
- OID
.1.3.6.1.4.1.2.6.182.3.6.2.1.2- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- mediaAccessDeviceEntry
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 'SML-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SML-MIB::mediaAccessDeviceObjectType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SML-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SML-MIB::mediaAccessDeviceObjectType.<mediaAccessDeviceIndex>.<entPhysicalIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SML-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SML-MIB::mediaAccessDeviceObjectType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | unknown |
1 | wormDrive |
2 | magnetoOpticalDrive |
3 | tapeDrive |
4 | dvdDrive |
5 | cdromDrive |