All MIBs › IF-MIB › ifConnectorPresent
ifConnectorPresent
Module: IF-MIB
OID (symbolic): IF-MIB::ifConnectorPresent
OID (numeric): 1.3.6.1.2.1.31.1.1.1.17
Node type: OBJECT-TYPE
Type: TruthValue
Access: read-only
Description: This object has the value 'true(1)' if the interface sublayer has a physical connector and the value 'false(2)' otherwise.
What is ifConnectorPresent?
This read-only TruthValue reports whether the interface's sub-layer has an actual physical connector, true(1), or does not, false(2). Admins use it to distinguish real, cabled ports from purely logical or internal interfaces when building an inventory or wiring diagram from SNMP data. For example, a physical copper Ethernet port reports ifConnectorPresent as true(1), while a loopback or VLAN interface on the same device reports false(2).
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.31.1.1.1.17 snmpwalk -v2c -c public <target> IF-MIB::ifConnectorPresent
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.31.1.1.1.17.1 snmpget -v2c -c public <target> IF-MIB::ifConnectorPresent.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> ifConnectorPresent.1
Start monitoring SNMP-managed network devices with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the IF-MIB::ifConnectorPresent OID value, configure state conditions and alerts, and monitor any SNMP-managed network devices from a single console.
OID Breakdown
Upper-level ancestors (6 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.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.31 | ifMIB | IF-MIB |
| 1.3.6.1.2.1.31.1 | ifMIBObjects | IF-MIB |
| 1.3.6.1.2.1.31.1.1 | ifXTable | IF-MIB |
| 1.3.6.1.2.1.31.1.1.1 | ifXEntry | IF-MIB |
| 1.3.6.1.2.1.31.1.1.1.17 | ifConnectorPresent | IF-MIB |