Loading...
Loading...
We're receiving extra CDP alarms in our infrastructure which should not be the case. We reached out to Cisco-TAC before and they suggested to configure the command to the whole environment "snmp ifmib ifindex persist" even having the commands deployed in the infrastructure we found that the value is indeed changing after device reboots even with the command Cisco said would prevent ifindex value changes. We wanna know whether we been hit by the bug or the commands are not working as expected. Logs for the same is attached below: Before: 1.3.6.1.4.1.9.9.23.1.2.1.1.7 SNMPv2-SMI::enterprises.9.9.23.1.2.1.1.7.49.2 = STRING: "eth0" SNMPv2-SMI::enterprises.9.9.23.1.2.1.1.7.57.1 = STRING: "GigabitEthernet1/1/1" 1.3.6.1.4.1.9.9.23.1.2.1.1.6 SNMPv2-SMI::enterprises.9.9.23.1.2.1.1.6.49.2 = STRING: "ipcam1" SNMPv2-SMI::enterprises.9.9.23.1.2.1.1.6.57.1 = STRING: "swc1.4105.lowes.com" After: 1.3.6.1.4.1.9.9.23.1.2.1.1.7 SNMPv2-SMI::enterprises.9.9.23.1.2.1.1.7.49.9 = STRING: "eth0" SNMPv2-SMI::enterprises.9.9.23.1.2.1.1.7.57.1 = STRING: "GigabitEthernet1/1/1" 1.3.6.1.4.1.9.9.23.1.2.1.1.6 SNMPv2-SMI::enterprises.9.9.23.1.2.1.1.6.49.9 = STRING: "ipcam1" SNMPv2-SMI::enterprises.9.9.23.1.2.1.1.6.57.1 = STRING: "swc1.4105.lowes.com"
This behavior seems similar to bug: CSCur57972 - Need entityIndex to persist in IOS and IOS-XE. Ref: https://bst.cloudapps.cisco.com/bugsearch/bug/CSCur57972
N/A
We recreated the issue various times, using same version and platform as the customer, and it seems like command works to keep the indexes: Before reload: With OID: 1.3.6.1.4.1.9.9.23.1.2.1.1.6 ----------------------- New Test ----------------------- Paessler SNMP Tester - 20.2.4 Computername: VMONGE-WT1 Interface: (10.114.4.146, 192.168.0.11, 192.168.0.8) 10/7/2021 8:50:37 AM (6 ms) : Device: 10.78.54.154 10/7/2021 8:50:37 AM (11 ms) : SNMP v3 10/7/2021 8:50:37 AM (19 ms) : Walk 1.3.6.1.4.1.9.9.23.1.2.1.1.6 10/7/2021 8:50:38 AM (726 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.6.1.1 = "bgl16-cxlabs-asw-f11.cisco.com" [ASN_OCTET_STR] 10/7/2021 8:50:38 AM (1433 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.6.9.2 = "C3750x-1.cisco.com" [ASN_OCTET_STR] 10/7/2021 8:50:39 AM (2135 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.6.10.3 = "c3750x-2" [ASN_OCTET_STR] 10/7/2021 8:50:40 AM (2839 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.6.15.4 = "bgl16-cxlabs-asw-f11.cisco.com" [ASN_OCTET_STR] With OID: 1.3.6.1.4.1.9.9.23.1.2.1.1.7 ----------------------- New Test ----------------------- Paessler SNMP Tester - 20.2.4 Computername: VMONGE-WT1 Interface: (10.114.4.146, 192.168.0.11, 192.168.0.8) 10/7/2021 8:51:57 AM (6 ms) : Device: 10.78.54.154 10/7/2021 8:51:57 AM (12 ms) : SNMP v3 10/7/2021 8:51:57 AM (19 ms) : Walk 1.3.6.1.4.1.9.9.23.1.2.1.1.7 10/7/2021 8:51:58 AM (733 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.7.1.1 = "GigabitEthernet1/0/47" [ASN_OCTET_STR] 10/7/2021 8:51:59 AM (1465 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.7.9.2 = "GigabitEthernet1/0/1" [ASN_OCTET_STR] 10/7/2021 8:52:00 AM (2188 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.7.10.3 = "GigabitEthernet1/0/1" [ASN_OCTET_STR] 10/7/2021 8:52:00 AM (2931 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.7.15.4 = "GigabitEthernet1/0/14" [ASN_OCTET_STR] After reload: With OID: 1.3.6.1.4.1.9.9.23.1.2.1.1.6 ----------------------- New Test ----------------------- Paessler SNMP Tester - 20.2.4 Computername: VMONGE-WT1 Interface: (10.114.4.146, 192.168.0.11, 192.168.0.8) 10/7/2021 9:16:55 AM (3 ms) : Device: 10.78.54.154 10/7/2021 9:16:55 AM (8 ms) : SNMP v3 10/7/2021 9:16:55 AM (14 ms) : Walk 1.3.6.1.4.1.9.9.23.1.2.1.1.6 10/7/2021 9:16:56 AM (720 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.6.1.1 = "bgl16-cxlabs-asw-f11.cisco.com" [ASN_OCTET_STR] 10/7/2021 9:16:56 AM (1435 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.6.9.3 = "C3750x-1.cisco.com" [ASN_OCTET_STR] 10/7/2021 9:16:57 AM (2163 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.6.10.4 = "c3750x-2" [ASN_OCTET_STR] 10/7/2021 9:16:58 AM (2880 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.6.15.2 = "bgl16-cxlabs-asw-f11.cisco.com" [ASN_OCTET_STR] With OID: 1.3.6.1.4.1.9.9.23.1.2.1.1.7 ----------------------- New Test ----------------------- Paessler SNMP Tester - 20.2.4 Computername: VMONGE-WT1 Interface: (10.114.4.146, 192.168.0.11, 192.168.0.8) 10/7/2021 9:12:30 AM (2 ms) : Device: 10.78.54.154 10/7/2021 9:12:30 AM (7 ms) : SNMP v3 10/7/2021 9:12:30 AM (12 ms) : Walk 1.3.6.1.4.1.9.9.23.1.2.1.1.7 10/7/2021 9:12:32 AM (2066 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.7.1.1 = "GigabitEthernet1/0/47" [ASN_OCTET_STR] 10/7/2021 9:12:33 AM (2777 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.7.9.3 = "GigabitEthernet1/0/1" [ASN_OCTET_STR] 10/7/2021 9:12:34 AM (3483 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.7.10.4 = "GigabitEthernet1/0/1" [ASN_OCTET_STR] 10/7/2021 9:12:34 AM (4200 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.7.15.2 = "GigabitEthernet1/0/14" [ASN_OCTET_STR] Adding the command snmp ifmib ifindex persist to the configuration: With OID: 1.3.6.1.4.1.9.9.23.1.2.1.1.6 ----------------------- New Test ----------------------- Paessler SNMP Tester - 20.2.4 Computername: VMONGE-WT1 Interface: (10.114.4.146, 192.168.0.11, 192.168.0.8) 10/7/2021 9:36:57 AM (1 ms) : Device: 10.78.54.154 10/7/2021 9:36:57 AM (5 ms) : SNMP v3 10/7/2021 9:36:57 AM (13 ms) : Walk 1.3.6.1.4.1.9.9.23.1.2.1.1.6 10/7/2021 9:36:58 AM (1719 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.6.1.1 = "bgl16-cxlabs-asw-f11.cisco.com" [ASN_OCTET_STR] 10/7/2021 9:36:59 AM (2431 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.6.9.3 = "C3750x-1.cisco.com" [ASN_OCTET_STR] 10/7/2021 9:37:00 AM (3135 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.6.10.4 = "c3750x-2" [ASN_OCTET_STR] 10/7/2021 9:37:00 AM (3836 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.6.15.2 = "bgl16-cxlabs-asw-f11.cisco.com" [ASN_OCTET_STR] With OID: 1.3.6.1.4.1.9.9.23.1.2.1.1.7 Paessler SNMP Tester - 20.2.4 Computername: VMONGE-WT1 Interface: (10.114.4.146, 192.168.0.11, 192.168.0.8) 10/7/2021 9:38:05 AM (4 ms) : Device: 10.78.54.154 10/7/2021 9:38:05 AM (13 ms) : SNMP v3 10/7/2021 9:38:05 AM (19 ms) : Walk 1.3.6.1.4.1.9.9.23.1.2.1.1.7 10/7/2021 9:38:05 AM (723 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.7.1.1 = "GigabitEthernet1/0/47" [ASN_OCTET_STR] 10/7/2021 9:38:06 AM (1452 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.7.9.3 = "GigabitEthernet1/0/1" [ASN_OCTET_STR] 10/7/2021 9:38:07 AM (2169 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.7.10.4 = "GigabitEthernet1/0/1" [ASN_OCTET_STR] 10/7/2021 9:38:08 AM (2887 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.7.15.2 = "GigabitEthernet1/0/14" [ASN_OCTET_STR] After another reload: With OID: 1.3.6.1.4.1.9.9.23.1.2.1.1.6 ----------------------- New Test ----------------------- Paessler SNMP Tester - 20.2.4 Computername: VMONGE-WT1 Interface: (10.114.4.146, 192.168.0.11, 192.168.0.8) 10/7/2021 10:00:30 AM (2 ms) : Device: 10.78.54.154 10/7/2021 10:00:30 AM (6 ms) : SNMP v3 10/7/2021 10:00:30 AM (12 ms) : Walk 1.3.6.1.4.1.9.9.23.1.2.1.1.6 10/7/2021 10:00:30 AM (724 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.6.1.1 = "bgl16-cxlabs-asw-f11.cisco.com" [ASN_OCTET_STR] 10/7/2021 10:00:31 AM (1427 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.6.9.3 = "C3750x-1.cisco.com" [ASN_OCTET_STR] 10/7/2021 10:00:32 AM (2127 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.6.10.4 = "c3750x-2" [ASN_OCTET_STR] 10/7/2021 10:00:32 AM (2877 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.6.15.2 = "bgl16-cxlabs-asw-f11.cisco.com" [ASN_OCTET_STR] With OID: 1.3.6.1.4.1.9.9.23.1.2.1.1.7 ----------------------- New Test ----------------------- Paessler SNMP Tester - 20.2.4 Computername: VMONGE-WT1 Interface: (10.114.4.146, 192.168.0.11, 192.168.0.8) 10/7/2021 10:01:15 AM (6 ms) : Device: 10.78.54.154 10/7/2021 10:01:15 AM (13 ms) : SNMP v3 10/7/2021 10:01:15 AM (23 ms) : Walk 1.3.6.1.4.1.9.9.23.1.2.1.1.7 10/7/2021 10:01:15 AM (728 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.7.1.1 = "GigabitEthernet1/0/47" [ASN_OCTET_STR] 10/7/2021 10:01:16 AM (1432 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.7.9.3 = "GigabitEthernet1/0/1" [ASN_OCTET_STR] 10/7/2021 10:01:17 AM (2139 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.7.10.4 = "GigabitEthernet1/0/1" [ASN_OCTET_STR] 10/7/2021 10:01:17 AM (2878 ms) : 1.3.6.1.4.1.9.9.23.1.2.1.1.7.15.2 = "GigabitEthernet1/0/14" [ASN_OCTET_STR] In summary, the "snmp ifmib ifindex persist" does seem to be working to keep the indexes.
Click on a version to see all relevant bugs
Cisco Integration
Learn more about where this data comes from
BugZero Plan
Streamline upgrades with automated vendor bug scrubs
BugZero Prevent
Wish you caught this bug sooner? Get proactive today.