I am looking into creation of mass objects in a Fortimanager , it is currently managing two 1500 D's . I know i can create the objects in the firewalls them selves but i could not find a way to import just the objects into the manager. The firewalls have been joined to the manager already.
What are the CLI commands of creating objects in the manager ?
I use the command below on the firewalls
edit host_10.12.170.0
set subnet 10.12.170.0 255.255.255.0 next
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Thanks KPetrov for posting the question and thanks GOS for your article.
HI @laf
if there possible also share how to update the per device mapping address object if been enable?
Thanks
If there possible capable FMG update the per device mapping address object. If do, mind to share how is the step?
Thanks
Hi @gos
If there possible capable FMG update the per device mapping address object. If do, mind to share how is the step?
Thanks
FMG supports the same CLI as the FMG - depending on the Firmware you have on FMG and FGT.
I did it this way here:
take objects from Backup of a FortiGate and put them into FMG as CLI Script. Set the CLI Script to be affecting the ADOM/Policypackage and then ran it once.
I imported e.g. 100s of Web Rating Overrides in this way.
cheers
Sebastian
--
"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
Hi guys,
I need to add like 30 static routes hence I give it a try for a sample script:
config vdom edit root config router static edit 50 set dst 172.31.16.0 255.255.255.0 set device Trt_VPN next end
Starting log (Run on database) config vdom edit root > config router static router static [parameter(s) invalid. detail: object unrecognized] Failed to commit to DB, reason(> config router static router static [parameter(s) invalid. detail: object unrecognized] ) Running script(Static routes) on DB failed
----------------End of Log-------------------------
-------Executing time: Sat Jun 24 14:17:19 2017----------- Starting log (Run on database) config vdom edit root > config router static [parameter(s) invalid. detail: object unrecognized] Failed to commit to DB, reason(> config router static [parameter(s) invalid. detail: object unrecognized] ) Running script(Static routes) on DB failed----------------End of Log-------------------------
The most expensive and scarce resource for man is time, paradoxically, it' s infinite.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1634 | |
1063 | |
751 | |
443 | |
210 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.