After digging into this a bit more On Tue, Dec 16, 2014 at 05:40:43AM +0100, Florian Lohoff wrote: > > Hi, > did anyone see something like this? > > $ snmpget -c public -v 2c asr9k-corerouter ipv6IfAdminStatus.77 > IPV6-MIB::ipv6IfAdminStatus.79 = INTEGER: up(1) > > Asking for instance .77 and get .79.
It seems this is a clear violation of the SNMPv2 RFC 1905
RFC1905 4.2.1. The GetRequest-PDU
[ ... ]
(1) If the variable binding's name exactly matches the name of a
variable accessible by this request, then the variable binding's
value field is set to the value of the named variable.
(2) Otherwise, if the variable binding's name does not have an OBJECT
IDENTIFIER prefix which exactly matches the OBJECT IDENTIFIER
prefix of any (potential) variable accessible by this request, then
its value field is set to `noSuchObject'.
(3) Otherwise, the variable binding's value field is set to
`noSuchInstance'.
So it should return with `noSuchInstance' not some other random interfaces
IPv6 status.
Flo
--
Florian Lohoff [email protected]
signature.asc
Description: Digital signature
_______________________________________________ cisco-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/
