Page MenuHomeVyOS Platform

SNMP GET broken at least for BGP4-MIB
Open, Requires assessmentPublicBUG

Description

Hello,

1.2.0-rolling+201901100337 has some issues related to SNMP processing.
Walk and Get requests to exact OID gives "No such instance" result instead of correct value:

Walk returns exact OID:

# snmpwalk -v2c -c public 10.10.10.10 SNMPv2-SMI::mib-2.15.6.1.10.10.3.1.0.24.10.0.1
SNMPv2-SMI::mib-2.15.6.1.10.10.3.1.0.24.10.0.1.2 = INTEGER: 0

Trying to walk exact OID:
# snmpwalk -v2c -c public 10.10.10.10 SNMPv2-SMI::mib-2.15.6.1.10.10.3.1.0.24.10.0.1.2
SNMPv2-SMI::mib-2.15.6.1.10.10.3.1.0.24.10.0.1.2 = No Such Instance currently exists at this OID

Trying to GET exact OID:
# snmpget -v2c -c public 10.10.10.10 SNMPv2-SMI::mib-2.15.6.1.10.10.3.1.0.24.10.0.1.2
SNMPv2-SMI::mib-2.15.6.1.10.10.3.1.0.24.10.0.1.2 = No Such Instance currently exists at this OID

Trying the same host rebooted to VyOS 1.1.8:
# snmpget -v2c -c public 10.10.10.10 SNMPv2-SMI::mib-2.15.6.1.10.10.3.1.0.24.10.0.1.2
SNMPv2-SMI::mib-2.15.6.1.10.10.3.1.0.24.10.0.1.2 = INTEGER: 0

Thanks.

Details

Difficulty level
Normal (likely a few hours)
Version
1.2.0-rolling+201901100337
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

Dmitry changed Difficulty level from Unknown (require assessment) to Normal (likely a few hours).
Dmitry set Is it a breaking change? to Unspecified (possibly destroys the router).