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

Update Device IP through CLI

  • April 15, 2016
  • 11 replies
  • 15761 views

Hello,

 

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

 

Thanks!

11 replies

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

 

 

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!