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

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

book

Article ID: 199964

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction


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.

Environment

Release : 10.x

Component : Spectrum OneClick

Resolution


To exclude devices with Addresses in the 10.74.33.0 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 10.74.33.1 OR Network Address Greater Than 10.74.34.1)

     - 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)