Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
dumi
New Contributor

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 2
Anthony_E
Community Manager
Community Manager

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,

Anthony-Fortinet Community Team.
dingjerry_FTNT

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.

Regards,

Jerry
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors