Skip to main content
JohnAgora
New Member
April 15, 2016
Question

Update Device IP through CLI

  • April 15, 2016
  • 1 reply
  • 15671 views

Hello,

 

I have a doubt: How do I update the device IP through CLI?

 

Thanks!

1 reply

Somashekara_Hanumant
Staff & Editor
Staff & Editor
April 17, 2016

Hi,

 

If you are you looking to configure a IP address, address object from CLI commands then please follow the below commands

 

config firewall address

edit <enter appropriate name>

set type ipmask

set ip x.x.x.x/32 (for example 192.168.2.10/32)

set associated-interface <Associated interface name> --->>>> if you don't want to bind any interface, then leave it

end

 

Cheers,

Somu

ede_pfau
SuperUser
SuperUser
April 17, 2016

Please clarify your question: what is a "device IP"? Do you mean the management IP in Transparent mode, or just any port's address in NAT/routing mode?

petertavenier
New Member
April 17, 2016

For the FortiManager?

config system interface     edit "port1"         set ip 10.10.10.10 255.255.255.0

end