HI!
Basically there is no such way to assign the SNMP ifindex manually. So unforatunaely , its not possible to acheive what you are looking for (i.e. SNMP index like 1,5,10 ect. )
But use can use this command to find out which physical interface belongs to 5XX
>show interfaces snmp-index 5XX
to get a list use this :
>show snmp mib walk decimal 1.3.6.1.2.1.31.1.1.1.1
Here is some explanation.
The index is not predefined, it is monitored and created by mib2d dynamically. When a new interface is created in the system, mib2d checks for an entry of the interface in the file /var/db/dcd.snmp_ix
. If the entry for this index is present, the system then picks the SNMP interface index value from this file, or else it assigns a new interface index value and writes it to this file.
Since the file is maintained across reboots, the next time the same interface is deleted and re-created, the SNMP ifIndex does not change. The assignment of the interface index primarily depends on the order in which it is created. Thus, the value is different in a different machine.
Hope this helps !!
(Please remember to accept this as a solution if this helps)
Regards
Arpit