Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
diagnose sniffer packet CLI with source and destination filter syntax
What is wrong with this syntax?
diagnose sniffer packet any 'src 10.x.y.z dst 172.a.b.c'
Labels:
- Labels:
-
FortiGate
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Solved...:
diagnose sniffer packet any 'src 10.x.y.z dst and 172.a.b.c'
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
your syntax is wrong for tcpdump filters. It's supposed to be:
diag sniffer packet any 'src 10.x.y.z and dst 172.a.b.c' 4 0 l (header/forever/local time)
Or you can use different options at the end.
Toshi
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @Toshi_Esumi
Even this syntax also works :
diag sniffer packet any 'src 10.1.1.1 and dst 172.1.1.1'
Although it is better to use with the header and verbose level and timestamps.
