All MIBs › ETH-SWITCH-MIB › portIfType
portIfType
Module: ETH-SWITCH-MIB
OID (symbolic): ETH-SWITCH-MIB::portIfType
OID (numeric): 1.3.6.1.4.1.208.39.3.3.1.7
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: The type of Physical interface at the port.
What is portIfType?
Identifies the physical media type of the port's interface, such as 10BASE-T, 100BASE-TX/FX, AUI, an internal backplane link, or a Layer-3 link. Admins use this to confirm what kind of cabling or connector a given port expects, especially on mixed-media chassis.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.208.39.3.3.1.7 snmpwalk -v2c -c public <target> ETH-SWITCH-MIB::portIfType
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.208.39.3.3.1.7.1 snmpget -v2c -c public <target> ETH-SWITCH-MIB::portIfType.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> portIfType.1
Start monitoring Ethernet switch with port/VLAN management (vendor not confirmed) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the ETH-SWITCH-MIB::portIfType OID value, configure state conditions and alerts, and monitor any Ethernet switch with port/VLAN management (vendor not confirmed) from a single console.
OID Breakdown
Upper-level ancestors (7 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.208 | scanet | SCANET-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.208.39 | ethSwitch | ETH-SWITCH-MIB |
| 1.3.6.1.4.1.208.39.3 | ports | ETH-SWITCH-MIB |
| 1.3.6.1.4.1.208.39.3.3 | portIfTable | ETH-SWITCH-MIB |
| 1.3.6.1.4.1.208.39.3.3.1 | portIfEntry | ETH-SWITCH-MIB |
| 1.3.6.1.4.1.208.39.3.3.1.7 | portIfType | ETH-SWITCH-MIB |