Refreshing a device that has been upgraded

Hi all,
What’s the proceedure when a device gets replaced or upgraded please?

We just swapped out a router for one with different hardware but we’ve kept its IP address the same but we’re still seeing ports that don’t exist anymore and some VLANs are not being picked up

Many thanks

Hi and welcome to community,

have you tried to trigger a “Rediscover Device” ?

Thanks for the switft reply.
Yes, I did a rediscover when I installed the device. Some of the new device’s interfaces are missing and the old devices interfaces are still listed even though they don’t exist any more

Thanks

LBNL

in the ports menu click deleted then purge all deleted if you like.

Thanks. That’s certainly tidied things up a bit. however, There are ports in the inventory that have no data. Here’s a snippet from discovery, run in the gui. BTW, this is a VyOS virtual machine in a Proxmox host:

Load disco module ports

Device

SNMP[’/usr/bin/snmpbulkwalk’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OQUs’ ‘-m’ ‘IF-MIB’ ‘-M’ ‘/opt/librenms/mibs’ ‘udp:HOSTNAME:161’ ‘ifDescr’]

SNMP[’/usr/bin/snmpbulkwalk’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OQUs’ ‘-m’ ‘IF-MIB’ ‘-M’ ‘/opt/librenms/mibs’ ‘udp:HOSTNAME:161’ ‘ifName’]

ifDescr.1 = lo
ifDescr.2 = Red Hat, Inc Device 0001
ifDescr.3 = Red Hat, Inc Device 0001
ifDescr.4 = eth1.3999
ifDescr.5 = eth0.2
ifDescr.6 = eth0.3
ifDescr.7 = eth0.4
ifDescr.8 = eth0.5
ifDescr.9 = eth0.6
ifDescr.10 = eth0.7
ifDescr.11 = eth0.3900

ifName.1 = lo
ifName.2 = eth0
ifName.3 = eth1
ifName.4 = eth1.3999
ifName.5 = eth0.2
ifName.6 = eth0.3
ifName.7 = eth0.4
ifName.8 = eth0.5
ifName.9 = eth0.6
ifName.10 = eth0.7
ifName.11 = eth0.3900

Likely being blocked by a configuration. ./discovery.php -h <hostname> -m ports -d Might show what.