Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[NSM] Deleting unused and duplicate objects from NSM

0

0

Article ID: KB21846 KB Last Updated: 10 Nov 2011Version: 1.0
Summary:
This article provides information on how to delete duplicate and unused objects from the NSM database via the NSM GUI.
Symptoms:
Sometimes due to multiple device imports on NSM, there could be duplicate objects created. Why are duplicate objects created on NSM :

  • While managing devices via NSM, it is recommended to make configuration changes on the devices via NSM and then update them. In case configuration changes are made directly on device, it needs to be either imported into NSM or the same configuration changes need to be made on NSM for that device.

  • In the first scenario, where we import the device, suppose a address object - test was edited and its original value was changed from 1.1.1.1/24 to 2.2.2.2/24. In NSM, all the address objects belonging to different devices that it manages are stored in a common container. When the device is imported into NSM, the test object gets imported; but with a name appended with a _1 (for example - test_1) . This is because NSM does not automatically delete the old address object.
Cause:

There are some unused objects left in the NSM database, due to the deletion of devices or policies form NSM.

Solution:
To delete the unused/ duplicate objects from NSM database:
  1. Logon to the NSM GUI.

  2. Delete the unused policies under the policy manager (This step is optional. If a address/ service object is used in a unused policy, it will still be categorized under used object).

For NSM version 2008 and below :

  • On the menu bar, navigate to view > search unused objects to delete unused objects.

  • On the menu bar, navigate to view > search duplicate objects to delete duplicate objects.

For NSM version 2009 and above :

  • On the menu bar, navigate to search > unused objects to delete unused objects.

  • On the menu bar, navigate to search > duplicate objects to delete duplicate objects.

Note: The objects that are searched for deletion, belong to the domain in which the user is currently logged in. Also, at times, this activity needs to be repeated to delete duplicates created by nesting.
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search