physicalMediaIndex
SML-MIB ·
.1.3.6.1.4.1.2.6.182.3.7.2.1.1
Object
The current index value for the PhysicalMedia.
Context
- MIB
- SML-MIB
- OID
.1.3.6.1.4.1.2.6.182.3.7.2.1.1- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- physicalMediaEntry
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::physicalMediaIndex'
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::physicalMediaIndex.<physicalMediaIndex>'
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::physicalMediaIndex'