Juniper JunOS
Ports Polling Performance
Juniper JunOS has a feature which allows you to filter interfaces by name from SNMP output. This allows you to remove lots of meaningless entries from the SNMP output, and will help speed up discovery and polling performance.
An example filterset may include:
set snmp filter-interfaces all-internal-interfaces
set snmp filter-interfaces interfaces "^sxe-.*"
set snmp filter-interfaces interfaces lsi.*
set snmp filter-interfaces interfaces cbp.*
set snmp filter-interfaces interfaces demux*
set snmp filter-interfaces interfaces pime*
set snmp filter-interfaces interfaces pimd*
set snmp filter-interfaces interfaces pip*
set snmp filter-interfaces interfaces tap*
set snmp filter-interfaces interfaces lo0.16384
set snmp filter-interfaces interfaces "[g|x|a]e.*\.32767"
set snmp filter-interfaces interfaces "et.*\.32767"
set snmp filter-interfaces interfaces jsrv*
set snmp filter-interfaces interfaces lo0.16385
This is especially useful on large switch stacks with lots of internal interfaces, and can make a large difference to polling times.