CN102137009B - Method, system and equipment for processing Dual-layer service in network - Google Patents

Method, system and equipment for processing Dual-layer service in network Download PDF

Info

Publication number
CN102137009B
CN102137009B CN201110033988.8A CN201110033988A CN102137009B CN 102137009 B CN102137009 B CN 102137009B CN 201110033988 A CN201110033988 A CN 201110033988A CN 102137009 B CN102137009 B CN 102137009B
Authority
CN
China
Prior art keywords
port
equipment
customer edge
message
address information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110033988.8A
Other languages
Chinese (zh)
Other versions
CN102137009A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201110033988.8A priority Critical patent/CN102137009B/en
Publication of CN102137009A publication Critical patent/CN102137009A/en
Priority to PCT/CN2011/081377 priority patent/WO2012103758A1/en
Application granted granted Critical
Publication of CN102137009B publication Critical patent/CN102137009B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements

Abstract

The invention provides a method, system and equipment for processing a dual-layer service in a network. The network comprises a user edge device and a switching device, wherein a first port of the user edge device is connected with a third port of the switching device; and a second port of the user edge device is connected with a fourth port of the switching device. The method comprises the following steps: configuring a link connected with the first port to be a main link, and blocking the second port; and when the link connected with the first port is detected to have a fault, activating/opening the second port, and sending a message carrying monitoring information of the user edge device to the switching device through the second port, so that the switching device establishes a correspondence between the monitoring information and the fourth port in accordance with the message.

Description

Two layer service processing methods in network and system and equipment
Technical field
The embodiment of the present invention relates to the communication technology, particularly relates to two layer service processing methods in a kind of network and system and equipment.
Background technology
The dual-homing protection technology of network equipment node a kind of a network node to be connected in another one network area on two different network equipments, to be improved the reliability of network by the mutual backup protection of main/slave link by active and standby two links.Multiframe chain road aggregation group (Multi-chassis LinkAggregation Group; Be called for short: MC-LAG) be the more common dual-homing protection technology for Ethernet link.Concrete, LAG refer to many are connected to same equipment multilink bundling together so that increase the reliability that bandwidth sum improves link.Passable being used as of link of polymerization is a logical links, MC-LAG is the expansion to the LAG in equipment, can be condensed together the data link on multiple equipment formation link aggregation group, thus raising available bandwidth, and when certain link or certain equipment failure, automatically data service is switched on other available links of MC-LAG, thus strengthens the reliability of link.
Fig. 1 is the structural representation of double layer network in prior art, and as shown in Figure 1, this double layer network comprises: switch 11, digital subscriber line access multiplex (Digital Subscriber Line AccessMultiplexer; DSLAM) 12, terminal 13 and router one 4 be called for short:.Wherein, the port that switch 11 is connected with DSLAM 12 is A port, and and link between DSLAM 12 be primary link; The port that switch 11 is connected with DSLAM 12 is B port, and and link between DSLAM 12 be reserve link.When primary link normal condition, switch 11, by A port and primary link, by the multicast service that receives from router one 4 or unicast service, sends to DSLAM 12, then by DSLAM 12, this multicast service or unicast service is sent to the terminal 13 be attached thereto.When primary link breaks down, switch 11 can pass through B port and reserve link, by the multicast service that receives from router one 4 or unicast service, send to DSLAM 12, then by DSLAM 12, this multicast service or unicast service are sent to the terminal 13 be attached thereto.
But when primary link breaks down, on switch, the media interviews of the user of this terminal control (Media Access Control; Be called for short: the outbound port in MAC) transmitting remains A port, thus causes descending unicast service or multicast service not to walk around faulty link, and then cause teleservice can not quick-recovery soon.
Summary of the invention
The embodiment of the present invention provides two layer service processing methods in a kind of network and system and equipment; in order to solve in prior art; at the network equipment by the dual-homed protection of link, and there is protection when switching in link, the problem that two layer service recovery times in network are long.
The embodiment of the present invention provides two layer service processing methods in a kind of network, wherein, described network comprises customer edge and switching equipment, wherein, first port of described customer edge is connected with the 3rd port of described switching equipment, second port of described customer edge is connected with the 4th port of described switching equipment, and described method comprises:
Arranging the link that described first port connects is primary link, and blocks described second port;
When detecting that fault appears at the link failure of described first port connection, activate/open described second port, sent the message carrying the monitoring information of described customer edge by described second port to described switching equipment, set up the corresponding relation of described monitoring information and described 4th port to make described switching equipment according to described message.
The embodiment of the present invention provides a kind of customer edge, comprising:
First port, for being connected with the 3rd port on switching equipment;
Second port, for being connected with the 4th port on described switching equipment;
Arrange module, the link connected for arranging described first port is primary link, and blocks described second port;
Fault processing module, for when the link failure that described first port connects being detected, activates/opens described second port;
Network Interface Module, for being sent the message carrying the monitoring information of described customer edge to described switching equipment by described 4th port, set up the corresponding relation of described monitoring information and described 4th port to make described switching equipment according to described message.
The embodiment of the present invention provides a kind of network equipment, comprising:
3rd port, for being connected with the first port of customer edge;
4th port, for being connected with the second port of described customer edge;
Message receiver module, for when the link failure of described first port connection, by the message of described 4th port accepts from described customer edge, described message carries the monitoring information of described customer edge;
Message processing module (MPM), for setting up the corresponding relation of described monitoring information and described 4th port according to described message.
The embodiment of the present invention provides a kind of two layer service treatment systems, wherein, described system comprises customer edge and switching equipment, described customer edge is provided with the first port and the second port, described first port is connected with the 3rd port on described switching equipment, described second port is connected with the 4th port on described switching equipment
Described customer edge, the link connected for arranging described first port is primary link, block described second port, when the link failure that described first port connects being detected, activate/open described second port, sent the message carrying the monitoring information of described customer edge by described second port to described switching equipment;
Described switching equipment, for setting up the corresponding relation of described monitoring information and the 4th port according to described message.
Two layer service processing methods in the network of the embodiment of the present invention and system and equipment, by arranging customer edge and switching equipment in a network, wherein, first port of customer edge is connected with the 3rd port of switching equipment, second port of customer edge is connected with the 4th port of switching equipment, and to arrange the link that the first port connects be primary link, and block the second port; When the link failure that the first port connects being detected; activate/open the second port; and sent the message carrying the monitoring information of customer edge to switching equipment by the second port; the corresponding relation of monitoring information and the 4th port is set up according to this message to make switching equipment; thus solve in prior art; at the network equipment by the dual-homed protection of link; and during link generation protection switching; the problem that two layer service recovery times in network are long, achieves the fast quick-recovery of two layer services.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation based on the double layer network of MC-LAG in prior art;
Fig. 2 is the flow chart of an embodiment of two layer service processing methods in network of the present invention;
Fig. 3 is a structural representation of the network architecture that the present invention is based on two layer service process;
Fig. 4 for realize two layer service process in network based on Ethernet link dual-homing protection technology under the schematic network structure of double layer network;
Fig. 5 is the flow chart of another embodiment of two layer service processing methods in network of the present invention;
Fig. 6 is the flow chart of another embodiment of the processing method of teleservice of the present invention;
Fig. 7 for realize two layer service process in network based on wireless OCDMA (Passive OpticalNetwork; Be called for short: the double layer network structural representation of dual-homing protection technology PON);
Fig. 8 is the structural representation of an embodiment of CE equipment of the present invention;
Fig. 9 is the structural representation of an embodiment of network equipment of the present invention;
Figure 10 is the structural representation of an embodiment of the present invention two layer service treatment system.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 2 is the flow chart of an embodiment of two layer service processing methods in network of the present invention, Fig. 3 is a structural representation of the network architecture that the present invention is based on two layer service process, as as described in Fig. 2 and Fig. 3, this network comprises customer edge (Customer Edge; Be called for short: CE) equipment 21, first switching equipment 22, the first port of this CE equipment 21 is connected with the 3rd port of the first switching equipment 22, and the first port of this CE equipment 21 is connected with the 3rd port of the first switching equipment 22, and the method for the present embodiment comprises:
Step 101, to arrange the link that the first port connects be primary link, and block the second port.
In the present embodiment, it is primary link that CE equipment 21 can arrange the link that the first port connects, and the link namely arranged between the first port and the 3rd port is primary link, for receiving clean culture that the first switching equipment forwards, multicast and broadcasting packet.It is reserve link that CE equipment 21 can also arrange the link that the second port connects, namely the link arranged between the second port and the 4th port is reserve link, and block this second port, thus make CE equipment 21 by the first port accepts clean culture, multicast and broadcasting packet.
Which link not primary link in the present embodiment, which is that reserve link limits, those skilled in the art can be arranged arbitrarily according to actual needs, such as: the CE equipment link that can arrange between the second port and the 4th port is primary link, the link arranged between the first port and the 3rd port is reserve link, and block this first port, thus make CE equipment by the second port accepts clean culture, multicast service and broadcasting packet.
Step 102, when detect first port connect link failure time, activate/open the second port, sent the message carrying the monitoring information of CE equipment 21 by the second port to the 4th port, set up the corresponding relation of monitoring information and the 4th port to make this first switching equipment 22 according to message.
In the present embodiment, when two layer services are unicast service, the monitoring information of CE equipment 21 can comprise the mac address information of CE equipment 21; Or the address information of the subscriber equipment that the mac address information comprising CE equipment 21 is connected with CE equipment 21, message can be specially address resolution protocol (Address Resolution Protocol; Be called for short: ARP) message.When the link failure that the first port connects being detected, namely when primary link breaks down, CE equipment 21 can by the four port transmission ARP message of the second port to the first switching equipment, first switching equipment 22 can according to this ARP message by the 4th port accepts, outbound port in unicast forwarding table is set to the 4th port, namely set up the corresponding relation of monitoring information and the 4th port, thus make the first switching equipment 22 can by the 4th port to the second port unicast traffic.Wherein, in unicast forwarding table, also comprise the mac address information of CE equipment 21, or the mac address information of CE equipment 21 and the address information of subscriber equipment.
When two layer services are multicast service, the monitoring information of CE equipment 21 can identify for group broadcasting program, then message can be specially Internet Group Management Protocol (Internet Group Management Protocol; Be called for short: IGMP) ask (Request) message; When detecting that fault appears between the first port and the 3rd port, namely when primary link breaks down, CE equipment 21 can by the four port transmission IGMP Request message of the second port to the first switching equipment, first switching equipment 22 can according to this IGMP Request message from the 4th port accepts, outbound port in multicast forward table is set to the 4th port, thus makes the first switching equipment 22 can send multicast service by the 4th port to the second port.
It should be noted that, when CE equipment 21 process be three layer services time, CE equipment 21 needs the MAC Address reporting self, such first switching equipment 22 can preserve this MAC Address in transmitting, and to set out port be the 4th port, when the first switching equipment 22 receives the downlink message from network side, this downlink message carries the MAC Address of CE equipment 21 and the IP address of subscriber equipment, according to the outbound port in transmitting, this downlink message is sent to CE equipment 21 by the 4th port; In addition, CE equipment 21 is preserved the MAC Address of subscriber equipment and the corresponding relation of IP address, after receiving downlink message, to remove in message the MAC Address of self, after changing the IP address of subscriber equipment the MAC Address of subscriber equipment into, send to subscriber equipment by corresponding ports.
When CE equipment 21 process be two layer services time, what CE equipment 21 needed to report is the MAC Address of the MAC Address of self and the subscriber equipment of connection, first switching equipment 22 preserves this two MAC Address respectively in transmitting, and to set out port be the 4th port, when receiving the downlink message of the MAC Address carrying subscriber equipment, send to CE equipment 21, CE equipment 21, according to the MAC Address of subscriber equipment, downlink message is transmitted to subscriber equipment by the 4th port downlink message according to transmitting.
In the present embodiment, by arranging customer edge and switching equipment in a network, wherein, first port of customer edge is connected with the 3rd port of switching equipment, second port of customer edge is connected with the 4th port of switching equipment, and to arrange the link that the first port connects be primary link, and block the second port; When the link failure that the first port connects being detected; activate/open the second port; and sent the message carrying the monitoring information of customer edge to switching equipment by the second port; the corresponding relation of monitoring information and the 4th port is set up according to this message to make switching equipment; thus solve in prior art; at the network equipment by the dual-homed protection of link; and during link generation protection switching; the problem that two layer service recovery times in network are long, achieves the fast quick-recovery of two layer services.
Fig. 4 for realize two layer service process in network based on Ethernet link dual-homing protection technology under the schematic network structure of double layer network; as shown in Figure 4, this double layer network comprises: switch 31, switch 32, switch 33, switch 34, router three 5 and subscriber equipment 36.Wherein, the first port of switch 31 is connected with the 3rd port of switch 34 by switch 32, and the second port of switch 31 is connected with the 4th port of switch 34 by switch 33.
Fig. 5 is the flow chart of another embodiment of two layer service processing methods in network of the present invention, the present embodiment is based on the network architecture shown in above-mentioned Fig. 4, and for two layer services be unicast service, CE equipment for switch 31, first switching equipment for switch 34, second switching equipment be switch 32, the 3rd switching equipment is for switch 33, introduce the technical scheme of the present embodiment in detail, as shown in Figure 5, the method for the present embodiment comprises:
Step 201, the link arranged between the first port and switch 32 are primary link, and the link arranged between the second port and switch 33 is reserve link, and blocks the second port.
Step 202, address resolution protocol of carrying out are intercepted (Address Resolution Protocol snooping; Be called for short: ARP snooping), listen to the agreement (InternetProtocol interconnected between the network of subscriber equipment; Be called for short: the MAC Address that IP) address is corresponding with this IP address.
In the present embodiment, when switch 31 link arranged between the first port and switch 32 is primary link, ARP message is broadcasted to network side, this ARP message comprises the MAC Address of MAC Address corresponding to the IP address of subscriber equipment and this IP address and switch machine 31, owing to blocking the second port, therefore, this ARP message is transmitted to switch 34 from switch 32, switch 34 is by after the 3rd port accepts to this ARP message, outbound port in unicast forwarding table is set to the 3rd port, wherein, this unicast forwarding list item comprises the address information of switch 31 and the address information of subscriber equipment, thus make switch 34 according to this outbound port, the unicast service received from router three 5 is sent to switch 32 by the 3rd port, and by primary link, this unicast service is transmitted to switch 31 by switch 32.
Step 203, detect first port connect link failure time, open/activate the second port, sent the ARP message carrying the MAC Address of switch 31 and the MAC Address of subscriber equipment to the 4th port by the second port, to make switch 34 according to ARP message, set up the corresponding relation of the MAC Address of switch 31 and the MAC Address of subscriber equipment and the 4th port.
In the present embodiment, this unicast forwarding list item comprises the MAC Address of switch 31 and the MAC Address of subscriber equipment.Concrete, the fault between the first port and the 3rd port can comprise: primary link breaks down, link failure between switch 32 and switch 34, or link in network between switch 32 and switch 34 or one malfunctions.Wherein, this network can be two layers of Ethernet, three layers of Ethernet or multiprotocol label switching (Multi-Protocol Label Switching; Be called for short: MPLS) network.
In addition, in the present embodiment, the implementation whether link that switch 31 detects the first port connection breaks down can have following several mode:
The first: switch 34 sends the second detect-message every the scheduled time to switch 32, switch 32 sends the first detect-message every the scheduled time to switch 31, and this first detect-message and the second detect-message can be ether operation management maintain (Operation Administration Maintenance; Be called for short: OAM) message or other detect-message.
If in the given time, switch 32 does not receive the second detect-message that switch 34 sends, then send a notification message to switch 31, inform the link in the network that switch 31 fault appears between switch 34 and switch 32 or node, or fault appears at the link between switch 34 and switch 32.
Or if in the given time, switch 31 does not receive the first detect-message that switch 32 sends, then judge that primary link breaks down.
The second: switch 34 sends second detect-message by switch 32 to switch 31 every the scheduled time.
If in the given time, switch 31 does not receive the second detect-message that switch 34 is forwarded by switch 32, then judge that fault is as primary link failure; Or fault appears at the link between switch 32 and switch 34; Or fault appears at link in the network between switch 32 and switch 34 or node.
In the present embodiment, switch 31 is when the link failure that the first port connects being detected, the second port can be opened/activate to switch 31, and the ARP message of the MAC of the MAC Address and subscriber equipment that carry switch 31 is broadcasted to network side, due to the link failure that the first port connects, open the second port, therefore, ARP message can be sent to switch 33 by the second port, and by switch 33, this ARP message is sent to switch 34, switch 34 is by after the 4th port accepts to this ARP message, the MAC Address of switch 31 and the MAC Address of subscriber equipment is learnt fast at the 4th port, thus the outbound port arranged in unicast forwarding table is the 4th port, wherein, the address information of switch 31 and the MAC Address of subscriber equipment is also comprised in this unicast forwarding table, namely the corresponding relation of the MAC Address of switch 31 and the MAC Address of subscriber equipment and the 4th port is set up, make switch 34 according to corresponding relation, by the unicast service received from router three 5, switch 33 is sent to by the 4th port, by switch 33, this unicast service is transmitted to switch 31 again, finally by switch 31, this unicast service is transmitted to subscriber equipment 36.
In the present embodiment, be primary link by the link arranged between the first port and switch 32, the link arranged between the second port and switch 33 is reserve link, and block the second port, when switch 31 is when the link failure that the first port connects being detected, open/activate the second port blocked, and the MAC Address of switch 31 and the MAC Address of subscriber equipment are carried in arp, the MAC Address of the subscriber equipment listened to is carried in APR message, the 4th port is sent to by the second port, for switch 34 by this ARP message of the 4th port accepts, and according to this ARP message, set up the corresponding relation of the MAC Address of switch 31 and the MAC Address of subscriber equipment and the 4th port, thus solve in prior art, at the network equipment by the dual-homed protection of link, and during link generation protection switching, the problem that unicast service recovery time is long, achieve the fast quick-recovery of unicast service.
Fig. 6 is the flow chart of another embodiment of the processing method of teleservice of the present invention, the present embodiment is based on the network architecture shown in above-mentioned Fig. 4, and for business be end to end multicast service, CE equipment for switch 31, first switching equipment for switch 34, second switching equipment be switch 32, the 3rd switching equipment is for switch 33, introduce the technical scheme of the present embodiment in detail, as shown in Figure 6, the method for the present embodiment comprises:
Step 301, the link arranged between the first port and switch 32 are primary link, and the link arranged between the second port and switch 33 is reserve link, and blocks the second port.
Step 302, Internet Group Management Protocol of carrying out are intercepted (Internet Group ManagementProtocol snooping; IGMP snooping) or igmp proxy server (proxy) be called for short:, listen to the user's request in subscriber equipment, this user request comprises group broadcasting program mark.
In the present embodiment, when arranging the link between the first port and switch 32 and being primary link, owing to blocking the second port, the IGMP carrying group broadcasting program mark asks (Request) message to be that the primary link connected by the first port sends to switch 32, and by switch 32, this TGMP Request message is sent to switch 34, after switch 34 receives this IGMP Request message by the first port, the outbound port arranged in multicast forward table is the first port, thus make switch 34 according to outbound port, the multicast service received from router three 5 is sent to switch 32 by the first port, and by primary link, this multicast service is transmitted to switch 31 by switch 32.
Step 303, when detect first port connect link failure time, activate/open the second port, sent the IGMP Request message carrying group broadcasting program mark to the 4th port by the second port, to make switch 34 according to the IGMP Request message of the 4th port accepts, set up the corresponding relation of group broadcasting program mark and the 4th port.
Concrete, switch 31 detect implementation that whether link that the first port connects break down with embodiment illustrated in fig. 5 in detection mode identical, repeat no more herein.
In addition, in the present embodiment, when switch 31 is when the link failure that the first port connects being detected, switch 31 can open the second port previously blocked, and group broadcasting program mark is carried in IGMP Request message, the reserve link connected by the second port sends to switch 32, by switch 32, this IGMP Request message is sent to switch 34 again, 4th port accepts of switch 34 is after this IGMP Request message, outbound port in quick-setting multicast forward table is the 4th port, namely the corresponding relation of group broadcasting program mark and the 4th port is set up, make switch 34 according to this corresponding relation, by the multicast service received by router three 5, by the 4th port repeat to switch 33, by switch 33, this multicast service is transmitted to switch 31 again, finally by switch 31, this multicast service is transmitted to subscriber equipment 36.
In the present embodiment, be primary link by the link arranged between the first port and switch 32, the link arranged between the second port and switch 33 is reserve link, and block the second port, when switch 31 is at the link failure that detection first port connects, open the second port previously blocked, and the group broadcasting program listened to mark is carried in IGMP Request message, the reserve link connected by the second port sends to switch 33, switch 34 is sent to again by switch 33, switch 34 is by after the 4th port accepts to this IGMP Request message, outbound port in quick-setting multicast forward table is the 4th port, namely the corresponding relation of group broadcasting program mark and the 4th port is set up, thus solve in prior art, at the network equipment by the dual-homed protection of link, and during link generation protection switching, the problem that multicast service recovery time is long, achieve the fast quick-recovery of multicast service.
Fig. 7 for realize two layer service process in network based on the double layer network structural representation of dual-homing protection technology of PON, as shown in Figure 7, this double layer network comprises: optical network unit (Optical NetworkUnit; ONU) 41, optical line terminal (Optical Line Terminal be called for short:; OLT) 42, OLT 43, switch 44, router four 5 and subscriber equipment 46 be called for short:.Wherein, first port of ONU 41 is connected with the 3rd port of switch 44 by OLT 42, and second port of ONU 41 is connected with the 4th port of switch 44 by OLT43, and ONU 41 is connected with OLT42 with OLT 43 respectively by 1: N optical branching device.It should be noted that, in the present embodiment, CE equipment is ONU 41, first switching equipment switch 44, second switching equipment be OLT 42 and the 3rd switching equipment is OLT 43.And the two layer service process realized in network can also based on the double layer network of the dual-homing protection technology of the PON shown in Fig. 7, its implementation realizing the embodiment of the method shown in principle and Fig. 5 or Fig. 6 is similar, repeats no more herein.
Fig. 8 is the structural representation of an embodiment of CE equipment of the present invention, and as shown in Figure 7, the CE equipment of the present embodiment comprises: the first port 51, second port 52, arrange module 53, fault processing module 54 and Network Interface Module 55.Wherein, the first port 51 is connected with the 3rd port on the first switching equipment, and the second port 52 is connected with the 4th port on the first switching equipment, and arranging module 53 for the link arranging the first port 51 and connect is primary link, and blocks the second port 52; The second port 52 is opened/activated to fault processing module 54, for when detecting that fault appears at the link failure of the first port 51 connection; Network Interface Module 55 is for sending the message carrying the monitoring information of CE equipment to the first switching equipment by the second port 52.
The CE equipment of the present embodiment can perform the technical scheme of the embodiment of the method shown in Fig. 2, and its principle is similar, repeats no more herein.
In the present embodiment, by arranging customer edge and switching equipment in a network, wherein, first port of customer edge is connected with the 3rd port of switching equipment, second port of customer edge is connected with the 4th port of switching equipment, and to arrange the link that the first port connects be primary link, and block the second port; When the link failure that the first port connects being detected; activate/open the second port; and sent the message carrying the monitoring information of customer edge to switching equipment by the second port; the corresponding relation of monitoring information and the 4th port is set up according to this message to make switching equipment; thus solve in prior art; at the network equipment by the dual-homed protection of link; and during link generation protection switching; the problem that two layer service recovery times in network are long, achieves the fast quick-recovery of two layer services.
Further, on above-mentioned basis embodiment illustrated in fig. 8, first port 51 of the CE equipment in the present embodiment can also be connected with the 3rd port of the first switching equipment by the second switching equipment, second port 52 of CE equipment can also be connected with the 4th port of the first switching equipment by the 3rd switching equipment, then the module 53 that arranges in CE equipment is primary link specifically for the link arranged between the first port 51 and the second switching equipment; The link arranged between the second port and the 3rd switching equipment is reserve link, and blocks the second port 52.
Further, on above-mentioned basis embodiment illustrated in fig. 8, the Network Interface Module 55 of the present embodiment is specifically for sending the ARP analysis protocol message carrying the address information of CE equipment to the 4th port by the second port 52.Or,
Network Interface Module 55 is specifically for sending the ARP message of the address information of the address information carrying CE equipment and the subscriber equipment be connected with CE equipment to the 4th port by the second port 52.
It should be noted that, this address information can be specially MAC Address.
Further, on above-mentioned basis embodiment illustrated in fig. 8, the Network Interface Module of the present embodiment is specifically for sending the IGMPRequest message carrying group broadcasting program mark to the 4th port by the second port 52.
Fig. 9 is the structural representation of an embodiment of network equipment of the present invention, and as shown in Figure 9, the equipment of the present embodiment comprises: the 3rd port 61, the 4th port 62, message receiver module 63 and message processing module (MPM) 64.Wherein, the 3rd port 61 is for being connected with the first port of CE equipment; 4th port 62 is for being connected with the second port of CE equipment; Message receiver module 63 is for when the link failure of the first port connection, and receive the message from CE equipment by the 4th port 62, this message carries the monitoring information of subscriber equipment; Message processing module (MPM) 64 is for setting up the corresponding relation of monitoring information and the 4th port 62 according to message.
Concrete, when message receiver module 63 is at the link failure that the first port of CE equipment connects, the ARP message carrying the address information of CE equipment from CE equipment is received by the 4th port 62, then message processing module (MPM) 64 is according to the ARP message of address information carrying CE equipment, the outbound port arranged in unicast forwarding table is the 4th port 62, namely set up the address information of CE equipment and the corresponding relation of the 4th port 62, wherein, this address information can be specially MAC Address.Or,
When message receiver module 63 is at the link failure that the first port of CE equipment connects, the ARP message of the address information from the address information carrying CE equipment of CE equipment and the subscriber equipment of CE equipment connection is received by the 4th port 62, then message processing module (MPM) 64 is according to this ARP message, the outbound port arranged in unicast forwarding table is the 4th port 62, namely sets up the address information of the address information of CE equipment and the subscriber equipment of CE equipment connection and the corresponding relation of the 4th port 62.Wherein, this address information can be specially MAC Address; Or,
When message receiver module 63 is at the link failure that the first port of CE equipment connects, receive the IGMP Request message carrying group broadcasting program mark from CE equipment by the 4th port 62; Then message processing module (MPM) 64 is according to this IGMP Request message received by the 4th port 62, and the outbound port arranged in multicast forward table is the 4th port 62, namely sets up the corresponding relation of group broadcasting program mark and the 4th port 62.
In the present embodiment; by the message carrying the monitoring information of CE equipment that the 4th port accepts sends from CE equipment; set up the corresponding relation of monitoring information and the 4th port; thus solve in prior art; at the network equipment by the dual-homed protection of link; and link protection occurs when switching, the problem that two layer service recovery times in network are long, achieves the fast quick-recovery of two layer services.
Further, on the basis of the embodiment shown in above-mentioned Fig. 9, this network equipment can also comprise Network Interface Module, for receiving the message from network side, then message processing module (MPM) 64 also for according to the message repeating of this corresponding relation automatic network side in the future to CE equipment.
Figure 10 is the structural representation of an embodiment of the present invention two layer service treatment system, as shown in Figure 10, the system of the present embodiment comprises: the first switching equipment 71 and CE equipment 72, wherein, CE equipment 72 is provided with the first port and the second port, first port is connected with the 3rd port on the first switching equipment 71, and the second port is connected with the 4th port on the first switching equipment 71.Concrete, CE equipment 72 is primary link for the link arranging the first port and connect, block the second port, when the link failure that the first port connects being detected, activate/open the second port, sent the message carrying the monitoring information of CE equipment 72 by the second port to the first switching equipment 71; First switching equipment 71 is for setting up the corresponding relation of monitoring information and the 4th port according to this message.
Further, this monitoring information can comprise group broadcasting program mark, then the first switching equipment 71 is also for receiving the message carrying group broadcasting program mark from network side, and the message according to the corresponding relation of group broadcasting program mark and the 4th port in the future automatic network side passes through the 4th port multicast to CE equipment 72.Or,
This monitoring information can also comprise the address information of CE equipment 72, or the address information of the subscriber equipment that the address information comprising CE equipment 72 is connected with CE equipment 72, then the first switching equipment 71 is also for receiving the message carrying address information from network side, according to the corresponding relation of this address information and the 4th port, in the future the message carrying this address information of automatic network side by the 4th port clean culture to CE equipment 72.
In the present embodiment, system solves the problem in prior art, at the network equipment by the dual-homed protection of link, and there is protection when switching in link, the problem that two layer service recovery times are long, achieves the fast quick-recovery of two layer services.
Further, in another embodiment of the present invention, on above-mentioned basis embodiment illustrated in fig. 10, this system can also comprise the second switching equipment and the 3rd switching equipment, wherein, first port of CE equipment 72 is connected with the 3rd port of the first switching equipment 71 by the second switching equipment, and the second port of CE equipment 72 is connected with the 4th port of the first switching equipment 71 by the 3rd switching equipment.
Concrete, CE equipment 72 can be switch; First switching equipment 71, second switching equipment and three switching equipment can be switch, Provider Edge (Provider Edge; Be called for short: PE) equipment or MPLS equipment.More specifically, primary link and reserve link can be LAG.
Further, in yet another embodiment of the present invention, on above-mentioned basis embodiment illustrated in fig. 10, this system can also comprise the second switching equipment and the 3rd switching equipment, wherein, first port of CE equipment 72 is connected with the 3rd port of the first switching equipment 71 by the second switching equipment, and the second port of CE equipment 72 is connected with the 4th port of the first switching equipment 71 by the 3rd switching equipment.
Concrete, this CE equipment 72 can be ONU; Second switching equipment and the 3rd switching equipment can be OLT, and the first switching equipment 71 can be switch, PE equipment or MPLS equipment.And be connected by the first optical branching device between CE equipment 72 with the second switching equipment, be connected by the second optical branching device between CE equipment 72 with the 3rd switching equipment, wherein the first optical branching device and the second optical branching device are 1: N optical branching device.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (7)

1. two layer service processing methods in a network, it is characterized in that, described network comprises customer edge and switching equipment, wherein, first port of described customer edge is connected with the 3rd port of described switching equipment, second port of described customer edge is connected with the 4th port of described switching equipment, and described method comprises:
Arranging the link that described first port connects is primary link, and blocks described second port;
When the link failure that described first port connects being detected, activate/open described second port, sent the message carrying the monitoring information of described customer edge by described second port to described switching equipment, set up the corresponding relation of described monitoring information and described 4th port to make described switching equipment according to described message;
When described two layer services are unicast service, described monitoring information comprises the address information of described customer edge, or, the address information of the subscriber equipment that the address information comprising described customer edge is connected with described customer edge; Wherein, described address information is the MAC address of equipment;
When described two layer services are multicast service, described monitoring information comprises group broadcasting program mark.
2. a customer edge, is characterized in that, comprising:
First port, for being connected with the 3rd port on switching equipment;
Second port, for being connected with the 4th port on described switching equipment;
Arrange module, the link connected for arranging described first port is primary link, and blocks described second port;
Fault processing module, for when the link failure that described first port connects being detected, activates/opens described second port;
Network Interface Module, for being sent the message carrying the monitoring information of described customer edge to described switching equipment by described second port, set up the corresponding relation of described monitoring information and described 4th port to make described switching equipment according to described message;
When two layer services are unicast service, described monitoring information comprises the address information of described customer edge, or, the address information of the subscriber equipment that the address information comprising described customer edge is connected with described customer edge; Wherein, described address information is the MAC address of equipment;
When described two layer services are multicast service, described monitoring information comprises group broadcasting program mark.
3. a network equipment, is characterized in that, comprising:
3rd port, for being connected with the first port of customer edge;
4th port, for being connected with the second port of described customer edge;
Message receiver module, for when the link failure of described first port connection, by the message of described 4th port accepts from described customer edge, described message carries the monitoring information of described customer edge;
Message processing module (MPM), for setting up the corresponding relation of described monitoring information and described 4th port according to described message;
When two layer services are unicast service, described monitoring information comprises the address information of described customer edge, or, the address information of the subscriber equipment that the address information comprising described customer edge is connected with described customer edge; Wherein, described address information is the MAC address of equipment;
When described two layer services are multicast service, described monitoring information comprises group broadcasting program mark.
4. equipment according to claim 3, is characterized in that,
Described network equipment also comprises Network Interface Module, for receiving the message from network side;
Described message processing module (MPM) is also for giving described customer edge according to described corresponding relation by the message repeating from described network side.
5. a layer service treatment system, it is characterized in that, described system comprises customer edge and switching equipment, described customer edge is provided with the first port and the second port, described first port is connected with the 3rd port on described switching equipment, described second port is connected with the 4th port on described switching equipment
Described customer edge, the link connected for arranging described first port is primary link, block described second port, when the link failure that described first port connects being detected, activate/open described second port, sent the message carrying the monitoring information of described customer edge by described second port to described switching equipment;
Described switching equipment, for setting up the corresponding relation of described monitoring information and the 4th port according to described message;
When described two layer services are unicast service, described monitoring information comprises the address information of described customer edge, or, the address information of the subscriber equipment that the address information comprising described customer edge is connected with described customer edge; Wherein, described address information is the MAC address of equipment;
When described two layer services are multicast service, described monitoring information comprises group broadcasting program mark.
6. system according to claim 5, it is characterized in that, described monitoring information comprises group broadcasting program mark, then described switching equipment is also for receiving the message carrying described group broadcasting program mark from network side, according to the message of the corresponding relation of group broadcasting program mark and described 4th port in the future automatic network side by the 4th port multicast to described customer edge.
7. the system according to claim 5 or 6, described monitoring information comprises the address information of described customer edge, or the address information of the subscriber equipment that the address information comprising described customer edge is connected with described customer edge, then described switching equipment is also for receiving the message carrying address information from network side, and the message carrying address information according to the corresponding relation of address information and the 4th port automatic network side in the future gives described customer edge by described 4th port clean culture.
CN201110033988.8A 2011-01-31 2011-01-31 Method, system and equipment for processing Dual-layer service in network Active CN102137009B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110033988.8A CN102137009B (en) 2011-01-31 2011-01-31 Method, system and equipment for processing Dual-layer service in network
PCT/CN2011/081377 WO2012103758A1 (en) 2011-01-31 2011-10-27 Method, system and device for processing layer-2 service in network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110033988.8A CN102137009B (en) 2011-01-31 2011-01-31 Method, system and equipment for processing Dual-layer service in network

Publications (2)

Publication Number Publication Date
CN102137009A CN102137009A (en) 2011-07-27
CN102137009B true CN102137009B (en) 2015-01-07

Family

ID=44296668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110033988.8A Active CN102137009B (en) 2011-01-31 2011-01-31 Method, system and equipment for processing Dual-layer service in network

Country Status (2)

Country Link
CN (1) CN102137009B (en)
WO (1) WO2012103758A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137009B (en) * 2011-01-31 2015-01-07 华为技术有限公司 Method, system and equipment for processing Dual-layer service in network
CN104025511A (en) * 2012-12-20 2014-09-03 华为技术有限公司 Service protection method, optical line terminal and system in passive optical network
WO2014120136A1 (en) 2013-01-30 2014-08-07 Hewlett-Packard Development Company, L.P. Failover in response to failure of a port
JP6119562B2 (en) * 2013-11-06 2017-04-26 日立金属株式会社 Network system and network relay device
JP6278800B2 (en) * 2014-04-03 2018-02-14 APRESIA Systems株式会社 Relay system and switch device
CN104683245B (en) * 2015-03-18 2018-03-20 新华三技术有限公司 A kind of IGMP Proxy Method and device
CN105591837B (en) * 2015-10-27 2019-01-08 新华三技术有限公司 A kind of link monitoring method and apparatus
CN107948105B (en) * 2018-01-02 2020-08-25 联想(北京)有限公司 Method and system for controlling port state of equipment
CN108494691B (en) * 2018-06-22 2021-02-26 新华三技术有限公司 Multicast forwarding method and device and tunnel endpoint equipment
CN109088826A (en) * 2018-09-27 2018-12-25 山东理工大学 A kind of reliable multicast method based on all-optical network coding in software definition data center optical-fiber network
CN113923076A (en) * 2021-09-06 2022-01-11 长沙市同迅计算机科技有限公司 SD-WAN-based Ethernet two-layer data exchange method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252525A (en) * 2008-04-03 2008-08-27 杭州华三通信技术有限公司 Method and apparatus for backing up link in PON network
CN101299718A (en) * 2008-06-13 2008-11-05 华为技术有限公司 Port switching method, network equipment and network system
CN101695043A (en) * 2009-10-15 2010-04-14 中兴通讯股份有限公司 Method for multiplexing hot backup port and network system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7881188B2 (en) * 2006-02-03 2011-02-01 Genband Us Llc Methods, systems, and computer program products for implementing link redundancy in a media gateway
CN101060485B (en) * 2007-05-11 2011-08-10 杭州华三通信技术有限公司 Topology changed messages processing method and processing device
CN101079795A (en) * 2007-07-27 2007-11-28 杭州华三通信技术有限公司 Data forwarding method and forwarding device
CN102137009B (en) * 2011-01-31 2015-01-07 华为技术有限公司 Method, system and equipment for processing Dual-layer service in network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252525A (en) * 2008-04-03 2008-08-27 杭州华三通信技术有限公司 Method and apparatus for backing up link in PON network
CN101299718A (en) * 2008-06-13 2008-11-05 华为技术有限公司 Port switching method, network equipment and network system
CN101695043A (en) * 2009-10-15 2010-04-14 中兴通讯股份有限公司 Method for multiplexing hot backup port and network system

Also Published As

Publication number Publication date
WO2012103758A1 (en) 2012-08-09
CN102137009A (en) 2011-07-27

Similar Documents

Publication Publication Date Title
CN102137009B (en) Method, system and equipment for processing Dual-layer service in network
EP2787684B1 (en) Method and device for protecting passive optical network (pon)
US8755685B2 (en) Joint switching method for an aggregation node, aggregation node and system
JP4610621B2 (en) Network system
EP2720407B1 (en) Fault processing method, aggregation node and optical network protection system
CN102917286B (en) Hand-in-hand protection switching method and system in EPON (Ethernet Passive Optical Network)
JP5441908B2 (en) Multipoint and root multipoint protection switching
US20120127855A1 (en) Method and device for conveying traffic
US20130021896A1 (en) Method, system, and device for protecting multicast in communication network
CN101938377B (en) link aggregation error protection method, equipment and system
EP2744155A1 (en) Data communication method in optical network system, and optical network unit and system
CN103916275A (en) BFD detection device and method
CN102025541A (en) Method and system for realizing multicast protection
CN102264088B (en) Pseudo-wire pretection switch implementation method and device
CN101374075A (en) Method, apparatus and system for protecting multicast source
US20150288444A1 (en) Service Protection Method, Optical Line Terminal, and System In Passive Optical Network
CN102282805B (en) Method for service protection and access device
CN101453666A (en) Main and standby link protection method, loop system and apparatus for passive optical network
WO2012068894A1 (en) System and method for implementing remote disaster recovery of optical line terminal
CN1968175A (en) System and method for fast layer 2 protection in passive optical networks
CN103516534A (en) Method for realizing dual-homing protection switching, and home node
CN101702664A (en) Data transmission method, device and system of virtual local area network
CN109067632B (en) RPR intersecting ring logic port state switching method and device
CN104065516A (en) Double-ring switching method for DCS backbone network
CN106559234B (en) Control message sending method and device

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