Skip to main content
dumi
New Member
Dec 13, 2024 12:50 PM UTC
Question

how to manage device group using cli

need to understand how to manage device group related policies using ssh to forti manager device.
like in device we can configure policy using 

Example: 
##config firewall policy
edit < Policy ID> 
set srcaddr < source IP> 
set dstaddr <destination IP> 
set service < <Service name>
set schedule <always or define schedule> 
next
end

same thing need to apply using FortiManager. 

2 replies

Anthony_E
Staff
Staff
Dec 16, 2024 5:24 AM UTC

Hello dumi,


Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.


Thanks,

Translate
Best Regards
dingjerry_FTNT
Staff
Staff
Dec 16, 2024 5:55 AM UTC

Hi @dumi ,

 

Not sure why you need to use SSH to configure CLI settings in the example.  It is not practical.

 

I suggest you use FMG GUI. You can use a CLI script for it.

Translate
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