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

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

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

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

 

 

Labels
Top Kudoed Authors