Skip to main content
Worknet
New Member
May 10, 2012
Question

How to remove a subinterface

  • May 10, 2012
  • 5 replies
  • 13962 views
Hello, I have a problem. I have created a subinterface (VLAN) with a bad VLANID and a bad interface name. Unfortunately, the buttom " delete" in menu " Network/Interface" is grayed when I check this subinterface. How to remove or modify this subinterface ? Thank you for your help. N.B. : I have a F200B v4 MR2

    5 replies

    emnoc
    New Member
    May 10, 2012
    Do you have anything bound to that sub-interfaces ( vpn,dhcp-server, fwpolicies, vips,etc...) if it has any objects attached via some configurations, then you would not beable to delete it. What you could do; rename the sub-interface and edit out the vlan-id to the correct vlan-id #. If you really need to delete it, upgrade to the new code which gives you a dependencies check/attach buttom or down load the config to a text editor and Find ( grep ) on the interface name.
    Worknet
    WorknetAuthor
    New Member
    May 10, 2012
    OK, I have only fw policies. Which CLI command for rename subinterface and modify vlan ID ? I have tried in config system but it' s not good. please
    jmac
    New Member
    May 11, 2012
    Backup the entire firewall configuration to a file, then search the file for the name of the sub-interface. You should be able to find the config section(s) where it is referenced.
    ede_pfau
    SuperUser
    SuperUser
    May 11, 2012
     config system interface      edit " vlan12"           set vdom " root"           set interface " internal"           set vlanid 12      next      edit " vlan32"           set vdom " root"           set interface " internal"           set vlanid 32      next  end    gate (interface) # ed vlan32  gate (vlan32) # set vlanid 33  next  VLAN ID or physical interface cannot be changed once a VLAN has been created.  object set operator error, -522 discard the setting  
    And there' s no ' rename' command in ' config system interface' . But a ' delete' ...
    Worknet
    WorknetAuthor
    New Member
    May 11, 2012
    Finally, I deleted the subinterface by removing all objects attached. Thank you for help
    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.