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

Error -23 Discard the setting command fail

Hello,

i want to change switch mode to internal mode on my fortgate.

The things I did before:

1.removing internal rules.

2.change from dhcp to manuel

than on cli:

config system global

set internal-switch-mode interface

end

then i got this error (attached file)

thanks

16 REPLIES 16
yaronbeny7

i did it and see the file attached with the error.

how can i fix it please ?

 

jintrah_FTNT

hi,

 

The subnet is already used for internal6 interface as indicated from the error message. Choose a different subnet, say, 10.10.10.1/24 for the interface.

 

Regards,

yaronbeny7

so i want to delete this subnet (port 6) how can do it please ?

At the end of the process i want to configure only port1 with the the following ip:192.168.1.99 255.255.255.0

when i will able to access the broswer with https://192.168.1.99

i will configure the other ports.

jintrah_FTNT

Ok, do this.

 

config system interface

edit internal1

unset ip

next

edit internal1 set ip 192.168.1.99 255.255.255.0 set allowaccess http https ssh next end

rwpatterson
Valued Contributor III

jintrah wrote:

Ok, do this.

 

config system interface

edit internal6 <-Should be 6, no?

unset ip

next

edit internal1 set ip 192.168.1.99 255.255.255.0 set allowaccess http https ssh next end

Either way, my preference would be to connect to whatever port you could now get to (internal6), make a backup, edit the interface IPs in there, and restore from the GUI. After the reboot, connect again to your preferred port, and configure away.

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
jintrah_FTNT

Yes, it should be internal6. Sorry for the typo.

yaronbeny7
New Contributor

Everthing is ok now.

Thanks 

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