Skip to main content
WFF-Master
New Member
Feb 13, 2024 12:29 PM UTC
Solved

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?

WFF-Master
New Member
Feb 13, 2024 3:28 PM UTC

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

 

 

1 reply

WFF-Master
WFF-MasterAuthorAnswer
New Member
Feb 13, 2024 3:28 PM UTC

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

 

 

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024