Hello,
I used with Juniper to show a policy list based on search criterias.
I'd like to do the same with my fortigate but I don't find how to do.
I'm doing : get firewall policy
But the result is only ID's.
Is there a way to get policy ?
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Latest FortiOS firmware updated grep to include context (option -f) setting.
i.e. show firewall policy | grep -f wan1
NSE4/FMG-VM64/FortiAnalyzer-VM/6.0 (FWF30E/FW92D/FGT200D/FGT101E/FGT81E)/ FAP220B/221C
And one more thing to go along with the show for any part of the cfg tree. If you use the "show full" you will get the full cfg details.
e.g of usage
show full-configuration firewall policy 12
or
config firewall policy
show full-configuration
PCNSE
NSE
StrongSwan
Thanks everybody for your tips, it's very interesting and helpful.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1713 | |
1093 | |
752 | |
447 | |
231 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.