CN107332940A - A kind of method and system for realizing that distributed IP RAN device mac address is synchronous - Google Patents
A kind of method and system for realizing that distributed IP RAN device mac address is synchronous Download PDFInfo
- Publication number
- CN107332940A CN107332940A CN201710418369.8A CN201710418369A CN107332940A CN 107332940 A CN107332940 A CN 107332940A CN 201710418369 A CN201710418369 A CN 201710418369A CN 107332940 A CN107332940 A CN 107332940A
- Authority
- CN
- China
- Prior art keywords
- mac address
- outlet
- disk
- sync message
- transmission
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
The present invention relates to communication equipment field, a kind of method for realizing that distributed IP RAN device mac address is synchronous is disclosed, including:S1:The mac address table of inlet disk in VPLS is searched, the transmission outlet of MAC Address sync message to be sent in inlet disk is obtained, and MAC Address sync message to be sent is sent into the transmission outlet disk corresponding to exporting;S2:The mac address table for the outlet disk that have received MAC Address sync message is searched, the transmission outlet of MAC Address sync message is obtained, and the transmission is exported to the transmission outlet obtained with S1 and is compared, judge whether two transmission outlets are identical, if identical, terminate, if differing, S3 is gone to;S3:Inlet disk generates the MAC Address sync message identical received with S2 middle outlets disk MAC Address sync message to be sent, then goes to S1.The invention also discloses a kind of system for realizing that distributed IP RAN device mac address is synchronous.The present invention can effectively ensure the synchronous reliability of the MAC Address of IP RAN equipment.
Description
Technical field
The present invention relates to communication equipment field, and in particular to a kind of to realize that distributed IP RAN device mac address is synchronous
Method and system.
Background technology
IP RAN (Radio Access Network) equipment, i.e. IPization wireless access network equipments is when carrying out network design
VPLS (VirtualPrivateLanService, VPLS) model is generally used, so as to realize virtual office
The function of domain net, is easily handled the service convergence of each child node to root node.In VPLS models the forwarding of business according to
Rely MAC Address (physical address) study in each port, for IP RAN equipment, MAC Address can equipment each business
The study of groove bit port is arrived, meanwhile, when the study of a certain business groove bit port is to new MAC Address, it is necessary to inform other business groove positions
Port, i.e., the new MAC Address learnt needs to synchronize between each groove bit port, so as to ensure business according to correct road
Footpath is forwarded.
In distributed IP RAN equipment, the MAC Address of different slots interdigit is synchronously by sending MAC Address sync message
To realize, but in actual application process, it is continuously increased with the quantity of MAC Address, network loop during message transmissions is made
Into MAC Address offset the problems such as happen occasionally, so as to be easily caused the loss of MAC Address message, and then cause on each groove position
MAC Address is asynchronous, traffic affecting normal transmission.
The content of the invention
For defect present in prior art, distributed IP RAN equipment is realized it is an object of the invention to provide one kind
The synchronous method of MAC Address and a kind of system for realizing that distributed IP RAN device mac address is synchronous, effectively ensure that IP RAN are set
The synchronous reliability of standby MAC Address.
To achieve the above objectives, the present invention is adopted the technical scheme that, including:
S1:The mac address table of inlet disk in VPLS is searched, MAC Address sync message to be sent in inlet disk is obtained
Outlet is sent, and MAC Address sync message to be sent is sent into the transmission outlet disk corresponding to exporting;
S2:The mac address table for the outlet disk that have received MAC Address sync message is searched, MAC Address sync message is obtained
Outlet is sent, and the transmission is exported to the transmission outlet obtained with S1 and is compared, judges whether two transmission outlets are identical, if phase
Together, then terminate, if differing, go to S3;
S3:It is same that inlet disk generates the MAC Address sync message identical received with S2 middle outlets disk MAC Address to be sent
Message is walked, S1 is then gone to.
On the basis of above-mentioned technical proposal, contain MAC Address in the mac address table in the inlet disk and outlet disk
The transmission outlet information of sync message.
On the basis of above-mentioned technical proposal, the heading field rule and vsi rules searched according to mac address table,
The transmission outlet of MAC Address sync message is found in the mac address table of outlet disk and inlet disk.
On the basis of above-mentioned technical proposal, MAC Address sync message is sent to outlet disk:
The message field (MFLD) of extended MAC address synchronization message, makes MAC Address sync message carry the MAC Address in inlet disk
Obtained transmission outlet information is searched in table.
On the basis of above-mentioned technical proposal, in step S2, message is sent out according to entrained by MAC Address sync message
Breath, searches obtained transmission outlet in inlet disk to MAC Address sync message and searches and obtain in the mac address table of outlet disk
Transmission outlet be compared.
The present invention also provides a kind of system for realizing that distributed IP RAN device mac address is synchronous, including:
Searching modul, it is used for the transmission that MAC Address sync message to be sent is searched in the mac address table of inlet disk
Outlet, and the transmission outlet for exporting the MAC Address sync message that disk is received is searched in the mac address table of outlet disk;
Sending module, it is used to search obtained MAC Address sync message to be sent in the mac address table according to inlet disk
Transmission outlet, and send MAC Address sync message to be sent to the corresponding outlet disk in transmission outlet;
Comparing module, it is used to comparing MAC Address sync message and searches obtained transmission outlet and in outlet in inlet disk
Obtained transmission outlet is searched in the mac address table of disk, and judges whether two transmission outlets are identical, if identical, terminate, if not
Identical, then inlet disk sends the MAC Address sync message identical MAC Address sync message received with outlet disk and extremely exported again
Disk.
On the basis of above-mentioned technical proposal, contain MAC Address in the mac address table in the inlet disk and outlet disk
The transmission outlet information of sync message.
On the basis of above-mentioned technical proposal, the heading field rule that the searching modul is searched according to mac address table
With vsi rules, the transmission outlet of MAC Address sync message is found in the mac address table of outlet disk and inlet disk.
On the basis of above-mentioned technical proposal, the sending module is additionally operable to sending MAC Address sync message to outlet
Before disk, the message field (MFLD) of extended MAC address synchronization message makes MAC Address sync message carry in the mac address table of inlet disk
Search obtained transmission outlet information.
On the basis of above-mentioned technical proposal, the comparing module sending out according to entrained by MAC Address sync message
Message is ceased, and MAC Address sync message is exported in the transmission that inlet disk lookup is obtained and searched in the mac address table of outlet disk
Obtained transmission outlet is compared.
Compared with prior art, the advantage of the invention is that:Searched in the mac address table of outlet disk and obtain MAC Address
Outlet disk corresponding to the transmission outlet and transmission outlet of sync message, when MAC Address sync message is received by outlet disk
Afterwards, it have received the outlet disk of MAC Address sync message and search that to obtain MAC Address synchronous in the mac address table of outlet disk again
The transmission outlet of message, and two transmission outlets are compared, so as to judge to show whether MAC Address sync message is correct
Outlet disk is received, if two send outlet difference, shows that the MAC Address sync message that surface entrance disk is sent is not correct
Outlet disk received, now inlet disk again repeat send MAC Address sync message, until by correctly outlet disk connect
Receive, by being compared and retransmission mechanism to the transmission of MAC Address sync message outlet, effectively ensure between each single-deck of IP RAN equipment
The synchronous reliability of MAC Address.
Brief description of the drawings
Fig. 1 is a kind of flow chart for the method for realizing that distributed IP RAN device mac address is synchronous of the present invention.
Embodiment
The present invention is described in further detail below in conjunction with accompanying drawing.
Shown in Figure 1, the present invention provides a kind of method for realizing that distributed IP RAN device mac address is synchronous, mainly
Synchronous for the MAC Address between each business disk of distributed IP RAN equipment, IP RAN equipment is based on VPLS models carry out portion
Administration.This realizes that the synchronous method of distributed IP RAN device mac address includes:
S1:The mac address table of inlet disk in VPLS is searched, MAC Address sync message to be sent in inlet disk is obtained
Outlet is sent, and MAC Address sync message to be sent is sent into the transmission outlet disk corresponding to exporting.For MAC
The lookup of location table, the heading field rule searched according to mac address table and vsi (Virtual Switch Interface, it is empty
Intend Fabric Interface) rule, the transmission outlet of MAC Address sync message is found in the mac address table of outlet disk and inlet disk.
Vsi is an agreement for being used to control Wide Area Network to exchange, and heading field rule and vsi rules are conventional MAC Address
Table search rule, i.e., based on MAC Address sync message, then utilize heading field rule and vsi rules, you can in MAC
The transmission outlet of the MAC Address sync message is found in the table of location.
S2:The mac address table for the outlet disk that have received MAC Address sync message is searched, MAC Address sync message is obtained
Outlet is sent, and the transmission is exported to the transmission outlet obtained with S1 and is compared, judges whether two transmission outlets are identical, if phase
Together, then terminate, if differing, go to S3.Outlet disk in VPLS has multiple, and one sends outlet correspondence one and exports disk, step
Though learn the outlet disk that MAC Address sync message should be specifically addressed to, mistake of the MAC Address sync message in transmission in rapid S1
Cheng Zhong, due to causing for some Problem-Errors, MAC Address sync message may be addressed to other outlet disks, therefore, for
The outlet disk of MAC Address sync message is have received, the mac address table of outlet disk is searched again, is obtained with exporting the MAC that disk is received
The actual transmission outlet of location sync message, and the actual transmission outlet for sending outlet with being obtained in step S1 is compared, from
And confirming MAC Address sync message should be received by currently outlet disk.
Transmission outlet information containing MAC Address sync message in mac address table in inlet disk and outlet disk, i.e., pair
In the outlet disk received corresponding to a certain MAC Address sync message, in the information of inlet disk and the mac address table in outlet disk
Contain, by being searched in mac address table, you can learn the outlet disk for receiving current MAC address sync message.
MAC Address sync message is sent to outlet disk, and the message field (MFLD) of extended MAC address synchronization message makes MAC Address
Sync message carries the transmission outlet information searched and obtained in the mac address table of inlet disk.I.e. by the mac address table of inlet disk
The transmission outlet information of the MAC Address sync message of middle lookup is added in MAC Address sync message, is easy to MAC Address synchronous
Message is sent to after outlet disk, the transmission outlet information of the MAC Address sync message found in the mac address table with exporting disk
Compare.
S3:It is same that inlet disk generates the MAC Address sync message identical received with S2 middle outlets disk MAC Address to be sent
Message is walked, S1 is then gone to, that is, starts the retransmission mechanism of message, until MAC Address sync message is by the mac address table of inlet disk
In the outlet disk that finds be properly received.
The present invention realizes the synchronous method of distributed IP RAN device mac address, is searched in the mac address table of outlet disk
Obtain the transmission outlet of MAC Address sync message and send the outlet disk corresponding to exporting, when MAC Address sync message is gone out
After mouthful disk is received, the outlet disk that have received MAC Address sync message is searched in the mac address table for exporting disk obtain again
The transmission outlet of MAC Address sync message, and two transmission outlets are compared, so as to judge to draw MAC Address sync message
Whether received by correctly outlet disk, if two send outlet difference, the MAC Address sync message that surface entrance disk is sent does not have
Have and received by correctly outlet disk, then inlet disk repeats to send MAC Address sync message again, until correctly being exported disk
Received.
The present invention also provides a kind of distributed IP of the method synchronous based on above-mentioned distributed IP RAN device mac address
The synchronous system of RAN device mac address, including searching modul, sending module and comparing module.
Searching modul is used to search sending out for MAC Address sync message to be sent in the mac address table of inlet disk
Mouthful, and the transmission outlet for exporting the MAC Address sync message that disk is received is searched in the mac address table of outlet disk;Send mould
Block is used in the mac address table according to inlet disk the transmission outlet for searching obtained MAC Address sync message to be sent, and sends
MAC Address sync message to be sent exports disk to transmission outlet is corresponding;Comparing module is used to compare MAC Address synchronously report
Text searches obtained transmission outlet in inlet disk and obtained transmission outlet is searched in the mac address table of outlet disk, and judges
Whether two transmission outlets are identical, if identical, terminate, if differing, and inlet disk with sending the MAC with exporting disk reception again
Location sync message identical MAC Address sync message is to exporting disk.
Transmission outlet information in mac address table in inlet disk and outlet disk containing MAC Address sync message.
Heading field rule and vsi rules that searching modul is searched according to mac address table, in outlet disk and inlet disk
The transmission outlet of MAC Address sync message is found in mac address table.Sending module is additionally operable to sending MAC Address synchronously report
Before text to outlet disk, the message field (MFLD) of extended MAC address synchronization message makes MAC Address sync message carry the MAC in inlet disk
Obtained transmission outlet information is searched in address table.Comparing module sends out message according to entrained by MAC Address sync message
Breath, searches obtained transmission outlet in inlet disk to MAC Address sync message and searches and obtain in the mac address table of outlet disk
Transmission outlet be compared.
The synchronous system of the distributed IP RAN device mac address of the present invention, by searching modul, in the MAC of outlet disk
The transmission outlet for obtaining MAC Address sync message is searched in address table and the outlet disk corresponding to exporting is sent, works as MAC Address
After sync message is received by outlet disk, the outlet disk of MAC Address sync message is have received again in the mac address table of outlet disk
It is middle to search the transmission outlet for obtaining MAC Address sync message, then two transmission outlets are compared by comparing module, so that
Judgement show whether MAC Address sync message is received by correctly outlet disk, if two send outlet difference, surface entrance disk
The MAC Address sync message of transmission is not received by correctly outlet disk, then inlet disk repeats to send MAC Address synchronization again
Message, until being received by correctly outlet disk, it is ensured that the synchronous reliability of MAC Address between each single-deck of IP RAN equipment.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from
On the premise of the principle of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as the protection of the present invention
Within the scope of.The content not being described in detail in this specification belongs to prior art known to professional and technical personnel in the field.
Claims (10)
1. a kind of method for realizing that distributed IP RAN device mac address is synchronous, the IP RAN equipment is entered based on VPLS models
Row deployment, it is characterised in that including:
S1:The mac address table of inlet disk in VPLS is searched, the transmission of MAC Address sync message to be sent in inlet disk is obtained
Outlet, and MAC Address sync message to be sent is sent into the transmission outlet disk corresponding to exporting;
S2:The mac address table for the outlet disk that have received MAC Address sync message is searched, the transmission of MAC Address sync message is obtained
Outlet, and the transmission outlet that transmission outlet is obtained with S1 is compared, judge whether two transmission outlets are identical, if identical,
Then terminate, if differing, go to S3;
S3:Inlet disk generation report synchronous with the MAC Address that the MAC Address sync message identical that S2 middle outlets disk is received is to be sent
Text, then goes to S1.
2. a kind of method for realizing that distributed IP RAN device mac address is synchronous as claimed in claim 1, it is characterised in that:
Transmission outlet information in mac address table in the inlet disk and outlet disk containing MAC Address sync message.
3. a kind of method for realizing that distributed IP RAN device mac address is synchronous as claimed in claim 1, it is characterised in that:
The heading field rule and vsi rules searched according to mac address table, are searched in the mac address table of outlet disk and inlet disk
Transmission to MAC Address sync message is exported.
4. a kind of method for realizing that distributed IP RAN device mac address is synchronous as claimed in claim 1, it is characterised in that
MAC Address sync message is sent to outlet disk:
The message field (MFLD) of extended MAC address synchronization message, makes MAC Address sync message carry in the mac address table of inlet disk
Search obtained transmission outlet information.
5. a kind of method for realizing that distributed IP RAN device mac address is synchronous as claimed in claim 4, it is characterised in that:
In step S2, the transmission outlet information according to entrained by MAC Address sync message is interrogated and examined in entrance MAC Address sync message
The transmission found exports and searched in the mac address table of outlet disk obtained transmission outlet and is compared.
6. a kind of system for realizing that distributed IP RAN device mac address is synchronous based on claim 1 methods described, its feature
It is, including:
Searching modul, it is used to search sending out for MAC Address sync message to be sent in the mac address table of inlet disk
Mouthful, and the transmission outlet for exporting the MAC Address sync message that disk is received is searched in the mac address table of outlet disk;
Sending module, it is used for the hair that obtained MAC Address sync message to be sent is searched in the mac address table according to inlet disk
Mouth is sent out, and sends MAC Address sync message to be sent to the corresponding outlet disk in transmission outlet;
Comparing module, it is used to comparing MAC Address sync message and searches obtained transmission outlet and in outlet disk in inlet disk
Obtained transmission outlet is searched in mac address table, and judges whether two transmission outlets are identical, if identical, terminate, if not phase
Together, then inlet disk sends the MAC Address sync message identical MAC Address sync message received with outlet disk extremely outlet again
Disk.
7. a kind of system for realizing that distributed IP RAN device mac address is synchronous as claimed in claim 6, it is characterised in that:
Transmission outlet information in mac address table in the inlet disk and outlet disk containing MAC Address sync message.
8. a kind of system for realizing that distributed IP RAN device mac address is synchronous as claimed in claim 6, it is characterised in that:
Heading field rule and vsi rules that the searching modul is searched according to mac address table, in outlet disk and the MAC of inlet disk
The transmission outlet of MAC Address sync message is found in address table.
9. a kind of system for realizing that distributed IP RAN device mac address is synchronous as claimed in claim 6, it is characterised in that:
The sending module is additionally operable to sending MAC Address sync message to before exporting disk, the message word of extended MAC address synchronization message
Section, makes MAC Address sync message carry the transmission outlet information searched and obtained in the mac address table of inlet disk.
10. a kind of system for realizing that distributed IP RAN device mac address is synchronous as claimed in claim 9, it is characterised in that:
Transmission outlet information of the comparing module according to entrained by MAC Address sync message, to MAC Address sync message in inlet disk
Search obtained transmission outlet and obtained transmission outlet is searched in the mac address table of outlet disk and be compared.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710418369.8A CN107332940B (en) | 2017-06-06 | 2017-06-06 | Method and system for realizing MAC address synchronization of distributed IP RAN equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710418369.8A CN107332940B (en) | 2017-06-06 | 2017-06-06 | Method and system for realizing MAC address synchronization of distributed IP RAN equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107332940A true CN107332940A (en) | 2017-11-07 |
CN107332940B CN107332940B (en) | 2020-04-28 |
Family
ID=60194289
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710418369.8A Active CN107332940B (en) | 2017-06-06 | 2017-06-06 | Method and system for realizing MAC address synchronization of distributed IP RAN equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107332940B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101820435A (en) * | 2009-02-27 | 2010-09-01 | 华为技术有限公司 | Synchronization method and device for MAC (Media Access Control) address table information of distributed network processing system |
CN101969398A (en) * | 2010-09-17 | 2011-02-09 | 中兴通讯股份有限公司 | Aging method and system of MAC (Media Access Control) address |
CN105119831A (en) * | 2015-09-15 | 2015-12-02 | 烽火通信科技股份有限公司 | MAC (Media Access Control) address learning method and system |
US20160156511A1 (en) * | 2013-08-12 | 2016-06-02 | Huawei Technologies Co., Ltd. | Method for delivering static route and ultimate provider edge |
CN106790703A (en) * | 2017-02-24 | 2017-05-31 | 烽火通信科技股份有限公司 | A kind of MAC Address synchronous method of distributed datacom device |
-
2017
- 2017-06-06 CN CN201710418369.8A patent/CN107332940B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101820435A (en) * | 2009-02-27 | 2010-09-01 | 华为技术有限公司 | Synchronization method and device for MAC (Media Access Control) address table information of distributed network processing system |
CN101969398A (en) * | 2010-09-17 | 2011-02-09 | 中兴通讯股份有限公司 | Aging method and system of MAC (Media Access Control) address |
US20160156511A1 (en) * | 2013-08-12 | 2016-06-02 | Huawei Technologies Co., Ltd. | Method for delivering static route and ultimate provider edge |
CN105119831A (en) * | 2015-09-15 | 2015-12-02 | 烽火通信科技股份有限公司 | MAC (Media Access Control) address learning method and system |
CN106790703A (en) * | 2017-02-24 | 2017-05-31 | 烽火通信科技股份有限公司 | A kind of MAC Address synchronous method of distributed datacom device |
Also Published As
Publication number | Publication date |
---|---|
CN107332940B (en) | 2020-04-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11824960B2 (en) | Communication method, communications device, and storage medium | |
US7660313B2 (en) | Sub-rate transmission method for user data services in transmission devices of a metropolitan area network | |
CN102724118B (en) | Label distribution method and device | |
CN101668324A (en) | Routing method, routing device and routing system of relay network | |
CN103595626A (en) | Method for achieving dynamic path planning in ring network | |
CN105515992A (en) | Method and device for processing flow table items of VXLAN network | |
CN101414963A (en) | Method and apparatus for automatic topological discover and resource management in PBB TE network | |
CN101453413A (en) | Method and apparatus for automatic topology discovery and resource management in PBB network | |
WO2012155867A1 (en) | Packet sending method and access controller | |
CN100364289C (en) | Method for implementing layer-2 equipment interconnection in resilient packet ring (RPR) based network | |
CN107528667A (en) | The method and apparatus that frame data transmission is carried out between proximal device and remote equipment | |
CN104936254A (en) | Wireless network seamless transfer method and device based on software-defined network | |
CN104683994A (en) | Wireless network configuration method and wireless network devices | |
CN105992273A (en) | Method and device for providing relay access service in LTE network, and relay terminal | |
US20230370899A1 (en) | Packet forwarding method, packet processing method, and device | |
CN106911436A (en) | A kind of implementation method of parallel double-network redundant | |
EP2897328B1 (en) | Method, system and apparatus for establishing communication link | |
CN109495594A (en) | A kind of data transmission method, PNF SDN controller, VNF SDN controller and system | |
CN103581138A (en) | Data transmission method and device | |
CN101453412B (en) | Method and apparatus for automatic topology discovery and resource management in PBB network | |
CN100550810C (en) | The method of bearing point end-to-end protocol (EEP), Apparatus and system on Resilient Packet Ring | |
CN107277861A (en) | A kind of distributed cut-in method of mobile whole network | |
CN110337103A (en) | A kind of connectionless data hided transmission method based on 802.11 agreements | |
CN103763676B (en) | Communication means and equipment between AP and AC | |
CN106656554A (en) | Method and device for implementing LACP in MLAG environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |