-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Timeout error while fetching response using snmpget #17807
Labels
Comments
possible that snmpd is not running. Related to this issue #16001 |
@SuvarnaMeenakshi any ETA for fixing the issue? |
11 tasks
|
lguohan
pushed a commit
that referenced
this issue
May 12, 2024
) Why I did it 1. fix [snmp] Snmpd fails to start when mgmt or Loopback interface is configured with Link local IPv6 address #16001 2. fix Timeout error while fetching response using snmpget #17807 #17045 modified minigraph parser to use management and loopback IPs to support SNMP query over IPv6. With this fix, if mgmt or loopback IP contains link local IP, that will not work as link local IP has to be appended with scope id associating the IP address to a specific interface. This PR change is to ensure that snmp works with link local IPv6 address. How I did it Modify minigraph parser to append the Ip address with % scope id if snmp agent address being used is link local IP address. Modify snmpd.conf.j2 to take this change while checking if an IP address is ipv4 or ipv6. How to verify it Verified by configuring link local ipv6 address. Last login: Wed Mar 13 01:45:09 2024 from 10.1.84.57 admin@<>:~$ sudo netstat -tulnp | grep 161 ... udp6 0 0 fe80::f6ee:31ff:fe9:161 :::* 70355/snmpd Signed-off-by: Suvarna Meenakshi <sumeenak@microsoft.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Timeout error generated while running performing SNMP walk.
Steps to reproduce the issue:
1.Deploy M0 topology
get into snmp docker using: docker exec -it snmp bash
execute the below command
snmpget -v2c -c public fe80::6e19:8fff:feb1:eae0%eth0 1.3.6.1.2.1.1.1.0
Describe the results you received:
root@str-dut-acs-1:/home/admin# docker exec snmp snmpget -v2c -c public fe80::6e19:8fff:feb1:eae0%eth0 1.3.6.1.2.1.1.1.0
Timeout: No Response from fe80::6e19:8fff:feb1:eae0%eth0.
root@str-dut-acs-1:/home/admin# docker exec -it snmp bash
root@str-dut-acs-1:/# snmpget -v2c -c public 10.1.0.32 .1.3.6.1.2.1.1.1.0
Timeout: No Response from 10.1.0.32.
Output of
show version
:The text was updated successfully, but these errors were encountered: