Comments (3)
(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.
(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.
(by mbrekkevold)
Originator: YES
Fixed in r4251, should be part of NAV 3.3.1.
from nav.
Related Issues (20)
- Research whether it is still possible with local users when using mod_mellon (SAML)
- Add proper form handling to maintenance
- Audit log netbox changes to associated management profiles
- [BUG] "Operate as user" HOT 2
- [BUG] ipdevpoll fails to start after upgrade to 5.8.0 HOT 7
- Remove pydantic from `pyproject.toml` dependencies list
- [BUG] NAV 5.8.0 will not run under Python 3.7 under some systems, due to incompatible `ciscoconfparse` version HOT 1
- [BUG] NAV 5.8.0 cannot read data from Eaton V4.38 version SNMP card with SNMPv1 HOT 6
- [BUG] PortAdmin stopped working for Cisco equipment HOT 1
- Improve test coverage of nav.web.useradmin
- [BUG] ipdevpoll no longer works with SNMPv1 HOT 2
- [BUG] Maintenance tasks can no longer be edited HOT 2
- [BUG] PortAdmin forces configuration of native vlan on trunks
- Make nav run on python3.11
- Upgrade to Django 4.2
- Drop support for Python 3.7
- Replace all uses of pkg_resources with importlib HOT 2
- Upgrade Twisted
- Upgrade psycopg to 2.9
- Upgrade crispy-forms
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nav.