-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support fetching ARP entries from all Arista VRF instances #2262
Comments
Ideas for future gNMI/gRPC support: instead of polling the ARP table via SNMP at regular intervals you could subscribe to events when new ARP entries are added and query via:
I haven't figured out to do this VRF aware yet however.. |
Stockholm University would like to have this feature as well. |
This is much the same NAV does specifically for collecting BRIDGE-MIB on Cisco and Aruba devices. These vendors have multiple instances of this MIB, which are reachable through community indexing. The actual data collection for IP<->MAC mappings is done by the Hopefully, assuming Arista only supports the latest revisions of IP-MIB, we could get away with adding support for community indexing only in this MIB. We need something similar to this utility function NAV uses to detect alternate BRIDGE-MIB instances: nav/python/nav/ipdevpoll/utils.py Lines 146 to 156 in 4c9e477
I will need to investigate further to see if there are more opportunities for code reuse here. |
There is of course this utility class which we definitely will need here: nav/python/nav/mibs/mibretriever.py Lines 574 to 586 in 770504d
|
Is your feature request related to a problem? Please describe.
When using Machine tracker -> IP search or searching for an IP prefix only addresses from the global routing table (VRF) shows up. This is a problem because all our clients are routed inside VRFs, so we will not find any client devices at all.
Describe the solution you'd like
I would like ARP entries from VRFs to be detected and scanned by NAV.
I have found this MIB to query what VRFs are available on an Arista device:
https://www.arista.com/assets/data/docs/MIBS/ARISTA-VRF-MIB.txt
Using "community indexing" you could query the same OIDs for ARP table but in each VRF like this (similar to Cisco):
https://eos.arista.com/forum/vrf-snmp/
Describe alternatives you've considered
I have considered if maybe it's possible to disable/hide IP search if it's not possible to fix this since it can be confusing for users to have a search that will never display any results
Additional context
We have a lab with Arista switches where you can test this out, some sample outputs:
The text was updated successfully, but these errors were encountered: