Giter VIP home page Giter VIP logo

Comments (3)

jmbredal avatar jmbredal commented on May 16, 2024

(by mbrekkevold)
Originator: YES

When a Cisco switch is queried for dot1dTpFdbPort, it will return the
mac-port mappings for VLAN 1. If the string '@20' is appended to the
community string of the request, the switch will return the mac-port
mappings for VLAN 20. Cisco switches have a BRIDGE-MIB instance for each
active VLAN, and this is how to retrieve it (it is termed "community string
indexing" by Cisco).

getDeviceData will know that a Cisco switch supports many instances of
BRIDGE-MIB, and will try to extract a list of active VLANs before OID
testing begins. If there is no useful reply from macPortEntry using an
unmodified community, it will modify the community according to the list of
known VLANs and attempt the same query until a useful reply is found.

Yet, the logs show that getDeviceData's OID-tester gives up further
testing of macPortEntry as soon as it figures no useful answer was received
when using an unmodified community.

from nav.

jmbredal avatar jmbredal commented on May 16, 2024

(by mbrekkevold)
Originator: YES

Prior to NAV 3.2, the OID tester would use community string indexing for
any OID that it got no answer from when using an unmodified community
string. NAV 3.2 introduced an optimization that only began community
string indexing for OIDs from the BRIDGE-MIB, since these are the only OIDs
where this is useful and applicable.

The change that introduced this was committed by me, and it seems that a
single missing line in this patch makes sure gDD actually won't know which
MIB an OID came from, and therefore will not use community string indexing
for anything.

smacks self on forehead and bangs head against the desk

from nav.

jmbredal avatar jmbredal commented on May 16, 2024

(by mbrekkevold)
Originator: YES

Fixed in r4251, should be part of NAV 3.3.1.

from nav.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.