cvicente / Netdot

Network Documentation Tool
223 stars 62 forks source link

IFNAME_SHORT => 1 introduces problems with some devices (cisco c800) #139

Open nicolatron opened 5 years ago

nicolatron commented 5 years ago

If I activate the option IFNAME_SHORT => 1 In Site.conf, the inferfaces are not imported for certain devices, for example cisco c800 routers. I can get the interfaces names with SNMP walk and also with a test code using SNMP::Info. The names the c800 is giving are like "GigabitEthernet4" while for example a cisco 2800 (wich works with the IFNAME_SHORT => 1) give names like "FastEthernet0/0". Attached the resutls of snmpwalk .1.3.6.1.2.1.2.2.1 on a c800 that doesn't work and a c800 that works. Not a big deal since we can just don't use IFNAME_SHORT.

2800.txt c800.txt