View Issue Details

IDProjectCategoryView StatusLast Update
1943RackTablesSNMPpublic2019-11-19 19:12
Reporterrmaxwell72 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformx86_64OSUbuntuOS Version14.04 & 18.04
Product Version0.21.3 
Summary1943: Issue with ios15ShortenIfName_real
DescriptionWhen trying to pull SNMP sync (SNMP Generic Sync), if using ios15ShortenIfName_real for retrieving ifName it returns blank/null. If I edit the remote.php, and change in $shorten_by_breed 'ios15' => 'ios12ShortenIfName_real', it works. I have experienced this with multiple ios 15.x devices, whether switches or routers, all return no ifName using ios15ShortenifName, but all work using ios12ShortenifName.
Steps To ReproduceSNMP Generic Sync of ios 15.x device. = ifName returns blank/null, text box to manually enter.
change in remote.php, $shorten_by_breed 'ios15' => 'ios12ShortenIfName_real'
SNMP Generic Sync of ios 15.x device. = ifName returns populated
TagsNo tags attached.

Activities

infrastation

infrastation

2019-11-19 00:22

administrator   ~0004005

Could you add the following details?
* the device sysObjectID and hardware model as shown in RackTables dictionary
* ifName and ifDescr for the ports that do not work as expected out of the box
rmaxwell72

rmaxwell72

2019-11-19 19:12

reporter   ~0004011

Hello,

So on the two installations I am dealing with here's some of the devices (this issue covered multiple devices and IOS 15 revisions) this was experienced with:

166 Cisco Catalyst 2960G-48TC-L
50481 Cisco Catalyst 6509
147 Cisco Catalyst 4948
377 Cisco Catalyst 4948-10GE
188 Cisco Catalyst 3750G-12S
50491 Cisco ASR 1002-X

As for ifName and ifDesc:

This was happening with any interface (FastEthernet, GigabitEthernet, Vlan, Port-Channel), but here are some examples of ifName & ifDescr:

root@host1:~# snmpwalk -v 1 -c xxxxxxxx sw1.home ifName
IF-MIB::ifName.1 = STRING: Vl1
IF-MIB::ifName.100 = STRING: Vl100
IF-MIB::ifName.777 = STRING: Vl777
IF-MIB::ifName.5002 = STRING: Po2
IF-MIB::ifName.5003 = STRING: Po3
IF-MIB::ifName.5004 = STRING: Po4
IF-MIB::ifName.5005 = STRING: Po5
IF-MIB::ifName.10101 = STRING: Gi0/1
IF-MIB::ifName.10102 = STRING: Gi0/2
IF-MIB::ifName.10103 = STRING: Gi0/3
IF-MIB::ifName.10104 = STRING: Gi0/4
IF-MIB::ifName.10105 = STRING: Gi0/5
IF-MIB::ifName.10106 = STRING: Gi0/6
IF-MIB::ifName.10107 = STRING: Gi0/7
IF-MIB::ifName.10108 = STRING: Gi0/8
IF-MIB::ifName.10109 = STRING: Gi0/9
IF-MIB::ifName.10110 = STRING: Gi0/10
IF-MIB::ifName.10111 = STRING: Gi0/11
IF-MIB::ifName.10112 = STRING: Gi0/12
IF-MIB::ifName.10113 = STRING: Gi0/13
IF-MIB::ifName.10114 = STRING: Gi0/14
IF-MIB::ifName.10115 = STRING: Gi0/15
IF-MIB::ifName.10116 = STRING: Gi0/16
IF-MIB::ifName.10117 = STRING: Gi0/17
IF-MIB::ifName.10118 = STRING: Gi0/18
IF-MIB::ifName.10119 = STRING: Gi0/19
IF-MIB::ifName.10120 = STRING: Gi0/20
IF-MIB::ifName.10121 = STRING: Gi0/21
IF-MIB::ifName.10122 = STRING: Gi0/22
IF-MIB::ifName.10123 = STRING: Gi0/23
IF-MIB::ifName.10124 = STRING: Gi0/24
IF-MIB::ifName.10125 = STRING: Gi0/25
IF-MIB::ifName.10126 = STRING: Gi0/26
IF-MIB::ifName.10127 = STRING: Gi0/27
IF-MIB::ifName.10128 = STRING: Gi0/28
IF-MIB::ifName.10129 = STRING: Gi0/29
IF-MIB::ifName.10130 = STRING: Gi0/30
IF-MIB::ifName.10131 = STRING: Gi0/31
IF-MIB::ifName.10132 = STRING: Gi0/32
IF-MIB::ifName.10133 = STRING: Gi0/33
IF-MIB::ifName.10134 = STRING: Gi0/34
IF-MIB::ifName.10135 = STRING: Gi0/35
IF-MIB::ifName.10136 = STRING: Gi0/36
IF-MIB::ifName.10137 = STRING: Gi0/37
IF-MIB::ifName.10138 = STRING: Gi0/38
IF-MIB::ifName.10139 = STRING: Gi0/39
IF-MIB::ifName.10140 = STRING: Gi0/40
IF-MIB::ifName.10141 = STRING: Gi0/41
IF-MIB::ifName.10142 = STRING: Gi0/42
IF-MIB::ifName.10143 = STRING: Gi0/43
IF-MIB::ifName.10144 = STRING: Gi0/44
IF-MIB::ifName.10145 = STRING: Gi0/45
IF-MIB::ifName.10146 = STRING: Gi0/46
IF-MIB::ifName.10147 = STRING: Gi0/47
IF-MIB::ifName.10148 = STRING: Gi0/48
IF-MIB::ifName.10501 = STRING: Nu0
root@host1:~# snmpwalk -v 1 -c xxxxxxxx sw1.home ifDescr
IF-MIB::ifDescr.1 = STRING: Vlan1
IF-MIB::ifDescr.100 = STRING: Vlan100
IF-MIB::ifDescr.777 = STRING: Vlan777
IF-MIB::ifDescr.5002 = STRING: Port-channel2
IF-MIB::ifDescr.5003 = STRING: Port-channel3
IF-MIB::ifDescr.5004 = STRING: Port-channel4
IF-MIB::ifDescr.5005 = STRING: Port-channel5
IF-MIB::ifDescr.10101 = STRING: GigabitEthernet0/1
IF-MIB::ifDescr.10102 = STRING: GigabitEthernet0/2
IF-MIB::ifDescr.10103 = STRING: GigabitEthernet0/3
IF-MIB::ifDescr.10104 = STRING: GigabitEthernet0/4
IF-MIB::ifDescr.10105 = STRING: GigabitEthernet0/5
IF-MIB::ifDescr.10106 = STRING: GigabitEthernet0/6
IF-MIB::ifDescr.10107 = STRING: GigabitEthernet0/7
IF-MIB::ifDescr.10108 = STRING: GigabitEthernet0/8
IF-MIB::ifDescr.10109 = STRING: GigabitEthernet0/9
IF-MIB::ifDescr.10110 = STRING: GigabitEthernet0/10
IF-MIB::ifDescr.10111 = STRING: GigabitEthernet0/11
IF-MIB::ifDescr.10112 = STRING: GigabitEthernet0/12
IF-MIB::ifDescr.10113 = STRING: GigabitEthernet0/13
IF-MIB::ifDescr.10114 = STRING: GigabitEthernet0/14
IF-MIB::ifDescr.10115 = STRING: GigabitEthernet0/15
IF-MIB::ifDescr.10116 = STRING: GigabitEthernet0/16
IF-MIB::ifDescr.10117 = STRING: GigabitEthernet0/17
IF-MIB::ifDescr.10118 = STRING: GigabitEthernet0/18
IF-MIB::ifDescr.10119 = STRING: GigabitEthernet0/19
IF-MIB::ifDescr.10120 = STRING: GigabitEthernet0/20
IF-MIB::ifDescr.10121 = STRING: GigabitEthernet0/21
IF-MIB::ifDescr.10122 = STRING: GigabitEthernet0/22
IF-MIB::ifDescr.10123 = STRING: GigabitEthernet0/23
IF-MIB::ifDescr.10124 = STRING: GigabitEthernet0/24
IF-MIB::ifDescr.10125 = STRING: GigabitEthernet0/25
IF-MIB::ifDescr.10126 = STRING: GigabitEthernet0/26
IF-MIB::ifDescr.10127 = STRING: GigabitEthernet0/27
IF-MIB::ifDescr.10128 = STRING: GigabitEthernet0/28
IF-MIB::ifDescr.10129 = STRING: GigabitEthernet0/29
IF-MIB::ifDescr.10130 = STRING: GigabitEthernet0/30
IF-MIB::ifDescr.10131 = STRING: GigabitEthernet0/31
IF-MIB::ifDescr.10132 = STRING: GigabitEthernet0/32
IF-MIB::ifDescr.10133 = STRING: GigabitEthernet0/33
IF-MIB::ifDescr.10134 = STRING: GigabitEthernet0/34
IF-MIB::ifDescr.10135 = STRING: GigabitEthernet0/35
IF-MIB::ifDescr.10136 = STRING: GigabitEthernet0/36
IF-MIB::ifDescr.10137 = STRING: GigabitEthernet0/37
IF-MIB::ifDescr.10138 = STRING: GigabitEthernet0/38
IF-MIB::ifDescr.10139 = STRING: GigabitEthernet0/39
IF-MIB::ifDescr.10140 = STRING: GigabitEthernet0/40
IF-MIB::ifDescr.10141 = STRING: GigabitEthernet0/41
IF-MIB::ifDescr.10142 = STRING: GigabitEthernet0/42
IF-MIB::ifDescr.10143 = STRING: GigabitEthernet0/43
IF-MIB::ifDescr.10144 = STRING: GigabitEthernet0/44
IF-MIB::ifDescr.10145 = STRING: GigabitEthernet0/45
IF-MIB::ifDescr.10146 = STRING: GigabitEthernet0/46
IF-MIB::ifDescr.10147 = STRING: GigabitEthernet0/47
IF-MIB::ifDescr.10148 = STRING: GigabitEthernet0/48
IF-MIB::ifDescr.10501 = STRING: Null0

rmaxwell@host2:~$ snmpwalk -v 1 -c xxxxxxxx sw ifName
IF-MIB::ifName.1 = STRING: Fa1
IF-MIB::ifName.2 = STRING: Gi1/1
IF-MIB::ifName.3 = STRING: Gi1/2
IF-MIB::ifName.4 = STRING: Gi1/3
IF-MIB::ifName.5 = STRING: Gi1/4
IF-MIB::ifName.6 = STRING: Gi1/5
IF-MIB::ifName.7 = STRING: Gi1/6
IF-MIB::ifName.8 = STRING: Gi1/7
IF-MIB::ifName.9 = STRING: Gi1/8
IF-MIB::ifName.10 = STRING: Gi1/9
IF-MIB::ifName.11 = STRING: Gi1/10
IF-MIB::ifName.12 = STRING: Gi1/11
IF-MIB::ifName.13 = STRING: Gi1/12
IF-MIB::ifName.14 = STRING: Gi1/13
IF-MIB::ifName.15 = STRING: Gi1/14
IF-MIB::ifName.16 = STRING: Gi1/15
IF-MIB::ifName.17 = STRING: Gi1/16
IF-MIB::ifName.18 = STRING: Gi1/17
IF-MIB::ifName.19 = STRING: Gi1/18
IF-MIB::ifName.20 = STRING: Gi1/19
IF-MIB::ifName.21 = STRING: Gi1/20
IF-MIB::ifName.22 = STRING: Gi1/21
IF-MIB::ifName.23 = STRING: Gi1/22
IF-MIB::ifName.24 = STRING: Gi1/23
IF-MIB::ifName.25 = STRING: Gi1/24
IF-MIB::ifName.26 = STRING: Gi1/25
IF-MIB::ifName.27 = STRING: Gi1/26
IF-MIB::ifName.28 = STRING: Gi1/27
IF-MIB::ifName.29 = STRING: Gi1/28
IF-MIB::ifName.30 = STRING: Gi1/29
IF-MIB::ifName.31 = STRING: Gi1/30
IF-MIB::ifName.32 = STRING: Gi1/31
IF-MIB::ifName.33 = STRING: Gi1/32
IF-MIB::ifName.34 = STRING: Gi1/33
IF-MIB::ifName.35 = STRING: Gi1/34
IF-MIB::ifName.36 = STRING: Gi1/35
IF-MIB::ifName.37 = STRING: Gi1/36
IF-MIB::ifName.38 = STRING: Gi1/37
IF-MIB::ifName.39 = STRING: Gi1/38
IF-MIB::ifName.40 = STRING: Gi1/39
IF-MIB::ifName.41 = STRING: Gi1/40
IF-MIB::ifName.42 = STRING: Gi1/41
IF-MIB::ifName.43 = STRING: Gi1/42
IF-MIB::ifName.44 = STRING: Gi1/43
IF-MIB::ifName.45 = STRING: Gi1/44
IF-MIB::ifName.46 = STRING: Gi1/45
IF-MIB::ifName.47 = STRING: Gi1/46
IF-MIB::ifName.48 = STRING: Gi1/47
IF-MIB::ifName.49 = STRING: Gi1/48
IF-MIB::ifName.50 = STRING: Te1/49
IF-MIB::ifName.51 = STRING: Te1/50
IF-MIB::ifName.52 = STRING: Nu0
IF-MIB::ifName.53 = STRING: Vl1
IF-MIB::ifName.54 = STRING: VLAN-1
IF-MIB::ifName.55 = STRING: VLAN-1002
IF-MIB::ifName.56 = STRING: VLAN-1004
IF-MIB::ifName.57 = STRING: VLAN-1005
IF-MIB::ifName.58 = STRING: VLAN-1003
IF-MIB::ifName.59 = STRING: Vl47
IF-MIB::ifName.60 = STRING: VLAN-47
IF-MIB::ifName.62 = STRING: VLAN-273
IF-MIB::ifName.67 = STRING: VLAN-212
IF-MIB::ifName.68 = STRING: VLAN-2017
IF-MIB::ifName.69 = STRING: VLAN-2005
rmaxwell@host2:~$ snmpwalk -v 1 -c xxxxxxxxx sw ifDescr
IF-MIB::ifDescr.1 = STRING: FastEthernet1
IF-MIB::ifDescr.2 = STRING: GigabitEthernet1/1
IF-MIB::ifDescr.3 = STRING: GigabitEthernet1/2
IF-MIB::ifDescr.4 = STRING: GigabitEthernet1/3
IF-MIB::ifDescr.5 = STRING: GigabitEthernet1/4
IF-MIB::ifDescr.6 = STRING: GigabitEthernet1/5
IF-MIB::ifDescr.7 = STRING: GigabitEthernet1/6
IF-MIB::ifDescr.8 = STRING: GigabitEthernet1/7
IF-MIB::ifDescr.9 = STRING: GigabitEthernet1/8
IF-MIB::ifDescr.10 = STRING: GigabitEthernet1/9
IF-MIB::ifDescr.11 = STRING: GigabitEthernet1/10
IF-MIB::ifDescr.12 = STRING: GigabitEthernet1/11
IF-MIB::ifDescr.13 = STRING: GigabitEthernet1/12
IF-MIB::ifDescr.14 = STRING: GigabitEthernet1/13
IF-MIB::ifDescr.15 = STRING: GigabitEthernet1/14
IF-MIB::ifDescr.16 = STRING: GigabitEthernet1/15
IF-MIB::ifDescr.17 = STRING: GigabitEthernet1/16
IF-MIB::ifDescr.18 = STRING: GigabitEthernet1/17
IF-MIB::ifDescr.19 = STRING: GigabitEthernet1/18
IF-MIB::ifDescr.20 = STRING: GigabitEthernet1/19
IF-MIB::ifDescr.21 = STRING: GigabitEthernet1/20
IF-MIB::ifDescr.22 = STRING: GigabitEthernet1/21
IF-MIB::ifDescr.23 = STRING: GigabitEthernet1/22
IF-MIB::ifDescr.24 = STRING: GigabitEthernet1/23
IF-MIB::ifDescr.25 = STRING: GigabitEthernet1/24
IF-MIB::ifDescr.26 = STRING: GigabitEthernet1/25
IF-MIB::ifDescr.27 = STRING: GigabitEthernet1/26
IF-MIB::ifDescr.28 = STRING: GigabitEthernet1/27
IF-MIB::ifDescr.29 = STRING: GigabitEthernet1/28
IF-MIB::ifDescr.30 = STRING: GigabitEthernet1/29
IF-MIB::ifDescr.31 = STRING: GigabitEthernet1/30
IF-MIB::ifDescr.32 = STRING: GigabitEthernet1/31
IF-MIB::ifDescr.33 = STRING: GigabitEthernet1/32
IF-MIB::ifDescr.34 = STRING: GigabitEthernet1/33
IF-MIB::ifDescr.35 = STRING: GigabitEthernet1/34
IF-MIB::ifDescr.36 = STRING: GigabitEthernet1/35
IF-MIB::ifDescr.37 = STRING: GigabitEthernet1/36
IF-MIB::ifDescr.38 = STRING: GigabitEthernet1/37
IF-MIB::ifDescr.39 = STRING: GigabitEthernet1/38
IF-MIB::ifDescr.40 = STRING: GigabitEthernet1/39
IF-MIB::ifDescr.41 = STRING: GigabitEthernet1/40
IF-MIB::ifDescr.42 = STRING: GigabitEthernet1/41
IF-MIB::ifDescr.43 = STRING: GigabitEthernet1/42
IF-MIB::ifDescr.44 = STRING: GigabitEthernet1/43
IF-MIB::ifDescr.45 = STRING: GigabitEthernet1/44
IF-MIB::ifDescr.46 = STRING: GigabitEthernet1/45
IF-MIB::ifDescr.47 = STRING: GigabitEthernet1/46
IF-MIB::ifDescr.48 = STRING: GigabitEthernet1/47
IF-MIB::ifDescr.49 = STRING: GigabitEthernet1/48
IF-MIB::ifDescr.50 = STRING: TenGigabitEthernet1/49
IF-MIB::ifDescr.51 = STRING: TenGigabitEthernet1/50
IF-MIB::ifDescr.52 = STRING: Null0
IF-MIB::ifDescr.53 = STRING: Vlan1
IF-MIB::ifDescr.54 = STRING: unrouted VLAN 1
IF-MIB::ifDescr.55 = STRING: unrouted VLAN 1002
IF-MIB::ifDescr.56 = STRING: unrouted VLAN 1004
IF-MIB::ifDescr.57 = STRING: unrouted VLAN 1005
IF-MIB::ifDescr.58 = STRING: unrouted VLAN 1003
IF-MIB::ifDescr.59 = STRING: Vlan47
IF-MIB::ifDescr.60 = STRING: unrouted VLAN 47
IF-MIB::ifDescr.62 = STRING: unrouted VLAN 273
IF-MIB::ifDescr.67 = STRING: unrouted VLAN 212
IF-MIB::ifDescr.68 = STRING: unrouted VLAN 2017
IF-MIB::ifDescr.69 = STRING: unrouted VLAN 2005

If this is not the information you need, please let me know and I'll try to get you the details you require. If you need me to test I have a test environment that is separate from my production with a single IOS15 device on it, but my production environment has several switches and routers that are running various IOS15 variants.

Thanks,
Robert Maxwell

Issue History

Date Modified Username Field Change
2019-11-16 04:08 rmaxwell72 New Issue
2019-11-19 00:22 infrastation Note Added: 0004005
2019-11-19 19:12 rmaxwell72 Note Added: 0004011