This article describes how to use the FortiGate Sniffer when space exists between VLAN names.
FortiGate.
The sniffer command requires the use of the backslash '\' character to separate words in the VLAN name. For example when the VLAN name is 'switch Mgmt', the correct input would be 'switch\ Mgmt'. This format is valid for IPSEC tunnel interfaces as well.
For example:
diagnose sniffer packet switch\ Mgmt ' port 67 or port 68 ' 4 0 l
The below error occurs when a backslash ('\') is missing between VLAN names in the sniffer command.
Note: The best practice is to never use spaces for objects on FortiOS. It is possible to use underscore ('_') or hash characters ('-') to separate two or more words, but spaces should always be avoided.
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.