AnsweredHot!Cannot delete software switch

Author
Xcage
New Member
  • Total Posts : 13
  • Scores: 0
  • Reward points: 0
  • Joined: 2016/06/04 16:21:50
  • Status: offline
2017/07/31 09:40:45 (permalink) 5.4
0

Cannot delete software switch

hello experts ,
 
simply put , i cannot delete one of my interfaces software switch , which the company used to provide internet to certain people with certain policies.
Ii deleted all the policies that were associated with the interface also disabled dhcp server in the interface configuration
google brought me to cli command(which i never usually use unless i have to) to find reference of the interface so heres the output.
 
FGT90DXXXXXXX # diagnose sys checkused system.interface.name internal7
entry used by child table member:interface-name 'internal7' of table system.switch-interface:name 'DP-LAN'
  
Basically all i want to do is to delete the software switch and go back to using my internal interface as regular switch for the unit.
its 90D with 5.4 OS
 
any help?
#1
Toshi Esumi
Expert Member
  • Total Posts : 2733
  • Scores: 269
  • Reward points: 0
  • Joined: 2014/11/06 09:56:42
  • Status: offline
Re: Cannot delete software switch 2017/07/31 09:52:16 (permalink)
0
If you want to remove "DP-LAN" switch-interface try
# diag sys checkused system.interface.name DP-LAN
or just
# show | grep -f DP-LAN
#2
MikePruett
Platinum Member
  • Total Posts : 711
  • Scores: 19
  • Reward points: 0
  • Joined: 2014/01/08 19:39:40
  • Location: Montgomery, Al
  • Status: offline
Re: Cannot delete software switch 2017/07/31 20:37:27 (permalink)
0
Have you made sure that you don't have any address objects or tunnels that are associated with it?
#3
Xcage
New Member
  • Total Posts : 13
  • Scores: 0
  • Reward points: 0
  • Joined: 2016/06/04 16:21:50
  • Status: offline
Re: Cannot delete software switch 2017/08/07 11:14:31 (permalink)
0
well thats the output of show grep
 and i never created any tunnels or adress objects for the interface, therefore there are none
 

FGT90D # show | grep -f DP-LAN
config system switch-interface
 edit "DP-LAN" <---
 set vdom "root"
 set member "internal7"
 next
end
config system interface
 edit "DP-LAN" <---
 set vdom "root"
 set ip 10.44.44.254 255.255.255.0
 set type switch
 set snmp-index 23
 next
end

post edited by Xcage - 2017/08/07 12:42:09
#4
Toshi Esumi
Expert Member
  • Total Posts : 2733
  • Scores: 269
  • Reward points: 0
  • Joined: 2014/11/06 09:56:42
  • Status: offline
Re: Cannot delete software switch 2017/08/07 11:28:05 (permalink) ☼ Best Answerby Xcage 2017/08/07 12:46:45
0
What kind of error do you get when you do below?
FGT90D # config sys switch-int
FGT90D (switch-interface) # del DP-LAN
 
You might need to reboot the unit.
#5
Xcage
New Member
  • Total Posts : 13
  • Scores: 0
  • Reward points: 0
  • Joined: 2016/06/04 16:21:50
  • Status: offline
Re: Cannot delete software switch 2017/08/07 12:49:15 (permalink)
0
Thank you!
 
that did it , even tho i have no idea what have changed , but i was able to delete my other interface that i wasnt able to delete too. even though it was strange , i tried
FGT90D # config sys switch-int
FGT90D (switch-interface) # del "other interface i couldnt delete before" and it gave me that:
FGT90D (switch-interface) # del bookmd-lan
delete table entry bookmd-lan unset oper error ret=1
Command fail. Return code 1

but suddenly i payed attention that i had the "delete" button active in GUI , so i just deleted it that way.
 
anyways thank you :)
 
 
 
#6
hh11hh
New Member
  • Total Posts : 2
  • Scores: 0
  • Reward points: 0
  • Joined: 2021/10/12 06:48:46
  • Status: offline
Re: Cannot delete software switch 2021/10/12 06:56:04 (permalink)
0
Had same issue. After I unchecked "Create address object matching subnet" Delete button became active.
Also you need to delete interface from all linked settings. In interface list you can find them in a "Ref." column.

post edited by hh11hh - 2021/10/12 07:37:01

Attached Image(s)

#7
Jump to:
© 2021 APG vNext Commercial Version 5.5