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.
lmassip
Staff
Staff
Article Id 392237
Description This article describes a workaround for the issue where pasting a long interface name under the 'config system fortiguard' fails due to the name exceeding the 15-character limit.
Scope FortiGate.
Solution

When configuring FortiGuard settings, it is possible to encounter the following error when specifying an interface with a name longer than 15 characters:

 

string value is too long. the size is xx, the limit is 15

 

To resolve this, follow these steps:

  1. Enter the FortiGuard configuration mode:

 

config system fortiguard

 

  1. Set the selection method to manual:

 

set interface-select-method specify

 

  1. Use the Tab key to navigate and autocomplete the interface name after typing:

 

set interface

 

The CLI will list available interface names. Pressing Tab multiple times helps cycle through valid options until the correct one is displayed and selected.

 

This method allows selecting long interface names that cannot be directly pasted due to the character limit.

Contributors