Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
WFF-Master
New Contributor II

Disable Per-device mapping on multiple adress-objects

Hi all,
We were forced to re-import the configuration of a firewall into the manager. As a result, many address objects have now received a per-device mapping. Is there a way to remove these per-device mappings in the address objects, e.g. using a script?

1 Solution
WFF-Master
New Contributor II

OK - I found it. 
I Just have to build a script with all according Addressobjects an explicit delete the mapping - purge is not possible. Here an example:

 

 

config firewall address
 edit "AdressObjectName"
  config dynamic_mapping
   delete "FortiGateName"-"root"
  end
 next
[...]
end

 

 

View solution in original post

1 REPLY 1
WFF-Master
New Contributor II

OK - I found it. 
I Just have to build a script with all according Addressobjects an explicit delete the mapping - purge is not possible. Here an example:

 

 

config firewall address
 edit "AdressObjectName"
  config dynamic_mapping
   delete "FortiGateName"-"root"
  end
 next
[...]
end

 

 

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors