Skip to main content
austinmas1987
Visitor III
March 8, 2023
Question

FortiManager error when applying a VPN template to a managed Fortigate

  • March 8, 2023
  • 3 replies
  • 4356 views

Hi guys,

 

I am applying a VPN template to a managed Fortigate but facing below error. There are no vlans configured on the Fortigate but still this error comes. Does anyone know how to fix it?

 

Fortimanager is running 7.2.1 and Fortigate is 7.2.3

 

FMG install preview error.JPG

 
Copy device global objects
2:
3:Copy objects for vdom root
4:
5:Commit failed:
6:error -2 - VLAN id must between 1 to 4094

    3 replies

    gfleming
    Staff
    Staff
    March 8, 2023

    Looks like FMG is trying to push the VLAN config to the FortiGate. Have you configured VLANs anywhere within FMG?

    austinmas1987
    Visitor III
    March 9, 2023

    there are no vlans configured on the FW. Attaching a screenshot of the interfaces page from the FMG.

    This error comes only when I use the IPSEC VPN template. Is there any specific option with that template that I can check to confirm?

     

    FMG 40F interface settings.JPG

    pranavgupta
    New Member
    March 8, 2023

    Please check your configuration either vlan config already available in your fortigate device so it trying to sync with manager 

     

    or

     

    there is config available in your device config which is being pushed from fortimanager which is required vlan config file

    brunodicaprio
    New Member
    March 17, 2023

    Hi, facing the same error!

    No vlans configured, tried it with a model device on a scratched 60F.

    It happens only pushing a ipsec template on 7.2.x Fortimanager. Did you try with TAC? 

    austinmas1987
    Visitor III
    March 28, 2023

    the FMG doesnt have support thats why I made this post. Do you have support?

    brunodicaprio
    New Member
    March 28, 2023

    Hi Austin, solved for me the upgrade to 7.2.2!