Managing AP Wireless Login
Context
In addition to logging in through a wired interface, you can log in to an AP through Telnet over WLANs. Currently, only the Telnet login mode is supported in wireless mode. To log in to an AP wirelessly through Telnet, set the VAP type to management AP, configure an IP address in the same network segment as the AP for a STA, and telnet to the IP address of the AP.
- If the type of a VAP is set to service, STAs connected to the VAP can only access network resources but not APs. Service VAPs are used in regular WLAN deployment scenarios.
- If the type of a VAP is set to ap-management, STAs connected to the VAP can only access APs but not network resources. AP management VAPs are used in STA access and AP management scenarios.
Procedure
- Run system-view
The system view is displayed.
- Run wlan ac
The WLAN view is displayed.
- Run ap username username password cipher
The user name and password for AP login are configured.
By default, the user name is admin and password is admin@huawei.com.
- Run ap-system-profile name profile-name
An AP system profile is created, and the AP system profile view is displayed.
By default, the system provides the AP system profile default.
- Run telnet enable
The Telnet service function is enabled.
By default, Telnet is disabled on an AP.
- Run quit
Return to the WLAN view.
- Run vap-profile name profile-name
The VAP profile view is displayed.
By default, the system provides the VAP profile default.
- Run type ap-management
The VAP type is set to management AP.
By default, the type of a VAP is service.
The VAP profile in which the VAP type is set to management AP can only be applied to one radio of an AP.
- Run quit
Return to the WLAN view.
- Bind an AP system profile and a VAP profile
to an AP group or AP.
- Bind a VAP profile and an AP system profile to an AP group.
- Run the ap-group name group-name command to enter the AP group view.
Run the ap-system-profile profile-name command to bind the AP system profile to the AP group.
By default, the AP system profile default is bound to an AP group.
Run the vap-profile profile-name wlan wlan-id { radio { radio-id | all } } command to bind the VAP profile to the radio.
By default, no VAP profile is bound to a radio.
- Bind a VAP profile and an AP system profile to an AP.
- Run the ap-id ap-id, ap-mac ap-mac, or ap-name ap-name command to enter the AP view.
Run the ap-system-profile profile-name command to bind the AP system profile to the AP.
By default, no AP system profile is bound to an AP.
Run the vap-profile profile-name wlan wlan-id { radio { radio-id | all } } command to bind the VAP profile to the radio.
By default, no VAP profile is bound to a radio.
- Bind a VAP profile and an AP system profile to an AP group.
- Run quit
Return to the WLAN view.
- Run commit { all | ap-name ap-name | ap-id { ap-id1 [ to ap-id2 ] } &<1-10> }
Configurations are delivered to APs.
Checking the Configuration
- Run the display ap username [ ap-name ap-name | ap-id ap-id ] command to check the user name for AP login.
- Run the display ap-system-profile { all | name profile-name } command to check configuration and reference information about an AP system profile.
- Run the display references ap-system-profile name profile-name command to check reference information about an AP system profile.
- Run the display vap-profile { all | name profile-name } command to check configuration and reference information about a VAP profile.
- Run the display references vap-profile name profile-name command to check reference information about a VAP profile.