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: .1.3.6.1.2.1.4.21
- ipNetToMediaTable: .1.3.6.1.2.1.4.22
- ipNetToPhysicalPhysAddress: .1.3.6.1.2.1.4.35
- ipCidrRouteTable: .1.3.6.1.2.1.4.24
VyOS cli should provide options to include/exclude such oids from config.