Uninett / nav

Network Administration Visualized
GNU General Public License v3.0
192 stars 39 forks source link

Cisco IR829 reports two different software versions (one is from the built-in AP) #1700

Open RogerAas opened 6 years ago

RogerAas commented 6 years ago

Hi,

When checking software versions for routers installed I noticed that the software version changed between the IOS version and the AP version on the Cisco Industrial Router 829 that has a built-in AP (AP803).

This NAV installation is not new (version 4.6.1), but maybe this is an issue that have not been seen before.

With AP version:

image

With IOS version:

image

This changes all of the time.

Best regards, Roger

lunkwill42 commented 6 years ago

Is your report.conf up to date? For IP Devices containing multiple physical entities with different software versions, the sw version column will list all versions found, separated by a comma.

Please post output from the naventity command, which will also show you the actual hierarchy of physical entities within your device (polled directly via SNMP)

RogerAas commented 6 years ago

I am not sure what you mean by report.conf being up to date. I have not changed it, it is the default from the 4.6.1 installation.

I do not see two or more sw versions listed, only one, and that changes from the IOS router version to the AP IOS version.

When using the naventityfor those routers it does not show the AP as a physical entity, the router just have an internal switchport (Wlan-GigabitEthernet0) that is the connection between the router and AP.

root@Nav-03:/etc/nav/report# naventity LNG-PLANT-1-L61
LNG-PLANT-1-L61.gasnor.local (10.140.61.1)
------------------------------------------
IR829GW-LTE-GA-EK9 [chassis] (FGL210121LV)
  +--chassis slot [container]
  +--Power Supply 12VDC [powerSupply]
  +--Cellular0 [port]
  +--Cellular1 [port]
  +--GigabitEthernet5 [port]
  +--GigabitEthernet0 [port]
  |  +--IR800-1GE SFP Container [container]
  |     +--1000BASE-T SFP [module] (DH5ZA02727)
  +--GigabitEthernet1 [port]
  +--GigabitEthernet2 [port]
  +--GigabitEthernet3 [port]
  +--GigabitEthernet4 [port]
  +--Wlan-GigabitEthernet0 [port]
  +--Async1 [port]
  +--Async0 [port]
  |  +--Modem 0 on Cellular0 [port] (352761061875549)
  +--Sensor 1 [sensor]
lunkwill42 commented 6 years ago

I'm still not entirely sure I understand what you're describing here. Are you saying NAV cycles between software revisions over time, on the same device - or did it only change once?

It would be best if you would describe what is the actual reality, what you expect to see in NAV, and then what actually happens in NAV.

My apologies for pulling the naventity command into this, it is useless when it comes to software revisions - unless you apply this patch (which is coming in 4.8.5 or 4.9): https://github.com/UNINETT/nav/compare/5db460649...b27046febcaafe161354b24837f4bc5407937a64.diff - That, or you would be better off using SNMP directly against the device, assuming you have the ENTITY-MIB installed and availble for your NET-SNMP command line utilities: snmptable -Ci -v2c -c <community> <ip-addrr> ENTITY-MIB::entPhysicalTable

RogerAas commented 6 years ago

It cycles between the version of the router IOS and the inbuilt AP IOS.

I would expect it to only show the router IOS, the AP have its own ip address (there is an internal interface inside the router that is a link between the router and AP). Why it then manage to see the AP IOS version when there is only a network link between the router and AP is strange.

For the SNMP output it have to wait a little bit, I am currently working in Gibraltar and I do not have that much time to do this right now.

Right now it looks like this, 5 router IOS versions and 5 AP IOS versions, but this has changed again next time I look at it.

image

lunkwill42 commented 6 years ago

I'll hear back from you later, then. Some output from ENTITY-MIB showing all the reported software versions would be helpful in deciding the next debugging step.