Most of the management software that I've seen seems to gather information about a device by polling the device and grabbing the first interface in the ifindex list.
I would like to -force- a selected interface to ifindex 1. Is there a command that will allow me to set the ifindex of a particular interface?
AKA, I want all of the Cisco routers with a loopback to have the loopback set to be ifindex 1 so that when the device is polled, it uses the information set on the loopback as the information that it uses to populate it's database about the router.
The requirement set by you to force a selected interface to particular desirable ifIndex is not possible. You can certainly make the ifIndex assigned by device itself to interface persist but can't force by any command.
SNMP config command to make the ifIndex assigned by device to persist is as below.
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...