config ap-security
Description: Configure security mode for WiFi access point.
config wifi
config vap
edit <WiFi Access Point Name>
config ap-security
set security-mode <encryption mode>
set pmf <option>
set passphrase <password>
set auth-server-addr <url>
set auth-server-port <port number>
set auth-server-secret <password>
end
next
end
end
Sample command
config wifi vap
edit fev-home-2g-1
set ssid fev-home-2g-1
set broadcast-ssid enable
set wlan-members
config ap-security
set security-mode WPA2-Enterprise
set auth-server-addr 192.168.11.99
set auth-server-port 1812
set auth-server-secret ******
set pmf optional
end
next
edit fev-home-5g-1
set ssid fev-home-5g-1
set broadcast-ssid enable
set wlan-members
config ap-security
set security-mode WPA2-Personal
set pmf disabled
set passphrase ******
end
next
end
| Parameter | Description | Type | Size | Default | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| security-mode |
Select which security mode to use. |
option | - | |||||||||||||||||||||
|
|
|
|||||||||||||||||||||||
| pmf |
Protected Management Frames (PMF) support. This option is available if |
option | - | |||||||||||||||||||||
|
|
|
|||||||||||||||||||||||
| passphrase |
WPA pre-shared key (PSK) to be used to authenticate WiFi users. This option is available if |
password | ||||||||||||||||||||||
| auth-server-addr |
Wi-Fi Authentication Server Address (IPv4 format). This option is available if |
string | ||||||||||||||||||||||
| auth-server-port |
Wi-Fi Authentication Server Port. This option is available if |
integer | 1812 | |||||||||||||||||||||
| auth-server-secret |
Wi-Fi Authentication Server Secret. This option is available if |
string | ||||||||||||||||||||||