cdlLocationPreferWeightType
CISCO-DEVICE-LOCATION-MIB ·
.1.3.6.1.4.1.9.9.732.1.6.1.1
Object
column Enumeration
This object specifies the Location source weight type.
The following source types are represented:
static(1) - Statically configured via CLI or SNMP
locp(2) - Location Control Protocol
dhcp(3) - Dynamic Host Configuration Protocol
lldp(4) - Link Layer Discovery Protocol
cdp(5) - Cisco Discovery Protocol
Context
- MIB
- CISCO-DEVICE-LOCATION-MIB
- OID
.1.3.6.1.4.1.9.9.732.1.6.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- cdlLocationPreferWeightEntry
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::cdlLocationPreferWeightType'
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::cdlLocationPreferWeightType.<cdlLocationPreferWeightType>'
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::cdlLocationPreferWeightType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | static |
2 | locp |
3 | dhcp |
4 | lldp |
5 | cdp |