The ifindex reported indices and the ipAdEntIfIndex reported indices might not match after upgrade to 6.x
The ifindex reported indices and the ipAdEntIfIndex reported indices do not match. By definition:
From RFC 2011:
"The index value which uniquely identifies the interface to which this entry is applicable. The interface identified by a particular value of this index is the same interface as identified by the same value of RFC 1573's ifIndex."
From RFC 1573:
The ipAdEntIfIndex indeed reports a wrong value.
However, it is marked "deprecated" in the IP-MIB, as all the other members of the ipAddrTable.
The correct one to use is ipAddressIfIndex of the ipAddressTable (which has the status "current") of the same MIB. We tested it, and the results reported were consistent and correct:
For a SG configured with ip address of 10.78.3.20 on the 1:0 interface, we get the following:
host:~$ snmpbulkwalk -v2c -Os -c public 10.78.3.20 ifindex
host:~$ snmpbulkwalk -v2c -Os -c public 10.78.3.20 ipaddressifindex
Rate this Page
Please take a moment to complete this form to help us better serve you.