CN105656775A - Media access control forwarding link switching method and device - Google Patents
Media access control forwarding link switching method and device Download PDFInfo
- Publication number
- CN105656775A CN105656775A CN201410649398.1A CN201410649398A CN105656775A CN 105656775 A CN105656775 A CN 105656775A CN 201410649398 A CN201410649398 A CN 201410649398A CN 105656775 A CN105656775 A CN 105656775A
- Authority
- CN
- China
- Prior art keywords
- mac
- outgoing interface
- link
- pwfrr
- access control
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a media access control forwarding link switching method and device, relates to the data communication technique. The invention discloses a media access control MAC forwarding link switching method. The method comprises following steps: in a virtual private LAN service VPLS network, when a user facing-provider edge UPE discovers that an MAC outcoming interface pseudo wire PW generates a fault, if judging that the MAC outcoming interface pseudo wire PW has PW fast reroute FRR, the MAC outcoming interface is updated as the backup link of the PW FRR. The invention also discloses a media access control MAC forwarding link switching device. According to the technical solution provided by the invention, when the PW link generates the fault, whether the MAC has an available backup link is judged; if there is a backup link, the MAC is not deleted; the MAC is directly updated on the backup link; the multicast (unknown unicast) is avoided; and the forwarding efficiency is improved.
Description
Technical field
The present invention relates to data communication technology, espespecially VPLS (VirtualPrivateLANService, Virtual Private LAN Service) in PW (PseudoWire, pseudo-wire) FRR (FastReRoute, quick heavy-route) under, MAC (MediaAccessControl, medium access control) conversion link handover scheme.
Background technology
VPLS is actually typical MPLSL2VPN technology, by MPLS technology on carrier network, makes the user being dispersed on diverse geographic location couple together. From the angle of user, whole MPLS network is transparent, as same virtual Layer2 switching network.
Fig. 1 is typical VPLSPWFRR business networking. Wherein UPE1 (Userfacing-ProviderEdge, user oriented carrier network devices), NPE1, NPE2 (NetworkProviderEdge, the carrier network devices of network-oriented), NPE3 form carrier network, VPLS business is provided to user CE1 (CustomEdge, user's border networks equipment), CE2. Need to set up PW between NPE entirely to connect, as it can be seen, the PW between NPE is referred to as NPW (pseudo-wire between the carrier network devices of network-oriented) in this literary composition. UPE1 sets up UPW1, UPW2 respectively with NPE1, NPE2, and forms PWFRR on UPE1. Wherein UPW1 is primary link, and UPW2 is backup link. CE1 and CE2 is linked into carrier network respectively through AC (AccessConnection accesses circuit).
Assume that the MAC that MAC is MAC1, CE2 of user CE1 is MAC2, and communicate between ce1 and ce2. CE2 sends message to CE1 (the source MAC of message is MAC2, purpose MAC is MAC1), on UPE1, receives this message from UPW1 and UPW2 simultaneously. UPW2 is backup link, and therefore message is standby abandons. UPW1 is primary link, and message continues with, and is transmitted to CE1 by AC1. UPE1 learns MAC2 simultaneously, and outgoing interface is UPW1. Hereafter, CE1 is sent to the message (source MAC is MAC1, purpose MAC is MAC2) of CE2, inquires MAC2 at UPE1 and exists, and outgoing interface is UPW1, is therefore forwarded by UPW1.
When primary link UPW1 fault on UPE1, VPLS business can switch to primary link UPW2. Simultaneously because UPW1 fault, on it, the MAC1 of study also can standby delete.
Thus having a problem that, CE1 is sent to the message of CE2, was there is MAC2 originally, and arrived CE2's by unicast forwarding on UPE1. But owing to there occurs link switching, causing that MAC1 is deleted, message forwarded to CE2 only by multicast (unknown unicast), reduces forward efficiency.
Summary of the invention
The technical problem to be solved is to provide a kind of MAC conversion link changing method and device, the problem that during to solve link failure, forward efficiency is low.
In order to solve above-mentioned technical problem, the invention discloses a kind of medium access control MAC conversion link changing method, including:
In Virtual Private LAN Service VPLS networking, user oriented carrier network devices UPE finds when MAC outgoing interface pseudo-wire PW breaks down, if judging there is the quick heavy-route FRR of PW in described MAC outgoing interface PW, then updating described MAC outgoing interface is the reserve link of PWFRR.
Alternatively, said method also includes:
Judge, when described MAC outgoing interface PW is absent from PWFRR, to delete described MAC.
The invention also discloses a kind of medium access control MAC conversion link switching device, including:
Judging unit, in Virtual Private LAN Service VPLS networking, when MAC outgoing interface pseudo-wire PW breaks down, it is judged that whether described MAC outgoing interface PW exists the quick heavy-route FRR of PW;
Switch unit, described judging unit judges that, when described MAC outgoing interface PW exists PWFRR, updating described MAC outgoing interface is the reserve link of PWFRR.
Alternatively, said apparatus also includes:
Deleting unit, described judging unit judges, when described MAC outgoing interface PW is absent from PWFRR, to delete described MAC.
Alternatively, said apparatus is placed in user oriented carrier network devices UPE.
Compared with prior art, technical scheme, when PW link failure, can judge whether MAC exists available backup link, if it is present do not delete MAC, directly update MAC to backup link, thus avoiding multicast (unknown unicast), improve forward efficiency.
Accompanying drawing explanation
Fig. 1 is VPLSPWFRR business typical case's networking diagram of the present invention;
Fig. 2 is the MAC link switching flow chart of the present invention.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with accompanying drawing, technical solution of the present invention is described in further detail. It should be noted that when not conflicting, embodiments herein and the feature in embodiment can arbitrarily be mutually combined.
Embodiment 1
For the networking shown in Fig. 1, present inventor proposes, when MAC1 to be deleted due to UPW1 fault on UPE1, if it is possible to identifying UPW1 and UPW2 is the words that there is PWFRR relation, so can not delete MAC1, but the outgoing interface updating MAC1 is UPW2. Like this, CE1 is sent to the message of CE2, can continue unicast forwarding on UPE1.
Based on above-mentioned thought, the present embodiment provides a kind of MAC conversion link changing method, mainly includes following operation:
In VPLS networking, when MAC outgoing interface PW breaks down, if it is determined that there is PWFRR relation in this MAC outgoing interface PW, it is possible to do not delete this MAC, but update the MAC outgoing interface backup link to PWFRR.
Wherein, it is judged that when MAC outgoing interface PW is absent from PWFRR, it is possible to delete MAC according to existing method.Now whole handoff procedure is as shown in Figure 2.
Below for the networking shown in Fig. 1, what said method was described implements process.
Step one: as it is shown in figure 1, UPE1, NPE1, NPE2, NPE3 build VPLSPWFRR business, is wherein connected by PW between NPE entirely, and UPE1 and NPE1, NPE2 have built PWFRR (UPW1 is primary link, and UPW2 is backup link). User CE1, CE2 are accessed by UPE1, NPE3.
Now on UPE1, PWFRR list item is as shown in table 1:
Table 1 is PWFRR relation table on UPE1
PW FRR | Primary link | Backup link |
1 | UPW1 | UPW2 |
The upper MAC table of UPE1 is as shown in table 2:
Table 2 is MAC table on UPE1
MAC | Outgoing interface |
MAC1 | AC1 |
MAC2 | UPW1 |
Step 2: CE1 sends message to CE2: source MAC is MAC1, purpose MAC is MAC2.
UPE1 receives message from AC1, inquires about MAC address entries according to MAC2. As shown in Table 2, MAC2 exists, and outgoing interface is UPW1. Therefore UPE1 clean culture on UPW1 sends message.
Step 3: when UPE1 perceives UPW1 fault, carries out MAC conversion link switching, and this process includes following operation:
Step a, it is judged that whether UPW1 exists PWFRR. As shown in Table 1, there is PWFRR in UPW1, therefore continues executing with 202;
Step b: the backup link UPW2 of amendment MAC1 to PWFRR.
Through this step, the upper MAC address entries of UPE1 is as shown in table 3:
Table 3 is MAC table on UPE1 after conversion link switching
MAC | Outgoing interface |
MAC1 | AC1 |
MAC2 | UPW2 |
Step 4: CE1 sends message to CE2: source MAC is MAC1, purpose MAC is MAC2.
UPE1 receives message from AC1, inquires about MAC address entries according to MAC2. As shown in Table 3, MAC2 exists, and outgoing interface is UPW2. Therefore UPE1 clean culture on UPW2 sends message.
By above step it is found that on UPE1 before and after link switches, CE1 is sent to the message of CE2 and carries out unicast forwarding all the time, the situation of multicast (unknown unicast) does not occur, improves forward efficiency.
Embodiment 2
The present embodiment provides a kind of medium access control MAC conversion link switching device, it is possible to being placed in UPE, it at least includes such as lower unit.
Judging unit, in VPLS networking, when MAC outgoing interface PW breaks down, it is judged that whether MAC outgoing interface PW exists PWFRR;
Switch unit, when judging unit judges that MAC outgoing interface PW exists PWFRR, updating MAC outgoing interface is the reserve link of PWFRR.
It addition, said apparatus can also include deleting unit, it is when judging unit judges that MAC outgoing interface PW is absent from PWFRR, deletes MAC.
One of ordinary skill in the art will appreciate that all or part of step in said method can be carried out instruction related hardware by program and complete, described program can be stored in computer-readable recording medium, such as read only memory, disk or CD etc. Alternatively, all or part of step of above-described embodiment can also use one or more integrated circuit to realize. Correspondingly, each module/unit in above-described embodiment can adopt the form of hardware to realize, it would however also be possible to employ the form of software function module realizes. The application is not restricted to the combination of the hardware and software of any particular form.
The above, be only the preferred embodiments of the present invention, be not intended to limit protection scope of the present invention. All within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention.
Claims (5)
1. a medium access control MAC conversion link changing method, it is characterised in that including:
In Virtual Private LAN Service VPLS networking, user oriented carrier network devices UPE finds when MAC outgoing interface pseudo-wire PW breaks down, if judging there is the quick heavy-route FRR of PW in described MAC outgoing interface PW, then updating described MAC outgoing interface is the reserve link of PWFRR.
2. the method for claim 1, it is characterised in that the method also includes:
Judge, when described MAC outgoing interface PW is absent from PWFRR, to delete described MAC.
3. a medium access control MAC conversion link switching device, it is characterised in that including:
Judging unit, in Virtual Private LAN Service VPLS networking, when MAC outgoing interface pseudo-wire PW breaks down, it is judged that whether described MAC outgoing interface PW exists the quick heavy-route FRR of PW;
Switch unit, described judging unit judges that, when described MAC outgoing interface PW exists PWFRR, updating described MAC outgoing interface is the reserve link of PWFRR.
4. device as claimed in claim 3, it is characterised in that also include:
Deleting unit, described judging unit judges, when described MAC outgoing interface PW is absent from PWFRR, to delete described MAC.
5. the device as described in claim 3 or 4, it is characterised in that this device is placed in user oriented carrier network devices UPE.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410649398.1A CN105656775A (en) | 2014-11-14 | 2014-11-14 | Media access control forwarding link switching method and device |
PCT/CN2015/089459 WO2016074529A1 (en) | 2014-11-14 | 2015-09-11 | Method and apparatus for switching media access control forwarding link |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410649398.1A CN105656775A (en) | 2014-11-14 | 2014-11-14 | Media access control forwarding link switching method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105656775A true CN105656775A (en) | 2016-06-08 |
Family
ID=55953715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410649398.1A Withdrawn CN105656775A (en) | 2014-11-14 | 2014-11-14 | Media access control forwarding link switching method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105656775A (en) |
WO (1) | WO2016074529A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111131035A (en) * | 2019-12-18 | 2020-05-08 | 新华三半导体技术有限公司 | Data transmission method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1863069A (en) * | 2005-07-28 | 2006-11-15 | 华为技术有限公司 | Method for implementing fast switching of virtual special LAN service |
CN101582834A (en) * | 2008-05-16 | 2009-11-18 | 华为技术有限公司 | Updating method, equipment and system of forwarding table during service transmission of Ethernet |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8059549B2 (en) * | 2009-02-17 | 2011-11-15 | Tellabs Operations, Inc. | Method and apparatus for supporting network communications using point-to-point and point-to-multipoint protocols |
CN101860482B (en) * | 2010-05-25 | 2014-12-17 | 中兴通讯股份有限公司 | Two-layer virtual private network fast re-route method and device |
-
2014
- 2014-11-14 CN CN201410649398.1A patent/CN105656775A/en not_active Withdrawn
-
2015
- 2015-09-11 WO PCT/CN2015/089459 patent/WO2016074529A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1863069A (en) * | 2005-07-28 | 2006-11-15 | 华为技术有限公司 | Method for implementing fast switching of virtual special LAN service |
CN101582834A (en) * | 2008-05-16 | 2009-11-18 | 华为技术有限公司 | Updating method, equipment and system of forwarding table during service transmission of Ethernet |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111131035A (en) * | 2019-12-18 | 2020-05-08 | 新华三半导体技术有限公司 | Data transmission method and device |
Also Published As
Publication number | Publication date |
---|---|
WO2016074529A1 (en) | 2016-05-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2533475A1 (en) | Method and system for host route reachability in packet transport network access ring | |
CN109660442B (en) | Method and device for multicast replication in Overlay network | |
US8054799B2 (en) | Seamless mobility in layer 2 radio access networks | |
CN104009926A (en) | Multicast method in EVI network and edge device ED | |
CN110798403B (en) | Communication method, communication device and communication system | |
TWI552638B (en) | Software defined network and mobility management method and controller thereof | |
CN103516612B (en) | Distribution router generates method and the distribution router of route table items | |
US8855113B2 (en) | Link state identifier collision handling | |
CN102857418B (en) | A kind of Quickly regroup changing method based on VPN and equipment | |
CN105722055A (en) | User roaming method, device and system in wireless local area network (WLAN) | |
CN108243102B (en) | Method for realizing fast rerouting and PE equipment | |
CN106209619A (en) | A kind of real-time automatic switching control equipment being applied to route interruption and method | |
CN103023773A (en) | Method, device and system for forwarding message in multi-topology network | |
WO2017080440A1 (en) | Routing table updating method, evpn control device, and evpn system | |
CN101494614B (en) | Method, apparatus and system for rapid rerouting | |
CN113542099B (en) | Data transmission method, device, electronic equipment, medium and product | |
CN105812495A (en) | Message forwarding method and device | |
US10771284B2 (en) | Troubleshooting method and apparatus for edge routing bridge in TRILL campus | |
CN105743784A (en) | Switching control method and device in deploying high capacity business | |
CN103873339A (en) | Method and device for distributing virtual gateway router | |
CN105656775A (en) | Media access control forwarding link switching method and device | |
CN104079679B (en) | Realize the method that mac address table is consistent | |
CN104954255A (en) | Method and device for processing VPN message | |
CN102664745B (en) | Method and device for registering and deleting multicast list item based on ring network | |
WO2021179935A1 (en) | Route determination method, apparatus and network device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20160608 |
|
WW01 | Invention patent application withdrawn after publication |