On the [dscy_switchport] table, the record names are frequently updated during discovery although they are expected to remain the same. The sys_id and mac addresses do not change. This can be verified by enabling auditing on the [dscy_switchport.name] field.


From Cisco:

The SNMP ifIndex persistence feature provides an interface index (ifIndex) value that is retained and used when the switch reboots. The ifIndex value is a unique identifying number associated with a physical or logical interface.

There is no requirement in the relevant RFCs that the correspondence between particular ifIndex values and their interfaces be maintained when the switch reboots, but many applications (for example, device inventory, billing, and fault detection) require maintenance of this correspondence.

You can poll the switch at regular intervals to correlate the interfaces to the ifIndexes, but it is not practical to poll constantly. The SNMP ifIndex persistence feature provides permanent ifIndex values, which eliminates the need to poll interfaces.

The following definitions are based on RFC 2233, "The Interfaces Group MIB using SMIv2." The following terms are values in the Interfaces MIB (IF-MIB):

ifIndex — A unique number (greater than zero) that identifies each interface for SNMP identification of that interface.

• ifName — The text-based name of the interface, for example, "ethernet 3/1."

• ifDescr — A description of the interface. Recommended information for this description includes the name of the manufacturer, the product name, and the version of the interface hardware and software.


The customer's Network/Infrastructure team should enable ifIndex persistence between reboots.

Article Information

Last Updated:2020-11-18 20:59:29