cdpCacheIfIndex

CISCO-CDP-MIB · ciscosb variant · .1.3.6.1.4.1.9.9.23.1.2.1.1.1

Object

column Integer32
Normally, the ifIndex value of the local interface.
For 802.3 Repeaters for which the repeater ports do not
have ifIndex values assigned, this value is a unique
value for the port, and greater than any ifIndex value
supported by the repeater; the specific port number in
this case, is given by the corresponding value of
cdpInterfacePort.

Context

MIB
CISCO-CDP-MIB
OID
.1.3.6.1.4.1.9.9.23.1.2.1.1.1
Type
column
Access
noaccess
Status
current
Parent
cdpCacheEntry

Walk 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::cdpCacheIfIndex'
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::cdpCacheIfIndex.<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::cdpCacheIfIndex'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-2147483647