There are situations where we need to find out the corespondence between the ifindex and the interface names. For instance, if we receive a log on the switch that is refereing to a ifindex number but does not mention the exact interface name, we would need to know this corelation in order to indentify where the problem resides.
Example:
Feb 9 2016 08:47:12 xxxx %%01IFNET/4/BWRATE_OUT_RESUME(l)[0]:Interface output flow bandwidth usage was restored to the log threshold. (Interface=10, BandWidthUsage=85, LogThreshold=90)