Hi all,
We have got a Juniper switch on loan and I'm trying to configure it with Nav through Napalm. I have five ports in use, but Port admin only offers to set the vlan on two of them. Have I got something wrong in the cli or does the switch need to be rediscovered?
Simon
On Thursday, 16 November 2023 17:51:15 CET Simon Brown wrote:
We have got a Juniper switch on loan and I'm trying to configure it with Nav through Napalm. I have five ports in use, but Port admin only offers to set the vlan on two of them. Have I got something wrong in the cli or does the switch need to be rediscovered?
I left it overnight and now all ports can be configured in port admin. Is there a way to manually trigger that discovery process?
Simon
Hi Simon,
Not sure if it helps, but There's a default value in /etc/nav/ipdevpoll.conf, in section [job_inventory] interval: 6h
If you restart the ipdevpoll service, maybe it can force an update of the interface discovery ? command line:
nav restart ipdevpoll
You can also run the topology discovery of your vlans with the command navtopology --vlan
regards
Ludovic -- Ludovic Four Université de Strabourg Faculté de Pharmacie - Support Informatique Strasbourg - France
On Thu, 16 Nov 2023 17:51:15 +0100 (3 weeks, 6 days, 19 hours ago) Simon Brown simon.brown@eiscat.se wrote:
We have got a Juniper switch on loan and I'm trying to configure it with Nav through Napalm. I have five ports in use, but Port admin only offers to set the vlan on two of them. Have I got something wrong in the cli or does the switch need to be rediscovered?
Sorry for the late reply! I suspect you may have been hit by this issue: https://github.com/Uninett/nav/issues/2477
Any time a port's native VLAN value was not set, or set to an invalid value, this could happen. We've just released a fix for it in v5.8.4.