The type command sets the type for a VAP.
The undo type command restores the default VAP type.
By default, the type of a VAP is service.
type { ap-management | service | service-backup ap-offline | service-backup auth-server-down radius-server template template-name }
undo type
Parameter |
Description |
Value |
---|---|---|
ap-management |
Sets the VAP type to AP management. |
- |
service |
Sets the VAP type to service. |
- |
service-backup ap-offline |
Sets the VAP type to AP-offline backup service. |
- |
service-backup auth-server-down |
Sets the VAP type to authentication-server-down backup service. |
- |
radius-server template template-name |
Specifies the name of a RADIUS server template. |
The specified name of the RADIUS server template must exist. |
Usage Scenario
If the type of a VAP is set to service-backup ap-offline, STAs can access the network through the backup service VAP after the AP goes offline. For example, on a headquarters-branch network, when APs at branches connect to the AC at the headquarters through a WAN, APs may go offline due to the WAN instability. You can configure a backup service VAP to allow new STAs to access the network if the AP goes offline.
If the type of a VAP is set to service-backup auth-server-down, the VAP is automatically enabled to allow network access of associated STAs when the authentication server is not accessible. When the authentication server recovers, this VAP is not automatically disabled. You can manually disable it if needed. If the authentication server is accessible but rejects user access, this VAP is not automatically enabled. You can manually enable it if needed. To enable or disable this VAP, run the vap-service-backup auth-server-down command.
Precautions
After the VAP type is configured in the VAP profile view, the VAPs generated by the VAP profile use the configured VAP type. The new VAP type will overwrite the old one.
Portal, MAC address, and 802.1X authentication using an external server is not supported.
After the type of a VAP is set to ap-management, a STA can connect to the AP only when the IP address 169.254.2.x/24 (except 169.254.2.1, 169.254.2.100 is recommended) is configured for the STA.
The VAP profile in which the VAP type is set to ap-management can be applied only to one radio of an AP or AP group.
If an AD9431DN-24X or AirEngine 9700D-M is used as the central AP, STAs log in to RUs through the offline management VAP. If a central AP other than the AD9431DN-24X or AirEngine 9700D-M is used, STAs log in to the central AP through the offline management VAP.
For an AP-offline backup service VAP:
Only the open system, WEP, WPA+PSK, WPA2+PSK, and WPA-WPA2+PSK authentication modes are supported.
When the number of configured AP-offline backup service VAPs reaches the maximum on the AP, if the offline management VAP function is enabled, the offline management VAP does not take effect when the AP goes offline.
# Create the VAP profile vap1 and set the VAP type to AP management VAP.
<HUAWEI> system-view [HUAWEI] wlan [HUAWEI-wlan-view] vap-profile name vap1 [HUAWEI-wlan-vap-prof-vap1] type ap-management
# Create the VAP profile vap1 and set the VAP type to authentication-server-down backup service.
<HUAWEI> system-view [HUAWEI] wlan [HUAWEI-wlan-view] vap-profile name vap1 [HUAWEI-wlan-vap-prof-vap1] type service-backup auth-server-down radius-server template temp1