Most routers set the SNMP interface ID upon bootup and I haven't seen an easy way to get this from any device yet from the CLI. You can do a snmpwalk on ifName or ifDesc and get the interface that is associated with 102 in your case.
The OID to get the In/Out counters is ifInOctets/ifOutOctets (32 bit counters) or ifHCInOctets/ifHCOutOctets (64 bit counters). 64 bit should always be used on speeds over 100Mb to prevent the counter from looping more than once during your polling interval. To get the full OID add "-On" for numerical output or "-Of" for text output to your snmpwalk command. Paul
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
