Skip to main content
Jannik
Visitor III
Aug 24, 2026 9:37 AM UTC
Solved

ForitAP - AP_MGMT_VLAN_ID variable missing

I have a strange case with some fortiAPs right now. 1x FAP 231G and 1x431F both on 7.6.4. I want to set a VLAN ID to have the management tagged but the variable is missing when typing cfg -s. Then i connected to the HTTPS GUI and the field is also missing. I typed in the command cfg -a AP_MGMT_VLAN_ID=200 on the CLI and I got no error. cfg -c for commit to flash. Nothing happened. Reboot and still no change, the AP won't take the VLAN ID. I have 100 more 231G on this site and also 20x431F and they all have the variable and it works fine. How is this possible? Anyone else encountering this problem?

    ebilcari
    ebilcariAnswer
    Staff
    Aug 24, 2026 11:41 AM UTC

    It seems like this is the same post as: 

    Did you check the response? If MESH_AP_TYPE appears as 2, try manually setting it to 0:

    # cfg -a MESH_AP_TYPE=0

     

    Emirjon

    4 replies

    ebilcari
    Staff
    ebilcariAnswer
    Staff
    Aug 24, 2026 11:41 AM UTC

    It seems like this is the same post as: 

    Did you check the response? If MESH_AP_TYPE appears as 2, try manually setting it to 0:

    # cfg -a MESH_AP_TYPE=0

     

    Translate
    Emirjon
    Jannik
    JannikAuthor
    Visitor III
    Aug 24, 2026 12:51 PM UTC

    Interessting. I posted this question on reddit 2 days ago. Apparently someone exactly copied it to the Fortinet community before I posted it here. 

     

    I'll check the variable.

    Translate
    Jannik
    JannikAuthor
    Visitor III
    Aug 24, 2026 1:24 PM UTC

    Hi, this worked. Thank you very much! What still concerns me is that I never changed anything about that parameter. According to the FortiAP CLI documentation mode 2 is the default value. However all my APs are on 0 since day 1 and I never changed anything about that parameter. It was those 2 APs that were set to 2 without me doing anything. Strange!

    Translate
    ebilcari
    Staff
    Staff
    Aug 24, 2026 1:27 PM UTC

    Thank you for your feedback. I'm glad to hear that it is working now. This is a misbehavior starting from firmware 7.6.3 and is planned to be fixed in a future release.

    Translate
    Emirjon
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024