infoAddressMAC
HWg-WLD-MIB ·
.1.3.6.1.4.1.21796.4.5.70.1
Object
scalar mandatory
OctetString
MAC address in text form. It is here to distinguish devices in trap messages.
Context
- MIB
- HWg-WLD-MIB
- OID
.1.3.6.1.4.1.21796.4.5.70.1- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- info
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HWg-WLD-MIB' -M '/opt/observium/mibs/hwgroup:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HWg-WLD-MIB::infoAddressMAC.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HWg-WLD-MIB' -M '/opt/observium/mibs/hwgroup:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HWg-WLD-MIB::infoAddressMAC'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-17