Den 05-10-2018 kl. 00:56 skrev Gisle Vanem via Net-snmp-coders:
With this command:
   snmpwalk.exe -M mibs -m ALL -v1 -c public 10.0.0.21

I've getting lines with junk in the output:
   IPV6-MIB::ipv6NetToMediaValid.1.'................'.12 = INTEGER: true(1)

It is trying to show an OCTET STRING as a string, which in most cases is useful but fails miserably for IPv6 addresses which in the IPV6-MIB does not have a DISPLAY-HINT.

Try doing snmpwalk with the -Ob option, then you will see something like this:

ipv6NetToMediaValid.1.16.255.2.0.0.0.0.0.0.0.0.0.0.0.0.0.12 = INTEGER: true(1)

You should see similar data from IP-MIB in a more readable form.

/Niels

--
Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming


_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to