CN105471768A - CAPWAP message transmission method and network switch - Google Patents

CAPWAP message transmission method and network switch Download PDF

Info

Publication number
CN105471768A
CN105471768A CN201410425959.XA CN201410425959A CN105471768A CN 105471768 A CN105471768 A CN 105471768A CN 201410425959 A CN201410425959 A CN 201410425959A CN 105471768 A CN105471768 A CN 105471768A
Authority
CN
China
Prior art keywords
message
cable card
card board
decapsulation
capwap
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410425959.XA
Other languages
Chinese (zh)
Other versions
CN105471768B (en
Inventor
张印熙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410425959.XA priority Critical patent/CN105471768B/en
Publication of CN105471768A publication Critical patent/CN105471768A/en
Application granted granted Critical
Publication of CN105471768B publication Critical patent/CN105471768B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the technical field of communication and discloses a CAPWAP message transmission method and a network switch. In the scheme, when wire clamp boards having no CAPWAP tunnel processing ability receive a CAPWAP message, the wire clamp boards can send the CAPWAP message to wire clamp boards having CAPWAP tunnel processing ability, thereby solving the problem that the wire clamp boards having no CAPWAP tunnel processing ability cannot process the CAPWAP message, and improving CAPWAP message transmission flexibility.

Description

CAPWAP message transmission method and the network switch
Technical field
The present invention relates to communication technical field, particularly wireless access point control and provide (English: ControlAndProvisioningofWirelessAccessPoints, abbreviation: CAPWAP) message transmitting method and the network switch.
Background technology
WLAN (wireless local area network) is (English: wirelesslocalareanetwork, abbreviation: WLAN) comprise wireless terminal point (English: WirelessTerminationPoint, abbreviation: WTP) and access controller (English: AccessController, abbreviation: AC), wherein, AC is used for carrying out control and management to the WTP in WLAN (wireless local area network).
The pass-through mode of the message of WTP is divided into tunnel forward (being also called " concentrated forwarding ") and directly forward (being also called " local forwarding ").Wherein, when tunnel forwards and refers to that WTP E-Packets, first to forward the packet to AC through CAPWAP tunnel, then forward this message by AC.The pass-through mode of the message of WTP is tunnel when forwarding, and as shown in Figure 1, (English: station, abbreviation: after message STA) arrives WTP, WTP encapsulates after this message obtains CAPWAP message website, sends to AC.Then AC decapsulation CAPWAP message forwards this original message after obtaining the original message of STA again.STA has to wireless medium (English: wirelessmedium, abbreviation: the equipment of interface WM).STA can be wireless terminal, such as, be that kneetop computer is (English: laptopcomputer), panel computer is (English: tabletcomputer), mobile phone etc.
An AC may manage multiple WTP, and between each WTP and AC, all have a CAPWAP tunnel, after AC receives the message sent by CAPWAP tunnel from STA, can store the mapping relations of the address of this STA and the CAPWAP tunnel list item in this tunnel, CAPWAP tunnel list item comprises: the port numbers for CAPWAP tunnel of the IP address of WTP, the port numbers for CAPWAP tunnel of WTP, AC.AC receives from internet (English: message Internet), when this message will be sent to this STA, CAPWAP tunnel list item is found according to the address of this STA and the mapping of CAPWAP tunnel list item, encapsulate the message from Internet with the CAPWAP tunnel list item found again, then send.
At present, carrying AC function on the network switch usually.The network switch has multiple cable card board, and some cable card boards of this multiple cable card board are the cable card boards with CAPWAP tunnel disposal ability, and some cable card boards are the cable card boards lacking CAPWAP tunnel disposal ability.CAPWAP message is sent to the cable card board with CAPWAP tunnel disposal ability after the message received is encapsulated as CAPWAP message by WTP, after having this CAPWAP message of cable card board process of CAPWAP tunnel disposal ability, forwards the message after decapsulation.The cable card board lacking CAPWAP tunnel disposal ability cannot process CAPWAP message, and therefore, current CAPWAP message transmission method exists the lower defect of flexibility.
In sum, at present owing to not having the cable card board of CAPWAP tunnel disposal ability cannot process CAPWAP message, therefore, there is the defect that flexibility is lower.
Summary of the invention
The embodiment of the present invention provides a kind of CAPWAP message transmission method and the network switch, in order to solve the lower defect of the current flexibility existed in the process of transmission CAPWAP message.
The concrete technical scheme that the embodiment of the present invention provides is as follows:
First aspect, provides a kind of wireless access point control and provides CAPWAP message transmission method, comprising:
The First Line clamp of the network switch receives the first message from wireless terminal point WTP, and wherein, described First Line clamp is first kind cable card board, and described first kind cable card board is the cable card board lacking CAPWAP tunnel disposal ability;
Described First Line clamp determines that described the first message from WTP is CAPWAP message;
Described first message is sent to the second cable card board of the described network switch by described First Line clamp, and wherein, described second cable card board is Second Type cable card board, and described Second Type cable card board is the cable card board with CAPWAP tunnel disposal ability.
In conjunction with first aspect, in the first possible implementation of first aspect, described first message is sent to described second cable card board by described First Line clamp, comprising:
Described first message, according to the mapping of described First Line clamp to described second cable card board, is sent to described second cable card board by described First Line clamp; Or
Described first message to the mapping of described second cable card board, is sent to described second cable card board according to the address of WTP described in described first message and the address of described WTP by described First Line clamp.
In conjunction with first aspect, or the first possible implementation of first aspect, in the implementation that the second of first aspect is possible, described First Line clamp also comprises after described first message is sent to described second cable card board:
Described second cable card board obtains CAPWAP tunnel list item corresponding to described first message, described CAPWAP tunnel list item comprises the address of the described WTP in the CAPWAP message head of described first message, the source port number of the CAPWAP message head of described first message and destination slogan;
First message described in described second cable card board decapsulation, obtains the source address of the first message after decapsulation;
The mapping of the source address of the first message after CAPWAP tunnel list item described in described second cable card board record and described decapsulation.
In conjunction with the implementation that the second of first aspect is possible, in the third possible implementation of first aspect, after the mapping of the source address of the first message after CAPWAP tunnel list item described in described second cable card board record and described decapsulation, also comprise:
The described network switch, by the mapping of the source address of the first message after the mark of described second cable card board and described decapsulation, is recorded in all first kind cable card boards of the described network switch.
In conjunction with second or the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, after the mapping of the source address of the first message after CAPWAP tunnel list item described in described second cable card board record and described decapsulation, also comprise:
The described network switch, by the mapping of the source address of the first message after described CAPWAP tunnel list item and described decapsulation, is synchronized to all Second Type cable card boards outside described second cable card board of the described network switch.
In conjunction with the 3rd or the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation of first aspect, described method also comprises:
3rd cable card board of the described network switch receives the second message, and described 3rd cable card board is first kind cable card board, and the destination address of described second message is identical with the source address of the first message after described decapsulation;
Described second message, according to the mapping of the source address of the first message after the mark of the destination address of described second message and described second cable card board and described decapsulation, is sent to described second cable card board by described 3rd cable card board;
Described second cable card board is according to the mapping of the source address of the first message after the destination address of described second message and described CAPWAP tunnel list item and described decapsulation, obtain described CAPWAP tunnel list item, and according to described second message of described CAPWAP tunnel list item encapsulation.
In conjunction with any one the possible implementation in the 3rd to the 5th kind of possible implementation of first aspect, in the 6th kind of possible implementation of first aspect, described method also comprises:
Described second cable card board receives the 3rd message, and the destination address of described 3rd message is identical with the source address of the first message after described decapsulation;
Described second cable card board is according to the mapping of the source address of the first message after the destination address of described 3rd message and described CAPWAP tunnel list item and described decapsulation, obtain described CAPWAP tunnel list item, and according to described 3rd message of described CAPWAP tunnel list item encapsulation.
Second aspect, a kind of network switch is provided, comprise backboard, First Line clamp and the second cable card board, described First Line clamp is connected by described backboard with described second cable card board, described First Line clamp is first kind cable card board, and described first kind cable card board is shortage wireless access point control and the cable card board providing CAPWAP tunnel disposal ability, and described second cable card board is Second Type cable card board, described Second Type cable card board is the cable card board with CAPWAP tunnel disposal ability, wherein:
Described First Line clamp, for receiving the first message from wireless terminal point WTP, determining that described the first message from WTP is CAPWAP message, and described first message is sent to the second cable card board of the described network switch;
Described second cable card board, for receiving described first message that described First Line clamp sends.
In conjunction with second aspect, in the first possible implementation of second aspect, described First Line clamp specifically for:
According to the mapping of described First Line clamp to described second cable card board, described first message is sent to described second cable card board; Or
According to the address of WTP described in described first message and the address of described WTP to the mapping of described second cable card board, described first message is sent to described second cable card board.
In conjunction with second aspect, or the first possible implementation of second aspect, in the implementation that the second of second aspect is possible, described second cable card board also for:
Obtain the CAPWAP tunnel list item that described first message is corresponding, described CAPWAP tunnel list item comprises the address of the described WTP in the CAPWAP message head of described first message, the source port number of the CAPWAP message head of described first message and destination slogan;
First message described in decapsulation, obtains the source address of the first message after decapsulation;
Record the mapping of the source address of the first message after described CAPWAP tunnel list item and described decapsulation.
In conjunction with the implementation that the second of second aspect is possible, in the third possible implementation of second aspect, the described network switch also comprises master control borad, and described master control borad is connected with described First Line clamp, described second cable card board by described backboard, wherein:
Described master control borad for the source address of the first message after the described decapsulation that receives described second cable card board and send, and by the map record of the source address of the first message after the mark of described second cable card board and described decapsulation in all first kind cable card boards of the described network switch.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect, the described network switch comprises multiple Second Type cable card board, described master control borad also for:
Receive the mapping of source address of the first message after the described CAPWAP tunnel list item and described decapsulation that described second cable card board sends, and the mapping of the source address of the first message after described CAPWAP tunnel list item and described decapsulation is synchronized to all Second Type cable card boards outside described second cable card board of the described network switch.
In conjunction with the implementation that the second of second aspect is possible, in the 5th kind of possible implementation of second aspect, described second cable card board is also for sending the mapping of the source address of the first message after the mark of described second cable card board and described decapsulation to all first kind cable card boards of the described network switch;
The mapping of the source address of the first message after the mark of the second cable card board described in all first kind cable card board records of the described network switch and described decapsulation.
In conjunction with the 5th kind of possible implementation of second aspect, in the 6th kind of possible implementation of second aspect, the described network switch comprises multiple Second Type cable card board, and described second cable card board is also synchronized to all Second Type cable card boards outside described second cable card board of the described network switch for the mapping of the source address by the first message after described CAPWAP tunnel list item and described decapsulation.
In conjunction with any one the possible implementation in the 3rd to the 6th kind of possible implementation of second aspect, in the 7th kind of possible implementation of second aspect, the described network switch also comprises the 3rd cable card board, described 3rd cable card board is connected with described master control borad, described First Line clamp, described second cable card board by described backboard, described 3rd cable card board is first kind cable card board, the destination address of described second message is identical with the source address of the first message after described decapsulation, wherein:
Described second message, for receiving the second message, according to the mapping of the source address of the first message after the destination address of described second message and the mark of described second cable card board and described decapsulation, is sent to described second cable card board by described 3rd cable card board;
Described second cable card board also for:
According to the mapping of the source address of the first message after the destination address of described second message and described CAPWAP tunnel list item and described decapsulation, obtain described CAPWAP tunnel list item, and according to described second message of described CAPWAP tunnel list item encapsulation.
In conjunction with any one the possible implementation in the 3rd to the 7th kind of possible implementation of second aspect, in the 8th kind of possible implementation of second aspect, described second cable card board also for:
Receive the 3rd message, the destination address of described 3rd message is identical with the source address of the first message after described decapsulation;
According to the mapping of the source address of the first message after the destination address of described 3rd message and described CAPWAP tunnel list item and described decapsulation, obtain described CAPWAP tunnel list item, and according to described 3rd message of described CAPWAP tunnel list item encapsulation.
Beneficial effect of the present invention is as follows:
Common, the cable card board lacking CAPWAP tunnel disposal ability cannot to CAPWAP message process, therefore, there is the problem that flexibility is lower, in the embodiment of the present invention, the First Line clamp of the network switch receives the first message from WTP, wherein, First Line clamp is first kind cable card board, and first kind cable card board is the cable card board lacking CAPWAP tunnel disposal ability, First Line clamp determines that from first message of WTP be CAPWAP message, first message is sent to the second cable card board of the network switch by First Line clamp, wherein, second cable card board is Second Type cable card board, Second Type cable card board is the cable card board with CAPWAP tunnel disposal ability, in this scenario, after determining that the First Line clamp of CAPWAP tunnel disposal ability receives CAPWAP message, CAPWAP message can be sent to the second cable card board, and the second cable card board has CAPWAP tunnel disposal ability, therefore, solving the cable card board without CAPWAP tunnel disposal ability cannot to the problem of CAPWAP message process, improve flexibility.
Accompanying drawing explanation
Fig. 1 is that tunnel forwards schematic diagram;
Fig. 2 A is the structural representation of the network switch;
Fig. 2 B is the detail flowchart of CAPWAP message transmission in the embodiment of the present invention;
Fig. 3 is the embodiment of CAPWAP message transmission in the embodiment of the present invention;
Fig. 4 is the entity structure schematic diagram of the network switch in the embodiment of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly described.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Below in conjunction with Figure of description, the preferred embodiment of the present invention is described in detail, be to be understood that, preferred embodiment described herein is only for instruction and explanation of the present invention, be not intended to limit the present invention, and when not conflicting, the feature in the embodiment of the present invention and embodiment can combine mutually.
The structure of the network switch as shown in Figure 2 A, mainly comprise: master control borad, backboard (English: backplane), power supply, there is CAPWAP tunnel disposal ability cable card board (English: linecardboard), and lack the cable card board of CAPWAP tunnel disposal ability, wherein:
Master control borad: for the process of network switch chain of command, the operations such as the calculating of such as Routing Protocol.Master control borad generally comprises central processing unit (English: centralprocessingunit, abbreviation: CPU).
Cable card board: for the process of network switch data surface, the operations such as such as message repeating.It is (English: linecardcircuit) that cable card board comprises line card chip.Line card chip can be that network processing unit is (English: networkprocessor, abbreviation: NP), application-specific integrated circuit (ASIC) is (English: application-specificintegratedcircuit, abbreviation: ASIC), programmable logic device (English: programmablelogicdevice, PLD) or its combination abbreviation:.Above-mentioned PLD can be that CPLD is (English: complexprogrammablelogicdevice, abbreviation: CPLD), field programmable gate array is (English: field-programmablegatearray, abbreviation: FPGA), GAL (English: genericarraylogic, GAL) or its combination abbreviation:.
Backboard: for providing the connection between multiple cable card board, between cable card board and master control borad.
Power supply: for providing electric energy for the network switch.
Below in conjunction with accompanying drawing, the preferred embodiment of the present invention is described in detail.
Consult shown in Fig. 2 B, in the embodiment of the present invention, a kind of detailed process of CAPWAP message transmission is as follows:
Step 200: the First Line clamp of the network switch receives the first message from WTP, and wherein, First Line clamp is first kind cable card board, first kind cable card board is the cable card board lacking CAPWAP tunnel disposal ability.
Step 210: First Line clamp determines that from first message of WTP be CAPWAP message.
Step 220: the first message is sent to the second cable card board of the network switch by First Line clamp, wherein, the second cable card board is Second Type cable card board, and Second Type cable card board is the cable card board with CAPWAP tunnel disposal ability.
Message is sent to WTP by STA, and WTP obtains CAPWAP message, i.e. the first message after the message received is carried out CAPWAP encapsulation process.WTP sends this first message to the network switch, includes the message that STA sends in the first message.
In the embodiment of the present invention, when First Line clamp determines that the first message from WTP is CAPWAP message, can in the following way:
According to the object User Datagram Protoco (UDP) of the first message, (English: UserDatagramProtocol, abbreviation: UDP) port numbers, determines that from first message of WTP be CAPWAP message to First Line clamp.
Wherein, the object UDP port number of the first message is 5246 or 5247, then the first message is CAPWAP message.
If only have a Second Type cable card board in the network switch, i.e. the second cable card board, then the first message is sent to this unique Second Type cable card board by First Line clamp.Concrete, all record the Second Type cable card board that this is unique in all first kind cable card boards, i.e. the mark of the second cable card board.Namely have First Line clamp in First Line clamp to the mapping of the second cable card board, the first message, according to the mapping of First Line clamp to the second cable card board, is sent to the second cable card board by First Line clamp.
If the network switch comprises multiple Second Type cable card board, the CAPWAP message that first kind cable card boards different in the network switch receives, can be sent to different Second Type cable card boards respectively.When first message is sent to the second cable card board by First Line clamp, the following two kinds mode can be adopted:
Mode one: the first message, according to the mapping of First Line clamp to the second cable card board, is sent to the second cable card board by First Line clamp.
Mode two: the first message to the mapping of the second cable card board, is sent to the second cable card board according to the address of WTP in the first message and the address of WTP by First Line clamp.
If adopt mode one, before the first message is sent to the second cable card board, First Line clamp first searches for the mapping of First Line clamp to the second cable card board, if search this mapping, then according to this mapping, the first message is sent to the second cable card board.If search is less than this mapping, then First Line clamp is according to predetermined rule, such as, according to the load of Second Type cable card board, selects one as the second cable card board, the first message is sent to this second cable card board in multiple Second Type cable card board.First Line clamp record First Line clamp is to the mapping of the second cable card board, and the CAPWAP message that First Line clamp receives afterwards is all sent to this second cable card board.
If adopt mode two, before the first message is sent to the second cable card board, First Line clamp first searches for the mapping of address to the second cable card board of WTP in the first message, if search this mapping, then according to this mapping, the first message is sent to the second cable card board.If search is less than this mapping, then First Line clamp is according to predetermined rule, such as, according to the load of Second Type cable card board, selects one as the second cable card board, the first message is sent to this second cable card board in multiple Second Type cable card board.The address of this WTP of First Line clamp record is to the mapping of the second cable card board, and the CAPWAP message from this WTP that First Line clamp receives afterwards is all sent to this second cable card board.If receive the CAPWAP message that new WTP sends, then reselect a Second Type cable card board.
After each WTP sends CAPWAP message to Second Type cable card board, Second Type cable card board will generate a CAPWAP tunnel list item, therefore, the CAPWAP tunnel list item stored in Second Type cable card board is more, the space of remaining storage CAPWAP tunnel list item is less, illustrates that the WTP that this second cable card board manages is more.Therefore, have in the scene of multiple Second Type cable card board in the network switch, in order to the load of each Second Type cable card board balanced, further, the remaining space of CAPWAP tunnel list item is stored in this cable card board that each Second Type cable card board that First Line clamp receives the network switch sends.Needs Second Type cable card board select one as the second cable card board time, First Line clamp selects the Second Type cable card board with the maximum residual space storing CAPWAP tunnel list item as the second cable card board.
Such as, the network switch inserts altogether 10 cable card boards, wherein 1-5 cable card board is first kind cable card board, 6-10 cable card board is Second Type cable card board, and the gross space that each cable card board in 6-10 cable card board can store CAPWAP tunnel list item is 1K, if the remaining space that 6-10 cable card board can store CAPWAP tunnel list item is respectively 0.5K, 0.4K, 0.3K, 0.3K, 0.2K, so, after Line 1 clamp receives CAPWAP message, CAPWAP message is sent to No. 6 cable card boards.
In the embodiment of the present invention, CAPWAP tunnel list item can be kept on the forwarding chip of Second Type cable card board.
In the embodiment of the present invention, First Line clamp also comprises following operation after the first message is sent to the second cable card board:
Second cable card board obtains CAPWAP tunnel list item corresponding to the first message, and CAPWAP tunnel list item comprises the address of the WTP in the CAPWAP message head of the first message, the source port number of the CAPWAP message head of the first message and destination slogan;
Second cable card board decapsulation first message, obtains the source address of the first message after decapsulation;
The mapping of the source address of the first message after the second cable card board record CAPWAP tunnel list item and decapsulation.
Wherein, the source address of the first message can be the MAC Address of STA.
In the embodiment of the present invention, be sent to the message of WTP to make First Line clamp receive after, this message can be sent to corresponding second cable card board, after the mapping of the source address of the first message after the second cable card board record CAPWAP tunnel list item and decapsulation, the network switch, by the mapping of the source address of the first message after the mark of the second cable card board and decapsulation, is recorded in all first kind cable card boards of the network switch.
Optionally, if the network switch comprises multiple Second Type cable card board, after receiving to make the Second Type cable card board outside the second cable card board the message being sent to WTP, this message can be directly encapsulated according to CAPWAP tunnel list item, and do not need to be forwarded to the second cable card board, after the mapping of the source address of the first message after the second cable card board record CAPWAP tunnel list item and decapsulation, the network switch, by the mapping of the source address of the first message after CAPWAP tunnel list item and decapsulation, is synchronized to all Second Type cable card boards outside the second cable card board.
In the mapping of the network switch by the source address of the first message after the mark of the second cable card board and decapsulation, when being recorded in all first kind cable card boards of the network switch, can be that master control borad in the network switch does, also can be that the second cable card board in the network switch does, that is can have two kinds of modes:
Mode one: master control borad receives the source address of the first message after the decapsulation of the second cable card board transmission, and by the map record of the source address of the first message after the mark of the second cable card board and decapsulation in all first kind cable card boards of the network switch;
Mode two: the second cable card board sends the mapping of the source address of the first message after the mark of the second cable card board and decapsulation to all first kind cable card boards of the network switch;
The mapping of the source address of the first message after the mark of all first kind cable card board record second cable card boards of the network switch and decapsulation.
Same, in the mapping of the network switch by the source address of the first message after CAPWAP tunnel list item and decapsulation, when being synchronized to all Second Type cable card boards outside the second cable card board, can be that master control borad in the network switch does, also can be that the second cable card board in the network switch does, that is can have two kinds of modes:
Mode one: master control borad receives the mapping of source address of the first message after the CAPWAP tunnel list item and decapsulation that the second cable card board sends, and the mapping of the source address of the first message after CAPWAP tunnel list item and decapsulation is synchronized to all Second Type cable card boards outside the second cable card board of the network switch;
The mapping of the source address of the first message after CAPWAP tunnel list item and decapsulation is synchronized to all Second Type cable card boards outside the second cable card board of the network switch by mode two: the second cable card board.
What said process was told about is that message is sent to the network switch by WTP, and in the embodiment of the present invention, message also may be sent to WTP by the network switch, and therefore, said method also comprises following operation:
3rd cable card board of the network switch receives the second message, and the 3rd cable card board is first kind cable card board, and the destination address of the second message is identical with the source address of the first message after decapsulation.Second message, according to the mapping of the source address of the first message after the mark of the destination address of the second message and the second cable card board and decapsulation, is sent to the second cable card board by the 3rd cable card board.Other first kind cable card board, as First Line clamp, if receive the destination address message identical with the source address of the first message after decapsulation, also performs same operation so that this message is sent to the second cable card board.
Second cable card board, according to the mapping of the source address of the first message after the destination address of the second message and CAPWAP tunnel list item and decapsulation, obtains CAPWAP tunnel list item, and encapsulates the second message according to CAPWAP tunnel list item.
In the embodiment of the present invention, also comprise following operation:
Second cable card board receives the 3rd message, and the destination address of the 3rd message is identical with the source address of the first message after decapsulation;
Second cable card board, according to the mapping of the source address of the first message after the destination address of the 3rd message and CAPWAP tunnel list item and decapsulation, obtains CAPWAP tunnel list item, and according to CAPWAP tunnel list item encapsulation the 3rd message.
Other Second Type cable card board, as the 4th cable card board, if receive the destination address message identical with the source address of the first message after decapsulation, also performs similar operations.Owing to having saved the mapping of the source address of the first message after synchronous CAPWAP tunnel list item and decapsulation in the 4th cable card board, the 4th cable card board according to this mapping, can obtain CAPWAP tunnel list item, and according to CAPWAP tunnel list item encapsulation the 3rd message.
Optionally, when the first message is sent to the second cable card board by First Line clamp, (English: RedirectSpecialPort at the special reorientation port of the first message outer package, abbreviation: RDSP), RSDP is used for notifying that the second cable card board first message is CAPWAP message, to make the second cable card board without the need to again determining the type of the first message.
Interchangeable, in another scene, First Line clamp also can at the port of common sensing second cable card board of the first message outer package, and the second cable card board determines after receiving the first message that the first message is CAPWAP message.
Still be described for that embodiment above: when the CAPWAP message determined is sent to No. 6 cable card boards by Line 1 clamp, the CAPWAP message outer package RSDP determined, for notifying No. 6 cable card boards, Line 1 clamp is CAPWAP message to the message that No. 6 cable card boards send, No. 6 cable card boards do not need the type again determining the message that Line 1 clamp sends, the RSDP of the message outer package that No. 6 cable card boards send according to Line 1 clamp determines that this message is CAPWAP message, directly decapsulation process is carried out to the CAPWAP message that Line 1 clamp sends, and send the message after decapsulation, if Line 1 clamp is not in the words of the CAPWAP message outer package RSDP determined, No. 6 cable card boards first will judge the type receiving the message that Line 1 clamp sends, when the type judging message is CAPWAP message, again decapsulation process is carried out to the message that Line 1 clamp sends, and send the message after decapsulation.
In order to understand the embodiment of the present invention better, below providing embody rule scene, for the process of CAPWAP message transmission, making and describing in further detail, as shown in Figure 3 (WTP sends message to the network switch):
Line 1 clamp and No. 2 cable card boards all do not have CAPWAP tunnel disposal ability, the cable card board that No. 5 cable card boards send for CAPWAP message that Line 1 clamp is determined.
Step 300:1 cable card board receives the first message from WTP.
Step 310:1 cable card board from receive from first message of WTP according to object UDP port number, be defined as CAPWAP message, the first message be sent to No. 5 cable card boards.
In this step, first message outer package RSDP.
Step 320:5 cable card board receives the first message that Line 1 clamp sends, and determines that the message that Line 1 clamp sends is CAPWAP message according to the RDSP of encapsulation.
Step 330:5 cable card board obtains CAPWAP tunnel list item corresponding to the first message, decapsulation first message, obtains the source address of the first message after decapsulation; And record the mapping of the source address of the first message after CAPWAP tunnel list item and decapsulation, then send.
In this embodiment, the CAPWAP message received is sent to No. 5 cable card boards by Line 1 clamp, send after No. 5 cable card boards perform the relevant treatment such as decapsulation to CAPWAP message, solve the defect that CAPWAP message cannot send by Line 1 clamp, improve the flexibility of transmission CAPWAP message.
In the embodiment of the present invention, Line 1 clamp may receive the second message being sent to WTP, and therefore, said process also comprises following operation:
Step 340:1 cable card board receives the second message, and the destination address of the second message is identical with the source address of the first message after decapsulation.
Second message, according to the mapping of the source address of the first message after the mark of the destination address of the second message and No. 5 cable card boards and decapsulation, is sent to No. 5 cable card boards by step 350:1 cable card board.
Step 360:5 cable card board is according to the mapping of the source address of the first message after the destination address of the second message and CAPWAP tunnel list item and decapsulation, obtain CAPWAP tunnel list item, and encapsulate the second message according to CAPWAP tunnel list item, and the second message after encapsulation is sent to WTP.
In this embodiment, the message received is sent to No. 5 cable card boards by Line 1 clamp, after No. 5 cable card boards perform the relevant treatment such as encapsulation to message, is sent to WTP, solve the defect that CAPWAP message cannot be sent to WTP by Line 1 clamp, improve the flexibility of transmission CAPWAP message.
Based on technique scheme, consult shown in Fig. 4, the embodiment of the present invention provides a kind of network switch, comprise backboard 40, First Line clamp 41 and the second cable card board 42, First Line clamp 41 is connected by backboard 40 with the second cable card board 42, First Line clamp 41 is first kind cable card board, first kind cable card board is the cable card board lacking CAPWAP tunnel disposal ability, second cable card board 42 is Second Type cable card board, Second Type cable card board is the cable card board with CAPWAP tunnel disposal ability, wherein:
First Line clamp 41, for receiving from the first message without WTP, determining that from first message of WTP be CAPWAP message, and the first message being sent to the second cable card board 42 of the network switch;
Second cable card board 42, for receiving the first message that First Line clamp 41 sends.
In the embodiment of the present invention, optionally, First Line clamp 41 specifically for:
According to the mapping of First Line clamp 41 to the second cable card board 42, the first message is sent to the second cable card board 42; Or
According to the address of WTP in the first message and the address of WTP to the mapping of the second cable card board 42, the first message is sent to the second cable card board 42.
In the embodiment of the present invention, further, the second cable card board 42 also for:
Obtain the CAPWAP tunnel list item that the first message is corresponding, CAPWAP tunnel list item comprises the address of the WTP in the CAPWAP message head of the first message, the source port number of the CAPWAP message head of the first message and destination slogan;
Decapsulation first message, obtains the source address of the first message after decapsulation;
Record the mapping of the source address of the first message after CAPWAP tunnel list item and decapsulation.
In the embodiment of the present invention, further, the network switch also comprises master control borad 43, and master control borad is connected with First Line clamp 41, second cable card board 42 by backboard 40, wherein:
Master control borad 43 for the source address of the first message after the decapsulation that receives the second cable card board 42 and send, and by the map record of the source address of the first message after the mark of the second cable card board 42 and decapsulation in all first kind cable card boards of the network switch.
In the embodiment of the present invention, further, the network switch comprises multiple Second Type cable card board, master control borad 43 also for:
Receive the mapping of source address of the first message after the CAPWAP tunnel list item and decapsulation that the second cable card board 42 sends, and the mapping of the source address of the first message after CAPWAP tunnel list item and decapsulation is synchronized to all Second Type cable card boards outside the second cable card board 42 of the network switch.
In the embodiment of the present invention, optionally, the second cable card board 42 is also for sending the mapping of the source address of the first message after the mark of the second cable card board 42 and decapsulation to all first kind cable card boards of the network switch;
The mapping of the source address of the first message after the mark of all first kind cable card board record second cable card boards 42 of the network switch and decapsulation.
In the embodiment of the present invention, optionally, the network switch comprises multiple Second Type cable card board, and the second cable card board 42 is also synchronized to all Second Type cable card boards outside the second cable card board 42 of the network switch for the mapping of the source address by the first message after CAPWAP tunnel list item and decapsulation.
In the embodiment of the present invention, further, the network switch also comprises the 3rd cable card board 44,3rd cable card board 44 is connected with master control borad 43, First Line clamp 41, second cable card board 42 by backboard 40,3rd cable card board 44 is first kind cable card board, the destination address of the second message is identical with the source address of the first message after decapsulation, wherein:
Second message, for receiving the second message, according to the mapping of the source address of the first message after the destination address of the second message and the mark of the second cable card board 42 and decapsulation, is sent to the second cable card board 42 by the 3rd cable card board 44;
Second cable card board 42 also for:
According to the mapping of the source address of the first message after the destination address of the second message and CAPWAP tunnel list item and decapsulation, obtain CAPWAP tunnel list item, and encapsulate the second message according to CAPWAP tunnel list item.
In the embodiment of the present invention, further, the second cable card board 42 also for:
Receive the 3rd message, the destination address of the 3rd message is identical with the source address of the first message after decapsulation;
According to the mapping of the source address of the first message after the destination address of the 3rd message and CAPWAP tunnel list item and decapsulation, obtain CAPWAP tunnel list item, and according to CAPWAP tunnel list item encapsulation the 3rd message.
In sum, in the embodiment of the present invention, a kind of method transmitting CAPWAP message is proposed: the First Line clamp of the network switch receives the first message from WTP, wherein, First Line clamp is first kind cable card board, and first kind cable card board is the cable card board lacking CAPWAP tunnel disposal ability, First Line clamp determines that from first message of WTP be CAPWAP message, first message is sent to the second cable card board of the network switch by First Line clamp, wherein, second cable card board is Second Type cable card board, Second Type cable card board is the cable card board with CAPWAP tunnel disposal ability, in this scenario, after the First Line clamp without CAPWAP tunnel disposal ability receives CAPWAP message, CAPWAP message can be sent to the second cable card board, and the second cable card board has CAPWAP tunnel disposal ability, therefore, solving the cable card board without CAPWAP tunnel disposal ability cannot to the problem of CAPWAP message process, improve the flexibility of transmission CAPWAP message.
Obviously, those skilled in the art can carry out various change and modification to the embodiment of the present invention and not depart from the scope of the embodiment of the present invention.Like this, if these amendments of the embodiment of the present invention and modification belong within the scope of the claims in the present invention, then the present invention is also intended to comprise these change and modification.

Claims (16)

1. wireless access point control and provide a CAPWAP message transmission method, is characterized in that, comprising:
The First Line clamp of the network switch receives the first message from wireless terminal point WTP, and wherein, described First Line clamp is first kind cable card board, and described first kind cable card board is the cable card board lacking CAPWAP tunnel disposal ability;
Described First Line clamp determines that described the first message from WTP is CAPWAP message;
Described first message is sent to the second cable card board of the described network switch by described First Line clamp, and wherein, described second cable card board is Second Type cable card board, and described Second Type cable card board is the cable card board with CAPWAP tunnel disposal ability.
2. the method for claim 1, is characterized in that, described first message is sent to described second cable card board by described First Line clamp, comprising:
Described first message, according to the mapping of described First Line clamp to described second cable card board, is sent to described second cable card board by described First Line clamp; Or
Described first message to the mapping of described second cable card board, is sent to described second cable card board according to the address of WTP described in described first message and the address of described WTP by described First Line clamp.
3. method as claimed in claim 1 or 2, it is characterized in that, described First Line clamp also comprises after described first message is sent to described second cable card board:
Described second cable card board obtains CAPWAP tunnel list item corresponding to described first message, described CAPWAP tunnel list item comprises the address of the described WTP in the CAPWAP message head of described first message, the source port number of the CAPWAP message head of described first message and destination slogan;
First message described in described second cable card board decapsulation, obtains the source address of the first message after decapsulation;
The mapping of the source address of the first message after CAPWAP tunnel list item described in described second cable card board record and described decapsulation.
4. method as claimed in claim 3, is characterized in that, after the mapping of the source address of the first message after CAPWAP tunnel list item described in described second cable card board record and described decapsulation, also comprises:
The described network switch, by the mapping of the source address of the first message after the mark of described second cable card board and described decapsulation, is recorded in all first kind cable card boards of the described network switch.
5. the method as described in claim 3 or 4, it is characterized in that, the described network switch comprises multiple Second Type cable card board, after the mapping of the source address of the first message after CAPWAP tunnel list item described in described second cable card board record and described decapsulation, also comprises:
The described network switch, by the mapping of the source address of the first message after described CAPWAP tunnel list item and described decapsulation, is synchronized to all Second Type cable card boards outside described second cable card board of the described network switch.
6. the method as described in claim 4 or 5, is characterized in that, described method also comprises:
3rd cable card board of the described network switch receives the second message, and described 3rd cable card board is first kind cable card board, and the destination address of described second message is identical with the source address of the first message after described decapsulation;
Described second message, according to the mapping of the source address of the first message after the mark of the destination address of described second message and described second cable card board and described decapsulation, is sent to described second cable card board by described 3rd cable card board;
Described second cable card board is according to the mapping of the source address of the first message after the destination address of described second message and described CAPWAP tunnel list item and described decapsulation, obtain described CAPWAP tunnel list item, and according to described second message of described CAPWAP tunnel list item encapsulation.
7. as the method in claim 4 to 6 as described in any one, it is characterized in that, described method also comprises:
Described second cable card board receives the 3rd message, and the destination address of described 3rd message is identical with the source address of the first message after described decapsulation;
Described second cable card board is according to the mapping of the source address of the first message after the destination address of described 3rd message and described CAPWAP tunnel list item and described decapsulation, obtain described CAPWAP tunnel list item, and according to described 3rd message of described CAPWAP tunnel list item encapsulation.
8. a network switch, it is characterized in that, comprise backboard, First Line clamp and the second cable card board, described First Line clamp is connected by described backboard with described second cable card board, described First Line clamp is first kind cable card board, and described first kind cable card board is shortage wireless access point control and the cable card board providing CAPWAP tunnel disposal ability, and described second cable card board is Second Type cable card board, described Second Type cable card board is the cable card board with CAPWAP tunnel disposal ability, wherein:
Described First Line clamp, for receiving the first message from wireless terminal point WTP, determining that described the first message from WTP is CAPWAP message, and described first message is sent to the second cable card board of the described network switch;
Described second cable card board, for receiving described first message that described First Line clamp sends.
9. the network switch as claimed in claim 8, is characterized in that, described First Line clamp specifically for:
According to the mapping of described First Line clamp to described second cable card board, described first message is sent to described second cable card board; Or
According to the address of WTP described in described first message and the address of described WTP to the mapping of described second cable card board, described first message is sent to described second cable card board.
10. the as claimed in claim 8 or 9 network switch, is characterized in that, described second cable card board also for:
Obtain the CAPWAP tunnel list item that described first message is corresponding, described CAPWAP tunnel list item comprises the address of the described WTP in the CAPWAP message head of described first message, the source port number of the CAPWAP message head of described first message and destination slogan;
First message described in decapsulation, obtains the source address of the first message after decapsulation;
Record the mapping of the source address of the first message after described CAPWAP tunnel list item and described decapsulation.
11. network switchs as claimed in claim 10, it is characterized in that, the described network switch also comprises master control borad, and described master control borad is connected with described First Line clamp, described second cable card board by described backboard, wherein:
Described master control borad for the source address of the first message after the described decapsulation that receives described second cable card board and send, and by the map record of the source address of the first message after the mark of described second cable card board and described decapsulation in all first kind cable card boards of the described network switch.
12. network switchs as claimed in claim 11, it is characterized in that, the described network switch comprises multiple Second Type cable card board, described master control borad also for:
Receive the mapping of source address of the first message after the described CAPWAP tunnel list item and described decapsulation that described second cable card board sends, and the mapping of the source address of the first message after described CAPWAP tunnel list item and described decapsulation is synchronized to all Second Type cable card boards outside described second cable card board of the described network switch.
13. network switchs as claimed in claim 10, it is characterized in that, described second cable card board is also for sending the mapping of the source address of the first message after the mark of described second cable card board and described decapsulation to all first kind cable card boards of the described network switch;
The mapping of the source address of the first message after the mark of the second cable card board described in all first kind cable card board records of the described network switch and described decapsulation.
14. network switchs as claimed in claim 13, it is characterized in that, the described network switch comprises multiple Second Type cable card board, and described second cable card board is also synchronized to all Second Type cable card boards outside described second cable card board of the described network switch for the mapping of the source address by the first message after described CAPWAP tunnel list item and described decapsulation.
15. as the network switch in claim 11 to 14 as described in any one, it is characterized in that, the described network switch also comprises the 3rd cable card board, described 3rd cable card board is connected with described master control borad, described First Line clamp, described second cable card board by described backboard, described 3rd cable card board is first kind cable card board, the destination address of described second message is identical with the source address of the first message after described decapsulation, wherein:
Described second message, for receiving the second message, according to the mapping of the source address of the first message after the destination address of described second message and the mark of described second cable card board and described decapsulation, is sent to described second cable card board by described 3rd cable card board;
Described second cable card board also for:
According to the mapping of the source address of the first message after the destination address of described second message and described CAPWAP tunnel list item and described decapsulation, obtain described CAPWAP tunnel list item, and according to described second message of described CAPWAP tunnel list item encapsulation.
16., as the network switch in claim 11 to 15 as described in any one, is characterized in that, described second cable card board also for:
Receive the 3rd message, the destination address of described 3rd message is identical with the source address of the first message after described decapsulation;
According to the mapping of the source address of the first message after the destination address of described 3rd message and described CAPWAP tunnel list item and described decapsulation, obtain described CAPWAP tunnel list item, and according to described 3rd message of described CAPWAP tunnel list item encapsulation.
CN201410425959.XA 2014-08-26 2014-08-26 CAPWAP message transmission method and the network switch Active CN105471768B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410425959.XA CN105471768B (en) 2014-08-26 2014-08-26 CAPWAP message transmission method and the network switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410425959.XA CN105471768B (en) 2014-08-26 2014-08-26 CAPWAP message transmission method and the network switch

Publications (2)

Publication Number Publication Date
CN105471768A true CN105471768A (en) 2016-04-06
CN105471768B CN105471768B (en) 2018-11-06

Family

ID=55609057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410425959.XA Active CN105471768B (en) 2014-08-26 2014-08-26 CAPWAP message transmission method and the network switch

Country Status (1)

Country Link
CN (1) CN105471768B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547479A (en) * 2016-06-29 2018-01-05 迈普通信技术股份有限公司 IPsec implementation method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080189360A1 (en) * 2007-02-06 2008-08-07 5O9, Inc. A Delaware Corporation Contextual data communication platform
CN102547583A (en) * 2010-12-17 2012-07-04 上海贝尔股份有限公司 Method, device and system for multicast service transmission control in wireless local area network system
CN102868647A (en) * 2012-09-26 2013-01-09 大唐移动通信设备有限公司 Data processing method and device based on Linux network core
CN102946619A (en) * 2012-11-30 2013-02-27 武汉虹信通信技术有限责任公司 Load balancing method for bypass data of WLAN (wireless local area network)
CN103517446A (en) * 2012-06-20 2014-01-15 中兴通讯股份有限公司 Access controller (AC), wireless local area network system and wireless access method based on system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080189360A1 (en) * 2007-02-06 2008-08-07 5O9, Inc. A Delaware Corporation Contextual data communication platform
CN102547583A (en) * 2010-12-17 2012-07-04 上海贝尔股份有限公司 Method, device and system for multicast service transmission control in wireless local area network system
CN103517446A (en) * 2012-06-20 2014-01-15 中兴通讯股份有限公司 Access controller (AC), wireless local area network system and wireless access method based on system
CN102868647A (en) * 2012-09-26 2013-01-09 大唐移动通信设备有限公司 Data processing method and device based on Linux network core
CN102946619A (en) * 2012-11-30 2013-02-27 武汉虹信通信技术有限责任公司 Load balancing method for bypass data of WLAN (wireless local area network)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张印熙: "网络控制系统实验平台的开发", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547479A (en) * 2016-06-29 2018-01-05 迈普通信技术股份有限公司 IPsec implementation method and device

Also Published As

Publication number Publication date
CN105471768B (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN102571587B (en) Method and equipment for forwarding messages
CN105722055A (en) User roaming method, device and system in wireless local area network (WLAN)
CN105515992A (en) Method and device for processing flow table items of VXLAN network
CN104885416A (en) Bridging network devices in a hybrid communication network
CN108810876A (en) Communication means and relevant device
CN104995902A (en) Methods and systems for seamless network communication between IPV4 and IPV6 devices
CN102857414A (en) Forwarding table writing method and device and message forwarding method and device
CN107645433B (en) Message forwarding method and device
CN105490884A (en) VXLAN tunnel detection method and apparatus
WO2022048412A1 (en) Method for generating table item, method for sending message, device, and system
CN105577500A (en) Association method of VXLAN and tunnel and apparatus thereof
CN104753789A (en) Message forwarding method and system
CN105634901A (en) MAC address information synchronization method and device based on CAS VXLAN
CN107770087A (en) Router switching method and device of the Internet of Things based on connection quantity
CN107846715A (en) Access point switching method and device of the Internet of Things based on transmission rate
CN102904814B (en) Data transmission method, source PE, object PE and data transmission system
CN115065637A (en) Method and device for transmitting computing power resource information and electronic equipment
CN104486226B (en) A kind of message processing method and device
CN113179215B (en) Networking communication method, system, node device, storage medium and electronic device
CN104579973A (en) Message forwarding method and device of virtual cluster
EP3852320A1 (en) Message generation method and apparatus, and message processing method and apparatus
JP2024504466A (en) Packet forwarding methods, packet processing methods, and devices
CN105471768A (en) CAPWAP message transmission method and network switch
CN106331211A (en) Method and system for accessing IPv4 resource through IPv6 address
CN108156066B (en) Message forwarding method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant