Convert Address Objects to IP Address

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
L7 Applicator
No ratings

Some times we need to reduce the amount of Objects to be migrated or just for optimization and there is one technique that can help us to reduce objects

 

Its common when we have used Expedition to migrate a configuration from CISCO or FORTINET to have address objects named as H-X.X.X.X or N-X.X.X.X-XX or even if the name was just an IP Address, but they were created as Address Object and count as Object. There is one function inside Expedition to convert them as IP Address that will be only Used on Rules as IP Address or IP Ranges hard-coded as Source or Destination on Rules. So they will not be used as Address Objects anymore.

 

This has pros and cons but if our Goal is reduce the amount of Address Objects this can help us.

 

  • Search from OBJECTS -> ADDRESS with right-click in one Address select the Predefined Filter called "Name is IP address". This will search the Address where the name is an IP Address.

Screen Shot 2018-01-27 at 12.59.55.png

 

 

 

 

  • We can add more filters to this process, Select the Filters Options and add all the Address where the name starts with H- for example, and the objects that starts with N- and the objects that starts with RANGE-, put the focus only on Address.

 

Screen Shot 2018-01-27 at 13.08.26.png

 

 

 

  • After Run SQL select the Address you want to transform to an IP Address and right-click with your mouse over one of the selected Address and select the option "Transform" -> "Object To IpAddress" and automatically all those objects will be renamed with the IP or Range Address (netmasks will be added as well in case are not /32) and will be marked internally as "dummy" objects, those objects will not be considered at the time to generate the XML or API Calls.

 

Screen Shot 2018-01-27 at 13.12.47.png

 

 

  • You can check before to transform them as IP Address if they are part of any group by going to TOOLS and SEARCH & REPLACE. 

 

 

 

 

 

 

 

 

Rate this article:
  • 8234 Views
  • 0 comments
  • 0 Likes
Register or Sign-in
Contributors
Article Dashboard
Version history
Last Updated:
‎05-17-2018 05:11 AM
Updated by: