vmwVmMAC
VMWARE-VMINFO-MIB ·
.1.3.6.1.4.1.6876.2.4.1.7
Object
column SNMPv2-TCPhysAddress
Reports the configured virtual hardware MAC address. If VMware Tools is not running, or VM has not yet been powered on for the first time and mac is to be generated by VM then the value is zero'd out/empty. VIM Property: Virtual Device's with index of 4000-4999. MOB: https://esx.example.com/mob/?moid=vmwVmIdx&doPath=config%2ehardware
Context
- MIB
- VMWARE-VMINFO-MIB
- OID
.1.3.6.1.4.1.6876.2.4.1.7- Type
- column
- Access
- readonly
- Status
- current
- Parent
- vmwVmNetEntry
- Groups
- 1
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 'VMWARE-VMINFO-MIB' -M '/opt/observium/mibs/vmware:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'VMWARE-VMINFO-MIB::vmwVmMAC'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'VMWARE-VMINFO-MIB' -M '/opt/observium/mibs/vmware:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'VMWARE-VMINFO-MIB::vmwVmMAC.<vmwVmNetVmIdx>.<vmwVmNetIdx>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'VMWARE-VMINFO-MIB' -M '/opt/observium/mibs/vmware:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'VMWARE-VMINFO-MIB::vmwVmMAC'
Syntax
- Source
- SNMPv2-TCPhysAddress
- Base type
OctetString- Display format
1x:
Type Description
Represents media- or physical-level addresses.
Values & Constraints
No enumerated values or constraints recorded.
Conformance
Member of