ifType
Module: IF-MIB
OID (symbolic): IF-MIB::ifType
OID (numeric): 1.3.6.1.2.1.2.2.1.3
Node type: OBJECT-TYPE
Type: IANAifType
Access: read-only
Description:
The type of interface. Additional values for ifType are assigned by the Internet Assigned Numbers Authority (IANA), through updating the syntax of the IANAifType textual convention.
What is ifType?
This object identifies the type of network interface, such as Ethernet, PPP, ATM, or Frame Relay, using standardized type codes maintained by IANA (Internet Assigned Numbers Authority). The interface type determines which protocol-specific MIBs and statistics are relevant for that interface. Network monitoring systems rely on this value to select the correct MIB modules and interpret interface-specific performance counters.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.2.2.1.3 snmpwalk -v2c -c public <target> IF-MIB::ifType
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.2.2.1.3.1 snmpget -v2c -c public <target> IF-MIB::ifType.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.3 | ifType | IF-MIB |