CN101018183A - A topology notification method, system and device based on L2VPN - Google Patents

A topology notification method, system and device based on L2VPN Download PDF

Info

Publication number
CN101018183A
CN101018183A CNA2007100865177A CN200710086517A CN101018183A CN 101018183 A CN101018183 A CN 101018183A CN A2007100865177 A CNA2007100865177 A CN A2007100865177A CN 200710086517 A CN200710086517 A CN 200710086517A CN 101018183 A CN101018183 A CN 101018183A
Authority
CN
China
Prior art keywords
equipment
network tunnel
tunnel
bpdu
uni
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
CNA2007100865177A
Other languages
Chinese (zh)
Other versions
CN100586096C (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 Huawei 3Com Technology 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 Huawei 3Com Technology Co Ltd filed Critical Hangzhou Huawei 3Com Technology Co Ltd
Priority to CN200710086517A priority Critical patent/CN100586096C/en
Publication of CN101018183A publication Critical patent/CN101018183A/en
Application granted granted Critical
Publication of CN100586096C publication Critical patent/CN100586096C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The disclosed topology notifying method based on L2VPN comprises: when detecting connection channel fault, the PE device sends low-PRI BPDU to the connected CE device to make the CE device to know the topology change in time and avoid generating temporary loop.

Description

A kind of topology notification method, system and its apparatus based on L2VPN
Technical field
The present invention relates to network communications technology field, particularly relate to a kind of topology notification method, system and its apparatus based on L2VPN.
Background technology
Continuous expansion along with enterprise, it is increasingly extensive that corporate client distributes, and the business tie-up partner's is increasing, so the more and more enterprises user need realize being similar to the connection of local area network (LAN) at different physical locations, and cheap, safe, proprietary data channel can be provided.Therefore obtained great growth space based on VPN (Virtual PrivateNetwork, Virtual Private Network) business.VPN is defined as setting up a connection interim, safety by a common network.The common implementation of VPN uses L2TP (Layer 2 Tunneling Protocol, Level 2 Tunnel Protocol) agreement to realize exactly.
As shown in Figure 1, be the networking schematic diagram of L2VPN, the PE device A is the edge device that operator is connected user network with the PE equipment B, and CE device A and CE equipment B are respectively the edge device of the user network that is connected PE device A and PE equipment B; UNI (User Network interface, User Network Interface) each class interface of then providing to the user of A and UNIB for operator, in transmission network, these interfaces are generally interfaces such as T1/E1, and in Metro Ethernet, these interfaces are generally fastethernet interface or gigabit ethernet interface.
As shown in Figures 2 and 3, be respectively the application networking schematic diagram in BPDU tunnel, the BPDU message that is sent by designated port arrives on the port of opposite end, tunnel by the BPDU tunnel, CE equipment is according to the topology information of carrying among the BPDU, select the lower port of priority, it is set to backup port or replaces port.Because the mechanism of RSTP, backup port and replacement port can get clogged, and broadcasting packet can't be repeated to transmit from these two kinds of ports, thereby have avoided the generation of broadcast storm.
The shortcoming of prior art is in Metro Ethernet because CE equipment can't directly be sensed tunnel failure, the port that the tunnel gets clogged after blocking need be waited for 3 times of hellow time (being generally 6s), by the time just can perceive change in topology behind the port timer expiry, and recomputate topology according to STP, the port that relieving gets clogged, recover network UNICOM, therefore after the tunnel goes wrong, need long convergence time.Simultaneously also because CE equipment can't directly be sensed tunnel failure, so as long as the interface on the PE equipment of connection CE equipment does not go wrong, CE equipment side interface always is in state of activation, CE equipment just can't switch to flow on the backup tunnel when tunnel failure fast like this, also can't from fault, recover the back port blocked in the tunnel and guarantee there is not loop, be easy to occur moment loop as shown in Figure 4 and Figure 5.
Summary of the invention
The problem to be solved in the present invention provides a kind of method and system, and is mutual by the active of PE equipment and CE equipment, and network tunnel fault and recovery situation are notified to CE equipment.
For achieving the above object, the technical scheme of embodiments of the invention proposes a kind of topology notification method based on L2VPN, may further comprise the steps: when PE equipment detected network tunnel that described PE equipment connects and breaks down, described PE equipment sent the bridge protocol data unit B PDU of low priority to the CE equipment that is connected to described network tunnel by described PE equipment.
Wherein, before described network tunnel breaks down, further comprising the steps of: described PE equipment is known the topology information of described CE equipment by the BPDU that monitors the CE equipment transmission of described network tunnel two ends.
Wherein, before described network tunnel breaks down, further comprising the steps of: the user interface uni port binding that described network tunnel is corresponding with it.
Wherein, at described PE equipment after the CE equipment that is connected to described network tunnel by described PE equipment sends the BPDU of low priority, further comprising the steps of: described CE equipment is received after the BPDU of described low priority, and port blocked carries out topological convergence again.
Wherein, at described PE equipment after the CE equipment that is connected to described network tunnel by described PE equipment sends the BPDU of low priority, further comprising the steps of: described PE equipment all is changed to blocked state with the UNI that described CE equipment connects, and the forbidden data message passes through.
Wherein, after described PE equipment will all be changed to blocked state with the UNI that the CE equipment of the BPDU that receives described low priority is connected, further comprising the steps of: detect the network tunnel recovery of described PE equipment connection when PE equipment after, described PE device start timer.
Wherein, after described startup timer, further comprising the steps of; Before described timer expiry, if listening to the CE device port at described network tunnel two ends, described PE equipment have at least one to enter blocked state, then the UNI with described obstruction all decontrols, and allows data message to pass through; If described timer expiry, then the UNI with described obstruction all decontrols, and allows data message to pass through.
Wherein, at described PE equipment after the CE equipment that is connected to described network tunnel by described PE equipment sends the BPDU of low priority, further comprising the steps of: as detect the network tunnel recovery of described PE equipment connection when PE equipment after, to block the data message on the described network tunnel.
Wherein, after the data message on described blocking network tunnel, further comprising the steps of: described PE equipment judges whether described network tunnel two ends user network has not had loop by BPDU or the described PE equipment of monitoring the CE equipment side alternately by carrying out BPDU with CE equipment; If described network tunnel two ends user network has not had loop, then decontrol the data message on the described tunnel.
The embodiment of the invention also proposes a kind of topological reporting system based on L2VPN, comprise at least two CE equipment, at least two UNI and at least two PE equipment, described PE equipment is used for sending the BPDU of low priority to the CE equipment that is connected to described network tunnel by described PE equipment when the network tunnel that detects described PE equipment connection breaks down.
Wherein, described PE equipment comprises fault judgement module and BPDU sending module, and whether described fault judgement module is used to survey the network tunnel that described PE equipment connects and breaks down, and judge whether described network tunnel recovers; Described BPDU sending module is used for sending the BPDU of low priority to the CE equipment that is connected to described network tunnel by described PE equipment when described fault judgement module detects network tunnel that described PE equipment connects and breaks down.
Wherein, this PE equipment also comprises monitors module, UNI control module and time block, described monitoring module is used to monitor the BPDU that described network tunnel two ends CE equipment sends, and knows the topology information of described CE equipment according to the described BPDU that listens to, and monitors the port information of described CE equipment; Described UNI control module, be used for when described fault judgement module detects network tunnel that described PE equipment connects and breaks down, to all be changed to blocked state with the UNI that the CE equipment of the BPDU that receives described low priority is connected, and after described network tunnel recovers, and after described network tunnel recovers, continue to keep the blocked state of described UNI, the UNI with described obstruction when receiving the notice of described monitoring module and described time block all decontrols; Described time block is used for starting regularly after described fault judgement module judges that described network tunnel recovers, and notifies after overtime described UNI control module that the UNI of described obstruction is all decontroled.
Wherein, this PE equipment also comprises the tunnel control module, be used for when described fault judgement module detects network tunnel that described PE equipment connects and breaks down, block the data message on the described network tunnel, and after described monitoring module confirms that described network tunnel two ends user network has not had loop, decontrol the data message on the described tunnel.
The embodiment of the invention also proposes a kind of PE equipment, comprises fault judgement module and BPDU sending module, and whether described fault judgement module is used to survey the network tunnel that described PE equipment connects and breaks down, and judge whether described network tunnel recovers; Described BPDU sending module is used for sending the BPDU of low priority to the CE equipment that is connected to described network tunnel by described PE equipment when described fault judgement module detects network tunnel that described PE equipment connects and breaks down.
Wherein, this PE equipment also comprises monitors module, UNI control module and time block, described monitoring module is used to monitor the BPDU that described network tunnel two ends CE equipment sends, and knows the topology information of described CE equipment according to the described BPDU that listens to, and monitors the port information of described CE equipment; Described UNI control module, be used for when described fault judgement module detects network tunnel that described PE equipment connects and breaks down, to all be changed to blocked state with the UNI that the CE equipment of the BPDU that receives described low priority is connected, and after described network tunnel recovers, continue to keep the blocked state of described UNI, the UNI with described obstruction when receiving the notice of described monitoring module and described time block all decontrols; Described time block is used for starting regularly after described fault judgement module judges that described network tunnel recovers, and notifies after overtime described UNI control module that the UNI of described obstruction is all decontroled.
Wherein, this PE equipment also comprises the tunnel control module, be used for when described fault judgement module detects network tunnel that described PE equipment connects and breaks down, block the data message on the described network tunnel, and after described monitoring module confirms that described network tunnel two ends user network has not had loop, decontrol the data message on the described tunnel.
Embodiments of the invention can allow CE equipment in time find change in topology when tunnel fails, have accelerated the topological convergence speed of user network, and can recover from fault in the tunnel time, avoid the generation of temporary loop.
Description of drawings
Fig. 1 is the networking schematic diagram of prior art L2VPN;
Fig. 2 is a kind of application networking schematic diagram in prior art BPDU tunnel;
Fig. 3 is that the another kind in prior art BPDU tunnel is used the networking schematic diagram;
Fig. 4 is the schematic diagram of prior art at tunnel restoration moment generation moment loop;
Fig. 5 is the schematic diagram of prior art another kind at tunnel restoration moment generation moment loop;
Fig. 6 is the networking structure figure of a kind of topological reporting system based on L2VPN of the embodiment of the invention;
Fig. 7 is the structural representation of embodiment of the invention PE equipment;
Fig. 8 is a kind of topology notification method flow chart based on L2VPN of the embodiment of the invention;
Fig. 9 is the topology notification method flow chart of embodiment of the invention another kind based on L2VPN;
Figure 10 also can reduce the flow chart that data message runs off for a kind of topology notification method based on L2VPN of the embodiment of the invention;
Figure 11 also can reduce the flow chart of data message loss based on the topology notification method of L2VPN for embodiment of the invention another kind;
Figure 12 is a kind of topology notification method flow chart based on L2VPN that adopts Figure 10 and two kinds of methods of Figure 11 of the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of general topology notification method and detection system based on L2VPN, can be applied to L2VPN such as 802.1Q, VLL, VPLS and all can satisfy the various L2VPN of the defined EVC of meeting feature in the MEF standard, and inventive embodiments is only improved at PE equipment, has reduced universal cost.Inventive embodiments makes fault and the tunnel restoration situation of CE equipment in can the perception tunnel, to improve network recovery speed, has avoided the generation of loop.
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail:
The embodiment of the invention comprises at least two CE equipment, at least two UNI and at least two PE equipment based on the topological reporting system of L2VPN.As shown in Figure 6, be the networking structure figure of a kind of topological reporting system based on L2VPN of the embodiment of the invention, but this system not only is applied to this a kind of networking structure, also can be applicable to the networking structure of multiple complexity, as Fig. 2 or networking structure shown in Figure 3.CE A1 place local area network (LAN) is near root bridge one side, by UNI A2 and PE A3 access carrier network tunnel, CE B6 then at local area network (LAN) away from root bridge one side, by UNI B5 and PE B4 access carrier network tunnel, CE A1 and CE B6 keep two layers of connection by the PE A3 and the network tunnel between the PE B4 of carrier network.Under the normal situation of network tunnel, when the BPDU message that CE A1 is sent arrives PE A3, PE A3 is encapsulated in this BPDU message in the two layer tunnel, send to PEB4, again by intactly giving CE B6 with this BPDU after the PE B4 decapsulation, if CE B6 sends BPDU to CE A1, processing procedure and said process are similar.PE A3 and PE B4 can monitor this BPDU to obtain the topology information of CE A1 and CE B6, comprising pathcost, upstream bridge priorities and the id information of root bridge priorities, root bridge ID, arrival root bridge simultaneously.PE A3 and PE B4 can obtain the priority of CE A1 and CE B6 from above-mentioned information.The BPDU message that while PE A3 sends by monitoring CE B6 is known port role and the port status of CE B6, and PE B4 is also known port role and the port status of CE A1 by the BPDU message of monitoring CE A1 transmission.
When PE A3 and PE B4 detected the carrier network tunnel failure, PE A3 and PE B4 sent the BPDU of a low priority respectively to CE A1 and CE B6, notify CE A1 and CE B6 carrier network tunnel fails respectively.After CE A1 and CE B6 receive the BPDU of these low priorities, get final product the change in topology that perception produces owing to the carrier network tunnel failure, port blocked then, and carry out topological convergence again, do not need like this to wait for that 3 times hellow time (being generally 6S) just can recomputate topology, decontrol standby port or replace port, enable backup link, thereby accelerate the resume speed of network.
In order to guarantee reliability of data transmission, PE A3 and PE B4 all are changed to blocked state with UNI A and UNI B respectively in addition, pass through to stop data message; Guarantee that after tunnel restoration the user network topology does not guarantee that data message can not be forwarded before also restraining fully from the tunnel.So after PE A3 and PE B4 discovery tunnel restoration, need to keep the blocked state of UNI A2 and UNI B5, the forbidden data message passes through, but do not comprise BPDU, although promptly port or UNI are in the state that gets clogged, BPDU can send reception normally, perhaps is forwarded.And enable the timer of a 2 * Forwarding Latency; Simultaneously PE A3 and PE B4 need respectively the BPDU message that CE A1 and CE B6 are sent is delivered to the other end in tunnel by the tunnel, and monitor the information among this BPDU.Before the timer expiry of 2 * Forwarding Latency, in PE A3 and two CE ports of PE B4 discovery, have at least a port to enter blocked state, can decontrol the port of UNI A2 and UNI B5, allow data message to pass through.Enter blocked state if never listen to port, then decontrol the port of UNI A2 and UNI B5 later at the timer expiry of 2 * Forwarding Latency.
Wherein, the structural diagrams of PE equipment is intended to as shown in Figure 7, and PE equipment is identical with PE B4 with PE A3, is example with Fig. 6 based on the PE A3 in the structure chart of the topological reporting system of L2VPN below, describes the effect of each module of PE equipment in detail.PE A3 comprises fault judgement module 31, BPDU sending module 32, UNI control module 33, tunnel control module 34, time block 35 and monitors module 36.Whether fault judgement module 31 is used to survey the network tunnel that PE A3 connects and breaks down, and judge whether this network tunnel recovers, this module can adopt different fault judgment methods according to different L2VPN, the mode perception tunnel failure that can go offline by virtual connections for VLL tunnel and VPLS tunnel, and for the 802.1Q tunnel, then can pass through several different methods perception tunnel state, for example dispose Ethernet OAM (Operation, Administration, Management, operation, management, safeguard) mechanism, this mechanism makes between PE A and the PE B and transmits public network side tunnel information alternately by protocol massages, can find out the state of specifying the tunnel when changing in the public network tunnel rapidly.
BPDU sending module 32 is used for sending the BPDU of low priority to the CE A1 that is connected to network tunnel by PE A3 when fault judgement module 31 detects network tunnel that PE A3 connects and breaks down.When network tunnel does not go wrong, the monitoring module 36 of PE A3 just can be obtained the wherein topology information of CE A1 and CE B6 by monitoring BPDU between CE A1 and the CEB6, pathcost, upstream bridge priorities and id information comprising root bridge priorities, root bridge ID, arrival root bridge, perhaps in advance that network tunnel is corresponding with it uni port binding, when network tunnel goes wrong directly to the BPDU of the uni port transmission low priority of its binding.
Monitor module 36, be used to monitor network tunnel two ends CE equipment, the BPDU that CE A1 and CE B6 send is known the topology information of this CEA1 and CE B6 according to the BPDU that listens to, and the port information of monitoring CEA1 and CE B6, wherein port information comprises port role and port status.
UNI control module 33, be used for when fault judgement module 31 detects network tunnel that PE A3 connects and breaks down, to be changed to blocked state with the UNI A2 that the CE equipment CE A1 of the BPDU that receives low priority is connected, and after network tunnel recovers, when in timer expiry or two CE ports, having at least a port to enter blocked state the UNI A2 that blocks is decontroled.Because when the tunnel recovered from fault, the port that CE A1 connects UNI A2 may enter forwarding state, so after PE A3 finds tunnel restoration, need to keep the blocked state of UNI A2, the forbidden data message passes through, and enables the timer of a 2 * Forwarding Latency; The BPDU message that while PE A3 need be sent CE A1 is delivered to the other end in tunnel by the tunnel, and passes through to monitor the port information that module 36 is monitored among these BPDU.Before the timer expiry of 2 * Forwarding Latency, when PE A3 finds to have at least a port to enter blocked state in two CE ports, promptly decontrol the port of UNI A2, allow data message to pass through.Enter blocked state if never listen to port, then decontrol the UNI A2 port of obstruction at the timer expiry of 2 * Forwarding Latency later on, wherein the action process of the action process of PE B4, UNIB5 and CE B6 and above-mentioned PEA1, UNIA2 and CEA3 is consistent.
Tunnel control module 34, be used for when fault judgement module 31 detects network tunnel that PEA3 connects and breaks down, block the data message on this network tunnel, but do not comprise BPDU, although promptly port or UNI are in the state that gets clogged, BPDU still can send reception normally, perhaps is forwarded.And after monitoring module 36 confirms that network tunnel two ends user networks have not had loop, decontrol the data message on the tunnel, allow it to pass through.
Time block 35 is used for starting the timing of 2 * Forwarding Latency after fault judgement module 31 judges that network tunnel recovers, and notifies UNI control module 33 that the UNIA2 that blocks is decontroled in the overtime back of this timing.
As shown in Figure 8, be a kind of topology notification method flow chart of the embodiment of the invention based on L2VPN, this method all can be used in Fig. 6, Fig. 2 or networking schematic diagram shown in Figure 3, and can be applicable to L2VPN such as 802.1Q, VLL, VPLS and all can satisfy the various L2VPN of the defined EVC of meeting feature in the MEF standard, may further comprise the steps:
Step 801, PE equipment is surveyed the network tunnel that is connected with PE equipment, and when tunnel fails, according to different network tunnels, PE equipment can be by different mode perception tunnel failures.The mode perception tunnel failure that can go offline by virtual connections for example for VLL tunnel and VPLS tunnel, and for the 802.1Q tunnel, then can pass through several different methods perception tunnel state, for example by disposing Ethernet OAM (Operation, Administration, Management, operation, management, maintenance) mechanism, this mechanism makes between PE A and the PE B and transmits public network side tunnel information alternately by protocol massages, can find out the state of specifying the tunnel when changing in the public network tunnel rapidly.
Step 802, when PE equipment detected the network tunnel that is connected with PE equipment and breaks down, PE equipment sent the BPDU of low priority to the CE equipment that is connected to network tunnel by this PE equipment.
Step 803, CE equipment are received after the BPDU of low priority, and port blocked carries out topological convergence again, decontrol standby port or replace port, enable backup link, thereby accelerate the resume speed of network.
As shown in Figure 9, be the topology notification method flow chart of embodiment of the invention another kind based on L2VPN, this method all can be used in Fig. 6, Fig. 2 or networking schematic diagram shown in Figure 3, and can be applicable to L2VPN such as 802.1Q, VLL, VPLS and all can satisfy the various L2VPN of the defined EVC of meeting feature in the MEF standard, may further comprise the steps:
Step 901 knows that the topology information of CE equipment is so that send the BPDU of low priority to CE equipment when tunnel fails.The invention provides several different methods and know the topology information of CE equipment, for example know the topology information of CE equipment by the BPDU that monitors the CE equipment transmission of network tunnel two ends, or directly that described network tunnel is corresponding with it uni port binding, by the notice port relevant, just can notify this CE equipment with this tunnel.
Step 902, PE equipment is surveyed the network tunnel that is connected with PE equipment, and when tunnel fails, according to different network tunnels, PE equipment can be by different mode perception tunnel failures.The mode perception tunnel failure that can go offline by virtual connections for example for VLL tunnel and VPLS tunnel, and for the 802.1Q tunnel, then can pass through several different methods perception tunnel state, for example by disposing Ethernet OAM (Operation, Administration, Management, operation, management, maintenance) mechanism, this mechanism makes between PE A and the PE B and transmits public network side tunnel information alternately by protocol massages, can find out the state of specifying the tunnel when changing in the public network tunnel rapidly.
Step 903, when PE equipment detected the network tunnel that is connected with PE equipment and breaks down, PE equipment sent the BPDU of low priority to the CE equipment that is connected to network tunnel by this PE equipment according to the topology information of CE equipment.
Step 904, CE equipment are received after the BPDU of low priority, and port blocked carries out topological convergence again, decontrol standby port or replace port, enable backup link, thereby accelerate the resume speed of network.
As shown in figure 10, the topology notification method based on L2VPN a kind of for the embodiment of the invention also can reduce the flow chart that data message runs off, this method all can be used in Fig. 6, Fig. 2 or networking schematic diagram shown in Figure 3, and can be applicable to L2VPN such as 802.1Q, VLL, VPLS and all can satisfy the various L2VPN of the defined EVC of meeting feature in the MEF standard, may further comprise the steps:
Step 1001 knows that the topology information of CE equipment is so that send the BPDU of low priority to CE equipment when tunnel fails.The invention provides several different methods and know the topology information of CE equipment, for example know the topology information of CE equipment by the BPDU that monitors the CE equipment transmission of network tunnel two ends, or directly that described network tunnel is corresponding with it uni port binding, by the notice port relevant, just can notify this CE equipment with this tunnel.
Step 1002, PE equipment is surveyed the network tunnel that is connected with PE equipment, and when tunnel fails, according to different network tunnels, PE equipment can be by different mode perception tunnel failures.The mode perception tunnel failure that can go offline by virtual connections for example for VLL tunnel and VPLS tunnel, and for the 802.1Q tunnel, then can pass through several different methods perception tunnel state, for example by disposing Ethernet OAM (Operation, Administration, Management, operation, management, maintenance) mechanism, this mechanism makes between PE A and the PE B and transmits public network side tunnel information alternately by protocol massages, can find out the state of specifying the tunnel when changing in the public network tunnel rapidly.
Step 1003, when PE equipment detected the network tunnel that is connected with PE equipment and breaks down, PE equipment sent the BPDU of low priority to the CE equipment that is connected to network tunnel by this PE equipment according to the topology information of CE equipment.
Step 1004, PE equipment will be changed to blocked state with the UNI that the CE equipment of the BPDU that receives low priority is connected, and the forbidden data message passes through, but do not comprise BPDU, although promptly port or UNI are in the state that gets clogged, BPDU can send reception normally, perhaps is forwarded.Because when the tunnel recovers from fault, the port that is connected UNI with CE equipment may enter forwarding state, so data message can be forwarded away by UNI, may not cause losing of data message under the situation of convergence as yet at Customer Premises Network.
Step 1005 starts timer when network tunnel recovers, the timed events of this timer is generally 2 * Forwarding Latency.
Step 1006 before timer expiry, has at least one to enter blocked state if PE equipment listens to the CE device port at network tunnel two ends, then decontrols the UNI that blocks, and allows data message to pass through; Perhaps work as timer expiry, then decontrol the UNI that blocks, allow data message to pass through.Detailed process is that after timer started, PE equipment sent the BPDU message that CE equipment is sent, and monitored the information among the BPDU.Before the timer expiry of 2 * Forwarding Latency, when PE device discovery CE device port enters blocked state, be that Discarding state or Learning state (have two to be used to represent port status in the flag flag bit among the BPDU, if be 00 or 01, represent that promptly port is in discarding or Learning state), can decontrol the port of UNI, allow data message to pass through.Enter blocked state if never listen to port, decontrol the port of UNI later on, allow data message to pass through at the timer expiry of 2 * Forwarding Latency.
As shown in figure 11, also can reduce the flow chart of data message loss based on the topology notification method of L2VPN for embodiment of the invention another kind, this method all can be used in Fig. 6, Fig. 2 or networking schematic diagram shown in Figure 3, and can be applicable to L2VPN such as 802.1Q, VLL, VPLS and all can satisfy the various L2VPN of the defined EVC of meeting feature in the MEF standard, may further comprise the steps:
Step 1101 knows that the topology information of CE equipment is so that send the BPDU of low priority to CE equipment when tunnel fails.The invention provides several different methods and know the topology information of CE equipment, for example know the topology information of CE equipment by the BPDU that monitors the CE equipment transmission of network tunnel two ends, or directly that described network tunnel is corresponding with it uni port binding, by the notice port relevant, just can notify this CE equipment with this tunnel.
Step 1102, PE equipment is surveyed the network tunnel that is connected with PE equipment, and when tunnel fails, according to different network tunnels, PE equipment can be by different mode perception tunnel failures.The mode perception tunnel failure that can go offline by virtual connections for example for VLL tunnel and VPLS tunnel, and for the 802.1Q tunnel, then can pass through several different methods perception tunnel state, for example by disposing Ethernet OAM (Operation, Administration, Management, operation, management, maintenance) mechanism, this mechanism makes between PE A and the PE B and transmits public network side tunnel information alternately by protocol massages, can find out the state of specifying tunnel (tunnel) when changing in the public network tunnel rapidly.
Step 1103, when PE equipment detected the network tunnel that is connected with PE equipment and breaks down, PE equipment sent the BPDU of low priority to the CE equipment that is connected to network tunnel by this PE equipment according to the topology information of CE equipment.
Step 1104, after PE equipment detected network tunnel that described PE equipment connects and recovers, the data message on the blocking network tunnel did not comprise BPDU, although the i.e. state that gets clogged of tunnel, BPDU still can send reception normally.Because when the tunnel recovers from fault, the port that is connected UNI with CE equipment may enter forwarding state, so data message can be forwarded away by UNI, may not cause losing of data message under the situation of convergence as yet at Customer Premises Network.
Step 1105 if the network tunnel two ends user network that recovers has not had loop, is then decontroled the data message on the tunnel.PE equipment can judge by the following method whether the network tunnel two ends user network of recovery has loop, and for example PE equipment judges by the BPDU that monitors the CE equipment side whether described network tunnel two ends user network has not had loop; PE equipment can also judge whether described network tunnel two ends user network has not had loop alternately by carrying out BPDU with CE equipment.
As shown in figure 12, adopt the topology notification method flow chart based on L2VPN of Figure 10 and two kinds of methods of Figure 11 for the embodiment of the invention is a kind of, this method all can be used in Fig. 6, Fig. 2 or networking schematic diagram shown in Figure 3, and can be applicable to L2VPN such as 802.1Q, VLL, VPLS and all can satisfy the various L2VPN of the defined EVC of meeting feature in the MEF standard, may further comprise the steps:
Step 1201, know the topology information of CE equipment, can adopt several different methods to know the topology information of CE equipment, for example know the topology information of CE equipment by the BPDU that monitors the CE equipment transmission of network tunnel two ends, or directly that described network tunnel is corresponding with it uni port binding, by the notice port relevant, just can notify this CE equipment with this tunnel.
Step 1202, PE equipment is surveyed the network tunnel that is connected with PE equipment, and when tunnel fails, according to different network tunnels, PE equipment can be by different mode perception tunnel failures.The mode perception tunnel failure that can go offline by virtual connections for example for VLL tunnel and VPLS tunnel, and for the 802.1Q tunnel, then can pass through several different methods perception tunnel state, for example by disposing Ethernet OAM (Operation, Administration, Management, operation, management, maintenance) mechanism, this mechanism makes between PE A and the PE B and transmits public network side tunnel information alternately by protocol massages, can find out the state of specifying the tunnel when changing in the public network tunnel rapidly.
Step 1203, when PE equipment detected the network tunnel that is connected with PE equipment and breaks down, PE equipment sent the BPDU of low priority to the CE equipment that is connected to network tunnel by this PE equipment according to the topology information of CE equipment.
Step 1204, PE equipment will be changed to blocked state with the UNI that the CE equipment of the BPDU that receives low priority is connected, and the forbidden data message passes through.Because when the tunnel recovers from fault, the port that is connected UNI with CE equipment may enter forwarding state, so after the tunnel restoration of PE device discovery, need to keep the blocked state of UNI, prevent that data message from losing, do not comprise BPDU, although promptly port or UNI are in the state that gets clogged, BPDU still can send reception normally, perhaps is forwarded.
Step 1205 starts timer when network tunnel recovers, and the data message on the blocking network tunnel, and the timed events of this timer is generally 2 * Forwarding Latency.
Step 1206 before timer expiry, has at least one to enter blocked state if PE equipment listens to the CE device port at network tunnel two ends, then decontrols the UNI that blocks, and allows data message to pass through; Perhaps work as timer expiry, then decontrol the UNI that blocks, allow data message to pass through.Detailed process is that after timer started, PE equipment sent the BPDU message that CE equipment is sent, and monitored the information among the BPDU.Before the timer expiry of 2 * Forwarding Latency, when PE device discovery CE device port enters blocked state, be that Discarding state or Learning state (have two to be used to represent port status in the flag flag bit among the BPDU, if be 00 or 01, represent that promptly port is in discarding or Learning state), can decontrol the port of UNI, allow data message to pass through.Enter blocked state if never listen to port, decontrol the port of UNI later on, allow data message to pass through at the timer expiry of 2 * Forwarding Latency.
Step 1207 if the network tunnel two ends user network that recovers has not had loop, is then decontroled the data message on the tunnel.PE equipment can judge by the following method whether the network tunnel two ends user network of recovery has loop, and for example PE equipment judges by the BPDU that monitors the CE equipment side whether described network tunnel two ends user network has not had loop; PE equipment can also judge whether described network tunnel two ends user network has not had loop alternately by carrying out BPDU with CE equipment.
The embodiment of the invention is notified the variation in CE equipment tunnel alternately by PE equipment and CE equipment BPDU initiatively, can allow CE equipment when tunnel fails, in time find change in topology, accelerated the topological convergence speed of user network, and can from fault, recover in the tunnel time, by blocking uni port and blocking tunnel, avoid the generation of temporary loop, prevented losing of data.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (15)

1, a kind of topology notification method based on L2VPN is characterized in that, may further comprise the steps:
When PE equipment detected network tunnel that described PE equipment connects and breaks down, described PE equipment sent the bridge protocol data unit B PDU of low priority to the CE equipment that is connected to described network tunnel by described PE equipment.
2, according to claim 1 based on the topology notification method of L2VPN, it is characterized in that, before described network tunnel breaks down, further comprising the steps of:
Described PE equipment is known the topology information of described CE equipment by the BPDU that monitors the CE equipment transmission of described network tunnel two ends.
3, according to claim 1 based on the topology notification method of L2VPN, it is characterized in that, after the CE equipment that is connected to described network tunnel by described PE equipment sends the BPDU of low priority, further comprising the steps of at described PE equipment:
Described CE equipment is received after the BPDU of described low priority, and port blocked carries out topological convergence again.
4, according to claim 1 based on the topology notification method of L2VPN, it is characterized in that, after the CE equipment that is connected to described network tunnel by described PE equipment sends the BPDU of low priority, further comprising the steps of at described PE equipment:
Described PE equipment all is changed to blocked state with the UNI that described CE equipment connects, and the forbidden data message passes through.
5, as described in the claim 4 based on the topology notification method of L2VPN, it is characterized in that, after described PE equipment will all be changed to blocked state with the UNI that the CE equipment of the BPDU that receives described low priority is connected, further comprising the steps of: detect the network tunnel recovery of described PE equipment connection when PE equipment after, described PE device start timer.
6, as described in the claim 5 based on the topology notification method of L2VPN, it is characterized in that, after described startup timer, further comprising the steps of;
Before described timer expiry, if listening to the CE device port at described network tunnel two ends, described PE equipment have at least one to enter blocked state, then the UNI with described obstruction all decontrols, and allows data message to pass through;
If described timer expiry, then the UNI with described obstruction all decontrols, and allows data message to pass through.
7, according to claim 1 based on the topology notification method of L2VPN, it is characterized in that, after the CE equipment that is connected to described network tunnel by described PE equipment sends the BPDU of low priority, further comprising the steps of at described PE equipment:
Detect the network tunnel recovery of described PE equipment connection when PE equipment after, block the data message on the described network tunnel.
8, as described in the claim 7 based on the topology notification method of L2VPN, it is characterized in that, after the data message on described blocking network tunnel, further comprising the steps of:
Described PE equipment judges whether described network tunnel two ends user network has not had loop by BPDU or the described PE equipment of monitoring the CE equipment side alternately by carrying out BPDU with CE equipment;
If described network tunnel two ends user network has not had loop, then decontrol the data message on the described tunnel.
9, a kind of topological reporting system based on L2VPN, comprise at least two CE equipment and at least two UNI, it is characterized in that, also comprise at least two PE equipment, described PE equipment is used for sending the BPDU of low priority to the CE equipment that is connected to described network tunnel by described PE equipment when the network tunnel that detects described PE equipment connection breaks down.
10, as described in the claim 9 based on the topological reporting system of L2VPN, it is characterized in that described PE equipment comprises fault judgement module and BPDU sending module,
Whether described fault judgement module is used to survey the network tunnel that described PE equipment connects and breaks down, and judge whether described network tunnel recovers;
Described BPDU sending module is used for sending the BPDU of low priority to the CE equipment that is connected to described network tunnel by described PE equipment when described fault judgement module detects network tunnel that described PE equipment connects and breaks down.
11, as described in the claim 10 based on the topological reporting system of L2VPN, it is characterized in that described PE equipment also comprises monitors module, UNI control module and time block,
Described monitoring module is used to monitor the BPDU that described network tunnel two ends CE equipment sends, and knows the topology information of described CE equipment according to the described BPDU that listens to, and monitors the port information of described CE equipment;
Described UNI control module, be used for when described fault judgement module detects network tunnel that described PE equipment connects and breaks down, to all be changed to blocked state with the UNI that the CE equipment of the BPDU that receives described low priority is connected, and after described network tunnel recovers, continue to keep the blocked state of described UNI, the UNI with described obstruction when receiving the notice of described monitoring module and described time block all decontrols;
Described time block is used for starting regularly after described fault judgement module judges that described network tunnel recovers, and notifies after overtime described UNI control module that the UNI of described obstruction is all decontroled.
12, as described in the claim 10 based on the topological reporting system of L2VPN, it is characterized in that, described PE equipment also comprises the tunnel control module, be used for when described fault judgement module detects network tunnel that described PE equipment connects and breaks down, block the data message on the described network tunnel, and after described monitoring module confirms that described network tunnel two ends user network has not had loop, decontrol the data message on the described tunnel.
13, a kind of PE equipment is characterized in that, comprises fault judgement module and BPDU sending module,
Whether described fault judgement module is used to survey the network tunnel that described PE equipment connects and breaks down, and judge whether described network tunnel recovers;
Described BPDU sending module is used for sending the BPDU of low priority to the CE equipment that is connected to described network tunnel by described PE equipment when described fault judgement module detects network tunnel that described PE equipment connects and breaks down.
14, as PE equipment as described in the claim 13, it is characterized in that, also comprise and monitor module, UNI control module and time block,
Described monitoring module is used to monitor the BPDU that described network tunnel two ends CE equipment sends, and knows the topology information of described CE equipment according to the described BPDU that listens to, and monitors the port information of described CE equipment;
Described UNI control module, be used for when described fault judgement module detects network tunnel that described PE equipment connects and breaks down, to all be changed to blocked state with the UNI that the CE equipment of the BPDU that receives described low priority is connected, and after described network tunnel recovers, continue to keep the blocked state of described UNI, the UNI with described obstruction when receiving the notice of described monitoring module and described time block all decontrols;
Described time block is used for starting regularly after described fault judgement module judges that described network tunnel recovers, and notifies after overtime described UNI control module that the UNI of described obstruction is all decontroled.
15, as PE equipment as described in the claim 13, it is characterized in that, also comprise the tunnel control module, be used for when described fault judgement module detects network tunnel that described PE equipment connects and breaks down, block the data message on the described network tunnel, and after described monitoring module confirms that described network tunnel two ends user network has not had loop, decontrol the data message on the described tunnel.
CN200710086517A 2007-03-12 2007-03-12 A topology notification method, system and device based on L2VPN Expired - Fee Related CN100586096C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710086517A CN100586096C (en) 2007-03-12 2007-03-12 A topology notification method, system and device based on L2VPN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710086517A CN100586096C (en) 2007-03-12 2007-03-12 A topology notification method, system and device based on L2VPN

Publications (2)

Publication Number Publication Date
CN101018183A true CN101018183A (en) 2007-08-15
CN100586096C CN100586096C (en) 2010-01-27

Family

ID=38726947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710086517A Expired - Fee Related CN100586096C (en) 2007-03-12 2007-03-12 A topology notification method, system and device based on L2VPN

Country Status (1)

Country Link
CN (1) CN100586096C (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834773A (en) * 2010-03-30 2010-09-15 中兴通讯股份有限公司 Protection method and system of virtual private LAN (Local Area Network) service (VPLS)
CN102006229A (en) * 2010-11-24 2011-04-06 中兴通讯股份有限公司 Processing method, device and system of link state
CN101222437B (en) * 2008-01-25 2011-06-15 杭州华三通信技术有限公司 Method and system for transparent transmission of BPDU packet in two-layer switching network
CN102143054A (en) * 2010-11-23 2011-08-03 华为数字技术有限公司 Method for preventing traffic loss after restarting of provider edge and customer edge
CN102271045A (en) * 2010-06-02 2011-12-07 华为技术有限公司 Virtual private network (VPN)-instance-based inter-equipment backup method, equipment and system
CN101534211B (en) * 2008-03-13 2012-02-22 华为技术有限公司 Network convergence method, network bridges and system
CN103095545A (en) * 2013-01-04 2013-05-08 杭州华三通信技术有限公司 Message transmitting method and switching device based on bridge protocol data unit tunnel
CN103368753A (en) * 2012-03-26 2013-10-23 上海地面通信息网络有限公司 Network route control system with multi-link mutual redundancy and backup
CN106559234A (en) * 2015-09-28 2017-04-05 中兴通讯股份有限公司 Control message sending method and device
CN108337158A (en) * 2018-01-23 2018-07-27 新华三技术有限公司 Unicast message retransmission method and device
WO2021042675A1 (en) * 2019-09-04 2021-03-11 厦门网宿有限公司 Layer-2 private wire network system and configuration method
CN113875196A (en) * 2019-05-28 2021-12-31 小糸电工株式会社 Communication device

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222437B (en) * 2008-01-25 2011-06-15 杭州华三通信技术有限公司 Method and system for transparent transmission of BPDU packet in two-layer switching network
CN101534211B (en) * 2008-03-13 2012-02-22 华为技术有限公司 Network convergence method, network bridges and system
CN101834773A (en) * 2010-03-30 2010-09-15 中兴通讯股份有限公司 Protection method and system of virtual private LAN (Local Area Network) service (VPLS)
CN102271045B (en) * 2010-06-02 2014-08-13 华为技术有限公司 Virtual private network (VPN)-instance-based inter-equipment backup method, equipment and system
CN102271045A (en) * 2010-06-02 2011-12-07 华为技术有限公司 Virtual private network (VPN)-instance-based inter-equipment backup method, equipment and system
CN102143054A (en) * 2010-11-23 2011-08-03 华为数字技术有限公司 Method for preventing traffic loss after restarting of provider edge and customer edge
CN102006229A (en) * 2010-11-24 2011-04-06 中兴通讯股份有限公司 Processing method, device and system of link state
CN103368753B (en) * 2012-03-26 2017-03-29 上海地面通信息网络有限公司 A kind of multilink is mutually redundant the network route control system of backup
CN103368753A (en) * 2012-03-26 2013-10-23 上海地面通信息网络有限公司 Network route control system with multi-link mutual redundancy and backup
CN103095545B (en) * 2013-01-04 2015-11-25 杭州华三通信技术有限公司 A kind of message forwarding method based on bridge protocol data unit tunnel and switching equipment
CN103095545A (en) * 2013-01-04 2013-05-08 杭州华三通信技术有限公司 Message transmitting method and switching device based on bridge protocol data unit tunnel
CN106559234A (en) * 2015-09-28 2017-04-05 中兴通讯股份有限公司 Control message sending method and device
CN108337158A (en) * 2018-01-23 2018-07-27 新华三技术有限公司 Unicast message retransmission method and device
CN108337158B (en) * 2018-01-23 2020-12-04 新华三技术有限公司 Unicast message forwarding method and device
CN113875196A (en) * 2019-05-28 2021-12-31 小糸电工株式会社 Communication device
CN113875196B (en) * 2019-05-28 2024-01-05 小糸电工株式会社 Communication device
WO2021042675A1 (en) * 2019-09-04 2021-03-11 厦门网宿有限公司 Layer-2 private wire network system and configuration method

Also Published As

Publication number Publication date
CN100586096C (en) 2010-01-27

Similar Documents

Publication Publication Date Title
CN100586096C (en) A topology notification method, system and device based on L2VPN
CN100409634C (en) Fast ring network protecting method and system
US8259590B2 (en) Systems and methods for scalable and rapid Ethernet fault detection
CN102025646B (en) Link switching method and device thereof
US8400912B2 (en) Activating a tunnel upon receiving a control packet
EP2951959B1 (en) Using ethernet ring protection switching with computer networks
CN100459531C (en) Method for notifying pseudo-lines fault based on bidirectional transmission detecting protocol
US20120113835A1 (en) Inter-network carrier ethernet service protection
US8570858B2 (en) Control method for protecting failure recovery of ethernet ring and ethernet ring nodes
EP2207307B1 (en) Method for processing the failure of the slave port of the master node in an ethernet ring network system
US20020159398A1 (en) Spanning tree control unit in the case of trouble or increase and method thereof
CN101924654B (en) Point-to-multipoint service-based path switching method and system
WO2008089633A1 (en) Method and apparatus for protecting ether ring net
CN101127653A (en) Ethernet loop device with backup and implementation method for master device backup
CN101841450B (en) Method and system for realizing stable communication by forming multiple ring topologies into intersecting ring
CN101127673A (en) Ethernet automatic protection switching method
CN101478469B (en) Method and system for RRPP loop link switching
CN100461706C (en) Method for recovering sponsor media accessing control address and operation businesss edge apparatus
CN101873244A (en) Automatic multi-loop protection method
WO2011095101A1 (en) Linear 1: n protection method, device and system for packet transport network
CN102238067B (en) Switching method and device on Rapid Ring Protection Protocol (RRPP) ring
US8279752B1 (en) Activating tunnels using control packets
CN100446476C (en) Method and apparatus for communicating network trouble dtecting result
WO2011097893A1 (en) Method, device and system for transmitting e1 bidirectional looped network data
WO2012071905A1 (en) Method and system for protecting ring network uplink

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100127

Termination date: 20200312

CF01 Termination of patent right due to non-payment of annual fee