Skip to content

Lookups returning empty strings when use the index lookup cdpCacheDeviceId #1189

Closed Answered by SuperQ
OnionTop asked this question in Q&A
Discussion options

You must be logged in to vote

As you can see by the MIB definition:

cdpCacheEntry OBJECT-TYPE
    SYNTAX     CdpCacheEntry
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
            "An entry (conceptual row) in the cdpCacheTable,
            containing the information received via CDP on one
            interface from one device.  Entries appear when
            a CDP advertisement is received from a neighbor
            device.  Entries disappear when CDP is disabled
            on the interface, or globally."
    INDEX      { cdpCacheIfIndex, cdpCacheDeviceIndex }
    ::= { cdpCacheTable 1 }

The index is two OIDs. So the lookup must be two OIDs.

modules:
  cdp_cache:
    walk:
      - cdpCach…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@OnionTop
Comment options

Answer selected by SuperQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1188 on May 21, 2024 06:41.