#Set the IP address and netmask of the LAN interface:
config system interface
edit <port>
set ip <ip_address> <netmask>
set allowaccess (http https ping ssh telnet)
end
#Set the primary and optionally the secondary DNS server:
config system dns
set primary <dns-server_ip>
set secondary <dns-server_ip>
end
#Set the default gateway:
config system route
edit <seq_num>
set device <port>
set gateway <gateway_ip>
end
#Set a network protocol (NTP) server:
config system ntp
set server <server_ip>
set status (enable | disable)
end