search cancel

How To Create a Global Collection Excluding a Range of IP Addresses


Article ID: 199964


Updated On:


CA Spectrum DX NetOps


Spectrum contains a default locator search with logic to populate a search with devices that fall within a specified IP Address Range. Sometimes the
  reverse result is desired, populate all devices except those whose IP Address falls within a certain range. Spectrum does not by default have a 
  built in search with backend code to do this but it can be accomplished using the steps below.


Release : 10.x

Component : Spectrum OneClick


To exclude devices with Addresses in the subnet the following can be performed

Create and Save a Locator Search as follows
     - Special Criteria: Devices Only
     - Expression (you could possibly use Less Than Equal and Greater Than Equal)
           (Network Address Less Than OR Network Address Greater Than


     - Save and Run the Search, make sure you get the expected results

     - Create a Global Collection whose search criteria uses the saved Locator Search from above (Use 'Add Existing' to pick a Locator Search)