Skip to main content
pj255
New Member
October 23, 2014
Solved

Error - Can not delete a static table entry Command fail. Return c-61

  • October 23, 2014
  • 4 replies
  • 31139 views

Hi,

 

I need to remove uneeded configuration from my FG 1000c for audit purposes.

 

We do not use the wireless controller features so I would like to remove the two section's below.

 

I have tried to remove but get the error's at the end of this post - i have searched the config and the mesh.root interface only seems to be referenced in two places...(the two below)

 

How can I delete these?

 

config wireless-controller vap edit "mesh.root" set vdom "root" set mesh-backhaul enable set ssid "fortinet.mesh.root" set alias "m" set passphrase XYZ****** next

 

config system interface

edit "mesh.root" set vdom "root" set type vap-switch

set snmp-index 31

 

 

FG01 (vap) # delete mesh.test Can not delete a static table entry Command fail. Return code -61

 

FG01 (interface) # delete mesh.test Can not delete a static table entry Command fail. Return code -61

    Best answer by Dave_Hall

    Go into "Systems->Config->Features" and turn off "Wifi & Switch Controller".  After that, you should be able to delete the mesh.root interface.

    4 replies

    Dave_Hall
    Dave_HallAnswer
    New Member
    October 23, 2014

    Go into "Systems->Config->Features" and turn off "Wifi & Switch Controller".  After that, you should be able to delete the mesh.root interface.

    pj255
    pj255Author
    New Member
    October 27, 2014

    Dave Hall wrote:

    Go into "Systems->Config->Features" and turn off "Wifi & Switch Controller".  After that, you should be able to delete the mesh.root interface.

    Hi Dave,

     

    I have disabled the WiFi and Switch controller as suggested - unfortunately I still cant remove these interfaces from the configuration.

     

    Is there something else I can try?

     

     

    Dave_Hall
    New Member
    October 27, 2014

    In my own testing (factoryreset config on a 200D fortigate, running 5.0.9 firmware), I had no problems purging that interface. 

    Maybe try disabling the mesh-backhaul setting first before deleting the interface:

    config wireless-controller vap
      edit "mesh.root"
      set mesh-backhaul disable
    next

    You could try loading an non-encrypted backup config into a text editor and remove the "mesh.root" sections manually, save the changes, then upload it back into the Fortigate.  (This can be dangerous if you are not careful -- save a cfg backup then after the fgt reboots, perform a "diag debug config-error-log read" on the CLI to check for any errors.)

    ede_pfau
    SuperUser
    SuperUser
    November 4, 2014

    Today I came across the same problem: mesh.root interface on a FGT-60D PoE, and I didn't want it.

    The solution Dave posted didn't work - disabling the "Wireless Controller" feature in the GUI.

     

    The snafu: it didn't work on 5.0.7 - but it did on 5.0.9 !!

     

    (I love it when they put feature enhancements into patches...)

    Dave_Hall
    New Member
    November 4, 2014

    So I have played around with both firmwares (5.0.7 and 5.0.9) and I can confirmed disabling the GUI Wifi & Switch Controller feature (and even "set wireless-controller disable" under config system global in the CLI) doesn't get rid of the mesh.root interface in 5.0.7 -- even removing the sections in the config via text editor and loading the edited config back doesn't get rid of it...in fact the Fortigate actually puts those sections back in after the reboot.

     

    No problems doing so in 5.0.9.  Funny thing is I have checked the patch release notes for both 5.0.8 and 5.0.9 and there is no mention of "feature" changes to the mesh.root interface.

    Benoit_Rech_FTNT
    Staff
    Staff
    November 5, 2014

    Hello,

     

    if you don't use the wireless controller, you can disable it globally:

    #config system global

    #set wireless-controller disable

    #end

     

    You cannot delete these interfaces, which are created by the system.

    Benoit

    ede_pfau
    SuperUser
    SuperUser
    November 5, 2014

    Benoit,

    it greatly helps if you would read before posting.