cdpCacheDeviceIndex
CISCO-CDP-MIB ·
ciscosb variant
·
.1.3.6.1.4.1.9.9.23.1.2.1.1.2
Object
column Integer32
A unique value for each device from which CDP messages are being received.
Context
- MIB
- CISCO-CDP-MIB
- OID
.1.3.6.1.4.1.9.9.23.1.2.1.1.2- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- cdpCacheEntry
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-CDP-MIB' -M '/opt/observium/mibs/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-CDP-MIB::cdpCacheDeviceIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-CDP-MIB' -M '/opt/observium/mibs/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-CDP-MIB::cdpCacheDeviceIndex.<cdpCacheIfIndex>.<cdpCacheDeviceIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-CDP-MIB' -M '/opt/observium/mibs/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-CDP-MIB::cdpCacheDeviceIndex'
Syntax
Integer32
Values & Constraints
Enumerated Values
0 | info |
1 | minor |
2 | major |
3 | critical |
Object Constraints
range: 0-2147483647