cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
896
Views
0
Helpful
5
Replies

DFM database delete for one device

mladenp
Level 1
Level 1

Hello,

I want to delete DFM database for one of devices in LMS 4.2. Or just delete and add that device in DFM (if possible in lms 4.2, in 3.2 it was posssible).

Regards,

Mladen

5 Replies 5

Vinod Arya
Cisco Employee
Cisco Employee

You can delete the device using CLI. This is not possible using GUI in LMS 4.x onwards.

Run this command on the command prompt:

dmctl -s DFM

then

dmctl>geti Router  (if it is a router )  >> Command is case sensitive

dmctl>geti Switch  (if it is a swicth)

look for your devices which you have deleted

if the device does not exist in DFM ,check in DFM1 and follow the above procedure:

dmctl -s DFM1

---

if you found that device there then delete it with the below commad:

dmctl>invoke Switch:: remove

dmctl>invoke Router:: remove

-Thanks

Vinod
**Rating Encourages contributors, and its really free. **

-Thanks Vinod **Rating Encourages contributors, and its really free. **

OK, I'm found my device - just one question before delete it - how to add it back ?

Regards,

Mladen

Apologies I oversee some important facts. From LMS 4.x, the base architechture was overhauled and independednt device management by modules is no more in place.

Now a common object Unified Device Manager (UDM) manages all the devices single handedly on all the modules.

So it is not possible anymore to remove device from any module specifically. This command may run, but device as soon as it is unmanaged, it will be remanaged again, which is a hardly noticeable gap and makes this process ineffective.

So what are the options left? They'll be following:

  • If a specific device needs to be re-added, try redicovering it from :

Admin > Collection Settings > Fault > Fault Monitoring Device Administration

  • If you want to completely remove it, but dont want to loose configuration backup or any other important data, you'll have to unmanage it from LMS, which unmanages it from all the modules.
  • If lossing details is no concern, delete the device and re-add it.

Thanks for your concern and question. I would've been guilty of incorrect information.

-Thanks
Vinod
**Rating Encourages contributors, and its really free. **

-Thanks Vinod **Rating Encourages contributors, and its really free. **

Hello Vinod,

I'm try to unmanage/manage my problematic device but that didn't solve my problem.Let's try to describe what problem is exactly:

Capture.JPG

This is detailed view of ports in Cat 4500, which have this unusual entries. I have assumed that dfm database for this 4500 is corrupted ?

Regards,

Mladen

As DFM depends of SNMP output from the device to show all this info, before we claim it corrupt, lets check directly for the interface details.

For this show the CLI output of the device:

show run interface <int_name>

show snmp mib ifmib ifindex <int_name>

Example if it is Ethernet2/1

show run int Ethernet2/1

show snmp mib ifmib ifindex Ethernet2/1


The output would be similar to :

Router# show snmp mib ifmib ifindex Ethernet2/1

Ethernet2/1: Ifindex = 3

Do a snmpwalk on the following OIDs with the ifIndex number :

ifTable (1.3.6.1.2.1.2.2)

ifXTable (1.3.6.1.2.1.31.1.1)

Example :

snmpwallk -v2c -c public 10.10.10.10 ifTable.3

Please share the output for me to check more.

Also, for the device, to remove the entire details, we have no option left than to delete it from DCR and add it back after a short while.

-Thanks
Vinod
**Encourage Contributors. RATE them. **

-Thanks Vinod **Rating Encourages contributors, and its really free. **