All MIBs › IF-MIB › ifPhysAddress
ifPhysAddress
Module: IF-MIB
OID (symbolic): IF-MIB::ifPhysAddress
OID (numeric): 1.3.6.1.2.1.2.2.1.6
Node type: OBJECT-TYPE
Type: PhysAddress
Access: read-only
Description:
The interface's address at its protocol sub-layer. For example, for an 802.x interface, this object normally contains a MAC address. The interface's media-specific MIB must define the bit and byte ordering and the format of the value of 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.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.2.2.1.6 snmpwalk -v2c -c public <target> IF-MIB::ifPhysAddress
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.2.2.1.6.1 snmpget -v2c -c public <target> IF-MIB::ifPhysAddress.1
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.2 | mgmt | BKTEL-HFC862-BASE-MIB |
| 1.3.6.1.2.1 | mib_2 | CHECKPOINT-MIB-2 |
| 1.3.6.1.2.1.2 | interfaces | CHECKPOINT-MIB-2 |
| 1.3.6.1.2.1.2.2 | ifTable | CHECKPOINT-MIB-2 |
| 1.3.6.1.2.1.2.2.1 | ifEntry | CHECKPOINT-MIB-2 |
| 1.3.6.1.2.1.2.2.1.6 | ifPhysAddress | IF-MIB |