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 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.3 | portIfLocation | ETH-SWITCH-MIB |