agentIpIfMacAddr
SWCOMMGMT-MIB ·
.1.3.6.1.4.1.2272.1.201.1.1.1.3.2.1.5
Object
column RFC1213-MIBPhysAddress
The MAC address of this IP interface. For interfaces which do not have such an address. (e.g., a serial line), this object should contain an octet string of zero length.
Context
- MIB
- SWCOMMGMT-MIB
- OID
.1.3.6.1.4.1.2272.1.201.1.1.1.3.2.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- agentIpIfEntry
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 'SWCOMMGMT-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWCOMMGMT-MIB::agentIpIfMacAddr'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWCOMMGMT-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWCOMMGMT-MIB::agentIpIfMacAddr.<agentIpIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWCOMMGMT-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWCOMMGMT-MIB::agentIpIfMacAddr'
Syntax
- Source
- RFC1213-MIBPhysAddress
- Base type
OctetString
Values & Constraints
No enumerated values or constraints recorded.