Skip to main content
dumi
New Member
December 13, 2024
Question

how to manage device group using cli

  • December 13, 2024
  • 2 replies
  • 637 views

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
December 16, 2024

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,

Best Regards
dingjerry_FTNT
Staff
Staff
December 16, 2024

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.