SNMPv2-MIB :: sysLocation

MIB Reference — IPNetwork Monitor

All MIBsSNMPv2-MIBsysLocation

sysLocation

Module: SNMPv2-MIB

OID (symbolic): SNMPv2-MIB::sysLocation

OID (numeric): 1.3.6.1.2.1.1.6

Node type: OBJECT-TYPE

Type: DisplayString

Access: read-write

Description:

The physical location of this node (e.g., 'telephone closet, 3rd floor'). If the location is unknown, the value is the zero-length string.

What is sysLocation?

This is a text string (up to 255 characters) recording the physical location of the device, such as 'Building 3, Server Room A, Rack 12'; operators can set it. Network engineers use it to quickly locate equipment during troubleshooting or maintenance without hunting through documentation. For example, 'DC2-North-Rack37' tells you exactly where a failed device sits.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.2.1.1.6
snmpwalk -v2c -c public <target> SNMPv2-MIB::sysLocation

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.2.1.1.6.1
snmpget -v2c -c public <target> SNMPv2-MIB::sysLocation.1

Set instance 1 (SNMPv2c):

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

Example output:

SNMPv2-MIB::sysLocation.0 = STRING: Sitting on the Dock of the Bay

SNMPv3 example:

snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> sysLocation.1

OID Breakdown

Numeric OIDNameModule
1isoLANART-AGENT
1.3orgBIANCA-BRICK-PPP-MIB
1.3.6dodBIANCA-BRICK-PPP-MIB
1.3.6.1internetBIANCA-BRICK-PPP-MIB
1.3.6.1.2mgmtBKTEL-HFC862-BASE-MIB
1.3.6.1.2.1mib_2CHECKPOINT-MIB-2
1.3.6.1.2.1.1systemCHECKPOINT-MIB-2
1.3.6.1.2.1.1.6sysLocationSNMPv2-MIB