Skip to main content
Lohith07
New Member
August 5, 2022
Solved

Add object to Fortigate backup file

  • August 5, 2022
  • 1 reply
  • 2247 views

We are trying to add objects to backup file and import onto the firewall when ever we need make changes into the firewall config. There we see a field of UUID which was existing for all the other objects. So when ever we add a new object to config, should we need to add a random unique UUID to the object or will the firewall create the UUID for the object that we create in config file

Best answer by jintrah_FTNT

Hi,

 

You can add it manually - a unique identifier for the object, but best would be to leave it to the system which would check and create one as appropriate.

 

best regards,

Jin

 

1 reply

jintrah_FTNT
Staff
Staff
August 5, 2022

Hi,

 

You can add it manually - a unique identifier for the object, but best would be to leave it to the system which would check and create one as appropriate.

 

best regards,

Jin

 

Lohith07
Lohith07Author
New Member
August 5, 2022

Hi,

 

consider object1 as existing object in config file and object2 is a newly added object

 

edit "object1"
set uuid 59f16fe2-0fkd-51ed-8et1-e45a09bfa678
set subnet 172.16.0.0 255.255.0.0
next
edit "object2"
set subnet 172.17.0.0 255.255.0.0
next

 

so if I just add above given object2 config without adding UUID will that suffice my requirement of adding new object when imported into firewall

 

Thanks,

Lohith

jintrah_FTNT
Staff
Staff
August 5, 2022

Yes Lohith,

 

That would be just fine.

 

best regards,

Jin