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

switch mode to interface mode

i try to change switch mode to interface mode from on virtual appliance i try in first step after install it directly i did after assign IP and before the command was

config system global

set internal-switch-mode interface

 

the error was

command parse error before 'internal-switch-mode'

command fail. return code -61

12 REPLIES 12
Joshua_MJ
New Contributor

Hi, firstly make sure that there is no any firewall policy that is associated with the lan/switch

abdurn

yes there is no any policy its fresh install virtual appliance but after install i found default deny policy and its never allow to delete

rwpatterson
Valued Contributor III

Also remove any references to DHCP scopes and routes.

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com

Bob - self proclaimed posting junkie!See my Fortigate related scripts at: http://fortigate.camerabob.com
abdurn

its new installed virtual appliance 

rwpatterson
Valued Contributor III

Yes, and those items come installed as default. Check them.

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com

Bob - self proclaimed posting junkie!See my Fortigate related scripts at: http://fortigate.camerabob.com
ede_pfau
Esteemed Contributor III

You can ignore default DENY policies, they don't count in this context.


Ede

"Kernel panic: Aiee, killing interrupt handler!"
Ede"Kernel panic: Aiee, killing interrupt handler!"
gschmitt

rwpatterson wrote:

Yes, and those items come installed as default. Check them.

The default DHCP scope IIRC is set to 192.168.1.100-25x something. So yes, rwpatterson is correct, there is a reference even on a newly installed VM appliance.

 

May I kindly suggest you check the Interface tab on the GUI? There is a nice column called "Ref." which shows you which references exist for the interfaces.

abdurn

 

 

Dears 

 

  thak you for your help 

i doing that before configure any interface or any port 

abdurn
New Contributor

may be last reply is not clear

 

i means first step after install Virtual appliance i login to console then run the command

 

config system global set internal-switch-mode interface  

 

then i found the error even before configure management port can i have the command how to delete the defualt dhcp scope?

is have to configure the ports and then delete the dhcp scope?

Labels
Top Kudoed Authors