config system interface
Use this command to edit the configuration of a network interface.
Syntax
config system interface
edit <interface port>
set ip <IP/netmask>
set allowaccess <ssh|https>
edit wifi
config wifi-networks
set type wireless
set wifi-auto-connect <enable|disable>
edit <id>
set wifi-ssid <string>
set wifi-security <wpa-personal|open>
set wifi-passphrase <password>
end
end
|
Variable |
Definiton |
|---|---|
|
<interface port> |
The port can be set to a port number such as port1, port2, port3, or port4. |
|
set ip <IP/netmask> |
Set port IP address and netmask. |
|
unset ip <IP/netmask> |
Remove port ip address. |
|
set allowaccess <ssh|https> |
Enter the types of management access permitted on this interface. Separate multiple selected types with spaces. If you want to add or remove an option from the list, retype the list as required. |
|
unset allowaccess <ssh|https> |
Remove admin allow access. |
|
config wifi-networks |
Configure WiFi networks. |
|
set type wireless |
Set interface type to wireless. |
|
set wifi-auto-connect <enable|disable> |
Enable/disable WiFi network auto connect. |
|
edit <id> |
Add/edit a table value. |
|
set wifi-ssid <string> |
IEEE 802.11 Service Set Identifier. |
|
set wifi-security <wpa-personal|open> |
Wireless access security of SSID. |
|
set wifi-passphrase <password> |
WiFi pre-shared key for WPA. |
|
unset wifi-ssid |
set ssid to default value. (default is "fortinet") |
|
unset wifi-security |
set access security to default value. (default is wap-personal) |
|
unset wifi-passphrase |
set passphrase to default value. (default is "fortinet") |