FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
hrahuman_FTNT
Staff & Editor
Staff & Editor
Article Id 205394
Description This article describes how to copy the address/group from one VDOM to another VDOM.
Scope

Follow the below steps to copy the objects from one VDOM to another VDOM.

 

Consider the address objects should be copied from  VDOM A to VDOM B.

 

1) Download the config backup for VDOM A.
2) Open the backup configuration file copy the object-related configuration into a separate text file.

 

For example, to copy the address objects copy as below:

 

# config vdom
    edit VDOM-B
# config firewall address
    edit "none"
        set subnet 0.0.0.0 255.255.255.255
next
    edit "login.microsoftonline.com"
        set type fqdn
        set fqdn "login.microsoftonline.com"
    next

....
....

end
end

 

2) Save it in a different text file.

3) Now Go to VDOM B and Top Right -> Admin > Configuration -> Script.

4) Navigate the text file which was taken from VDOM-A -> select 'ok'.

5) Now all the address objects are copied from VDOM-A to VDOM-B.

 

The following condition is mandatory.

 

1) Do not add the UUID in the script, UUID will be automatically created and it will be different in each VDOM.
2) Use a different script file for address and address group.

3) First, execute the address and then address the group objects.