CN104768176B - The method, apparatus that sFlow is sampled in wireless network - Google Patents
The method, apparatus that sFlow is sampled in wireless network Download PDFInfo
- Publication number
- CN104768176B CN104768176B CN201510178648.2A CN201510178648A CN104768176B CN 104768176 B CN104768176 B CN 104768176B CN 201510178648 A CN201510178648 A CN 201510178648A CN 104768176 B CN104768176 B CN 104768176B
- Authority
- CN
- China
- Prior art keywords
- sflow
- equipment
- accounting messages
- address
- configuration information
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000005070 sampling Methods 0.000 claims abstract description 32
- 238000012856 packing Methods 0.000 claims abstract description 18
- 238000012545 processing Methods 0.000 claims description 12
- 238000004891 communication Methods 0.000 claims description 11
- 238000005538 encapsulation Methods 0.000 claims description 10
- 230000004048 modification Effects 0.000 claims description 9
- 238000012986 modification Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 8
- OVGWMUWIRHGGJP-WVDJAODQSA-N (z)-7-[(1s,3r,4r,5s)-3-[(e,3r)-3-hydroxyoct-1-enyl]-6-thiabicyclo[3.1.1]heptan-4-yl]hept-5-enoic acid Chemical compound OC(=O)CCC\C=C/C[C@@H]1[C@@H](/C=C/[C@H](O)CCCCC)C[C@@H]2S[C@H]1C2 OVGWMUWIRHGGJP-WVDJAODQSA-N 0.000 description 5
- 101000988961 Escherichia coli Heat-stable enterotoxin A2 Proteins 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000006855 networking Effects 0.000 description 4
- 101100161473 Arabidopsis thaliana ABCB25 gene Proteins 0.000 description 3
- 101000752249 Homo sapiens Rho guanine nucleotide exchange factor 3 Proteins 0.000 description 3
- 101100096893 Mus musculus Sult2a1 gene Proteins 0.000 description 3
- 102100021689 Rho guanine nucleotide exchange factor 3 Human genes 0.000 description 3
- 101150081243 STA1 gene Proteins 0.000 description 3
- 230000003139 buffering effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000006872 improvement Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 238000007619 statistical method Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000686 essence Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
This application discloses the methods sampled of sFlow in wireless network and sFlow sampling apparatuses, sFlow agent apparatus, the radio interface information of configuration information, AC equipment that this method reception access controller AC equipment issues, the configuration information is for encapsulating sFlow accounting messages;The message acquired packing is packaged into sFlow accounting messages according to the configuration information;The radio interface information is carried in the sFlow accounting messages;The sFlow accounting messages are issued into the AC equipment.The application can reduce the occupancy to the channels capwap.
Description
Technical field
This application involves sFlow in the method for realizing sFlow technologies in wireless network more particularly to a kind of wireless network to adopt
The method and sFlow sampling apparatuses of sample, sFlow agent apparatus.
Background technology
SFlow (Sampled Flow, sample streams) is a kind of network flow monitoring technology based on packet sampling, main to use
In for statistical analysis to network flow.
SFlow systems in cable network include embedded sFlow Agent (sFlow agencies) and distal end in a device
SFlow Collector (sFlow collectors).Wherein, sFlow Agent obtain the statistical information of its interface by sampling mechanism
And packet information, and by Information encapsulation at sFlow accounting messages, when the buffering area of storage sFlow accounting messages is full or
After sFlow accounting messages transmission timer (Timer interval is fixed as 1 second) time-out, sFlow messages can be encapsulated in UDP
Specified sFlow Collector are sent in message.The interface message carried in sFlow accounting messages can on interchanger
The information of interface mib (Management Information Base, management information bank) be compared.sFlow
Collector can analyze sFlow accounting messages, and show analysis result, and a sFlow Collector can be monitored
Multiple sFlow Agent.
It is accessed in network in wireless device, pipe is come by wireless AC (access controlor, access controller) equipment
The networking mode for managing multiple AP (Access Point, access point) equipment is known as thin AP (FIT AP, thin AP).In thin AP networkings mould
Under formula realize sFlow technologies when, for due to AP functions of the equipments it is not perfect, cannot achieve routing and interface mib function, therefore only
SFlow functions are opened in configuration in AC equipment, and the flow of AP equipment is monitored by the wireless interface of AC equipment, realize sFlow
Characteristic.AC equipment needs sampling rule being handed down to AP equipment.The message received is adopted according to what AC equipment issued in AP equipment
Control gauge is then sampled, and the message of sampling is sent to AC equipment one by one by the data channel of capwap agreement defineds.
AC equipment receives sFlow in AP equipment and samples the message to come, then is packaged to the message sampled, when buffering area is full or
SFlow accounting messages can be just sent out when timer expiry.
Said program is the disadvantage is that AP equipment often adopts to a message capwap that will be occupied between AP equipment and AC equipment
Message is sent to AC equipment by data channel, influences whether the forwarding performance of normal data message in this way.
Invention content
The application provides the method and sFlow sampling apparatuses, sFlow agent apparatus that sFlow is sampled in a kind of wireless network,
The occupancy to the channels capwap can be reduced.
It, should according to the embodiment of the present application in a first aspect, the method for providing sample streams sFlow samplings in a kind of wireless network
Method runs on access point AP equipment, and the method comprising the steps of:
The radio interface information of configuration information, AC equipment that reception access controller AC equipment issues, the configuration information
For encapsulating sFlow accounting messages;
The message acquired packing is packaged into sFlow accounting messages according to the configuration information;The sFlow statistics report
The radio interface information is carried in text;
The sFlow accounting messages are issued into the AC equipment.
According to the second aspect of the embodiment of the present application, the side of the sample streams sFlow samplings in another wireless network is provided
Method, this method run on access controller AC equipment, and the method comprising the steps of:
When carrying out sFlow configurations, the radio interface information of configuration information and AC equipment is handed down to access point AP equipment;
The configuration information is used to encapsulate sFlow accounting messages in the AP equipment;
Judge whether received message is that the AP sends sFlow accounting messages, if it is, by the sFlow
The source address modification of IP heads in accounting message is the outer net address of the AC equipment, and destination address is revised as sFlow collectors
IP address, and issue the sFlow collectors.
According to the third aspect of the embodiment of the present application, a kind of device of sample streams sFlow samplings in wireless network is provided, it should
Device is located at access point AP equipment, including:
Communication module, the radio interface information for receiving the configuration information that access controller AC equipment issues, AC equipment,
The configuration information is for encapsulating sFlow accounting messages;And sFlow accounting messages are issued into the AC equipment;
Processing module, for the message acquired packing to be packaged into the sFlow statistics report according to the configuration information
Text;The radio interface information is carried in the sFlow accounting messages.
According to the fourth aspect of the embodiment of the present application, a kind of device of the sample streams sFlow samplings in wireless network is provided,
The device is located at access controller AC equipment, including:
Communication module, for when carrying out sFlow configurations, the radio interface information of configuration information and AC equipment to be handed down to
Access point AP equipment;The configuration information is used to encapsulate sFlow accounting messages in the AP equipment;
Processing module, for judging whether received message is the AP transmissions sFlow accounting messages, if so,
Then by the outer net address that the source address modification of the IP heads in the sFlow accounting messages is the AC equipment, destination address modification
For the IP address of sFlow collectors, and issue the sFlow collectors.
According to the 5th of the embodiment of the present application aspect, the sample streams sFlow agent apparatus in a kind of wireless network, packet are provided
It includes:
Access point AP equipment, the radio interface information for receiving the configuration information that AC equipment issues, AC equipment are described to match
Confidence is ceased for encapsulating sFlow accounting messages;And sFlow accounting messages are issued into the AC equipment;Match confidence according to described
The message acquired packing is packaged into the sFlow accounting messages by breath;It carries and described wirelessly connects in the sFlow accounting messages
Message ceases;
Access controller AC equipment, for when carrying out sFlow configurations, configuration information and the wireless interface of AC equipment to be believed
Breath is handed down to AP equipment;The configuration information is used to encapsulate sFlow accounting messages in the AP equipment;Received by judging
Whether message is that the AP sends sFlow accounting messages, if it is, by the source of the IP heads in the sFlow accounting messages
The outer net address of the AC equipment is revised as in location, and destination address is revised as the IP address of sFlow collectors, and issues described
SFlow collectors.
The application is handed down to AP equipment in advance by that will be packaged the encapsulation required configuration information of sFlow accounting messages, will
The function of being packaged sFlow accounting messages is realized in AP equipment, is sent out one by one due to need not the sFlow before packing be sampled message
AC equipment is given, therefore greatly reduces the occupancy in the channels capwap, improves system performance.
Description of the drawings
Fig. 1 is the networking diagram of wireless network in the embodiment of the present application;
Fig. 2 is flow chart of the AC equipment in the method that sFlow is sampled in the embodiment of the present application;
Fig. 3 is flow chart of the AP equipment in the method that sFlow is sampled in the embodiment of the present application;
Fig. 4 a are the sequence diagram that global configuration stage AC equipment is interacted with AP equipment in application example;
Fig. 4 b are the sequence diagram that interface configuration phase AC equipment is interacted with AP equipment in application example;
Fig. 4 c are the flow chart that sFlow is sampled in application example;
Fig. 5 is the hardware architecture diagram for the device that sFlow is sampled in the embodiment of the present application;
Fig. 6 is the software logic block diagram for the device that a sFlow is sampled in the embodiment of the present application;
Fig. 7 is the software logic block diagram of the device of another sFlow samplings in the embodiment of the present application.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of consistent device and method of some aspects be described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, is not intended to be limiting the application.
It is also intended to including majority in the application and "an" of singulative used in the attached claims, " described " and "the"
Form, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to and wraps
Containing one or more associated list items purposes, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from
In the case of the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".
Fig. 1 is a kind of networking diagram for more typical wireless network that the application is applicable in.The wireless network supports sFlow associations
View.
As shown, wireless network 100 includes wireless access point AP equipment 101, and AP equipment 101 is associated multiple works
Make 102 (STA1, STA2, STA3) of station.
AP equipment 101 and associated multiple work stations 102 composition BSS (Basic Service Set, basic service set)
Subnet 103, in BSS subnets 103, all communications are all completed by AP equipment 101;Even if between work station 102
(between STA1 (Station1, website 1), STA2 (Station2, website 2), STA3 (Station3, website 3)) wants phase intercommunication
News, it is also desirable to message be issued into AP equipment 101 to forward.
The AP equipment 101 of BSS subnets 103 and 104 physical connection of access controller AC equipment (in certain wireless networks,
Can also include interchanger (not shown) between AP equipment 101 and access controller AC equipment 104), it is assisted by capwap
Message is sent to AC equipment 104 by view.AC equipment 104 is connected to internet, is connect with the sFlow collector105 of distal end, will
It is for statistical analysis that sFlow accounting messages are sent to sFlow collector105.Since AP equipment 101 is located at Intranet, sFlow
Collector105 can't see the wireless interface in AP equipment, therefore sFlow collector105 are needed through AC equipment 104
Wireless interface get the network flow in AP equipment 101, hereinafter, the application by configuration phase by AC equipment
104 radio interface information issues AP equipment come required wireless interface letter when AP equipment being notified to be packaged sFlow accounting messages
Breath.AC equipment 104 connect used port with AP equipment 101 and is named as Intranet port in this application, and IP address is known as
Internal address;It is known as outer net port with the port of internet communication, IP address is known as outer net address.
In this application, the single sampling message that AP equipment 101 is collected from work station is known as sampling message, is adopted a plurality of
Sample message is known as sFlow accounting messages according to the message that format as defined in sFlow agreements is packaged after encapsulation.
SFlow functions are opened in AC equipment 104 in this application, sampling configuration includes Flow samplings (selection stochastic model)
(counter mode) is sampled with Counter, the sFlow in sFlow systems is completed in AP equipment 101 and the cooperation of AC equipment 104
The function of Agent devices 106 carries out the network flow of each work station in affiliated BSS subnets 103 by AP equipment 101
Monitoring.In order to reduce the occupancy to capwap data channel and control channel as far as possible, AP equipment is packaged encapsulation sFlow statistics
The required information of message is disposably all handed down to AP equipment in AC device configurations, and sFlow systems are realized in AP equipment 101
The packing encapsulation for counting message, sFlow Collector 105, sFlow are sent to after encapsulating IP again by AC equipment 104
Collector 105 analyzes sFlow accounting messages and shows analysis result.
To realize this scheme, improvement combination Fig. 2 and Fig. 3 to made by AC equipment 104 and AP equipment 101 are illustrated.
Fig. 2 is flow chart of the AC equipment 104 in the method that the sFlow of the application is sampled.
In the S201 stages, user configures various orders and the relevant parameter of sFlow in AC equipment 104, in order to realize AP
The packing function of equipment 101, AC equipment 104 issue the configuration information of user configuration and the radio interface information oneself generated
To AP equipment 101.
Under normal conditions, AP equipment 101 can be handed down to by capwap control channels.
The sFlow parameters of user configuration are referred to the definition of sFlow agreements.SFlow orders include global command and connect
Mouth order.
Global command may include configuration sFlow Agent and sFlow Collector information etc..Interface command includes adopting
Original mold formula (Couter is sampled or Flow samplings, and the scheme of the application is related to realizing the scheme of Flow samplings in AP equipment), such as
Fruit is Flow sampling configurations, then needs to configure the parameters such as sample rate.Configure BSSID.
For wireless network 100, can be by configuring wireless service template on radio radio frequency interface views
User provides required service, and interface command is configured in the wireless service template of AC equipment 104, and configuration is completed
Afterwards, various and the relevant configuration information of packing sFlow accounting messages and packing sFlow statistics that interface command is configured are reported
The required radio interface information of text is handed down to AP equipment.
Under common situations, when AC equipment 104 and AP equipment 101 are reached the standard grade, identical BSSID (Basic Service will be generated
Set ID, basic service set identification), to identify the BSS subnets 103 of the ownership of AP equipment 101.In one embodiment, AC is set
Standby 104 generate BSS stomochords corresponding with the BSSID according to BSSID draws.Since sFlow Collector 105 are it is seen that AC
Equipment rather than AP equipment, it is therefore desirable to set the AP that the radio interface information of AC equipment 104 is handed down to corresponding to same BSSID
Standby 101.In one example, BSS stomochords, which draw, to be handed down to as the encapsulation required radio interface information of sFlow accounting messages
AP equipment 101.
In one embodiment, in order to make AP equipment 101 be packaged encapsulate sFlow accounting messages when packing manner with it is general
Logical interchanger is distinguished, and when being packaged sFlow accounting messages, the source address of message and destination address are packaged with general switch
The address of sFlow accounting messages is different, and a Flag label can also be arranged in AC equipment 104 in configuration information, in S201 ranks
The label is also handed down to the AP equipment 101 for needing to encapsulate sFlow accounting messages by section.When AP equipment 101 is needed according to confidence
When breath is packaged sFlow accounting messages, if identified with Flag in configuration information, by the source IP address of sFlow accounting messages
The internal address of itself and AC equipment 104 is packaged into purpose IP address.
In one embodiment, AC equipment 104 needs enabled UDP communication capacities, since sFlow accounting messages have sFlow
The UDP port number of protocol definition, therefore whether can be sFlow by the message that UDP port number is monitored transmitted by AP equipment 101
Accounting message.
In the S202 stages, AC equipment 104 receives the message from AP equipment 101, and identification is sFlow accounting messages.
As one embodiment, since sFlow accounting messages have the UDP port number that sFlow agreements are appointed, and
UDP communication capacities have been had been switched in the S201 stages, therefore have identified the type of message according to UDP port number.
In the S203 stages, AC equipment is packaged sFlow accounting messages again, and issues sFlow collector
105。
Since AP equipment 101 is located at Intranet, need to connect internet, therefore sFlow collector by AC equipment 104
105 it is seen that AC equipment 104 rather than AP equipment 101, it is therefore desirable to which AC equipment 104 is by the IP heads in sFlow accounting messages
Encapsulation is re-started, by the outer net address that source address modification is AC equipment 104, destination address is revised as sFlow collector
105 IP address.
Fig. 3 is flow chart of the AP equipment 101 in the method that the sFlow of the application is sampled.
In the S301 stages, AP equipment 101 after receiving the configuration information and radio interface information that AC equipment 104 issues,
It is recorded.
The content of configuration information and radio interface information is consistent with the content that S201 stages AC equipment 104 is issued in Fig. 2,
It will not go into details.In one embodiment, can also include that Flag is marked in the configuration information that AP equipment 101 is recorded.Wirelessly connect
Message breath can be that the BSS stomochords that AC equipment 104 is generated draw.
In the S302 stages, AP equipment 101 (STA1 (Station1, website 1), STA2 between receiving work station 102
Message is issued other wireless stations by message between (Station2, website 2), STA3 (Station3, website 3)
When, the BSS subnets belonging to work station, the sFlow that the lookup S301 stages are recorded are identified according to BSSID entrained in message
Configuration information and radio interface information carry out sampling processing according to sampling rule.
In the S303 stages, it will sample message according to the sFlow accounting messages format of sFlow protocol definitions and be packaged.
Table 1 is the sFlow accounting message formats of sFlow protocol definitions:
Table 1
Enternet heads | IP heads | UDP heads | sFlow Datagram |
The message adopted first beats sFlow datagram bytes according to the accounting message format of sflow protocol definitions
Encapsulation processing, carrying BSS stomochords draw in field.When the buffering area of packing is full, then encapsulate UDP (institutes in sFlow agreements
The UDP port number of definition can be determined according to user configuration), after encapsulation IP, carry out transmission processing.What AP equipment 101 was sent
SFlow accounting messages will issue AC equipment 104, therefore, the IP heads encapsulated in AP equipment 101 be exactly AP equipment 101 with
The three layers of forwarding channel established between AC equipment 104, therefore the source of IP heads that sflow accounting messages are encapsulated of AP equipment 101
The internal address of AP equipment 101 is inserted in location, and destination address inserts the internal address of AC equipment.
In the S304 stages, packaged sFlow accounting messages are issued into AC equipment 104.
In one example, the sFlow accounting messages after packing are sent to AC equipment 104 by capwap data channel.
Due to having carried UDP port number and source address and destination address in the sFlow accounting messages after packing, there is no need to
SFlow is counted again and is packaged again according to capwap agreements.
Fig. 4 a, Fig. 4 b, Fig. 4 c are that an application example under the network environment described in Fig. 1 retouches different phase
It states.
Fig. 4 a are the sequence diagram of Signalling exchange caused by global configuration stage AC equipment 104 and AP equipment 101.
S401, AC equipment 104 receives the global configuration information of user;
S402 records global configuration information;
S403 opens UDP communication capacities;
S404 will issue AP equipment under the global configuration information and Flag that are recorded label by capwap control channels
101;
S405, AP equipment 101 receives global configuration information and is recorded;And increase Flag marks in global configuration information
Know.
Fig. 4 b are the sequence diagram of Signalling exchange caused by interface configuration phase AC equipment 104 and AP equipment 101.
S501, AC equipment 104 receives the interface configuration information of user, such as sample frequency etc.;
S502, record interface configuration information;
S503 obtains the BSSID generated when user reaches the standard grade, and generates BSS stomochords with this and draw;
BSS stomochords are drawn the configuration information on the BSS interfaces by the channels APMGR and issue AP equipment 101 by S504;
Configuration information and BSS stomochords on the BSS interfaces that receive of S505, AP equipment record draw.
Fig. 4 c generate sFlow accounting messages for the message acquired from work station STA2 and are transferred to sFlow
The schematic diagram of collector processes.
S601 is message acquisition phase.
AP equipment 101 acquires message from STA2, carries BSSID in message, AP equipment 101 is according on this BSSID
Configuration and sampling rule carry out sFlow samplings.
S602 is that the message packing of acquisition is packaged into the sFlow accounting message stages.
Collected message is packaged by AP equipment 101 according to format as defined in sFlow agreements, in sFlow
Datagram fields filling BSS stomochords draw, and wait for and continue to acquire other messages.
When the buffer area for acquiring message is full, UDP heads are encapsulated, then encapsulate IP and Ethernet heads, and pass through
Capwap data channel is sent to AC equipment 104.The internal address of AC equipment 104 is 8.8.8.2, AP equipment 101 in this example
Internal address be 8.8.8.1, therefore in the IP heads of packaged sFlow accounting messages source address be 8.8.8.1, destination address
For 8.8.8.2.
S603 is the stage that AC equipment 104 Reseals sFlow accounting messages.
AC equipment 104 intercepts and captures sFlow accounting messages transmitted by AP equipment 101 according to UDP port number, identifies that sender is
AP equipment 101 then changes IP heads, by the outer net address that source address modification is AC equipment:10.10.10.2 destination address is changed
For the IP address 9.9.9.1 of sFlow collector, and it is sent to sFlow collector.
Corresponding with the embodiment of method of aforementioned sFlow samplings, present invention also provides the realities of the device of sFlow samplings
Apply example.
The embodiment of the device of the application sFlow samplings can be applied in AC equipment 104 or AP equipment 101.Device is real
Applying example can also be realized by software realization by way of hardware or software and hardware combining.For implemented in software, make
For the device on a logical meaning, being will be right in nonvolatile memory by the processor of AC equipment where it or AP equipment
The computer program instructions answered read what operation in memory was formed.For hardware view, as shown in figure 5, being the application
A kind of hardware structure diagram of AC equipment or AP equipment where the device of sFlow samplings, in addition to processor shown in fig. 5, memory, net
Except network interface and nonvolatile memory, the AC equipment or AP equipment in embodiment where device are generally according to the equipment
Actual functional capability, can also include other hardware, this is repeated no more.
Referring to FIG. 6, the device 600 for sFlow samplings applies the software-implemented logic block diagram in AC equipment.
Communication module 601 is used for when carrying out sFlow configurations, and the radio interface information of configuration information and AC equipment is issued
Give AP equipment;The configuration information is used to encapsulate sFlow accounting messages in the AP equipment;
Processing module 602 is used to judge whether received message to be the AP transmissions sFlow accounting messages, if
It is that, then by the outer net address that the source address modification of the IP heads in the sFlow accounting messages is the AC equipment, destination address is repaiied
It is changed to the IP address of sFlow Collector, and issues the sFlow Collector.
Corresponding with the sFlow method of samplings above, radio interface information can be that the BSS stomochords in AC equipment draw;
The BSS stomochords draw corresponding with the BSSID in the AP equipment.
In one embodiment, the processing module is according to received by UDP port number judgement defined in sFlow agreements
Message whether be that the AP sends sFlow accounting messages.
Fig. 7 is please referred to, the device 700 for sFlow samplings applies the software-implemented logic block diagram in AP equipment.
Communication module 701, the radio interface information for receiving the configuration information that AC equipment issues, AC equipment are described to match
Confidence is ceased for encapsulating sFlow accounting messages;And sFlow accounting messages are issued into the AC equipment;
Processing module 702 is counted for the message acquired packing to be packaged into the sFlow according to the configuration information
Message;When being packaged, the source IP address of the sFlow accounting messages and purpose IP address are packaged into itself and AC equipment respectively
104 internal address.
In one embodiment, the radio interface information is that the BSS stomochords in AC equipment draw;The BSS stomochords draw with
BSSID in the AP equipment is corresponded to.
In addition, the configuration information that AC equipment issues further includes Flag labels.
Specifically, the source IP address of the sFlow accounting messages is the internal address of the AP equipment, purpose IP address is
The internal address of the AC equipment.
The function of each unit and the realization process of effect specifically refer to and correspond to step in the above method in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiments, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separating component
The unit of explanation may or may not be physically separated, and the component shown as unit can be or can also
It is not physical unit, you can be located at a place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of module therein is selected to realize the purpose of application scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
The foregoing is merely the preferred embodiments of the application, not limiting the application, all essences in the application
With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of the application protection god.
Claims (15)
1. a kind of method that sample streams sFlow is sampled in wireless network, this method run on access point AP equipment, feature exists
In the method comprising the steps of:
The radio interface information of configuration information and AC equipment that access controller AC equipment issues is received, the configuration information is used
In encapsulation sFlow accounting messages;
The message acquired packing is packaged into sFlow accounting messages according to the configuration information;In the sFlow accounting messages
Carry the radio interface information;
The sFlow accounting messages are issued into the AC equipment.
2. according to the method described in claim 1, it is characterized in that, the radio interface information is the basic service in AC equipment
Collection BSS stomochords draw;The BSS stomochords draw corresponding with the BSSID in the AP equipment.
3. according to the method described in claim 1, it is characterized in that, the configuration information that the AC equipment issues includes Flag marks
Note, the AP equipment determine the source IP address and purpose IP address of the sFlow accounting messages according to Flag labels.
4. according to the method described in claim 1, it is characterized in that, the source IP address of the sFlow accounting messages is the AP
The internal address of equipment, purpose IP address are the internal address of the AC equipment.
5. a kind of method of the sample streams sFlow samplings in wireless network, this method runs on access controller AC equipment, special
Sign is that the method comprising the steps of:
When carrying out sFlow configurations, the radio interface information of configuration information and AC equipment is handed down to access point AP equipment;It is described
Configuration information is used to encapsulate sFlow accounting messages in the AP equipment;
Judge whether received message is that the AP sends sFlow accounting messages, if it is, the sFlow is counted
The source address modification of IP heads in message is the outer net address of the AC equipment, and destination address is revised as the IP of sFlow collectors
Address, and issue the sFlow collectors.
6. according to the method described in claim 5, it is characterized in that, the radio interface information is basic service set BSS stomochords
Draw;The BSS stomochords draw corresponding with the basic service set identification BSSID in the AP equipment.
7. according to the method described in claim 5, it is characterized in that:
Judge whether received message is that the AP equipment is sent according to UDP port number defined in sFlow agreements
SFlow accounting messages.
8. the device that sample streams sFlow is sampled in a kind of wireless network, the device are located at access point AP equipment, which is characterized in that
Including:
Communication module, the radio interface information for receiving configuration information and AC equipment that access controller AC equipment issues,
The configuration information is for encapsulating sFlow accounting messages;And sFlow accounting messages are issued into the AC equipment;
Processing module, for the message acquired packing to be packaged into the sFlow accounting messages according to the configuration information;Institute
It states and carries the radio interface information in sFlow accounting messages.
9. device according to claim 8, which is characterized in that the radio interface information is the basic service in AC equipment
Collection BSS stomochords draw;The BSS stomochords draw corresponding with the BSSID in the AP equipment.
10. device according to claim 8, which is characterized in that the sFlow accounting messages further include Flag labels, institute
State source IP address and purpose IP address that processing module determines the sFlow accounting messages according to Flag labels.
11. device according to claim 8, which is characterized in that the source IP address of the sFlow accounting messages is the AP
The internal address of equipment, purpose IP address are the internal address of the AC equipment.
12. a kind of device of the sample streams sFlow samplings in wireless network, which is located at access controller AC equipment, special
Sign is, including:
Communication module, for when carrying out sFlow configurations, the radio interface information of configuration information and AC equipment to be handed down to access
Point AP equipment;The configuration information is used to encapsulate sFlow accounting messages in the AP equipment;
Processing module, for judging whether received message is that the AP sends sFlow accounting messages, if it is, will
The source address modification of IP heads in the sFlow accounting messages is the outer net address of the AC equipment, and destination address is revised as
The IP address of sFlow collectors, and issue the sFlow collectors.
13. device according to claim 12, which is characterized in that the radio interface information is that BSS stomochords draw;It is described
BSS stomochords draw corresponding with the BSSID in the AP equipment.
14. device according to claim 12, it is characterised in that:
The processing module judges whether received message is the AP according to UDP port number defined in sFlow agreements
Equipment sends sFlow accounting messages.
15. the sample streams sFlow agent apparatus in a kind of wireless network, which is characterized in that including:
Access point AP equipment, the radio interface information for receiving configuration information and AC equipment that AC equipment issues are described to match
Confidence is ceased for encapsulating sFlow accounting messages;And sFlow accounting messages are issued into the AC equipment;Match confidence according to described
The message acquired packing is packaged into the sFlow accounting messages by breath;It carries and described wirelessly connects in the sFlow accounting messages
Message ceases;
Access controller AC equipment is used for when carrying out sFlow configurations, will be under configuration information and the radio interface information of AC equipment
Issue AP equipment;The configuration information is used to encapsulate sFlow accounting messages in the AP equipment;Judge received message
Whether it is that the AP sends sFlow accounting messages, if it is, the source address of the IP heads in the sFlow accounting messages is repaiied
It is changed to the outer net address of the AC equipment, destination address is revised as the IP address of sFlow collectors, and issues the sFlow and adopt
Storage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510178648.2A CN104768176B (en) | 2015-04-15 | 2015-04-15 | The method, apparatus that sFlow is sampled in wireless network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510178648.2A CN104768176B (en) | 2015-04-15 | 2015-04-15 | The method, apparatus that sFlow is sampled in wireless network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104768176A CN104768176A (en) | 2015-07-08 |
CN104768176B true CN104768176B (en) | 2018-08-24 |
Family
ID=53649705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510178648.2A Active CN104768176B (en) | 2015-04-15 | 2015-04-15 | The method, apparatus that sFlow is sampled in wireless network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104768176B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106230660B (en) * | 2016-07-29 | 2019-06-14 | 锐捷网络股份有限公司 | The method and device of sFlow sampling |
CN111327445B (en) * | 2018-12-17 | 2023-09-12 | 中兴通讯股份有限公司 | Message sampling method, message unpacking method, node, system and storage medium |
CN113839831B (en) * | 2021-08-27 | 2023-04-18 | 深圳市风云实业有限公司 | Flow sampling device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102811451A (en) * | 2012-07-23 | 2012-12-05 | 福建星网锐捷网络有限公司 | Method and device for controlling connection of control and provisioning of wireless access points (Capwap) tunnel |
CN102833268A (en) * | 2012-09-17 | 2012-12-19 | 福建星网锐捷网络有限公司 | Method, equipment and system for resisting wireless network flooding attack |
CN103096361A (en) * | 2013-01-11 | 2013-05-08 | 大唐移动通信设备有限公司 | Interactive method and device of performance statistic data in wireless local area network system |
CN103369529A (en) * | 2013-07-09 | 2013-10-23 | 福建星网锐捷网络有限公司 | Identity authentication method, access point (AP) and access controller (AC) |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102215456B (en) * | 2010-04-07 | 2013-11-06 | 华为技术有限公司 | Multicast control method and device |
-
2015
- 2015-04-15 CN CN201510178648.2A patent/CN104768176B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102811451A (en) * | 2012-07-23 | 2012-12-05 | 福建星网锐捷网络有限公司 | Method and device for controlling connection of control and provisioning of wireless access points (Capwap) tunnel |
CN102833268A (en) * | 2012-09-17 | 2012-12-19 | 福建星网锐捷网络有限公司 | Method, equipment and system for resisting wireless network flooding attack |
CN103096361A (en) * | 2013-01-11 | 2013-05-08 | 大唐移动通信设备有限公司 | Interactive method and device of performance statistic data in wireless local area network system |
CN103369529A (en) * | 2013-07-09 | 2013-10-23 | 福建星网锐捷网络有限公司 | Identity authentication method, access point (AP) and access controller (AC) |
Also Published As
Publication number | Publication date |
---|---|
CN104768176A (en) | 2015-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8184550B2 (en) | Gateway with improved QoS awareness | |
CN101473598B (en) | Communicating packets between forwarding contexts using virtual interfaces | |
CN104380667B (en) | The method for routing and equipment of a kind of data message | |
EP3082293B1 (en) | Switching device and packet loss method therefor | |
CN112866075A (en) | In-band network telemetering method, system and related device for Overlay network | |
CN111953553B (en) | A message detection method, device and system | |
CN102714606A (en) | Method and system for management of sampled traffic data | |
CN109495494B (en) | Frame structure configuration method, transmission device and system for VDES data transmission | |
CN104135548A (en) | Static NAT realization method and device based on FPGA | |
CN101984598A (en) | Message forwarding method and deep packet inspection (DPI) device | |
CN108777646A (en) | Flux monitoring method and device | |
CN108075949B (en) | Method and equipment for realizing RFC2544 in VPWS environment | |
CN108141387B (en) | Length control for packet header samples | |
CN110071878A (en) | Message flow statistical method, device, electronic equipment | |
EP3694153A1 (en) | Method, relevant device and system for acquiring a target transmission path | |
CN104768176B (en) | The method, apparatus that sFlow is sampled in wireless network | |
CN109565897A (en) | Method and device for transmitting information | |
CN109120492B (en) | Storage unit, source switch, message forwarding method and mirror image system | |
CN104469822A (en) | Testing method, base station and system | |
JP4674134B2 (en) | Method and apparatus for distributing signaling data for parallel analysis | |
CN110417687A (en) | A kind of message sends and receives method and device | |
CN109981819A (en) | MDNS message processing method, device and group network system | |
CN104754521A (en) | Message transmitting method, wireless access point, wireless controller and system | |
JP2006261935A (en) | Packet transmission method and device | |
CN113037641B (en) | Data forwarding method in FlexE and network equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |