Created on 02-14-2021 10:29 PM Edited on 07-14-2022 08:30 AM By Anonymous
Description
This article describes how to do a sniffer using a network as filter.
Solution
Sniff is a useful command when debugging routing problems.
To do a sniff, follow the syntax below:
# diagnose sniffer packet <interface> <'filter'> <level> <count> <tsformat>
# diagnose sniffer packet any ‘net 1.1.1.0/24 and net 2.2.2.0/24’ 4 0 lSecond filter: Sniff from one source network to destination network.
# diagnose sniffer packet any ‘src net 1.1.1.0/24 and dst net 2.2.2.0/24’ 4 0 lThird filter: Sniff from one source network doing a ping of destination network.
# diagnose sniffer packet any ‘src net 1.1.1.0/24 and dst net 2.2.2.0/24 and icmp’ 4 0 l
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.