FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
tonylin1
Staff
Staff
Article Id 263530
Description This article describes how to filter traffic with VLAN ID on the FortiLink interface when doing a packet sniffer.
Scope

FortiLink.

Solution

Normally, there will be a lot of VLAN ID traffic going through the FortiLink interface.
To check if there is any traffic with a specific VLAN ID on the FortiLink interface, use the below command:

 

diagnose sniffer packet FortiLink 'vlan <vlanid>' 4 0 l

 

Example:

 

diagnose sniffer packet FortiLink 'vlan 212' 4 0 l
2023-07-12 11:29:51.772259 FortiLink -- 802.1Q vlan#212 P0
2023-07-12 11:29:51.784966 FortiLink -- 802.1Q vlan#212 P0
2023-07-12 11:29:51.785425 FortiLink -- 802.1Q vlan#212 P0
2023-07-12 11:29:51.791731 FortiLink -- 802.1Q vlan#212 P0
2023-07-12 11:29:51.793010 FortiLink -- 802.1Q vlan#212 P0
2023-07-12 11:29:51.801171 FortiLink -- 802.1Q vlan#212 P0
2023-07-12 11:29:51.801644 FortiLink -- 802.1Q vlan#212 P0
2023-07-12 11:29:51.802499 FortiLink -- 802.1Q vlan#212 P0