Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
simonleung
New Contributor

Failed to Delete Virtual Switch

I want to delete virtual switch on FortiWiFi 60F(FortiOS v6.4.6) but found the error message as follows. Could you give me any solutions?

 

FortiWiFi-60F # config sys virtual-switch

FortiWiFi-60F (virtual-switch) # delete test
intf test is used
command_cli_delete:6541 delete table entry test unset oper error ret=-23
Command fail. Return code -23

 

3 REPLIES 3
alif
Staff
Staff

Hello simonleung,

 

Thank you for contacting Fortinet community.

 

Please remove the interfaces first that are defined under the 'test' interface.

 

config sys virtual-switch

edit test

config port

delete <name>

end

 

Once all interfaces have been removed, please delete the test interface now.

delete test

end

Regards,
SFA
simonleung

I have already removed the interfaces under virtual switch test, but still could not remove test

FortiWiFi-60F # config sys virtual-switch

FortiWiFi-60F (virtual-switch) # edit test

FortiWiFi-60F (test) # config port

FortiWiFi-60F (port) # show

FortiWiFi-60F (port) # end

FortiWiFi-60F (test) # end

FortiWiFi-60F # config sys virtual-switch

FortiWiFi-60F (virtual-switch) # delete test
intf test is used
command_cli_delete:6541 delete table entry test unset oper error ret=-23
Command fail. Return code -23

 

Toshi_Esumi

The "test" interface must be used at somewhere. Just do "show | grep -f test" at the top command hierarchy in CLI to find out where it's used.

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors