Page MenuHomeVyOS Platform

SNMP - Implement FRR SNMP recommendations
Closed, ResolvedPublicFEATURE REQUEST


From FRR docs:

Routers with a heavy amount of routes (e.g. BGP full table) might experience problems with a hanging vtysh from time to time, 100% CPU on the snmpd or even crashes of the frr daemon(s) due to stalls within AgentX. Once snmp agents connects they start receiving a heavy amount of SNMP data (all the routes) which cannot be handled quick enough. It’s recommended (by several vendors as well) to exclude these OID’s unless you really need them

Oids recommended by FRR to be excluded:

  • ipRouteTable: .
  • ipNetToMediaTable: .
  • ipNetToPhysicalPhysAddress: .
  • ipCidrRouteTable: .

VyOS cli should provide options to include/exclude such oids from config.


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Revisions and Commits

Event Timeline

n.fort changed the task status from Open to Confirmed.Dec 2 2022, 1:37 PM
n.fort claimed this task.
n.fort created this task.
n.fort changed Version from - to vyos-1.4-rolling-202212020318.

We can do it the same way

vyos@r1# set service snmp oid-enable 
Possible completions:
   route-table          Enable routing table OIDs (ipCidrRouteTable inetCidrRouteTable)

so by default they should be disabled

zsdc changed Issue type from Improvement (missing useful functionality) to Bug (incorrect behavior).Dec 12 2022, 1:46 PM
GitHub <[email protected]> closed this task as Resolved by committing Restricted Diffusion Commit.Feb 10 2023, 6:46 PM
GitHub <[email protected]> added a commit: Restricted Diffusion Commit.