ETH-SWITCH-MIB :: portIfLocation

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › ETH-SWITCH-MIB › portIfLocation

portIfLocation

Module: ETH-SWITCH-MIB

OID (symbolic): ETH-SWITCH-MIB::portIfLocation

OID (numeric): 1.3.6.1.4.1.208.39.3.3.1.3

Node type: OBJECT-TYPE

Type: DisplayString

Access: read-write

Description: User configurable location of the port.

What is portIfLocation?

Holds a short free-text field (up to 15 characters) where an administrator records the physical location of whatever is connected to the port, such as a room or rack label. Like portIfDescr, it is informational only and does not affect switching.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.208.39.3.3.1.3
snmpwalk -v2c -c public <target> ETH-SWITCH-MIB::portIfLocation

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.208.39.3.3.1.3.1
snmpget -v2c -c public <target> ETH-SWITCH-MIB::portIfLocation.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.208.39.3.3.1.3.1 s <value>

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::portIfLocation 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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.208scanetSCANET-MIB
Numeric OIDNameModule
1.3.6.1.4.1.208.39ethSwitchETH-SWITCH-MIB
1.3.6.1.4.1.208.39.3portsETH-SWITCH-MIB
1.3.6.1.4.1.208.39.3.3portIfTableETH-SWITCH-MIB
1.3.6.1.4.1.208.39.3.3.1portIfEntryETH-SWITCH-MIB
1.3.6.1.4.1.208.39.3.3.1.3portIfLocationETH-SWITCH-MIB