Nothing Special   »   [go: up one dir, main page]

CN102857401A - Method for activating VLAN (Virtual Local Area Network) negotiation and ED (edge device) - Google Patents

Method for activating VLAN (Virtual Local Area Network) negotiation and ED (edge device) Download PDF

Info

Publication number
CN102857401A
CN102857401A CN2012103748104A CN201210374810A CN102857401A CN 102857401 A CN102857401 A CN 102857401A CN 2012103748104 A CN2012103748104 A CN 2012103748104A CN 201210374810 A CN201210374810 A CN 201210374810A CN 102857401 A CN102857401 A CN 102857401A
Authority
CN
China
Prior art keywords
evi
vlan
link
hello packet
layers
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012103748104A
Other languages
Chinese (zh)
Other versions
CN102857401B (en
Inventor
汪平安
杨斌
陆璐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201210374810.4A priority Critical patent/CN102857401B/en
Publication of CN102857401A publication Critical patent/CN102857401A/en
Application granted granted Critical
Publication of CN102857401B publication Critical patent/CN102857401B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for activating VLAN (Virtual Local Area Network) negotiation, which comprises the following steps of judging whether a second link between an ED (Edge Device) and the other ED which forms a dual-homed ED together with the ED can be reached, and sending an EVI (Ethernet Virtualization Internet) IS-IS (Intermediate System - Intermediate System) Hello message used for activating the VLAN negotiation to the other ED through an EVI link between the ED and the other ED when the second link cannot be reached. The invention further discloses the ED. By applying the technical scheme disclosed by the invention, the problem of MAC (Media Access Control) table shocks on the far end of the EVI of a remote site can be avoided.

Description

A kind of method and edge device that carries out the active vlan negotiation
Technical field
The application relates to network communications technology field, particularly a kind of method and edge device that carries out the active vlan negotiation.
Background technology
Along with the high speed development of Internet, the region span of network is increasing.For service is provided better, usually can dispose in the strange land data center, realize load balancing and high reliability and carry out free migration by virtual machine often between these data centers.Because the virtual machine (vm) migration process to user transparent, can not change the IP address, therefore, necessarily require to realize between the data center of strange land that double layer network is interconnected.
Virtual interconnected (the EVI of Ethernet, Ethernet Virtualization Interconnection) solution is divided into core network (public network) and two parts of station network (private network) with overall network, set up the tunnel between website, learn the MAC Address of remote station by Intermediate System to Intermediate System, thereby realize the data retransmission between different websites.Particularly, at first, between the edge device (ED, Edge Device) of each website, set up the tunnel, realize point-to-point EVI tunnel communication, the ED of each website is by the edge device information of EVI Neighbor Discovery Protocol study remote station, then, the ED of each website learns the MAC information of equipment in all remote stations by Intermediate System to Intermediate System, thereby, two layers of converting flow carry out two layers of forwarding by gre tunneling, send to remote station.
Be the reliability of assurance with the remote station transfer of data, and realize simultaneously load balancing, tend to use a plurality of ED in the same website, and on each ED, come the flow of division equipment carrying by Virtual Local Area Network, make all local flows of each VLAN from same ED turnover public network.Such as Fig. 1, used 2 ED among the website SiteA, this is typical dual-homing networking structure.
Local expansion VLAN(LEV, Local Extended VLANs) be the user configured vlan list that needs expansion; Local VLAN(LAV, the Local Authorized VLANs of authorizing), be also referred to as active vlan, refer to: after consulting by EVI IS-IS hello packet, the VLAN that this ED of needs that is distributed by designated edge equipment (DED) shares, LAV is the subset of LEV.
In the dual-homing networking situation, the negotiations process of active vlan is: at first, pass through the mutual EVI IS-IS hello packet of assigned vlan (Designated VLAN) at two layers of link between the dual-homed ED, with election DED, should " assigned vlan " be a special dedicated vlan, be exclusively used in the negotiation of between dual-homed ED, carrying out active vlan; Then, distribute the active vlan of each ED by DED, DED is averagely allocated to VLAN each ED as far as possible, thereby realizes the load balancing of flow.For example, as shown in Figure 1, having disposed simultaneously expansion VLAN on IP-A and IP-B is 1-100, a kind of distribution of active vlan may for: the active vlan on the IP-A is 1-50, active vlan on the IP-B is 51-100, at this moment, MAC information exchange under the Site A in the VLAN1-50 is designated as EVI link0 below crossing the EVI link(that sets up between IP-A and the IP-C) announcement is to the edge device IP-C of Site B, MAC information exchange under the Site A in the VLAN51-100 is designated as EVI link1 below crossing the EVI link(that sets up between IP-B and the IP-C) announcement is to the edge device IP-C of Site B, upper these far-ends of record of IP-C MAC information is used for message repeating with site-local to remote station.
In networking as shown in Figure 1, although by the dual-homed load balancing of realizing well data traffic, effectively utilized Internet resources.But, in this networking, there is a kind of risk: when two layers of link that are used for the active vlan negotiation between IP-A and the IP-B break down, can't carry out active vlan between two ED consults, this will cause the expansion VLAN 1-100 of all configurations all to become active vlan at IP-A and IP-B, IP-A and IP-B all can be with the MAC information announcement of the VLAN 1-100 IP-C to SiteB, thereby cause the outgoing interface of the EVI far-end MAC address entries on the IP-C constantly between EVI link0 and EVI link1, to switch, thereby cause the concussion of list item.
Summary of the invention
The application provides a kind of method and edge device that active vlan is consulted that carry out, with in the dual-homing networking situation, when two layers of link that are used for the active vlan negotiation between the dual-homed ED break down, avoid the problem of the EVI far-end MAC address entries concussion of remote station.
A kind of method of carrying out the active vlan negotiation that the application provides comprises:
A, judge this ED and and two layers of link consisting of between another ED of dual-homed ED of this ED whether can reach, when unreachable, carry out B;
B, by the EVI link between this ED and described another ED, send the EVIIS-IS hello packet that is used for carrying out the active vlan negotiation to described another ED.
Preferably, described B can comprise:
B1, structure EVI IS-IS hello packet, carrying the expression assigned vlan in described EVI IS-IS hello packet is the flag bit of interim active vlan, and the outside VLAN label Tag of described EVI IS-IS hello packet is set to described assigned vlan; Described assigned vlan is to be exclusively used in to carry out the VLAN that active vlan is consulted between described dual-homed ED;
B2, the EVI IS-IS hello packet of constructing is added after the EVI tunnel encapsulation, by and described another ED between EVI link send to described another ED.
Preferably, judge among the described A this ED and and this ED consist of the mode whether two layers of link between another ED of dual-homed ED can reach and can comprise:
When the outbound port deexcitation Down of two layers of link between this ED and described another ED, judge that two layers of link between this ED and described another ED are unreachable; When this ED before first timer is overtime, do not receive from described another ED do not carry the EVI IS-IS hello packet of described flag bit the time, judge that two layers of link between this ED and described another ED are unreachable.
Further, the method can comprise:
When two layers of link between this ED and described another ED are unreachable, be in the tunnel face of activating the UP state in all of the corresponding EVI networking of described dual-homed ED example, described assigned vlan is set to interim active vlan;
When receiving EVI IS-IS hello packet from the tunnel face, whether the outside VLAN Tag that judges described EVI IS-IS hello packet is set to interim active vlan in described tunnel face, if, process described EVI IS-ISHello message, and, do not transmit described EVI IS-IS hello packet;
When the outbound port of two layers of link between this ED and described another ED reverted to UP by Down, described another ED sent the EVI IS-IS hello packet that does not carry described flag bit by described two layers of chain road direction.
Preferably, processing described EVI IS-IS hello packet can comprise:
Judge that whether carrying the expression assigned vlan in the described EVI IS-IS hello packet is the flag bit of interim active vlan, if carry, judge that two layers of link between this ED and described another ED continue unreachable; If do not carry, judge that unreachable the becoming of two layers of chain route between this ED and described another ED can reach, be in the tunnel face of UP state in all of the corresponding EVI networking of described dual-homed ED example, cancel the interim active vlan setting to described assigned vlan.
Preferably, when two layers of link between this ED and described another ED are unreachable, before described assigned vlan is set to interim active vlan, may further include: the replacement first timer, if this ED did not receive the EVI IS-IS hello packet that does not carry described flag bit from described another ED before described first timer is overtime, then carry out described all at the corresponding EVI networking of described dual-homed ED example and be in the tunnel face of UP state, described assigned vlan is set to the operation of interim active vlan.
A kind of edge device that the application provides comprises: judge module and EVI module; Wherein:
Judge module, be used for judging this ED and and two layers of link consisting of between another ED of dual-homed ED of this ED whether can reach;
Judge module judge this ED and and this ED consist of two layers of link between another ED of dual-homed ED when unreachable, the EVI module is used for by the EVI link between this ED and described another ED, sends to described another ED to be used for carrying out the EVI IS-IS hello packet that active vlan is consulted.
May further include message structural unit and packet sending unit in the described EVI module, wherein:
Described message structural unit, be used for structure EVI IS-IS hello packet, carrying the expression assigned vlan in described EVI IS-IS hello packet is the flag bit of interim active vlan, and the outside VLAN label Tag of described EVI IS-IS hello packet is set to described assigned vlan; Described assigned vlan is to be exclusively used in to carry out the VLAN that active vlan is consulted between described dual-homed ED;
Described packet sending unit is used for the EVI IS-IS hello packet that the message structural unit is constructed is added after the EVI tunnel encapsulation, by and described another ED between EVI link send to described another ED.
Preferably, when the outbound port deexcitation Down of two layers of link between this ED and described another ED, described judge module judges that two layers of link between this ED and described another ED are unreachable; When this ED before first timer is overtime, do not receive from described another ED do not carry the EVI IS-IS hello packet of described flag bit the time, described judge module judges that two layers of link between this ED and described another ED are unreachable;
When the outbound port of two layers of link between this ED and described another ED reverted to UP by Down, described message structural unit also was used for the EVI IS-IS hello packet that structure does not carry described flag bit;
Described packet sending unit also is used for sending the described EVI IS-IS hello packet that does not carry described flag bit by described another ED of described two layers of chain road direction.
May further include setting unit and packet parsing unit in the described EVI module;
When two layers of link between this ED and described another ED were unreachable, described setting unit was used for being in the tunnel face of activating the UP state the corresponding EVI networking of described dual-homed ED example all, and described assigned vlan is set to interim active vlan;
When this ED receives EVI IS-IS hello packet from the tunnel face, described packet parsing unit is used for resolving described EVI IS-IS hello packet, and whether the outside VLAN Tag that judges described EVI IS-IS hello packet is set to interim active vlan in described tunnel face, if, process described EVI IS-IS hello packet, and, do not transmit described EVI IS-IS hello packet.
Preferably, described packet parsing unit comprises the processing of described EVI IS-IS hello packet: judge that whether carrying the expression assigned vlan in the described EVI IS-IS hello packet is the flag bit of interim active vlan, if carry, judge that two layers of link between this ED and described another ED continue unreachable; If do not carry, judge that unreachable the becoming of two layers of chain route between this ED and described another ED can reach, and notify described setting unit;
Described setting unit is further used for the notice according to described packet parsing unit, is in the tunnel face of UP state in all of the corresponding EVI networking of described dual-homed ED example, cancels the interim active vlan setting to described assigned vlan.
Preferably, when two layers of link between this ED and described another ED are unreachable, described setting unit is before described assigned vlan is set to interim active vlan, also be used for the replacement first timer, if this ED did not receive the EVI IS-IS hello packet that does not carry described flag bit from described another ED before described first timer is overtime, then carry out described all at the corresponding EVI networking of described dual-homed ED example and be in the tunnel face of UP state, described assigned vlan is set to the operation of interim active vlan.
As seen from the above technical solution, the method and the edge device that carry out the VLAN negotiation that the application provides, this ED and and this ED consist of two layers of link between another ED of dual-homed ED when unreachable, by the EVI link between this ED and described another ED, send the EVI IS-IS hello packet that is used for carrying out the active vlan negotiation to described another ED, consult so that can normally carry out active vlan between the dual-homed ED, thereby when two layers of link between dual-homed ED are unreachable, avoid the problem of the EVI far-end MAC address entries concussion of remote station.
Description of drawings
Fig. 1 is existing typical EVI dual-homing networking structural representation;
Fig. 2 is the flag bit signal in the EVI IS-IS hello packet;
Fig. 3 is the method schematic diagram of the neighbor state in the application's one better maintenance of neighbor state table;
Fig. 4 is the composition structural representation of the application's one better edge device.
Embodiment
For the purpose, technical scheme and the advantage that make the application is clearer, referring to the accompanying drawing embodiment that develops simultaneously, the application is described in further detail.
The main thought that the application proposes carries out the technical scheme that VLAN consults is: this ED and and this ED consist of two layers of link between another ED of dual-homed ED when unreachable, by the EVI link between this ED and described another ED, send the EVIIS-IS hello packet that is used for carrying out the active vlan negotiation to described another ED, consult so that can normally carry out active vlan between the dual-homed ED, thereby when two layers of link between dual-homed ED are unreachable, avoid the problem of the EVI far-end MAC address entries concussion of remote station.
For EVI IS-IS hello packet sender, when this ED and and this ED consist of two layers of link between another ED of dual-homed ED when unreachable, the EVIIS-IS hello packet of transmission in the time of can reaching with two layers of link in order to distinguish the EVIIS-IS hello packet that sends this moment, when structure EVI IS-IS hello packet, can carry the expression assigned vlan in this EVI IS-IS hello packet is the flag bit of interim active vlan, and the outside VLAN label (Tag) of this EVI IS-IS hello packet is set to this assigned vlan; Then, the EVIIS-IS hello packet of constructing is added after the EVI tunnel encapsulation, by and this another ED between EVIlink send to this another ED.As previously mentioned, assigned vlan refers to be exclusively used in and carry out the VLAN that active vlan is consulted between this dual-homed ED.
Here, interim active vlan is a kind of new vlan state, and this vlan state is different from active vlan and inactive VLAN, is used for EVI IS-IS hello packet is undertaken by the EVI link between dual-homed ED alternately.
Preferably, can be with the special vlan of EVIIS-IS hello packet and sign seat TLV(Special VLANs and Flags (VLAN-Flags) sub-TLV) in reserved field in wherein one as described flag bit, as shown in Figure 2.Fig. 2 is special vlan and the sign seat TLV of EVIIS-IS hello packet, in the example shown in Figure 2, be used as the described flag bit of the application with the 2nd in last 2 bytes, when the value of this flag bit F in certain EVI IS-IS hello packet is 1, represent that the corresponding VLAN of outside VLAN Tag of this EVIIS-IS hello packet is interim active vlan; The value of this flag bit F in this EVIIS-IS hello packet is 0 o'clock, thinks that this EVIIS-IS hello packet does not carry this flag bit, is a common EVI IS-IS hello packet.The same prior art of the physical significance of other each bits does not repeat them here among Fig. 2.
For EVI IS-IS hello packet recipient, when this ED and and this ED consist of two layers of link between another ED of dual-homed ED when unreachable, the EVIIS-IS hello packet of reception in the time of can reaching with two layers of link for the EVI IS-IS hello packet that the bottom module can correctly be processed receive this moment, can be further be in the tunnel face of activation (UP) state in all of the corresponding EVI networking of this dual-homed ED example, assigned vlan is set to interim active vlan; Like this, when receiving EVI IS-IS hello packet from the tunnel face, whether the outside VLAN Tag that at first judges this EVI IS-IS hello packet is set to interim active vlan in this tunnel face, if, then only process this EVIIS-IS hello packet, but do not transmit this EVIIS-IS hello packet.
Above-mentioned processing EVIIS-IS hello packet specifically comprises: judge that whether carrying the expression assigned vlan in this EVIIS-IS hello packet is the flag bit of interim active vlan, if carry, judge that two layers of link between this ED and this another ED continue unreachable; If do not carry, judge that unreachable the becoming of two layers of chain route between this ED and this another ED can reach, be in the tunnel face of UP state in all of the corresponding EVI networking of this dual-homed ED example, cancel the interim active vlan setting to this assigned vlan.
According to as above describing, judge among the application this ED and and this ED consist of the mode whether two layers of link between another ED of dual-homed ED can reach and comprise:
When the outbound port deexcitation (Down) of two layers of link between this ED and this another ED, correlation module among this ED needs response interface deexcitation event, thereby judge that the double layer network between this ED and this another ED breaks down, two layers of chain route between this ED and this another ED can reach become unreachable; When owing to the double layer network between dual-homed ED is congested etc. reason causes this ED do not receive before first timer is overtime from this another ED do not carry the EVI IS-IS hello packet of the described flag bit of the application the time, judge that two layers of link between this ED and this another ED are unreachable.
When the outbound port of two layers of link between this ED and this another ED reverted to UP by Down, this another ED sent the EVI IS-IS hello packet that does not carry the described flag bit of the application by these two layers of chain road directions; If this another ED can normally receive this EVIIS-IS hello packet, then expression unreachable the becoming of two layers of chain route between the two can reach, as previously mentioned, this another ED will be in the tunnel face of UP state in all of the corresponding EVI networking of this dual-homed ED example, cancel the interim active vlan setting to this assigned vlan.
A kind of improved technical scheme is: when this ED and and this ED consist of two layers of link between another ED of dual-homed ED when unreachable, assigned vlan is not set to interim active vlan immediately, but replacement first timer, if this ED did not still receive the EVIIS-IS hello packet that does not carry described flag bit from this another ED before first timer is overtime, all that then carry out at the corresponding EVI networking of dual-homed ED example are in the tunnel face of UP state, and assigned vlan is set to the operation of interim active vlan.
According to the application, interim active vlan can issue under a plurality of tunnel faces simultaneously, when the state of assigned vlan under certain tunnel face is interim state of activation, EVI IS-IS hello packet will send by the EVIlink between dual-homed ED, that is to say that the EVIIS-IS hello packet will send in the public network side.
When specific implementation, can safeguard a neighbor state table at each ED of dual-homed ED, as shown in table 1, whether being used for recording between dual-homed ED two layers can reach, and here, two layers can reach and comprise that two layers of link can reach with two layers of EVI link and can reach.
System ID Network ID Desig.VLAN State
0011.2200.0001 10000 100 Bridge
0011.2200.0101 20000 100 Route
Table 1
The physical significance of each parameter is as follows in the table 1:
System ID for neighbours ED(namely: consist of another ED of dual-homed ED with this ED) ID;
Network ID is the ID with this common place of neighbours ED EVI networking example;
Desig.VLAN is the abbreviation of Designated VLAN, is the assigned vlan of the upper configuration of ED;
Whether State is used for identifying between dual-homed ED two layers and can reaches, and State comprises three kinds of state: Bridge, Route, Temp.
When two layers of link between dual-homed ED can reach, be designated as Bridge;
When two layers unreachable (the EVI IS-IS hello packet that has the information of this ED in still not receiving from the neighbor list of opposite end ED when link Down or preset timer are overtime) between dual-homed ED, be designated as Temp;
And the EVI link that sets up between EVI IS-IS hello packet begins by dual-homed ED carries out being designated as Route when mutual.
The table of neighbor state shown in the table 1 can be used for carrying out the setting of interim active vlan and cancelling.For example: when state becomes Route by Temp, at related port interim active vlan is set; When state becomes Bridge by Temp, cancel setting to interim active vlan at related port.
Under normal circumstances, the network operation EVI Intermediate System to Intermediate System of dual-homed ED in website, mutual EVI IS-IS hello packet in assigned vlan is consulted the active vlan of each ED, maintenance of neighbor relation; When two layers of link between dual-homed ED are unreachable, the mutual EVI IS-IS of the said method hello packet that provides according to the application.In said process, can be according to the state of neighbours in the method maintenance of neighbor state table as shown in Figure 3.Method shown in Figure 3 may further comprise the steps:
Step 301: judge before preset timer (Hold timer) is overtime, whether to receive EVI IS-IS hello packet, if receive, execution in step 302, otherwise, jump to step 308.
Step 302: judge the value of the F flag bit of the EVI IS-IS hello packet of receiving, if value is 1, represent that two layers of link between dual-homed ED are unreachable, execution in step 303, if value is 0, represent that two layers of link between dual-homed ED can reach, jump to step 305.
Step 303: judge current neighbor state, if Temp, execution in step 304 is set to Route with neighbor state, and jumps to step 307; If Route jumps to step 307; If Bridge returns step 301.
Step 305: judge current neighbor state, if current neighbor state is Route or Temp, at this moment, owing to received that the flag bit value is 0 EVI IS-IS hello packet, represent that two layers of link between dual-homed ED can be reached by unreachable becoming, therefore, execution in step 306, neighbor state is set to Bridge, and continues execution in step 307; If current neighbor state is Bridge, continue execution in step 307.
Step 307: Hold timer is reset, return step 301.
Step 308: judge current neighbor state, if current neighbor state is Bridge, show that two layers of link before this Holdtimer cycle can reach, execution in step 309 temporarily is designated as Temp with neighbor state, and jumps to step 307; If current neighbor state is Route or Temp, show before this Hold timer cycle, two layers of link are unreachable, at this moment, and through the judgement of step 301, any EVI IS-IS hello packet is not still received in discovery after Hold timer is overtime, show that two layers of EVI link are also unreachable, do not exist with being connected between these neighbours, therefore, execution in step 310 is with this neighbours' deletion.
Corresponding to said method, the application discloses a kind of edge device as shown in Figure 4, comprising: judge module 410 and EVI module 420; Wherein:
Judge module 410, be used for judging this ED and and two layers of link consisting of between another ED of dual-homed ED of this ED whether can reach;
Judge module 410 judge these ED and and this ED consist of two layers of link between another ED of dual-homed ED when unreachable, the EVI module is used for by the EVI link between this ED and described another ED, sends to described another ED to be used for carrying out the EVI IS-IS hello packet that active vlan is consulted.
Further comprise message structural unit 421 and packet sending unit 422 in the EVI module 420 shown in Figure 4, wherein:
Message structural unit 421, be used for structure EVI IS-IS hello packet, carrying the expression assigned vlan in described EVI IS-IS hello packet is the flag bit of interim active vlan, and the outside VLAN Tag of described EVI IS-IS hello packet is set to described assigned vlan; Described assigned vlan is to be exclusively used in to carry out the VLAN that active vlan is consulted between described dual-homed ED;
Packet sending unit 422 is used for the EVI IS-IS hello packet that the message structural unit is constructed is added after the EVI tunnel encapsulation, by and described another ED between EVIlink send to described another ED.
May further include setting unit 423 and packet parsing unit 424 in the EVI module 420 shown in Figure 4;
When two layers of link between this ED and described another ED were unreachable, setting unit 423 was used for being in the tunnel face of UP state the corresponding EVI networking of described dual-homed ED example all, and described assigned vlan is set to interim active vlan;
When this ED receives EVI IS-IS hello packet from the tunnel face, packet parsing unit 424 is used for resolving described EVI IS-IS hello packet, and whether the outside VLAN Tag that judges described EVI IS-IS hello packet is set to interim active vlan in described tunnel face, if, process described EVI IS-IS hello packet, and, do not transmit described EVI IS-IS hello packet.
Described packet parsing unit comprises the processing of described EVI IS-IS hello packet: judge that whether carrying the expression assigned vlan in the described EVIIS-IS hello packet is the flag bit of interim active vlan, if carry, judge that two layers of link between this ED and described another ED continue unreachable; If do not carry, judge that unreachable the becoming of two layers of chain route between this ED and described another ED can reach, and notice setting unit 423;
Setting unit 423 is further used for the notice according to packet parsing unit 424, is in the tunnel face of UP state in all of the corresponding EVI networking of described dual-homed ED example, cancels the interim active vlan setting to described assigned vlan.
A kind of improved plan is: when two layers of link between this ED and described another ED are unreachable, described setting unit 423 is before described assigned vlan is set to interim active vlan, also be used for arranging timer, if this ED did not receive the EVI IS-IS hello packet that does not carry described flag bit from described another ED before described timer expiry, then carry out described all at the corresponding EVI networking of described dual-homed ED example and be in the tunnel face of UP state, described assigned vlan is set to the operation of interim active vlan.
When the outbound port deexcitation (Down) of two layers of link between this ED and described another ED, judge module 410 judges that two layers of link between these ED and described another ED are unreachable; When this ED before preset timer is overtime, do not receive from described another ED do not carry the EVI IS-IS hello packet of described flag bit the time, judge module 410 judges that two layers of link between these ED and described another ED are unreachable.
When the outbound port of two layers of link between this ED and described another ED reverted to UP by Down, message structural unit 421 also was used for the EVI IS-IS hello packet that structure does not carry described flag bit; Packet sending unit 422 also is used for sending the described EVI IS-IS hello packet that does not carry described flag bit by described another ED of described two layers of chain road direction.
As seen from the above technical solution, the method and the edge device that carry out the VLAN negotiation that the application provides, this ED and and this ED consist of two layers of link between another ED of dual-homed ED when unreachable, by the EVI link between this ED and described another ED, send the EVI IS-IS hello packet that is used for carrying out the active vlan negotiation to described another ED, consult so that can normally carry out active vlan between the dual-homed ED, thereby when two layers of link between dual-homed ED are unreachable, avoid the problem of the EVI far-end MAC address entries concussion of remote station.
The above only is the application's preferred embodiment, and is in order to limit the application, not all within the application's spirit and principle, any modification of making, is equal to replacement, improvement etc., all should be included within the scope of the application's protection.

Claims (12)

1. one kind is activated the method that virtual LAN VLAN is consulted, and it is characterized in that, comprising:
A, judge this edge device ED and and two layers of link consisting of between another ED of dual-homed ED of this ED whether can reach, when unreachable, carry out B;
B, by the virtual interconnected link EVI link of Ethernet between this ED and described another ED, send the virtual interconnected Intermediate System-to-Intermediate System heartbeat EVI IS-IS hello packet of Ethernet that is used for carrying out the active vlan negotiation to described another ED.
2. method according to claim 1 is characterized in that, described B comprises:
B1, structure EVI IS-IS hello packet, carrying the expression assigned vlan in described EVI IS-IS hello packet is the flag bit of interim active vlan, and the outside VLAN label Tag of described EVI IS-IS hello packet is set to described assigned vlan; Described assigned vlan is to be exclusively used in to carry out the VLAN that active vlan is consulted between described dual-homed ED;
B2, the EVI IS-IS hello packet of constructing is added after the EVI tunnel encapsulation, by and described another ED between EVI link send to described another ED.
3. method according to claim 2 is characterized in that:
Judge among the described A this ED and and this ED consist of the mode whether two layers of link between another ED of dual-homed ED can reach and comprise:
When the outbound port deexcitation Down of two layers of link between this ED and described another ED, judge that two layers of link between this ED and described another ED are unreachable; When this ED before first timer is overtime, do not receive from described another ED do not carry the EVI IS-IS hello packet of described flag bit the time, judge that two layers of link between this ED and described another ED are unreachable.
4. method according to claim 3 is characterized in that, the method further comprises:
When two layers of link between this ED and described another ED are unreachable, be in the tunnel face of activating the UP state in all of the corresponding EVI networking of described dual-homed ED example, described assigned vlan is set to interim active vlan;
When receiving EVI IS-IS hello packet from the tunnel face, whether the outside VLAN Tag that judges described EVI IS-IS hello packet is set to interim active vlan in described tunnel face, if, process described EVI IS-ISHello message, and, do not transmit described EVI IS-IS hello packet;
When the outbound port of two layers of link between this ED and described another ED reverted to UP by Down, described another ED sent the EVI IS-IS hello packet that does not carry described flag bit by described two layers of chain road direction.
5. method according to claim 4 is characterized in that: process described EVI IS-IS hello packet and comprise:
Judge that whether carrying the expression assigned vlan in the described EVI IS-IS hello packet is the flag bit of interim active vlan, if carry, judge that two layers of link between this ED and described another ED continue unreachable; If do not carry, judge that unreachable the becoming of two layers of chain route between this ED and described another ED can reach, be in the tunnel face of UP state in all of the corresponding EVI networking of described dual-homed ED example, cancel the interim active vlan setting to described assigned vlan.
6. method according to claim 4 is characterized in that:
When two layers of link between this ED and described another ED are unreachable, before described assigned vlan is set to interim active vlan, further comprise: the replacement first timer, if this ED did not receive the EVI IS-IS hello packet that does not carry described flag bit from described another ED before described first timer is overtime, then carry out described all at the corresponding EVI networking of described dual-homed ED example and be in the tunnel face of UP state, described assigned vlan is set to the operation of interim active vlan.
7. an edge device is characterized in that, comprising: the virtual interconnected link EVI module of judge module and Ethernet; Wherein:
Judge module, be used for judging this edge device ED and and two layers of link consisting of between another ED of dual-homed ED of this ED whether can reach;
Judge module judge this ED and and this ED consist of two layers of link between another ED of dual-homed ED when unreachable, the EVI module is used for by the virtual interconnected link EVI link of Ethernet between this ED and described another ED, sends to described another ED to be used for carrying out the virtual interconnected Intermediate System-to-Intermediate System heartbeat EVI IS-IS hello packet of Ethernet that active vlan is consulted.
8. edge device according to claim 7 is characterized in that, further comprises message structural unit and packet sending unit in the described EVI module, wherein:
Described message structural unit, be used for structure EVI IS-IS hello packet, carrying the expression assigned vlan in described EVI IS-IS hello packet is the flag bit of interim active vlan, and the outside VLAN label Tag of described EVI IS-IS hello packet is set to described assigned vlan; Described assigned vlan is to be exclusively used in to carry out the VLAN that active vlan is consulted between described dual-homed ED;
Described packet sending unit is used for the EVI IS-IS hello packet that the message structural unit is constructed is added after the EVI tunnel encapsulation, by and described another ED between EVI link send to described another ED.
9. edge device according to claim 8 is characterized in that:
When the outbound port deexcitation Down of two layers of link between this ED and described another ED, described judge module judges that two layers of link between this ED and described another ED are unreachable; When this ED before first timer is overtime, do not receive from described another ED do not carry the EVI IS-IS hello packet of described flag bit the time, described judge module judges that two layers of link between this ED and described another ED are unreachable;
When the outbound port of two layers of link between this ED and described another ED reverted to UP by Down, described message structural unit also was used for the EVI IS-IS hello packet that structure does not carry described flag bit;
Described packet sending unit also is used for sending the described EVI IS-IS hello packet that does not carry described flag bit by described another ED of described two layers of chain road direction.
10. edge device according to claim 9 is characterized in that, further comprises setting unit and packet parsing unit in the described EVI module;
When two layers of link between this ED and described another ED were unreachable, described setting unit was used for being in the tunnel face of activating the UP state the corresponding EVI networking of described dual-homed ED example all, and described assigned vlan is set to interim active vlan;
When this ED receives EVI IS-IS hello packet from the tunnel face, described packet parsing unit is used for resolving described EVI IS-IS hello packet, and whether the outside VLAN Tag that judges described EVI IS-IS hello packet is set to interim active vlan in described tunnel face, if, process described EVI IS-IS hello packet, and, do not transmit described EVI IS-IS hello packet.
11. edge device according to claim 10 is characterized in that:
Described packet parsing unit comprises the processing of described EVI IS-IS hello packet: judge that whether carrying the expression assigned vlan in the described EVI IS-ISHello message is the flag bit of interim active vlan, if carry, judge that two layers of link between this ED and described another ED continue unreachable; If do not carry, judge that unreachable the becoming of two layers of chain route between this ED and described another ED can reach, and notify described setting unit;
Described setting unit is further used for the notice according to described packet parsing unit, is in the tunnel face of UP state in all of the corresponding EVI networking of described dual-homed ED example, cancels the interim active vlan setting to described assigned vlan.
12. edge device according to claim 10 is characterized in that:
When two layers of link between this ED and described another ED are unreachable, described setting unit is before described assigned vlan is set to interim active vlan, also be used for the replacement first timer, if this ED did not receive the EVI IS-IS hello packet that does not carry described flag bit from described another ED before described first timer is overtime, then carry out described all at the corresponding EVI networking of described dual-homed ED example and be in the tunnel face of UP state, described assigned vlan is set to the operation of interim active vlan.
CN201210374810.4A 2012-09-27 2012-09-27 Method for activating VLAN (Virtual Local Area Network) negotiation and ED (edge device) Active CN102857401B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210374810.4A CN102857401B (en) 2012-09-27 2012-09-27 Method for activating VLAN (Virtual Local Area Network) negotiation and ED (edge device)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210374810.4A CN102857401B (en) 2012-09-27 2012-09-27 Method for activating VLAN (Virtual Local Area Network) negotiation and ED (edge device)

Publications (2)

Publication Number Publication Date
CN102857401A true CN102857401A (en) 2013-01-02
CN102857401B CN102857401B (en) 2015-05-20

Family

ID=47403607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210374810.4A Active CN102857401B (en) 2012-09-27 2012-09-27 Method for activating VLAN (Virtual Local Area Network) negotiation and ED (edge device)

Country Status (1)

Country Link
CN (1) CN102857401B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103117913A (en) * 2013-01-31 2013-05-22 杭州华三通信技术有限公司 Method and equipment for informing MAC (media access control) address information
CN103414642A (en) * 2013-08-19 2013-11-27 杭州华三通信技术有限公司 Maintaining method and device of information forwarding
CN104219124A (en) * 2013-05-30 2014-12-17 杭州华三通信技术有限公司 Traffic forwarding method and device
CN104468233A (en) * 2014-12-23 2015-03-25 杭州华三通信技术有限公司 Fault switching method and device for Ethernet virtual interconnection (EVI) dual homing site

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040174887A1 (en) * 2003-02-21 2004-09-09 Alcatel Hybrid virtual private LAN extensions
CN1980155A (en) * 2006-11-29 2007-06-13 杭州华为三康技术有限公司 Method for recovering sponsor media accessing control address and operation businesss edge apparatus
CN101394355A (en) * 2008-10-29 2009-03-25 北京大学 Routing link detection method and device for mobile Ad hoc network
CN102340434A (en) * 2011-07-07 2012-02-01 杭州华三通信技术有限公司 Multihoming access-based loop avoidance method and edge devices
US20120106360A1 (en) * 2010-10-28 2012-05-03 Ali Sajassi Dual-homing for ethernet line services

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040174887A1 (en) * 2003-02-21 2004-09-09 Alcatel Hybrid virtual private LAN extensions
CN1980155A (en) * 2006-11-29 2007-06-13 杭州华为三康技术有限公司 Method for recovering sponsor media accessing control address and operation businesss edge apparatus
CN101394355A (en) * 2008-10-29 2009-03-25 北京大学 Routing link detection method and device for mobile Ad hoc network
US20120106360A1 (en) * 2010-10-28 2012-05-03 Ali Sajassi Dual-homing for ethernet line services
CN102340434A (en) * 2011-07-07 2012-02-01 杭州华三通信技术有限公司 Multihoming access-based loop avoidance method and edge devices

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103117913A (en) * 2013-01-31 2013-05-22 杭州华三通信技术有限公司 Method and equipment for informing MAC (media access control) address information
CN103117913B (en) * 2013-01-31 2016-08-10 杭州华三通信技术有限公司 A kind of mac address information notifying method and equipment
CN104219124A (en) * 2013-05-30 2014-12-17 杭州华三通信技术有限公司 Traffic forwarding method and device
CN104219124B (en) * 2013-05-30 2018-07-17 新华三技术有限公司 A kind of flow forwarding method and equipment
CN103414642A (en) * 2013-08-19 2013-11-27 杭州华三通信技术有限公司 Maintaining method and device of information forwarding
CN103414642B (en) * 2013-08-19 2016-11-02 杭州华三通信技术有限公司 A kind of forwarding information maintaining method and equipment
CN104468233A (en) * 2014-12-23 2015-03-25 杭州华三通信技术有限公司 Fault switching method and device for Ethernet virtual interconnection (EVI) dual homing site
CN104468233B (en) * 2014-12-23 2018-01-12 新华三技术有限公司 Ethernet virtualization interconnects dual-homed site disasters switching method and device

Also Published As

Publication number Publication date
CN102857401B (en) 2015-05-20

Similar Documents

Publication Publication Date Title
ES2565827T3 (en) Layer 3 routing, device and virtual private network system control method
CN101999224B (en) Redundant Ethernet automatic protection switching access to virtual private lan services
CN102724118B (en) Label distribution method and device
CN102325037B (en) A kind of changing method of pseudo-line dual homed network, system and dual-homed Provider Equipment
CN101286922B (en) Signalling control method, system and apparatus
CN103746881B (en) Neighbor state detection method and device in EVI networks
CN101227399B (en) Message transmission method, system and forwarding node
CN102164091A (en) Method for building MAC (Media Access Control) address table and provider edge device
CN103581025B (en) Method and system for processing routing information and equipment
CN101072157A (en) Virtual special net load backup system and its establishing method and data forwarding method
CN101490661A (en) Methods and apparatus for providing optimal identification and processing of layer 3 control channels
CN103078800B (en) Mac address information control method in EVI network and edge device
CN102932499A (en) Method and device for learning media access control (MAC) addresses in virtual private lan service (VPLS) networks
CN102780615B (en) Link backup method and routing forwarding device
CN102055647A (en) Three-layer virtual private network (VPN) access method and system
CN104270231A (en) System and method for realizing double-node interconnected pseudo-wire
CN102857401B (en) Method for activating VLAN (Virtual Local Area Network) negotiation and ED (edge device)
CN1980155A (en) Method for recovering sponsor media accessing control address and operation businesss edge apparatus
CN102238057A (en) Ethernet-tree realization method, system, device and network equipment
CN105490937A (en) Ethernet virtual network gateway switching method and service provider edge node equipment
CN105264837A (en) Data packet transmission system, transmission method and device thereof
CN103209125A (en) Label information transmission method and device
CN104009919A (en) Message forwarding method and device
CN103414642A (en) Maintaining method and device of information forwarding
EP2832061B1 (en) Pseudowire extended group messaging in a packet switched network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address