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 source-ip <ipv4 or ipv6 address>
set passphrase <password>
set auth-server-addr <ipv4 or ipv6 address>
set auth-server-port <port number>
set auth-server-secret <password>
end
next
end
end
Sample command
config wifi vap
edit fbs-home-2g-1
set ssid fbs-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 fbs-home-5g-1
set ssid fbs-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 | ||||||||||||||||||||||
|
source-ip |
Source IP address for communications to the RADIUS server (IPv4 and IPv6 format). |
string |
|
|
||||||||||||||||||||
| auth-server-addr |
RADIUS authentication server (IPv4 and IPv6 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 | ||||||||||||||||||||||