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

How can I find the next free Policy ID in CLI?

Hi! Sometimes I want to add one or more policys via the cli: config sytem firewall edit x ? To do that, I always have to look in the gui for next free policy ID this comes close, but the output is everthing else than pretty: config system Firewall show | grep ' edit' Is the are simple way to find the next free policy ID? greetings
2 REPLIES 2
Jan_Scholten
Contributor

" edit 0" will always use the next free.
ITAxess
New Contributor

" edit 0" will always use the next free.
YES! that´s what I need thx
Labels
Top Kudoed Authors