CN-116319297-B - Access point configuration method and device
Abstract
The specification provides an access point configuration method and device, and relates to the technical field of communication. The access point configuration method is applied to an access controller and comprises the steps of establishing a first CAPWAP tunnel with first management equipment, obtaining a corresponding relation between an access point connected with the first management equipment and a connected port through the first CAPWAP tunnel, establishing a second CAPWAP tunnel with the access point, recording equipment information of the access point, wherein the equipment information comprises the corresponding relation between the access point and the first management equipment, and issuing first configuration information configured for the first management equipment to the access point connected with the first management equipment so that the access point connected with the first management equipment configures itself according to the first configuration information. By the method, the deployment efficiency of WLAN networking can be improved.
Inventors
- NIE SHUWEI
Assignees
- 新华三技术有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20230322
Claims (12)
- 1. An access point configuration method, applied to an access controller, comprising: Establishing a control and configuration protocol CAPWAP tunnel of a first wireless access point with first management equipment, and acquiring a corresponding relation between the access point connected with the first management equipment and a connected port through the first CAPWAP tunnel; Establishing a second CAPWAP tunnel with an access point, and recording equipment information of the access point, wherein the equipment information comprises a corresponding relation between the access point and the first management equipment and a port connected with the access point and the first management equipment; Issuing first configuration information configured for the first management device to an access point connected with the first management device, so that the access point connected with the first management device configures itself according to the first configuration information; after the first configuration information is sent to the access point connected with the first management device, the method further comprises: receiving a feedback message sent by an access point based on the first configuration information; Marking the access point corresponding to the feedback message as a configuration failure state; and sending the first configuration information to the access point in the configuration failure state again in a unicast mode.
- 2. The method of claim 1, further comprising, after said issuing the first configuration information again to the access point in the configuration failure state: and if the feedback message sent by the access point is received again, extracting the failure reason from the feedback message and recording the failure reason.
- 3. The method according to claim 1, wherein the issuing the first configuration information to the access point in the configuration failure state again is specifically: and unicast transmitting the first configuration information to the access point in the configuration failure state again.
- 4. The method of claim 1, wherein the issuing the first configuration information configured for the first management device to the access point to which the first management device is connected further comprises: If the first management device is determined to be associated with the second management device, first configuration information configured for the first management device is issued to an access point connected with the first management device, and first configuration information configured for the first management device and second configuration information configured for the second management device are issued to the access point associated with the second management device in sequence according to a preset sequence; If the first management device is determined to be associated with the second management device, issuing second configuration information configured for the second management device to an access point connected with the second management device, and sequentially issuing first configuration information configured for the first management device and second configuration information configured for the second management device to the access point associated with the first management device according to a preset sequence; Wherein, the same configuration information between the first configuration information and the second configuration information is not repeatedly issued.
- 5. The method according to any one of claims 1-4, wherein the issuing, to the access point to which the first management device is connected, first configuration information configured for the first management device, specifically is: And broadcasting and issuing first configuration information configured for the first management device to an access point connected with the first management device through the first management device.
- 6. An access point configuration apparatus, applied to an access controller, comprising: The establishing unit is used for establishing a first CAPWAP tunnel with the first management equipment and establishing a second CAPWAP tunnel with the access point; an obtaining unit, configured to obtain, through a first CAPWAP tunnel, a correspondence between an access point connected to the first management device and a port connected to the first management device, and a port connected to the access point and the first management device; a recording unit, configured to record device information of an access point, where the device information includes a correspondence between the access point and the first management device; A sending unit, configured to send first configuration information configured for the first management device to an access point connected to the first management device in a broadcast or multicast manner, so that the access point connected to the first management device configures itself according to the first configuration information; The device further comprises: a receiving unit, configured to receive a feedback message sent by an access point based on the first configuration information; The marking unit is used for marking the access point corresponding to the feedback message as a configuration failure state; the sending unit is further configured to send the first configuration information to the access point in the configuration failure state again in a unicast manner.
- 7. The apparatus as recited in claim 6, further comprising: And the recording unit is also used for extracting and recording failure reasons from the feedback information if the feedback information sent by the access point is received again.
- 8. The apparatus according to claim 6, wherein the sending unit is specifically configured to unicast the first configuration information to the access point in the configuration failure state again.
- 9. The apparatus of claim 6, wherein the transmitting unit comprises: A first sending module, configured to, if it is determined that the first management device is associated with a second management device, send first configuration information configured for the first management device to an access point to which the first management device is connected, and send, in sequence, first configuration information configured for the first management device and second configuration information configured for the second management device to the access point associated with the second management device according to a preset sequence; The second sending module is used for sending second configuration information configured for the second management equipment to the access point connected with the second management equipment if the first management equipment is determined to be associated with the second management equipment, and sending first configuration information configured for the first management equipment and second configuration information configured for the second management equipment to the access point associated with the first management equipment in sequence according to a preset sequence; Wherein, the same configuration information between the first configuration information and the second configuration information is not repeatedly issued.
- 10. The apparatus according to any of claims 6-9, wherein the sending unit is specifically configured to broadcast, via the first management device, to an access point to which the first management device is connected, first configuration information configured for the first management device.
- 11. An access controller comprising a transceiver, a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to cause the processor to perform the method steps recited in any one of claims 1-5.
- 12. A machine-readable storage medium having stored thereon machine-executable instructions which, when invoked and executed by a processor, cause the processor to perform the method steps of any one of claims 1-5.
Description
Access point configuration method and device Technical Field The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for configuring an access point. Background With the development of network technology, WLAN (Wireless local area network, local Area Network) that is disconnected from wired connection has been developed, and as a networking mode of WLAN, AC (access controller ) and FIT AP (thin access Point, FIT ACCESS Point) are developed. When a WLAN is deployed, workers are required to configure APs one by one, but as the network scale expands, a large number of APs exist in the WLAN networking, the deployment efficiency of the WLAN networking is definitely reduced by configuring one by one, so how to improve the deployment efficiency of the WLAN networking is a problem to be solved by those skilled in the art. Disclosure of Invention In order to overcome the problems in the related art, the present specification provides an access point configuration method and apparatus. With reference to the first aspect of the embodiments of the present specification, the present application provides an access point configuration method, applied to an access controller, including: Establishing a control and configuration protocol CAPWAP tunnel of a first wireless access point with first management equipment, and acquiring a corresponding relation between the access point connected with the first management equipment and a connected port through the first CAPWAP tunnel; Establishing a second CAPWAP tunnel with the access point, and recording equipment information of the access point, wherein the equipment information comprises a corresponding relation between the access point and the first management equipment; and transmitting first configuration information configured for the first management equipment to the access point connected with the first management equipment so that the access point connected with the first management equipment configures itself according to the first configuration information. Optionally, the device information further includes a port to which the access point is connected to the first management device; After the first configuration information is issued to the access point to which the first management device is connected, the method further includes: receiving a feedback message sent by the access point based on the first configuration information; marking the access point corresponding to the feedback message as a configuration failure state; and sending the first configuration information to the access point in the configuration failure state again. Further, after the first configuration information is sent to the access point in the configuration failure state again, the method further includes: and if the feedback message sent by the access point is received again, extracting the failure reason from the feedback message and recording. Optionally, the first configuration information is issued again to the access point in the configuration failure state, specifically: And unicast transmitting the first configuration information to the access point in the configuration failure state again. Optionally, the method further includes sending, to an access point to which the first management device is connected, first configuration information configured for the first management device, and further including: If the first management equipment is determined to be associated with the second management equipment, the first configuration information configured for the first management equipment is issued to the access point connected with the first management equipment, and the first configuration information configured for the first management equipment and the second configuration information configured for the second management equipment are sequentially issued to the access point associated with the second management equipment according to a preset sequence; If the first management device is determined to be associated with the second management device, transmitting second configuration information configured for the second management device to an access point connected with the second management device, and transmitting first configuration information configured for the first management device and second configuration information configured for the second management device to the access point associated with the first management device in sequence according to a preset sequence; The same configuration information between the first configuration information and the second configuration information is not repeatedly issued. Optionally, the first configuration information configured for the first management device is issued to the access point to which the first management device is connected, specifically: First configuration information configured for the first management device is broadcast and issued to an access point to