# config system global
set wireless-mode client
end
# config system interfaceAdd band selection support when set FWF local radio to client mode.
edit "wifi"
set mode dhcp
set allowaccess ping https ssh
set type wireless
# config wifi-networks
edit 1
set wifi-ssid "aaaa"
set wifi-security wpa-personal
set wifi-passphrase 12345678
next
end
next
end
# config system interfaceAny Connect to the best 2G or 5G AP.
edit "wifi"
set vdom "root"
set mode dhcp
set type wireless
FW502R3U16-----1 (wifi) set wifi-ap-band ?
# config wifi-networks
edit 1
set wifi-ssid "xxxxx"
set wifi-passphrase ENC VbqWtdJ+VuOz+M9AdbQfbCIeiLROreH54QESzNrGBOkremVO1ELwXeKH+xMul40Qf7EFnRkovxl7kpg7EUZgB5uKfG6C6TEVFyyPKLnMNqMVDFBEMc36ekHEccdArehGqtuKt4O3AUxjNkWMpgPKg+Vny1lw+A8ohdR1sy8DzUIKV/mKE7PAcLKruR3+xQ50mSL3JA==
next
edit 2
set wifi-ssid "yyyy"
set wifi-passphrase ENC E/5+C54GOPed766SHkjADcVawaZw2OHsV7X8TMa9N2tW20zWbbAaspdniVxFhAxZQ0/ZUPvdZi1Rql46OB/owsttwq9aH9HmyZo03QK8vMCB8+eIbG6nlhbbuuaiW8dnY5gicjZiwJLXfUottHNRRLHS9EgUs0x0bYK+wRSRJ6B4x03ZvQ41mLbfJvUNnDM30zsZ+Q==
next
FWF30D3X14-----9 # diagnose sys wireless
wifi IEEE 802.11na ESSID:"TEST"
Mode:Managed Frequency:5.24GHz(48) Access Point: xx:xx:xx:xx:xx:xx
Bit Rate:144.4Mb/s Tx-Power:11 dBm
RTS thr:off Fragment thr:off
Power Management:off
Link Quality:94/94 Signal level:-43 dBm Noise level:-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Wlan ID: 0 MAC Mode:fat Tun Mode:local
wifi get_bintval:100
FWF30D3X14-----9 # get system interface
name: wifi mode: dhcp ip: 192.168.250.3 255.255.255.0 status: up netbios-forward: disable type: wireless netflow-sampler
# diagnose wireless-controller wlsta ap-list <----- It shows the scanned ap-list with the target SSID.
SSID xx:xx:xx:xx:xx:xx 172 WPA2 Personal
# diagnose wireless-controller wlsta ap-selected <----- Check if selected FortiAP is expected.
Selected AP:
ssid=SSID bssid= xx:xx:xx:xx:xx:xx sec=8 status=connected
# diagnose wireless-controller wlsta cfg <----- Shows the sta wifi config and if the sta is connected to expected ssid with assigned IP.
STA intf name: wifi
status: up
ip: 8.1.1.6
mac: 08:5b:0e:6c:ca:10
auto connect: yes
auto save: no
ap band: 5g preferred
5g threshold: -78dBm
wifi network cnt: 1
1: SSID, 8, 1
connected: SSID
Note: Only WPA/WPA2 personal are supported.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.