cdlLocationTargetIdentifier
CISCO-DEVICE-LOCATION-MIB ·
.1.3.6.1.4.1.9.9.732.1.2.1.5
Object
column OctetString
This object specifies a unique identifier for a
given cdlLocationTargetType in a given device.
If the cdlLocationTargetType is set to 'interface',
then the identifier would be the ifIndex.
If the cdlLocationTargetType is set to 'ipv4Addr',
then the identifier would the IP address.
Context
- MIB
- CISCO-DEVICE-LOCATION-MIB
- OID
.1.3.6.1.4.1.9.9.732.1.2.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- cdlLocationEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CISCO-DEVICE-LOCATION-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-DEVICE-LOCATION-MIB::cdlLocationTargetIdentifier'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-DEVICE-LOCATION-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-DEVICE-LOCATION-MIB::cdlLocationTargetIdentifier.<cdlLocationIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-DEVICE-LOCATION-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-DEVICE-LOCATION-MIB::cdlLocationTargetIdentifier'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-128
Conformance
Member of