ifPhysAddress
ITF-MIB ·
.1.3.6.1.2.1.2.2.1.6
Object
The interface's address at its protocol sub-layer.
The interface's media-specific MIB must define the bit
and byte ordering and format of the value contained by
this object. For interfaces which do not have such an
address (e.g., a serial line), this object should
contain an octet string of zero length.
ALCATEL NOTE:
SUPPORT: YES INSRVMOD: NA RANGE: See above
PERSIST: NO DEFVALUE: NA UNITS: -
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 'ITF-MIB' -M '/opt/observium/mibs/alcatel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ITF-MIB::ifPhysAddress'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ITF-MIB' -M '/opt/observium/mibs/alcatel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ITF-MIB::ifPhysAddress.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ITF-MIB' -M '/opt/observium/mibs/alcatel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ITF-MIB::ifPhysAddress'
Syntax
- Source
- RFC1213-MIBPhysAddress
- Base type
OctetString
Values & Constraints
No enumerated values or constraints recorded.