Sunday, March 29, 2009

Persistency of SNMP Ifindex

Some snmp monitoring tools grab the snmp index directly to monitor your interfaces. This causes no problem until you reload your router/switch.
The problem is that when you reload it, the ifindex are recalculated and might not be in the same order.
To avoid this problem, use:

snmp-server ifindex persist