![Fortinet FortiWAN Handbook Download Page 34](http://html1.mh-extra.com/html/fortinet/fortiwan/fortiwan_handbook_2322088034.webp)
How to set up your FortiWAN
Web UI and CLI Overview
Note: FortiWAN CLI has limited functionality and cannot fully configure the system. Normal configuration changes
should be done via the WebUI.
Change network setting to LAN port via CLI
1. Connect and log into the CLI (See the section "To connect to the CLI" above).
2. Configure the IP address and netmask of LAN pot via command
resetconfig
. Also configure a static route with
a default gateway if it's necessary. Type:
resetconfig <ip_address/netmask>
resetconfig <ip_address/netmask> <network_ip/netmask@gateway_ip>
where:
<ip_address/netmask>
is the IPv4 address and netmask assigned to the LAN port. It must correspond to the
subnet you would like to connect to. For example, type
resetconfig 10.10.10.1/255.255.255.0
, if
10.10.10.0/255.255.255.0 is the subnet connected to the LAN port. Then IP address of LAN port is changed to
10.10.10.1 from the default.
<network_ip/netmask@gateway_ip>
is the routing rule assigned to the LAN port, so that packets can be
routed to the subnet via the gateway. For example, type
resetconfig 192.168.2.254/255.255.255.0
192.168.1.0/[email protected]
, if 192.168.2.0/255.255.255.0 is the subnet connected
directly to the LAN port and 192.168.2.1 is the gateway to route packets to subnet 192.168.1.0/255.255.255.0.
Then IP address of LAN port is changed to 192.168.2.254 from the default.
See "
" for details.
3. System reboots for applying the configurations.
34
FortiWAN Handbook
Fortinet Technologies Inc.