cdpCacheAddress

CISCO-CDP-MIB · ciscosb variant · .1.3.6.1.4.1.9.9.23.1.2.1.1.4

Object

The (first) network-layer address of the device
as reported in the Address TLV of the most recently received
CDP message.  For example, if the corresponding instance of
cacheAddressType had the value 'ip(1)', then this object
would be an IPv4-address.  If the neighbor device is
SNMP-manageable, it is supposed to generate its CDP messages
such that this address is one at which it will receive SNMP
messages. Use cdpCtAddressTable to extract the remaining
addresses from the Address TLV received most recently.

Context

MIB
CISCO-CDP-MIB
OID
.1.3.6.1.4.1.9.9.23.1.2.1.1.4
Type
column
Access
readonly
Status
current
Parent
cdpCacheEntry
Groups
5

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::cdpCacheAddress'
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::cdpCacheAddress.<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::cdpCacheAddress'

Syntax

Values & Constraints

Object Constraints
range: 0-16