CN105591988B - A kind of synchronous method and device of MAC Address - Google Patents
A kind of synchronous method and device of MAC Address Download PDFInfo
- Publication number
- CN105591988B CN105591988B CN201510617373.8A CN201510617373A CN105591988B CN 105591988 B CN105591988 B CN 105591988B CN 201510617373 A CN201510617373 A CN 201510617373A CN 105591988 B CN105591988 B CN 105591988B
- Authority
- CN
- China
- Prior art keywords
- message
- vlan information
- mac address
- extension
- lsp
- 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
Landscapes
- Small-Scale Networks (AREA)
Abstract
The present invention provides the synchronous method and device of a kind of MAC Address, this method comprises: local terminal edge device receives the first message from remote edge equipment, carries the first extension vlan information in the first message;Local terminal edge device obtains corresponding first MAC Address of the first extension vlan information;Local terminal edge device adds the first extension vlan information, the first MAC Address in the second message, and the second message is sent to the remote edge equipment.According to the technical solution of the present invention, it is possible to reduce the quantity forwarded of MAC Address reduces the occupancy of network bandwidth, saves memory source.
Description
Technical field
The present invention relates to field of communication technology more particularly to the synchronous method and device of a kind of MAC Address.
Background technique
As shown in Figure 1, for EVI (Ethernet Virtual Interconnect, Ethernet virtualization interconnection) network
Networking schematic diagram, EVI are a kind of two-layer VPN (Virtual Private Network, virtual privates based on IP core network
Network) technology, it can be based on existing service provider network and enterprise network, provide two layers of interconnection for the physical site of dispersion
Function.Switching equipment positioned at station network edge is edge device, is run in station network as two-layer equipment, in core
Network is run as three-layer equipment.
Edge device A is in study to MAC (Media Access Control, the medium of the user equipment in station network 1
Access control) behind address, pass through IS-IS (Intermediate System to Intermediate System, intermediate system
To intermediate system) institute that will learn of protocol massages (such as LSP (Link State Protocol, link-state protocol) message)
There is MAC Address to be sent to edge device B.
Edge device B selects active mac addresses from all MAC Address received after receiving MAC Address,
And the active mac addresses selected are recorded in MAC forwarding table.It is when edge device B slave station spot net 2 receives destination address
When the data message of the user equipment in station network 1, then data message can be sent out based on the MAC Address in MAC forwarding table
Edge device A is given, the user equipment then data message being sent to by edge device A in station network 1.
When MAC Address quantity is very big, all MAC Address learnt are sent to edge device B by edge device A
When, the memory of a large amount of network bandwidth and edge device A can be occupied, moreover, edge device B is from all MAC Address received
The time for selecting active mac addresses is longer.
Summary of the invention
The present invention provides a kind of synchronous method of medium access control MAC Address, this method comprises:
Local terminal edge device receives the first message from remote edge equipment, carries remote edge in the first message and sets
Standby corresponding first extension virtual LAN VLAN information;
Local terminal edge device obtains corresponding first MAC Address of the first extension vlan information;
Local terminal edge device adds the first extension vlan information and corresponding first MAC Address in the second message, and
Second message is sent to remote edge equipment.
Method further comprises:
Local terminal edge device obtains the corresponding second extension vlan information of local terminal edge device, and sends out to remote edge equipment
Send the third message for carrying the second extension vlan information;
Local terminal edge device receives the 4th message from remote edge equipment, carries the second extension in the 4th message
Vlan information and corresponding second MAC Address;
Local terminal edge device updates corresponding second MAC Address of the second extension vlan information to the second extension VLAN letter
It ceases in corresponding MAC forwarding table.
Local terminal edge device updates corresponding second MAC Address of the second extension vlan information to the second extension VLAN letter
The process in corresponding MAC forwarding table is ceased, is specifically included:
Local terminal edge device obtains the corresponding extension vlan information of interface board on local terminal edge device, and judges the second expansion
Whether identical open up vlan information extension vlan information corresponding with interface board;If it is, the second extension vlan information is corresponding
The second MAC Address, update into the MAC forwarding table of interface board;If it is not, then refusal is corresponding by the second extension vlan information
Second MAC Address is updated into the MAC forwarding table of interface board.
Local terminal edge device obtains corresponding first MAC Address of the first extension vlan information, and adds in the second message
Before first extension vlan information and corresponding first MAC Address, method further comprises:
Local terminal edge device is that virtual nodes, and the related information of record interface plate and virtual nodes is arranged in interface board;?
Be interface board one the first link-state protocol LSP of corresponding each extension vlan information maintenance under virtual nodes, and this
The corresponding MAC Address of extension vlan information that corresponding extension vlan information and interface board learn is recorded in one LSP;
The extension vlan information learnt based on the extension vlan information and an interface board that record in each first LSP is corresponding
MAC Address is total interface plate one the 2nd LSP of corresponding each extension vlan information maintenance of local terminal edge device, and
It is corresponding that the extension vlan information that corresponding extension vlan information and total interface plate learn is recorded in 2nd LSP
MAC Address;
Local terminal edge device obtains corresponding first MAC Address of the first extension vlan information, and adds in the second message
The process of first extension vlan information and corresponding first MAC Address, specifically include: local terminal edge device inquires first
Corresponding 2nd LSP of vlan information is extended, and obtaining the MAC Address recorded in the 2nd LSP is the first extension vlan information pair
The first MAC Address answered, and the 2nd LSP is added in the second message.
Second message is sent to the process of remote edge equipment by local terminal edge device, is specifically included: when in the second message
When the content of carrying is greater than default first numerical value, local terminal edge device carries out fragment processing to the second message, obtains multiple sub- reports
Text, and multiple sub- messages are sent respectively to remote edge equipment;It wherein, include system banner, fragment mark in every sub- message
Know and dummy node identifies;System banner in different sub- messages is identical, dummy node mark is identical, segmental identification is different;When
When the content carried in two messages is greater than default second value, local terminal edge device carries out fragment processing to the second message, obtains
The sub- message of multiple groups, and every sub- message in every group of sub- message is sent respectively to remote edge equipment;Wherein, every group of sub- message
In include multiple sub- messages, include system banner, segmental identification and dummy node mark in every sub- message;For more in same group
A sub- message, system banner in different sub- messages is identical, dummy node mark is identical, segmental identification is different;For different groups
In multiple sub- messages, system banner in different sub- messages is identical, dummy node mark is different;
Wherein, it presets second value and is greater than default first numerical value.
The present invention provides a kind of synchronizing device of medium access control MAC Address, and the synchronizing device of MAC Address is applied at this
In end margin equipment, the synchronizing device of MAC Address includes:
Receiving module carries remote edge in the first message for receiving the first message from remote edge equipment
The corresponding first extension virtual LAN VLAN information of equipment;
Module is obtained, for obtaining corresponding first MAC Address of the first extension vlan information;
Processing module, for adding the first extension vlan information and corresponding first MAC Address in the second message,
And the second message is sent to remote edge equipment.
Module is obtained, is also used to obtain the corresponding second extension vlan information of local terminal edge device, and set to remote edge
Preparation send the third message for carrying the second extension vlan information;
Receiving module is also used to receive the 4th message from remote edge equipment, carries the second expansion in the 4th message
Open up vlan information and corresponding second MAC Address;
Processing module is also used to update corresponding second MAC Address of the second extension vlan information to the second extension VLAN
In the corresponding MAC forwarding table of information.
Processing module is specifically used for updating by corresponding second MAC Address of the second extension vlan information to the second extension
During in the corresponding MAC forwarding table of vlan information, the corresponding extension VLAN letter of interface board on local terminal edge device is obtained
Breath, and judge whether the second extension vlan information extension vlan information corresponding with interface board is identical;If it is, second is expanded
Corresponding second MAC Address of vlan information is opened up, is updated into the MAC forwarding table of interface board;If it is not, then refusal is extended second
Corresponding second MAC Address of vlan information is updated into the MAC forwarding table of interface board.
Processing module is specifically used for extending corresponding first MAC Address of vlan information in acquisition first, and in the second message
Before middle the first extension vlan information of addition and corresponding first MAC Address, virtual nodes are set for interface board, and record
The related information of interface board and virtual nodes;One is safeguarded under virtual nodes for the corresponding each extension vlan information of interface board
First link-state protocol LSP, and record in the first LSP corresponding extension vlan information and interface board learns
The corresponding MAC Address of extension vlan information;Based on the extension vlan information and an interface board recorded in each first LSP
The corresponding MAC Address of extension vlan information learnt is the corresponding each extension of total interface plate of local terminal edge device
Vlan information safeguards the 2nd LSP, and corresponding extension vlan information and total interface plate are recorded in the 2nd LSP
The corresponding MAC Address of extension vlan information learnt;
Processing module is specifically used for extending corresponding first MAC Address of vlan information in acquisition first, and in the second message
During middle the first extension vlan information of addition and corresponding first MAC Address, the first extension vlan information pair is inquired
The 2nd LSP answered, and obtain the MAC Address recorded in the 2nd LSP for corresponding first MAC of the first extension vlan information
Location, and the 2nd LSP is added in the second message.
Processing module, specifically for during the second message is sent to remote edge equipment, when in the second message
When the content of carrying is greater than default first numerical value, fragment processing is carried out to the second message, obtains multiple sub- messages, and by multiple sons
Message is sent respectively to remote edge equipment;It wherein, include system banner, segmental identification and dummy node mark in every sub- message
Know;System banner in different sub- messages is identical, dummy node mark is identical, segmental identification is different;
When the content carried in the second message is greater than default second value, fragment processing is carried out to the second message, is obtained
The sub- message of multiple groups, and every sub- message in every group of sub- message is sent respectively to remote edge equipment;Wherein, every group of sub- message
In include multiple sub- messages, include system banner, segmental identification and dummy node mark in every sub- message;For more in same group
A sub- message, system banner in different sub- messages is identical, dummy node mark is identical, segmental identification is different;For different groups
In multiple sub- messages, system banner in different sub- messages is identical, dummy node mark is different;
Wherein, it presets second value and is greater than default first numerical value.
Based on the above-mentioned technical proposal, in the embodiment of the present invention, extension of the local terminal edge device based on remote edge equipment
VLAN (Virtual Local Area Network, virtual LAN) information, it is corresponding will selectively to extend vlan information
MAC Address is sent to remote edge equipment, rather than all MAC Address of local terminal edge device are sent to remote edge and are set
It is standby, to reduce the quantity forwarded of MAC Address, the occupancy of network bandwidth is reduced, the memory source of local terminal edge device is saved, subtracts
Light network burden.Moreover, the MAC Address that remote edge equipment receives is active mac addresses, reduces and choose active mac addresses
Time, make really effective MAC Address be sent to remote edge equipment in a shorter time.
Detailed description of the invention
Fig. 1 is the networking schematic diagram of EVI network;
Fig. 2 is the flow chart of the synchronous method of MAC Address in one embodiment of the present invention;
Fig. 3 is the building-block of logic of local terminal edge device in one embodiment of the present invention;
Fig. 4 is the building-block of logic of the synchronizing device of MAC Address in one embodiment of the present invention.
Specific embodiment
Aiming at the problems existing in the prior art, a kind of synchronous method of MAC Address is proposed in the embodiment of the present invention.To scheme
1 is the application scenarios schematic diagram of the embodiment of the present invention, and this method is applied to include local terminal edge device and remote edge equipment
In EVI network.Local terminal edge device and remote edge equipment be it is opposite, when edge device A be local terminal edge device when, edge
Equipment B is remote edge equipment, and when edge device B is local terminal edge device, edge device A is remote edge equipment.Upper
It states under application scenarios, as shown in Fig. 2, the synchronous method of the MAC Address can specifically include following steps:
Step 201, local terminal edge device receives the first message from remote edge equipment, at least takes in first message
With the corresponding first extension vlan information of remote edge equipment.
Step 202, local terminal edge device obtains corresponding first MAC Address of the first extension vlan information.Wherein, this first
MAC Address is specially the MAC Address that local terminal edge device learns.
Step 203, local terminal edge device adds the first extension vlan information and corresponding first in the second message
MAC Address, and second message is sent to remote edge equipment.
In the embodiment of the present invention, remote edge equipment obtains itself corresponding first extension vlan information, and to this end edge
Edge equipment sends the first message for carrying the first extension vlan information.Local terminal edge device obtains after receiving the first message
Corresponding first MAC Address of first extension vlan information, and addition first extends vlan information and corresponds in the second message
The first MAC Address, and the second message is sent to remote edge equipment.Remote edge equipment is receiving the first extension of carrying
After second message of vlan information and corresponding first MAC Address, by corresponding first MAC of the first extension vlan information
Address is updated into the corresponding MAC forwarding table of the first extension vlan information.
Wherein, remote edge equipment is sending the first message for carrying the first extension vlan information to local terminal edge device
In the process, remote edge equipment can periodically send the first report for carrying the first extension vlan information to local terminal edge device
Text.Alternatively, when the corresponding first extension vlan information of remote edge equipment changes, as the interface of remote edge equipment adds
The interface for having entered new an extension VLAN or remote edge equipment has exited an existing extension VLAN, then remote edge
Equipment sends the first message for carrying the first extension vlan information to local terminal edge device.Further, it is set for remote edge
For standby, other all edge devices in EVI network are local terminal edge device, i.e. remote edge equipment is to other all sides
Edge equipment sends the first message for carrying the first extension vlan information.
In the embodiment of the present invention, local terminal edge device obtains itself corresponding second extension vlan information, and to distal edge
Edge equipment sends the third message for carrying the second extension vlan information.Local terminal edge device receives the from remote edge equipment
Four messages carry the second extension vlan information and corresponding second MAC Address in the 4th message.Local terminal edge device
Corresponding second MAC Address of the second extension vlan information is updated into the corresponding MAC forwarding table of the second extension vlan information.
Wherein, local terminal edge device obtains itself corresponding second extension vlan information, and sends to remote edge equipment
Carry the third message of the second extension vlan information.Remote edge equipment obtains the second extension after receiving third message
Corresponding second MAC Address of vlan information, and the second extension of addition vlan information and corresponding second in the 4th message
MAC Address, and the 4th message is sent to local terminal edge device.Local terminal edge device is receiving the second extension of carrying VLAN
After 4th message of information and corresponding second MAC Address, corresponding second MAC Address of vlan information is extended by second,
It updates into the corresponding MAC forwarding table of the second extension vlan information.
Wherein, local terminal edge device is sending the third message for carrying the second extension vlan information to remote edge equipment
In the process, local terminal edge device can periodically send the third report for carrying the second extension vlan information to remote edge equipment
Text.Alternatively, when the corresponding second extension vlan information of local terminal edge device changes, as the interface of local terminal edge device adds
The interface for having entered new an extension VLAN or local terminal edge device has exited an existing extension VLAN, then this end margin
Equipment sends the third message for carrying the second extension vlan information to remote edge equipment.Further, it is set for this end margin
For standby, other all edge devices in EVI network are remote edge equipment, i.e., local terminal edge device is standby to other all
Edge device sends the third message for carrying the second extension vlan information.
Assuming that the corresponding extension vlan information of edge device A is VLAN101 and VLAN102, edge device A is in VLAN101
MAC1-MAC10 is arrived in lower study, and MAC11-MAC20 is arrived in study at VLAN102.Assuming that the corresponding extension VLAN letter of edge device B
Breath is VLAN101 and VLAN103, and edge device B learns to MAC21-MAC30 at VLAN101, learns to arrive at VLAN103
MAC31-MAC40。
Edge device A sends the message for carrying VLAN101 and VLAN102 to edge device B.Edge device B is obtained
The corresponding MAC Address of VLAN101 is MAC21-MAC30, and obtaining the corresponding MAC Address of VLAN102 is sky, therefore, edge device B
The message for carrying the corresponding relationship of VLAN101 and MAC21-MAC30 is sent to edge device A.Edge device A is by MAC21-
MAC30 is updated into the corresponding MAC forwarding table of VLAN101.
Edge device B sends the message for carrying VLAN101 and VLAN103 to edge device A.Edge device A is obtained
The corresponding MAC Address of VLAN101 is MAC1-MAC10, and obtaining the corresponding MAC Address of VLAN103 is sky, therefore, edge device A
The message for carrying the corresponding relationship of VLAN101 and MAC1-MAC 10 is sent to edge device B.Edge device B is by MAC1-
MAC 10 is updated into the corresponding MAC forwarding table of VLAN101.
Based on the above-mentioned technical proposal, in the embodiment of the present invention, extension of the local terminal edge device based on remote edge equipment
Vlan information will selectively extend the corresponding MAC Address of vlan information and be sent to remote edge equipment, rather than by this end edge
All MAC Address of edge equipment are sent to remote edge equipment, to reduce the quantity forwarded of MAC Address, reduce network bandwidth
Occupancy, save local terminal edge device memory source, mitigate network burden.Moreover, the MAC Address that remote edge equipment receives
It is active mac addresses, reduces the time for choosing active mac addresses, sends out real effective MAC Address in a shorter time
It is sent to remote edge equipment.Under above-mentioned application scenarios, edge device A only needs for MAC1-MAC10 to be sent to edge device B,
Without MAC11-MAC20 is sent to edge device B, edge device B, which only needs MAC21-MAC30 being sent to edge, to be set
Standby A, without MAC31-MAC40 is sent to edge device A, to reduce MAC Address synchronous between edge device
Quantity reduces and occupies network bandwidth.Moreover, the MAC1-MAC10 for being sent to edge device B is to need to update to MAC forwarding table
In MAC Address, be sent to edge device A MAC21-MAC30 be need update to the MAC Address in MAC forwarding table, i.e.,
The MAC Address of transmission is real effective MAC Address, to reduce the time for choosing active mac addresses.
Assuming that there are a large amount of edge device (such as 32 edge devices) in EVI network, edge device 1 uses extension
VLAN1001~2000, the use extension of edge device 2 VLAN1001~1500, edge device 3-32 use extension VLAN1501~
2000.When study is to 1,000,000 MAC Address altogether for extension VLAN1001~1500 on edge device 1, in the prior art, need
1,000,000 MAC Address are sent respectively to 31 edge devices in EVI example, and in the embodiment of the present invention, it is only necessary to by 1
000 000 MAC Address are sent to edge device 2, to save a large amount of flow and network bandwidth.
Assuming that edge device 1 has used extension VLAN1001~1002, edge device 2 used extension VLAN1002~
1003, the extension VLAN1001 study on edge device 1 extends VLAN1002 study to 100 MAC to 9900 MAC Address
When address, in the prior art, edge device 1 needs for 10000 MAC Address to be sent to edge device 2, and edge device 2 is chosen
Corresponding 100 MAC Address of VLAN1002 out extend the time that edge device 2 obtains active mac addresses.The present invention is implemented
In example, edge device 1 only needs corresponding 100 MAC Address of VLAN1002 being sent to edge device 2, and edge device 2 can
Effective MAC Address is obtained within the shortest time.
In the embodiment of the present invention, there can be multiple interface boards on edge device, the interface on interface board can be added to phase
Same extension VLAN, can also be added in different extension VLAN, and interface board corresponds to one or more extension vlan information.Example
Such as, the interface 1 of interface board 1 is added to extension VLAN1, when interface 2 is added to extension VLAN2, the corresponding extension VLAN of interface board 1
Information is extension VLAN1 and extension VLAN2.The interface 3 of interface board 2 is added to extension VLAN2, and interface 3 is added to extension VLAN3
When, the corresponding extension vlan information of interface board 2 is extension VLAN2 and extension VLAN3.
In the embodiment of the present invention, local terminal edge device arrives corresponding second MAC Address of the second extension vlan information, update
Process in the corresponding MAC forwarding table of second extension vlan information, is specifically including but not limited to such as under type: local terminal edge device
The corresponding extension vlan information of interface board on local terminal edge device is obtained, and judges the second extension vlan information and interface board pair
Whether the extension vlan information answered is identical;If it is, by corresponding second MAC Address of the second extension vlan information, update is arrived
In the MAC forwarding table of interface board;If it is not, then refusal by the second corresponding second MAC Address of extension vlan information, is updated to connecing
In the MAC forwarding table of oralia.Remote edge equipment updates corresponding first MAC Address of the first extension vlan information to first
Extend the process in the corresponding MAC forwarding table of vlan information, be specifically including but not limited to such as under type: remote edge equipment obtains
The corresponding extension vlan information of interface board in remote edge equipment, and judge that the first extension vlan information is corresponding with interface board
Whether identical extend vlan information;If it is, updating and arriving interface corresponding first MAC Address of the first extension vlan information
In the MAC forwarding table of plate;If it is not, then corresponding first MAC Address of the first extension vlan information is updated and arrives interface board by refusal
MAC forwarding table in.
For example, the corresponding VLAN101 of the interface board 1 of edge device A, when interface board 2 corresponds to VLAN102, edge device A is being received
To after the corresponding relationship of MAC21-MAC30 and VLAN101, MAC21-MAC30 is updated to the corresponding interface board 1 of VLAN101
In MAC forwarding table, without updating MAC21-MAC30 into the MAC forwarding table of interface board 2.The interface board 3 of edge device B is right
VLAN101 is answered, when interface board 4 corresponds to VLAN103, edge device B is in the corresponding relationship for receiving MAC1-MAC10 and VLAN101
Afterwards, MAC1-MAC10 is updated into the MAC forwarding table of the corresponding interface board 3 of VLAN101, without arriving MAC1-MAC10 update
In the MAC forwarding table of interface board 4.
Based on the above-mentioned technical proposal, in the embodiment of the present invention, edge device is receiving extension vlan information and corresponding MAC
Behind address, it is only necessary to the MAC Address is updated into the MAC forwarding table of the corresponding interface board of extension vlan information, without
The MAC Address is updated into the MAC forwarding table of total interface plate, so as to save the MAC Address resource of interface board, is subtracted
Few communication between plates data, it is ensured that really effective MAC Address can be sent on interface board within the shorter time.
In the embodiment of the present invention, corresponding first MAC Address of local terminal edge device acquisition the first extension vlan information, and
Before addition first extends vlan information and corresponding first MAC Address in second message, local terminal edge device is each interface
Virtual nodes are arranged in plate, and record the related information of each interface board Yu each virtual nodes;It is corresponding interface under virtual nodes
The corresponding each extension vlan information of plate safeguards the first LSP, and corresponding extension VLAN letter is recorded in the first LSP
The corresponding MAC Address of extension vlan information that breath and the interface board learn;Based on the expansion recorded in each first LSP
The corresponding MAC Address of extension vlan information that exhibition vlan information and an interface board learn is local terminal edge device
The corresponding each extension vlan information of total interface plate safeguards the 2nd LSP, and records corresponding extension in the 2nd LSP
The corresponding MAC Address of extension vlan information that vlan information and total interface plate learn.Further, this end margin
Equipment obtains the first corresponding first MAC Address of extension vlan information, and in the second message the first extension of addition vlan information,
And the process of corresponding first MAC Address, be specifically including but not limited to such as under type: local terminal edge device is receiving the first report
Wen Hou inquires corresponding 2nd LSP of the first extension vlan information, and obtaining the MAC Address recorded in the 2nd LSP is first
Corresponding first MAC Address of vlan information is extended, and the 2nd LSP is added in the second message.
In the embodiment of the present invention, corresponding second MAC Address of remote edge equipment acquisition the second extension vlan information, and
Before addition second extends vlan information and corresponding second MAC Address in 4th message, remote edge equipment is each interface
Virtual nodes are arranged in plate, and record the related information of each interface board Yu each virtual nodes;It is corresponding interface under virtual nodes
The corresponding each extension vlan information of plate safeguards the first LSP, and corresponding extension VLAN letter is recorded in the first LSP
The corresponding MAC Address of extension vlan information that breath and the interface board learn;Based on the expansion recorded in each first LSP
The corresponding MAC Address of extension vlan information that exhibition vlan information and an interface board learn is remote edge equipment
The corresponding each extension vlan information of total interface plate safeguards the 2nd LSP, and records corresponding extension in the 2nd LSP
The corresponding MAC Address of extension vlan information that vlan information and total interface plate learn.Further, remote edge
Equipment obtains the second corresponding second MAC Address of extension vlan information, and in the 4th message the second extension of addition vlan information,
And the process of corresponding second MAC Address, be specifically including but not limited to such as under type: remote edge equipment is receiving third report
Wen Hou inquires corresponding 2nd LSP of the second extension vlan information, and obtain the MAC Address that is recorded in the 2nd LSP be this
Corresponding second MAC Address of two extension vlan informations, and the 2nd LSP is added in the 4th message.
It wherein, include a practical node on edge device, i.e., it is existing for stating the knot of the information of this edge device
Point indicates practical node by using practical Nodes Systems mark (such as 0000.0000.0001).On this basis, of the invention
In embodiment, unique virtual nodes can be set for each interface board of edge device, and pass through virtual nodes system
Mark is to indicate virtual nodes.In practical applications, it by hand can be each interface board of edge device by user, select one
Unique virtual nodes system banner (for characterizing virtual nodes), alternatively, virtual nodes system can be configured on edge device
System mark range (such as 2222.2222.0001~2222.2222.0020), and by edge device from the virtual nodes system banner
In range, select a unique virtual nodes system banner for each interface board (for characterizing virtual nodes).Further,
Edge device can be with the related information of record interface plate and virtual nodes (being indicated by virtual nodes system banner).Example
Such as, when edge device A is that interface board 1 is provided with virtual nodes 2222.2222.0001, and is provided with virtual nodes for interface board 2
When 2222.2222.0002, then what edge device A can recorde interface board 1 and virtual nodes 2222.2222.0001 is associated with letter
Breath, and can recorde the related information of interface board 2 Yu virtual nodes 2222.2222.0002.
Wherein, when there is interface that extension VLAN is added on interface board, then virtual nodes are set for the interface board, by virtual
Nodes Systems mark characterizes the virtual nodes, and records the related information of the interface board Yu the virtual nodes.Further, when connecing
When total interface on oralia all extends VLAN without being added, then the corresponding virtual nodes of the interface board are deleted, and delete this and connect
The related information of oralia and the virtual nodes.
Wherein, after virtual nodes are arranged for interface board, edge device is corresponding for the interface board under the virtual nodes
Each extension vlan information safeguard the first LSP, and corresponding extension vlan information is recorded in the first LSP, and
The corresponding MAC Address of extension vlan information that the interface board learns.Edge device is in LSDB (Link State Data
Base, link state database) in record the virtual nodes of each interface board, and corresponding all are recorded under the virtual nodes
One LSP mark.
For example, the corresponding extension vlan information of interface board 1 is VLAN101 and VLAN102, the corresponding extension of interface board 2
When vlan information is VLAN102 and VLAN103, the related information based on interface board 1 Yu virtual nodes 2222.2222.0001 is connect
The related information of oralia 2 and virtual nodes 2222.2222.0002, edge device record virtual nodes in LSDB
2222.2222.0001 recording LSP mark 1 at virtual nodes 2222.2222.0001 with virtual nodes 2222.2222.0002
With LSP mark 2, LSP is recorded at virtual nodes 2222.2222.0002 and identifies 3 and LSP mark 4.In the LSP of LSP mark 1
In, record the corresponding all MAC Address of VLAN101 that VLAN101 and interface board 1 learn.In the LSP of LSP mark 2, note
The corresponding all MAC Address of VLAN102 that record VLAN102 and interface board 1 learn.In the LSP of LSP mark 3, record
The corresponding all MAC Address of the VLAN102 that VLAN102 and interface board 2 learn.In the LSP of LSP mark 4, record
The corresponding all MAC Address of the VLAN103 that VLAN103 and interface board 2 learn.
Wherein, the mark based on the first LSP each of under the virtual nodes recorded in LSDB, edge device can obtain often
The corresponding MAC of the extension vlan information that the extension vlan information and an interface board recorded in a first LSP learns
Location, and be the total interface plate of edge device one the 2nd LSP of corresponding each extension vlan information maintenance, and this second
The corresponding MAC of the extension vlan information that corresponding extension vlan information and total interface plate learn is recorded in LSP
Location.
For example, 1 and LSP mark 2 is identified based on the LSP under the virtual nodes 2222.2222.0001 recorded in LSDB, it is empty
LSP under quasi- node 2222.2222.0002 identifies 3 and LSP mark 4, and edge device can obtain in the LSP of LSP mark 1,
The corresponding all MAC Address of VLAN101 that record VLAN101 and interface board 1 learn, in the LSP of LSP mark 2, record
The corresponding all MAC Address of the VLAN102 that VLAN102 and interface board 1 learn, in the LSP of LSP mark 3, record
The corresponding all MAC Address of the VLAN102 that VLAN102 and interface board 2 learn, in the LSP of LSP mark 4, record
The corresponding all MAC Address of the VLAN103 that VLAN103 and interface board 2 learn.Based on this, one second is safeguarded for VLAN101
LSP, and the corresponding all MAC Address of VLAN101 that record VLAN101, interface board 1 learn in the 2nd LSP.For
VLAN102 safeguards the 2nd LSP, and the VLAN102 that record VLAN102, interface board 1 learn in the 2nd LSP is corresponding
All MAC Address, the corresponding all MAC Address of VLAN102 that learn of interface board 2.One second is safeguarded for VLAN103
LSP, and the corresponding all MAC Address of VLAN103 that record VLAN103, interface board 2 learn in the 2nd LSP.
When virtual nodes corresponding there are interface board in LSDB, if there is interface that new extension is added on the interface board
VLAN, then edge device is that new extension VLAN safeguards the first LSP, and new extension VLAN is recorded in the first LSP, with
And the new corresponding MAC Address of extension VLAN that the interface board learns, and record under the virtual nodes of LSDB this first
The mark of LSP.Based on the mark of the first LSP recorded under virtual nodes, edge device can update this new VLAN pairs of extension
The 2nd LSP answered.When not there are the corresponding virtual nodes of interface board in LSDB, if there have interface to be added on the interface board to be new
Extension VLAN, then edge device is that new extension VLAN safeguards the first LSP, records new extension in the first LSP
The new corresponding MAC Address of extension VLAN that VLAN and the interface board learn, and record in LSDB the void of the interface board
Intend node, and records the mark of the first LSP under the virtual nodes of the interface board.Based on first recorded under virtual nodes
The mark of LSP, edge device can update corresponding 2nd LSP of new extension VLAN.
When virtual nodes corresponding there are interface board in LSDB, if there is interface to exit extension VLAN on the interface board,
It is that the first LSP that extension VLAN is safeguarded (has recorded extension VLAN in the first LSP and this connects that then edge device, which is deleted,
The corresponding MAC Address of extension VLAN that oralia learns), and delete under the virtual nodes of LSDB the mark of the first LSP
Know.Based on the mark of the first LSP recorded under virtual nodes, edge device can update corresponding 2nd LSP of extension VLAN.
Further, if without the mark of the first LSP under the virtual nodes of LSDB, edge device is deleted from LSDB should
Virtual nodes, and update corresponding 2nd LSP of extension VLAN.
Based on corresponding 2nd LSP of each extension VLAN, edge device carries the message (such as the of extension vlan information receiving
One message or third message) after, each 2nd LSP is inquired using the extension vlan information.If there is the expansion recorded in the 2nd LSP
The extension vlan information that carries is identical in exhibition vlan information and message, then by the 2nd LSP be added to message (such as the second message or
4th message) in.
In above process, the first message and third message are specifically as follows MAC Address synchronization request message, first report
Extension vlan information is carried in text and third message, and first message and third message are for requesting the extension vlan information pair
The MAC Address answered.Second message and the 4th message are specifically as follows LSP message, in the LSP message carry extension vlan information and
MAC Address.
MAC Address is carried in existing LSP message, and carries extension vlan information in the LSP message of the embodiment of the present invention
And therefore MAC Address is extended existing LSP message, specific TLV (Type Length is added in LSP message
Value, type lengths values), which can be named as the TLV of actual use VLAN, and the specific TLV expands for carrying
Open up vlan information.
Wherein, specific TLV includes following field: Type (type) field, 1 byte, and value is arbitrary non-specified value
(such as 0xF0) indicates to carry extension vlan information in current message.Length (length) field, 2 bytes indicate specific TLV's
Length.Value (value) field, which may include: system banner: 6 bytes;Whether S: being minimal expansion VLAN mark
Know, indicate to be minimal expansion VLAN mark when S is 1, indicates not being minimal expansion VLAN mark when S is 0;Whether L: being maximum expansion
VLAN mark is opened up, indicates to be largest extension VLAN mark when L is 1, indicates not being largest extension VLAN mark when L is 0;RESV
(reserved): reserved bit, 6bit (bit);Start (beginning) VLAN mark: 12bit;End (end) VLAN mark: 12bit.Its
In, S, L, RESV, Start VLAN mark, the content that carries can repeat in End VLAN mark, to carry whole extensions
Vlan information.For example, extension vlan information is VLAN201~210, when 222,224, then: S 1, L 0, Start VLAN mark
Know is that 201, End VLAN is identified as 210;S is 0, L 0, and Start VLAN, which is identified as 222, End VLAN and is identified as 222, S, is
0, L 1, Start VLAN are identified as 224, End VLAN and are identified as 224.
In the embodiment of the present invention, the second message is sent to the process of remote edge equipment by local terminal edge device, specific to wrap
It includes but is not limited to such as under type: when the content carried in the second message is greater than default first numerical value, then local terminal edge device pair
Second message carries out fragment processing, obtains multiple sub- messages, and multiple sub- messages are sent respectively to remote edge equipment;Each
It include system banner, segmental identification and dummy node mark in sub- message;System banner in different sub- messages is identical, dummy node
Identify that identical, segmental identification is different.When the content carried in the second message is greater than default second value, then local terminal edge device
Fragment processing is carried out to the second message, obtains the sub- message of multiple groups, and every sub- message in every group of sub- message is sent respectively to
Remote edge equipment;Include multiple sub- messages in every group of sub- message, includes system banner, segmental identification and puppet in every sub- message
Node identification;For multiple sub- messages in same group, system banner in different sub- messages is identical, dummy node mark is identical,
Segmental identification is different;For multiple sub- messages in different groups, system banner in different sub- messages is identical, dummy node mark
It is different.4th message is sent to the process of local terminal edge device by remote edge equipment, is specifically including but not limited to such as under type:
When the content carried in the 4th message is greater than default first numerical value, then remote edge equipment carries out at fragment the 4th message
Reason, obtains multiple sub- messages, and multiple sub- messages are sent respectively to local terminal edge device;Wherein, include in every sub- message
System banner, segmental identification and dummy node mark;System banner in different sub- messages is identical, dummy node mark is identical, point
Piece mark is different.When the content carried in the 4th message is greater than default second value, then remote edge equipment is to the 4th message
Fragment processing is carried out, obtains the sub- message of multiple groups, and every sub- message in every group of sub- message is sent respectively to this end margin and is set
It is standby;Wherein, include multiple sub- messages in every group of sub- message, include system banner, segmental identification and dummy node in every sub- message
Mark;For multiple sub- messages in same group, system banner in different sub- messages is identical, dummy node identifies identical, fragment
Mark is different;For multiple sub- messages in different groups, system banner in different sub- messages is identical, dummy node mark not
Together.Wherein, it presets second value and is greater than default first numerical value.
Since the content that can be carried in LSP message (the second message or the 4th message) is limited, when LSP message
When the content of middle carrying is greater than the carrying upper limit (default first numerical value), then edge device can carry out fragment processing to LSP message,
Each fragment treated LSP message includes system banner, segmental identification and dummy node mark.Wherein, different fragment
The system banner of treated LSP message is identical, dummy node mark is identical, segmental identification is different.For example, LSP message 1
System banner is 1111.1111.0001, and dummy node is identified as 00, segmental identification 00;The system banner of LSP message 2 is
1111.1111.0001, dummy node is identified as 00, segmental identification 01;The system banner of LSP message 3 is
1111.1111.0001, dummy node is identified as 00, segmental identification 02;And so on.
Since segmental identification is at best able to distinguish 256 LSP messages, when LSP message (the second message or
4th message) in the content that carries be greater than 256 LSP messages when can carry the upper limit (the default second value) of content, then
Edge device can carry out fragment processing to LSP message, and obtain multiple groups LSP message, and include more in every group of LSP message
A LSP message.It wherein, include system banner, segmental identification and dummy node mark in each LSP message.For in same group
Multiple LSP messages, then the system banner in different LSP message is identical, dummy node mark is identical, segmental identification not
Together;For multiple LSP messages in different groups, then the system banner in different LSP message is identical, dummy node mark not
Together, segmental identification is same or different.For example, including 256 LSP messages, the system banner of LSP message 11 in first group
For 1111.1111.0001, dummy node is identified as 00, segmental identification 00;The system banner of LSP message 12 is
1111.1111.0001, dummy node is identified as 00, segmental identification 01;The system banner of LSP message 13 is
1111.1111.0001, dummy node is identified as 00, segmental identification 02;And so on.It include 256 LSP reports in second group
The system banner of text, LSP message 21 is 1111.1111.0001, and dummy node is identified as 01, segmental identification 00;LSP report
The system banner of text 22 is 1111.1111.0001, and dummy node is identified as 01, segmental identification 01;The system of LSP message 23
It is identified as 1111.1111.0001, dummy node is identified as 01, segmental identification 02;And so on.It include 256 in third group
The system banner of LSP message, LSP message 31 is 1111.1111.0001, and dummy node is identified as 02, segmental identification 00;
The system banner of LSP message 32 is 1111.1111.0001, and dummy node is identified as 02, segmental identification 01;LSP message 33
System banner be 1111.1111.0001, dummy node is identified as 02, segmental identification 02;And so on.It is all until transmitting
MAC Address and extension vlan information, last group include one or more LSP message.
Based on the above-mentioned technical proposal, in the embodiment of the present invention, when in the MAC Address and extension vlan information for needing to transmit
When holding very much, fragment processing can be carried out to LSP message, and different LSP is distinguished by dummy node mark and segmental identification
Sub- message, to improve the transmittability of MAC Address.
The synchronizing device of MAC Address proposed by the present invention can be applicable in local terminal edge device, the synchronous dress of the MAC Address
Setting can also be realized by software realization by way of hardware or software and hardware combining.Taking software implementation as an example, as
Device on one logical meaning, being will be corresponding in nonvolatile memory by the processor of the local terminal edge device where it
Computer program instructions be read into memory operation formed.For hardware view, as shown in figure 3, being proposed for the present invention
MAC Address synchronizing device where local terminal edge device a kind of hardware structure diagram, in addition to processor shown in Fig. 3, net
Outside network interface, memory and nonvolatile memory, local terminal edge device can also include other hardware, such as be responsible for processing message
Forwarding chip etc.;The local terminal edge device is also possible to be distributed apparatus from hardware configuration, may include multiple connect
Mouth card, to carry out the extension of Message processing in hardware view.
Based on inventive concept same as the above method, a kind of medium access control is additionally provided in the embodiment of the present invention
The synchronizing device of MAC Address, the synchronizing device of MAC Address are applied on local terminal edge device, as shown in figure 4, MAC Address is same
Step device specifically includes:
Receiving module 11 carries distal edge in the first message for receiving the first message from remote edge equipment
The corresponding first extension virtual LAN VLAN information of edge equipment;
Module 12 is obtained, for obtaining corresponding first MAC Address of the first extension vlan information;
Processing module 13, for the first extension vlan information of addition in the second message and corresponding first MAC
Location, and the second message is sent to remote edge equipment.
Module 12 is obtained, is also used to obtain the corresponding second extension vlan information of local terminal edge device, and to remote edge
Equipment sends the third message for carrying the second extension vlan information;
Receiving module 11 is also used to receive the 4th message from remote edge equipment, carries second in the 4th message
Extend vlan information and corresponding second MAC Address;
Processing module 13 is also used to update corresponding second MAC Address of the second extension vlan information to the second extension
In the corresponding MAC forwarding table of vlan information.
Processing module 13 is specifically used for updating to second and expanding by corresponding second MAC Address of the second extension vlan information
During opening up in the corresponding MAC forwarding table of vlan information, the corresponding extension VLAN of interface board on local terminal edge device is obtained
Information, and judge whether the second extension vlan information extension vlan information corresponding with interface board is identical;If it is, by second
Corresponding second MAC Address of vlan information is extended, is updated into the MAC forwarding table of interface board;If it is not, then refusal expands second
Corresponding second MAC Address of vlan information is opened up, is updated into the MAC forwarding table of interface board.
Processing module 13 is specifically used for extending corresponding first MAC Address of vlan information in acquisition first, and in the second report
Before addition first extends vlan information and corresponding first MAC Address in text, virtual nodes are set for interface board, and remember
Record the related information of interface board and virtual nodes;It is the corresponding each extension vlan information maintenance one of interface board under virtual nodes
A first link-state protocol LSP, and record in the first LSP corresponding extension vlan information and interface board study is arrived
The corresponding MAC Address of extension vlan information;Based on the extension vlan information and an interface recorded in each first LSP
The corresponding MAC Address of extension vlan information that plate learns is the corresponding each expansion of total interface plate of local terminal edge device
It opens up vlan information and safeguards the 2nd LSP, and record corresponding extension vlan information and total interface in the 2nd LSP
The corresponding MAC Address of extension vlan information that plate learns;Processing module 13 is specifically used for extending VLAN letter in acquisition first
Corresponding first MAC Address is ceased, and the first extension vlan information of addition and corresponding first MAC Address in the second message
During, corresponding 2nd LSP of the first extension vlan information is inquired, and obtain the MAC Address recorded in the 2nd LSP and be
Corresponding first MAC Address of first extension vlan information, and the 2nd LSP is added in the second message.
Processing module 13, specifically for during the second message is sent to remote edge equipment, when the second message
When the content of middle carrying is greater than default first numerical value, fragment processing is carried out to the second message, obtains multiple sub- messages, and will be multiple
Sub- message is sent respectively to remote edge equipment;It wherein, include system banner, segmental identification and dummy node mark in every sub- message
Know;System banner in different sub- messages is identical, dummy node mark is identical, segmental identification is different;
When the content carried in the second message is greater than default second value, fragment processing is carried out to the second message, is obtained
The sub- message of multiple groups, and every sub- message in every group of sub- message is sent respectively to remote edge equipment;Wherein, every group of sub- message
In include multiple sub- messages, include system banner, segmental identification and dummy node mark in every sub- message;For more in same group
A sub- message, system banner in different sub- messages is identical, dummy node mark is identical, segmental identification is different;For different groups
In multiple sub- messages, system banner in different sub- messages is identical, dummy node mark is different;
Wherein, it presets second value and is greater than default first numerical value.
Wherein, the modules of apparatus of the present invention can integrate in one, can also be deployed separately.Above-mentioned module can close
And be a module, multiple submodule can also be further split into.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by
Software adds the mode of required general hardware platform to realize, naturally it is also possible to which by hardware, but in many cases, the former is more
Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art
Part can be embodied in the form of software products, which is stored in a storage medium, if including
Dry instruction is used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes this hair
The method of bright each embodiment.It will be appreciated by those skilled in the art that attached drawing is the schematic diagram of a preferred embodiment, attached drawing
In module or process not necessarily implement necessary to the present invention.
It will be appreciated by those skilled in the art that the module in device in embodiment can describe be divided according to embodiment
It is distributed in the device of embodiment, corresponding change can also be carried out and be located in one or more devices different from the present embodiment.On
The module for stating embodiment can be merged into a module, can also be further split into multiple submodule.The embodiments of the present invention
Serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Disclosed above is only several specific embodiments of the invention, and still, the present invention is not limited to this, any ability
What the technical staff in domain can think variation should all fall into protection scope of the present invention.
Claims (10)
1. a kind of synchronous method of medium access control MAC Address, which is characterized in that this method comprises:
Local terminal edge device receives the first message from remote edge equipment, carries the distal edge in first message
The corresponding first extension virtual LAN VLAN information of edge equipment;
The local terminal edge device obtains corresponding first MAC Address of the first extension vlan information;
The local terminal edge device with adding the first extension vlan information and corresponding first MAC in the second message
Location, and second message is sent to the remote edge equipment.
2. the method according to claim 1, wherein the method further includes:
The local terminal edge device obtains the corresponding second extension vlan information of the local terminal edge device, and to the distal edge
Edge equipment sends the third message for carrying the second extension vlan information;
The local terminal edge device receives the 4th message from the remote edge equipment, carries institute in the 4th message
State the second extension vlan information and corresponding second MAC Address;
Corresponding second MAC Address of the second extension vlan information is updated to described second and is expanded by the local terminal edge device
It opens up in the corresponding MAC forwarding table of vlan information.
3. according to the method described in claim 2, it is characterized in that,
Corresponding second MAC Address of the second extension vlan information is updated to described second and is expanded by the local terminal edge device
The process in the corresponding MAC forwarding table of vlan information is opened up, is specifically included:
The local terminal edge device obtains the corresponding extension vlan information of interface board on local terminal edge device, and judges described the
Whether two extension vlan informations extension vlan information corresponding with the interface board is identical;If it is, described second is extended
Corresponding second MAC Address of vlan information is updated into the MAC forwarding table of the interface board;If it is not, then refusal is by described the
Corresponding second MAC Address of two extension vlan informations, updates into the MAC forwarding table of the interface board.
4. the method according to claim 1, wherein the local terminal edge device obtains the first extension VLAN
Corresponding first MAC Address of information, and the first extension vlan information and corresponding first is added in the second message
Before MAC Address, the method further includes:
The local terminal edge device is that virtual nodes are arranged in interface board, and record being associated with for the interface board and the virtual nodes
Information;It is that the corresponding each extension vlan information of the interface board safeguards the first link state association under the virtual nodes
LSP is discussed, and records in the first LSP the extension VLAN that corresponding extension vlan information and the interface board learn
The corresponding MAC Address of information;It is somebody's turn to do based on what the extension vlan information and an interface board recorded in each first LSP learnt
The corresponding MAC Address of vlan information is extended, is the corresponding each extension vlan information dimension of total interface plate of local terminal edge device
Protect the 2nd LSP, and record in the 2nd LSP that corresponding extension vlan information and total interface plate learn this
Extend the corresponding MAC Address of vlan information;
The local terminal edge device obtains corresponding first MAC Address of the first extension vlan information, and in the second message
The process of the first extension vlan information and corresponding first MAC Address is added, specifically include: described end margin is set
It is standby to inquire corresponding 2nd LSP of the first extension vlan information, and obtaining the MAC Address recorded in the 2nd LSP is institute
Corresponding first MAC Address of the first extension vlan information is stated, and the 2nd LSP is added in second message.
5. method according to claim 1 or 4, which is characterized in that the local terminal edge device sends out second message
The process for giving the remote edge equipment, specifically includes:
When the content carried in the second message is greater than default first numerical value, the local terminal edge device to second message into
The processing of row fragment, obtains multiple sub- messages, and the multiple sub- message is sent respectively to the remote edge equipment;Wherein,
It include system banner, segmental identification and dummy node mark in every sub- message;System banner in different sub- messages is identical, pseudo-
Node identification is identical, segmental identification is different;
When the content carried in the second message is greater than default second value, the local terminal edge device to second message into
The processing of row fragment obtains the sub- message of multiple groups, and every sub- message in every group of sub- message is sent respectively to remote edge equipment;
Wherein, include multiple sub- messages in every group of sub- message, include system banner, segmental identification and dummy node mark in every sub- message
Know;For multiple sub- messages in same group, system banner in different sub- messages is identical, dummy node identifies identical, fragment mark
Know different;For multiple sub- messages in different groups, system banner in different sub- messages is identical, dummy node mark is different;
Wherein, the default second value is greater than default first numerical value.
6. a kind of synchronizing device of medium access control MAC Address, which is characterized in that the synchronizing device application of the MAC Address
On local terminal edge device, the synchronizing device of the MAC Address includes:
Receiving module carries the distal end in first message for receiving the first message from remote edge equipment
The corresponding first extension virtual LAN VLAN information of edge device;
Module is obtained, for obtaining corresponding first MAC Address of the first extension vlan information;
Processing module, for adding the first extension vlan information and corresponding first MAC in the second message
Location, and second message is sent to the remote edge equipment.
7. device according to claim 6, which is characterized in that
The acquisition module, is also used to obtain the corresponding second extension vlan information of the local terminal edge device, and to described remote
End margin equipment sends the third message for carrying the second extension vlan information;
The receiving module is also used to receive the 4th message from the remote edge equipment, carries in the 4th message
The second extension vlan information and corresponding second MAC Address;
The processing module is also used to update and arrive described second corresponding second MAC Address of the second extension vlan information
It extends in the corresponding MAC forwarding table of vlan information.
8. device according to claim 7, which is characterized in that
The processing module is specifically used for updating by corresponding second MAC Address of the second extension vlan information to described
During in the corresponding MAC forwarding table of second extension vlan information, the interface board obtained on the local terminal edge device is corresponding
Extension vlan information, and judge corresponding with the interface board extension vlan information of the second extension vlan information whether phase
Together;If it is, corresponding second MAC Address of the second extension vlan information is updated the MAC for arriving the interface board
In forwarding table;If it is not, then refusal updates corresponding second MAC Address of the second extension vlan information to described
In the MAC forwarding table of interface board.
9. device according to claim 6, which is characterized in that
The processing module is specifically used for obtaining corresponding first MAC Address of the first extension vlan information, and second
It is virtual for interface board setting before adding the first extension vlan information and corresponding first MAC Address in message
Node, and record the related information of the interface board Yu the virtual nodes;It is the interface board pair under the virtual nodes
The each extension vlan information answered safeguards a first link-state protocol LSP, and records corresponding extension in the first LSP
The corresponding MAC Address of extension vlan information that vlan information and the interface board learn;Based in each first LSP
The corresponding MAC Address of extension vlan information that the extension vlan information and an interface board of record learn is described
The corresponding each extension vlan information of the total interface plate of end margin equipment safeguards the 2nd LSP, and remembers in the 2nd LSP
Record the corresponding MAC Address of extension vlan information that corresponding extension vlan information and total interface plate learn;
The processing module is specifically used for obtaining corresponding first MAC Address of the first extension vlan information, and second
During adding the first extension vlan information and corresponding first MAC Address in message, described the is inquired
Corresponding 2nd LSP of one extension vlan information, and obtaining the MAC Address recorded in the 2nd LSP is the first extension VLAN
Corresponding first MAC Address of information, and the 2nd LSP is added in second message.
10. device according to claim 6 or 9, which is characterized in that
The processing module, specifically for during second message is sent to the remote edge equipment, when
When the content carried in two messages is greater than default first numerical value, fragment processing is carried out to second message, obtains multiple sub- reports
Text, and the multiple sub- message is sent respectively to the remote edge equipment;It wherein, include system mark in every sub- message
Know, segmental identification and dummy node identify;System banner in different sub- messages is identical, dummy node identifies identical, segmental identification
It is different;
When the content carried in the second message is greater than default second value, fragment processing is carried out to second message, is obtained
The sub- message of multiple groups, and every sub- message in every group of sub- message is sent respectively to remote edge equipment;Wherein, every group of sub- message
In include multiple sub- messages, include system banner, segmental identification and dummy node mark in every sub- message;For more in same group
A sub- message, system banner in different sub- messages is identical, dummy node mark is identical, segmental identification is different;For different groups
In multiple sub- messages, system banner in different sub- messages is identical, dummy node mark is different;
Wherein, the default second value is greater than default first numerical value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510617373.8A CN105591988B (en) | 2015-09-24 | 2015-09-24 | A kind of synchronous method and device of MAC Address |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510617373.8A CN105591988B (en) | 2015-09-24 | 2015-09-24 | A kind of synchronous method and device of MAC Address |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105591988A CN105591988A (en) | 2016-05-18 |
CN105591988B true CN105591988B (en) | 2019-03-15 |
Family
ID=55931216
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510617373.8A Active CN105591988B (en) | 2015-09-24 | 2015-09-24 | A kind of synchronous method and device of MAC Address |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105591988B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019056239A1 (en) * | 2017-09-21 | 2019-03-28 | 华为技术有限公司 | Packet synchronization method and device |
CN112532756B (en) * | 2019-09-17 | 2023-10-24 | 华为技术有限公司 | Interface expansion method, device and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101197760A (en) * | 2006-12-05 | 2008-06-11 | 中兴通讯股份有限公司 | User grouping intercommunication/isolation device in virtual special network service |
CN101409685A (en) * | 2008-12-01 | 2009-04-15 | 杭州华三通信技术有限公司 | Forwarding method based on virtual LAN mapping and access equipment |
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 |
CN103209130A (en) * | 2013-04-22 | 2013-07-17 | 杭州华三通信技术有限公司 | Method for synchronizing media access control (MAC) address table entries and forwarding chips |
CN103414642A (en) * | 2013-08-19 | 2013-11-27 | 杭州华三通信技术有限公司 | Maintaining method and device of information forwarding |
CN104378296A (en) * | 2013-08-15 | 2015-02-25 | 杭州华三通信技术有限公司 | Message forwarding method and device |
CN104410574A (en) * | 2014-11-28 | 2015-03-11 | 杭州华三通信技术有限公司 | Node equipment in RPR network and method of node equipment for packet forwarding |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102148811B (en) * | 2010-02-10 | 2015-01-28 | 中兴通讯股份有限公司 | Flexible QinQ realization method and device |
-
2015
- 2015-09-24 CN CN201510617373.8A patent/CN105591988B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101197760A (en) * | 2006-12-05 | 2008-06-11 | 中兴通讯股份有限公司 | User grouping intercommunication/isolation device in virtual special network service |
CN101409685A (en) * | 2008-12-01 | 2009-04-15 | 杭州华三通信技术有限公司 | Forwarding method based on virtual LAN mapping and access equipment |
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 |
CN103209130A (en) * | 2013-04-22 | 2013-07-17 | 杭州华三通信技术有限公司 | Method for synchronizing media access control (MAC) address table entries and forwarding chips |
CN104378296A (en) * | 2013-08-15 | 2015-02-25 | 杭州华三通信技术有限公司 | Message forwarding method and device |
CN103414642A (en) * | 2013-08-19 | 2013-11-27 | 杭州华三通信技术有限公司 | Maintaining method and device of information forwarding |
CN104410574A (en) * | 2014-11-28 | 2015-03-11 | 杭州华三通信技术有限公司 | Node equipment in RPR network and method of node equipment for packet forwarding |
Also Published As
Publication number | Publication date |
---|---|
CN105591988A (en) | 2016-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107733793B (en) | Forwarding table item maintenance method and device | |
US7664119B2 (en) | Method and apparatus to perform network routing | |
RU2643475C2 (en) | Multi-domain relaying with routing from source based on interacting network controllers | |
JP6682045B2 (en) | Packet transfer | |
CN109587009A (en) | The method and apparatus for configuring seamless two-way converting detection SBFD mechanism | |
CN101305557B (en) | Automatically optimized synchronization method and device of MAC address tables | |
CN105591974B (en) | Message processing method, apparatus and system | |
JP6355536B2 (en) | Relay system and switch device | |
CN104704779A (en) | Method and apparatus for accelerating forwarding in software-defined networks | |
CN107547383A (en) | Path detection method and device | |
RU2528149C1 (en) | Tunnel switching method and system for multi-protocol label switching services | |
CN105227466B (en) | Communication processing method and device | |
CN113037527B (en) | Network slice creation method, message forwarding method and device thereof | |
CN106101008A (en) | The transmission method of a kind of message and device | |
CN107547665A (en) | A kind of method, equipment and the system of dhcp address distribution | |
CN105207909B (en) | A kind of method and network equipment sending information | |
CN101631060B (en) | Method and device for managing edge port | |
CN105763468B (en) | A kind of transmission method and device of bgp update message | |
CN105591988B (en) | A kind of synchronous method and device of MAC Address | |
CN105933235B (en) | Data communications method and device | |
CN102946350B (en) | A kind of data transmission method based on priority and equipment | |
JP2017034365A (en) | Network system and packet transfer method | |
CN105592490B (en) | A kind of route switching method and equipment | |
Malhotra | IP routing | |
CN102710510B (en) | Information processing method, apparatus and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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 |