Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Setting the snmp ifindex of an interface

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.

2 REPLIES
Hall of Fame Super Silver

Setting the snmp ifindex of an interface

I don't believe you can force a given interface to a specific ifindex value. You can make the system-assigned value persistent. See this link.

Cisco Employee

Setting the snmp ifindex of an interface

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.

"snmp-server ifindex persist"

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080134eec.shtml

Regards

K. Lakshmi Ganesh

483
Views
0
Helpful
2
Replies
CreatePlease to create content