Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Command which shows output in cli whatever you do in gui
Hi,
i forgot one command and not able to find in internet. there was one command which we run in fortigate. and after that what ever i will do in fortigate via GUI and see equivalent commands in CLI. this helps for making scripts.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
debug cli is what you want, go down to middle of this post on my blog
http://socpuppet.blogspot.com/2013/12/fortigate-tips-tricks-from-socpuppets.html
Examples of what to expect is present
Ken
PCNSE
NSE
StrongSwan
PCNSE
NSE
StrongSwan
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Great bro this resolved my question. One more question i have. I saw ur blog and hope u wud have answer
I knw that policy route has a preference over static route.
But do u knw a command to make sure that traffic is going only via policy route not via static route
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would use the cli cmd diag debug flow and monitor the lines that shows the route and route selection. I believe it indicates policy route in the display.
Ken
PCNSE
NSE
StrongSwan
PCNSE
NSE
StrongSwan
