Closed rbzchnadm closed 5 months ago
This is fixed, but you have to use a compiled version. It's not released yet.
I'm currently using the 10.0 compiled version based on released source https://github.com/FRRouting/frr/archive/refs/tags/frr-10.0.tar.gz
The fix is not integrated in this release, right ?
No, you have to use non-release branch, e.g. stable/10.0
.
Thank you .. confirmed ok
Description
BGPD configured with agentX SNMP support reports error OID not increasing error when peer is connected when doing a snmpwalk
Version
How to reproduce
1) Configure net-snmp with AgentX (snmpd.conf) master agentx agentXSocket tcp:127.0.0.1:705
2) Start BGPD with AgentX bgpd -M snmp -A 127.0.0.1
3) Enable agentx in configuration (frr.conf) agentx
4) Setup a BGP peering (frr.conf) with a bunch of routes
router bgp 65001 bgp router-id
bgp log-neighbor-changes
no bgp default ipv4-unicast
bgp default show-hostname
bgp default show-nexthop-hostname
neighbor remote-as 65001
neighbor bfd
neighbor password
neighbor update-source
!
address-family ipv4 unicast
redistribute connected route-map permit_all
neighbor activate
neighbor soft-reconfiguration inbound
exit-address-family
Expected behavior
Full SNMP tree returned
Actual behavior
[admin@ ~]$ snmpwalk -c -v2c 127.0.0.1 1.3.6.1.2.1.15
SNMPv2-SMI::mib-2.15.1.0 = Hex-STRING: 10
SNMPv2-SMI::mib-2.15.2.0 = INTEGER: 64546
SNMPv2-SMI::mib-2.15.3.1.1.xx.xx.xx.xx = IpAddress:
SNMPv2-SMI::mib-2.15.3.1.2.xx.xx.xx.xx = INTEGER: 6
SNMPv2-SMI::mib-2.15.3.1.3.xx.xx.xx.xx = INTEGER: 2
SNMPv2-SMI::mib-2.15.3.1.4.xx.xx.xx.xx = INTEGER: 4
SNMPv2-SMI::mib-2.15.3.1.5.xx.xx.xx.xx = IpAddress:
SNMPv2-SMI::mib-2.15.3.1.6.xx.xx.xx.xx = INTEGER: 39549
SNMPv2-SMI::mib-2.15.3.1.7.xx.xx.xx.xx = IpAddress:
SNMPv2-SMI::mib-2.15.3.1.8.xx.xx.xx.xx = INTEGER: 179
SNMPv2-SMI::mib-2.15.3.1.9.xx.xx.xx.xx = INTEGER: 64546
SNMPv2-SMI::mib-2.15.3.1.10.xx.xx.xx.xx = Counter32: 6
SNMPv2-SMI::mib-2.15.3.1.11.xx.xx.xx.xx = Counter32: 6
SNMPv2-SMI::mib-2.15.3.1.12.xx.xx.xx.xx = Counter32: 10
SNMPv2-SMI::mib-2.15.3.1.13.xx.xx.xx.xx = Counter32: 10
SNMPv2-SMI::mib-2.15.3.1.14.xx.xx.xx.xx = Hex-STRING: 00 00
SNMPv2-SMI::mib-2.15.3.1.15.xx.xx.xx.xx = Counter32: 1
SNMPv2-SMI::mib-2.15.3.1.16.xx.xx.xx.xx = Gauge32: 146
SNMPv2-SMI::mib-2.15.3.1.17.xx.xx.xx.xx = INTEGER: 120
SNMPv2-SMI::mib-2.15.3.1.18.xx.xx.xx.xx = INTEGER: 180
SNMPv2-SMI::mib-2.15.3.1.19.xx.xx.xx.xx = INTEGER: 60
SNMPv2-SMI::mib-2.15.3.1.20.xx.xx.xx.xx = INTEGER: 180
SNMPv2-SMI::mib-2.15.3.1.21.xx.xx.xx.xx = INTEGER: 60
SNMPv2-SMI::mib-2.15.3.1.23.xx.xx.xx.xx = INTEGER: 0
SNMPv2-SMI::mib-2.15.3.1.24.xx.xx.xx.xx = Gauge32: 145
SNMPv2-SMI::mib-2.15.4.0 = IpAddress:
SNMPv2-SMI::mib-2.15.6.1.1.192.26.xx.xx.xx.xx.0.0.0 = IpAddress:
SNMPv2-SMI::mib-2.15.6.1.1.192.26.xx.xx.xx.xx.0.0.0 = IpAddress:
Error: OID not increasing: SNMPv2-SMI::mib-2.15.6.1.1.192.26.xx.xx.xx.xx.0.0.0
Additional context
No response
Checklist