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

firewall policy show command on CLI

Hi everybody. I think that' s a simple question but I could not fine a solution at this time. When I like to look for firewall policies on CLI with " show firewall policy" then I become an output in ... lets call it standard fortinet XML like style. But when we have a lot of policies It takes a lot of time to get an overview. Is there a possibility to display it different like that for example ID Source Destination Schedule Service Profile Action 12 NET1 NET2 always HTTP safe allow Is there a paramter is can use for example the " brief" or " tearse" command from Cisco and Juniper or is it possible to grep the output with a | ? For example show firewall policy | includes NET1 or something like that?
1 REPLY 1
Carl_Wallmark
Valued Contributor

the " grep" command was introduced in mr2, try with that

FCNSA, FCNSP
---
FortiGate 200A/B, 224B, 110C, 100A/D, 80C/CM/Voice, 60B/C/CX/D, 50B, 40C, 30B
FortiAnalyzer 100B, 100C
FortiMail 100,100C
FortiManager VM
FortiAuthenticator VM
FortiToken
FortiAP 220B/221B, 11C

FCNSA, FCNSP---FortiGate 200A/B, 224B, 110C, 100A/D, 80C/CM/Voice, 60B/C/CX/D, 50B, 40C, 30BFortiAnalyzer 100B, 100CFortiMail 100,100CFortiManager VMFortiAuthenticator VMFortiTokenFortiAP 220B/221B, 11C
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