CN104702477B - A kind of method and device that realizing protecting tunnel, the network equipment - Google Patents

A kind of method and device that realizing protecting tunnel, the network equipment Download PDF

Info

Publication number
CN104702477B
CN104702477B CN201310656296.8A CN201310656296A CN104702477B CN 104702477 B CN104702477 B CN 104702477B CN 201310656296 A CN201310656296 A CN 201310656296A CN 104702477 B CN104702477 B CN 104702477B
Authority
CN
China
Prior art keywords
network equipment
node network
message
root node
pseudo
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
CN201310656296.8A
Other languages
Chinese (zh)
Other versions
CN104702477A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201310656296.8A priority Critical patent/CN104702477B/en
Priority to PCT/CN2014/080149 priority patent/WO2015081684A1/en
Publication of CN104702477A publication Critical patent/CN104702477A/en
Application granted granted Critical
Publication of CN104702477B publication Critical patent/CN104702477B/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/64Hybrid switching systems
    • H04L12/6418Hybrid transport

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 kind of method and devices for realizing protecting tunnel, the network equipment.Method of the invention is applied in PTN network ETREE networking, and ETREE networking includes at least a root node network equipment and multiple leaf node network equipments, and the root node network equipment carries out service connection by pseudo-wire with the leaf node network equipment;This method comprises: establish work tunnel and protection path in the root node network equipment and at least one leaf node network equipment, the pseudo-wire of the connection root node network equipment and the leaf node network equipment is carried on work, in protection path;When message enters the root node network equipment and is forwarded, the root node network equipment learns the source MAC of message, and the type of MAC Address is arranged;The target MAC (Media Access Control) address of query message obtains the type of target MAC (Media Access Control) address, is forwarded the packet in corresponding pseudo-wire according to the type of target MAC (Media Access Control) address;Method of the invention can be in PTN network ETREE group realization tunnel 1+1 protection off the net.

Description

A kind of method and device that realizing protecting tunnel, the network equipment
Technical field
The present invention relates to field of communication technology more particularly to a kind of method and devices for realizing protecting tunnel, the network equipment.
Background technique
PTN (Packet Transport Network, Packet Transport Network) technology can provide Packet Service efficient Transmission is that be capable of providing carrier class multiple service supporting include Ethernet service to one kind, the synthesis of the business such as traditional TDM and ATM Transmit network technology.PTN technology remains the functional requirement of transmission net, while also increasing to the transmission for meeting efficient Packet Service New demand.Packet Service such as Ethernet, VoIP, VPn, the transmission of the business such as IPTV, and the movement based on data service It returns to transmission network and brings new demand and challenge.Transmission network packetizing, i.e. Packet Transport Network become one kind gradually and become Gesture.Typical PTN networking is as shown in Figure 1.
Network protection is one of the core content of PTN technology, at present realize protection method mainly include linear protection and Looped network protection, linear protection include tunnel 1+1 protection and tunnel 1:1 protection again.
ETREE network model is as shown in Figure 2.Equipment A is root node, and equipment B, C, D are leaf node, and the criterion of forwarding is Exit port is searched by VFI (Virtual Switch Instance)+target MAC (Media Access Control) address, is broadcasted inside example if searching less than that, together When need to guarantee that root node can be communicated with all leaf nodes, can not be communicated between leaf node.
But under ETREE network model, current PTN switching equipment can not support the 1+1 protection function in tunnel at present Energy.
Summary of the invention
The main technical problem to be solved in the present invention is to provide a kind of method and device for realizing protecting tunnel, network is set It is standby, it can be in PTN network ETREE group realization tunnel 1+1 protection off the net.
In order to solve the above technical problems, the present invention provides a kind of method for realizing protecting tunnel, this method is applied to PTN net In network ETREE networking, the ETREE networking is included at least: a root node network equipment and multiple leaf node network equipments, Service connection is carried out by pseudo-wire between the root node network equipment and the leaf node network equipment;The method includes as follows Step:
Work tunnel and protection are established between the root node network equipment and at least one leaf node network equipment The pseudo-wire of tunnel, the connection root node network equipment and the leaf node network equipment is carried on the work tunnel and the protection tunnel On road;
When message, which enters the root node network equipment, to be forwarded, the root node network equipment learns the message Source MAC, and the type of MAC Address is set;
The target MAC (Media Access Control) address for inquiring the message obtains the type of the destination address, according to the target MAC (Media Access Control) address The message is forwarded in corresponding pseudo-wire by type.
Further, described when message enters the root node network equipment and is forwarded, the type of MAC Address is set The step of include:
When message enters the root node network equipment from root node, the type of the MAC Address of the message is set;
When message enters the root node network equipment by pseudo-wire from the leaf node network equipment, the message is set MAC Address type.
Further, described when message enters the root node network equipment by pseudo-wire from the leaf node network equipment When, the type that the MAC Address of the message is arranged includes:
When message enters the root node network equipment by pseudo-wire from the leaf node network equipment, different puppets will be passed through The MAC Address that line enters the message of the root node network equipment is set as different types.
Further, the mode of the type of the setting MAC Address includes: to identify the type of MAC Address.
It is described the present invention also provides a kind of device for realizing protecting tunnel for the purposes of solving above-mentioned technical problem Device is applied in PTN network ETREE networking, which is characterized in that the ETREE networking includes at least: a root node network Equipment and multiple leaf node network equipments, the root node network equipment and the leaf node network equipment are connected by pseudo-line service It connects;Described device includes: that module, MAC Address processing module and packet forwarding module are established in tunnel;
The tunnel establish module for the root node network equipment and at least one leaf node network equipment it Between establish work tunnel and protection path;The root node network equipment described in the work tunnel and the protection path bearer connection With the pseudo-wire of the leaf node network equipment;
The MAC Address processing module is used to make described when message enters the root node network equipment and is forwarded The root node network equipment learns the source MAC of the message, and the type of MAC Address is arranged;
The target MAC (Media Access Control) address that the packet forwarding module is used to inquire the message obtains the type of the destination address, The message is forwarded in corresponding pseudo-wire according to the type of the target MAC (Media Access Control) address.
Further, the MAC Address processing module is used for:
When message enters the root node network equipment from root node, the type of the MAC Address of the message is set;
When message enters the root node network equipment by pseudo-wire from the leaf node network equipment, the message is set MAC Address type.
Further, the MAC Address processing module is used to enter from the leaf node network equipment by pseudo-wire when message When the root node network equipment, the MAC Address that the message of the root node network equipment is entered by different pseudo-wires is arranged For different types.
For the purposes of solving above-mentioned technical problem, the present invention also provides a kind of network equipments, are applied to PTN network ETREE group is off the net, and as root node, and the network equipment includes: memory, one or more processors and one or more A module;One or more of modules are stored in the memory and are configured to by one or more of processors It executes;One or more of modules include the instruction for executing following steps:
The service connection between the root node network equipment and the leaf node network equipment is carried out by pseudo-wire;
Work tunnel and protection are established between the root node network equipment and at least one leaf node network equipment Tunnel;The root node network equipment described in the work tunnel and the protection path bearer connection is set with the leaf node network Standby pseudo-wire;
When message, which enters the root node network equipment, to be forwarded, learn the source MAC of the message, and be arranged The type of MAC Address;
The target MAC (Media Access Control) address for inquiring the message obtains the type of the destination address, according to the target MAC (Media Access Control) address The message is forwarded in corresponding pseudo-wire by type.
Further, described when message enters the root node network equipment and is forwarded, the type of MAC Address is set The step of include:
When message enters the root node network equipment from root node, the type of the MAC Address of the message is set;
When message enters the root node network equipment by pseudo-wire from the leaf node network equipment, the message is set MAC Address type.
Further, described when message enters the root node network equipment by pseudo-wire from the leaf node network equipment When, the step of type of the MAC Address of the message is arranged includes:
When message enters the root node network equipment by pseudo-wire from the leaf node network equipment, different puppets will be passed through The MAC Address that line enters the message of the root node network equipment is set as different types.
The beneficial effects of the present invention are:
The present invention provides a kind of method and devices for realizing protecting tunnel, the network equipment, can be in PTN network ETREE Group realization tunnel off the net 1+1 protection.The method of realization protecting tunnel of the invention, is applied in PTN network ETREE networking, institute State ETREE networking to include at least: a root node network equipment and multiple leaf node network equipments, the root node network are set It is standby that service connection is carried out by pseudo-wire between the leaf node network equipment;Method of the invention specifically includes: saving at described Work tunnel and protection path are established between spot net equipment and at least one leaf node network equipment, connect root node network Equipment and the pseudo-wire of the leaf node network equipment are carried in the work tunnel and the protection path;Described in entering when message When the root node network equipment is forwarded, the root node network equipment learns the source MAC of the message, and MAC is arranged The type of address;The target MAC (Media Access Control) address for inquiring the message obtains the type of the target MAC (Media Access Control) address, according to the purpose MAC The message is forwarded in corresponding pseudo-wire by the type of address;Method of the invention is in the root node network equipment and leaf node The network equipment establishes work tunnel and protection path, sends in work tunnel and protection path simultaneously for business, while this The method of invention provides the forwarding step of message traffic, when message is sent to work tunnel and protection path carrying by root node Pseudo-wire on, that is, realize tunnel 1+1 protection;Method of the invention compared with prior art, solves current PTN network ETREE business cannot achieve the limitation of tunnel 1+1 protection, enrich the networking of PTN network.
Detailed description of the invention
Fig. 1 is PTN network canonical schema;
Fig. 2 is PTN network ETREE networking schematic diagram;
Fig. 3 is a kind of flow diagram for method for realizing protecting tunnel that the embodiment of the present invention one provides;
Fig. 4 is that a kind of ETREE business that the embodiment of the present invention one provides is superimposed tunnel 1+1 protection networking schematic diagram;
Fig. 5 is a kind of MAC address learning schematic diagram of equipment A provided by Embodiment 2 of the present invention;
Fig. 6 is a kind of structural schematic diagram for device for realizing protecting tunnel that the embodiment of the present invention three provides;
Fig. 7 is a kind of structural schematic diagram for network equipment that the embodiment of the present invention four provides.
Specific embodiment
Below by specific embodiment combination attached drawing, invention is further described in detail.
Embodiment one:
Present embodiments provide a kind of method for realizing protecting tunnel, in this method application PTN network ETREE networking, institute State ETREE networking to include at least: a root node network equipment and multiple leaf node network equipments, the root node network are set It is standby that service connection is carried out by pseudo-wire between the leaf node network equipment;As shown in figure 3, the guard method packet of the present embodiment It includes:
Step 301: establishing work tunnel between the root node network equipment and at least one leaf node network equipment The pseudo-wire of road and protection path, the connection root node network equipment and the leaf node network equipment is carried on the work tunnel and institute It states in protection path.
For example, A equipment is ROOT node, and B, C equipment is leaf as shown in figure 4, A, B, C3 platform equipment carry out ETREE networking Child node.A equipment is connected by pseudo-wire 1 with B device, while realizing the 1+1 protection in tunnel 1,2;A equipment is set by pseudo-wire 2 and C Standby to be connected, pseudo-wire 2 is carried on above tunnel 3.
Step 302: when message, which enters the root node network equipment, to be forwarded, the root node network equipment study The source MAC of the message, and the type of MAC Address is set.
When message enters A equipment, if necessary to learn source MAC, then MAC is arranged while learning MAC Address The type of address.Learn the process of source MAC in the present embodiment as source MAC in message to be added to the MAC of A equipment In the table of location, such as the mac address table that source MAC in the message of A equipment is added to A equipment will be entered from B device by pseudo-wire 1 In, it, at this time can be in the MAC of A equipment when the target MAC (Media Access Control) address of message is B device when forwarding other messages next time B device can be forwarded the message to by inquiring target MAC (Media Access Control) address in the table of location and then matching corresponding port information.
The type of setting MAC Address may include: in the present embodiment
When message enters the root node network equipment from root node, the type of the MAC Address of the message is set;? In ETREE networking as shown in Figure 4, when message enters A equipment from the root node of A equipment, learning equipment message Source MAC, while MAC type is set, such as by the type identification of MAC Address be 0;
When message enters the root node network equipment by pseudo-wire from the leaf node network equipment, the message is set MAC Address type;Preferentially, when message enters the root node network equipment by pseudo-wire from the leaf node network equipment When, different types is set by the MAC Address for entering the message of the root node network equipment by different pseudo-wires;Such as scheming In ETREE networking shown in 4, when message enters A equipment by pseudo-wire 1 from B device, the source of A learning equipment message MAC, while it is 1 that MAC type identification, which is arranged,;When message enters A equipment by pseudo-wire 2 from C equipment, A learning equipment report The source MAC of text, while it is 2 that MAC type identification, which is arranged,.
Preferably, the mode that the type of MAC Address is arranged in the present embodiment includes: the type of mark MAC Address, such as on Stating setting MAC type identification is 0,1,2.Certainly mark content can be limited not only and number, or other characters, such as a, B, c etc..
Step 303: the target MAC (Media Access Control) address for inquiring the message obtains the type of the destination address, according to the purpose The message is forwarded in corresponding pseudo-wire by the type of MAC Address.
When E-Packeting in the present embodiment, the target MAC (Media Access Control) address of query message first in mac address table, by In the type for being provided with MAC Address in above-mentioned steps 402, the type of target MAC (Media Access Control) address can be obtained simultaneously, then The message is forwarded in corresponding pseudo-wire according to the type of target MAC (Media Access Control) address.Such as in ETREE group as shown in Figure 4 In net, after A equipment obtains the target MAC (Media Access Control) address type of message, it can learn that message is according to the type of MAC Address Need to be forwarded to the tunnel pseudo-wire 1(1,2 and need double hairs), pseudo-wire 2(is only sent on tunnel 3), or it is broadcast to pseudo-wire 1 simultaneously With pseudo-wire 2.Need double hairs when forwarding the packet the tunnel pseudo-wire 1(1,2) when realize tunnel 1+1 protection.
Embodiment two:
Illustrate the method that the present embodiment realizes protecting tunnel below with reference to the specific model of ETREE networking in PTN network; With reference to Fig. 4, it is superimposed tunnel 1+1 protection networking schematic diagram, A in figure, B for ETREE business, C3 platform equipment carries out ETREE networking, A Equipment is ROOT node, and B, C equipment is leaf node.Service connection is carried out by pseudo-wire 1 between A, B, pseudo-wire 1 passes through tunnel 1 Transmission;Tunnel 1, tunnel 2 form the 1+1 protection in tunnel;B device determines that tunnel 1 or tunnel 2 are received in choosing according to protocol status Flow;Service connection is carried out by pseudo-wire 2 between A, C, pseudo-wire 2 is transmitted by tunnel 3, and tunnel 3 does not have protecting tunnel;
Equipment A in the present embodiment is described below, ROOT node message forwards detailed process.
As shown in figure 5, the process of A equipment progress MAC address learning includes: in the present embodiment
1: when message enters A equipment from the root node of A equipment, the source MAC of A learning equipment message, It is 0 that MAC type identification is arranged simultaneously.
2: when message enters A equipment by pseudo-wire 1 from B device, the source MAC of A learning equipment message is arranged simultaneously MAC type identification is 1.
3: when message enters A equipment by pseudo-wire 2 from C equipment, the source MAC of A learning equipment message is arranged simultaneously MAC type identification is 2.
4: needing to determine the forwarding of message on A equipment by the purpose MAC of message, the message to come from network side turns Hair by searching for purpose MAC as process, being directly forwarded above A equipment and as defined in agreement, when from ROOT node (use Family side) message come in needs to realize forwarding by ACL.
A: when the type identification of purpose MAC is 1, the ACL of chip (is held by the access information of matching ROOT node Mouthful, port+vlan, port+vlan are stacked etc.), movement is executed, redirection message to 1 tunnel pseudo-wire 1+ of tunnel, 2 pseudo-wire 1 is realized Go to the 1+1 protecting tunnel of the known unicast of B device.
B: when the type identification of purpose MAC is 2, the ACL of chip (is held by the access information of matching ROOT node Mouthful, port+vlan, port+vlan are stacked etc.), movement, redirection message to 2 pseudo-wire 2 of tunnel are executed, realization goes to equipment C's The forwarding of known unicast.
C: when the type identification of purpose MAC is 0, the ACL of chip (is held by the access information of matching ROOT node Mouthful, port+vlan, port+vlan are stacked etc.), execute movement, redirection message to 1 tunnel pseudo-wire 1+ of tunnel, 2 tunnel pseudo-wire 1+ 3 pseudo-wires 2 realize the 1+1 protecting tunnel for going to the unknown unicast of B device, while realizing the unknown unicast forwarding for going to C equipment.
Embodiment three:
A kind of device for realizing protecting tunnel is present embodiments provided, described device is applied to PTN network ETREE networking In, which is characterized in that the ETREE networking includes at least: a root node network equipment and multiple leaf node network equipments, The root node network equipment is connect with the leaf node network equipment by pseudo-line service;As shown in fig. 6, the device of the present embodiment It include: that module, MAC Address processing module and packet forwarding module are established in tunnel;
The tunnel establish module for the root node network equipment and at least one leaf node network equipment it Between establish work tunnel and protection path;The root node network equipment described in the work tunnel and the protection path bearer connection With the pseudo-wire of the leaf node network equipment;
The MAC Address processing module is used to make described when message enters the root node network equipment and is forwarded The root node network equipment learns the source MAC of the message, and the type of MAC Address is arranged;
The target MAC (Media Access Control) address that the packet forwarding module is used to inquire the message obtains the type of the destination address, The message is forwarded in corresponding pseudo-wire according to the type of the target MAC (Media Access Control) address.
Preferentially, MAC Address processing module described in the present embodiment is used for:
When message enters the root node network equipment from root node, the type of the MAC Address of the message is set;
When message enters the root node network equipment by pseudo-wire from the leaf node network equipment, the message is set MAC Address type.
Preferentially, the MAC Address processing module is used to enter institute by pseudo-wire from the leaf node network equipment when message When stating the root node network equipment, set the MAC Address for entering the message of the root node network equipment by different pseudo-wires to Different types.
The realization protecting tunnel device of the present embodiment can be in PTN network ETREE group realization tunnel 1+1 protection off the net.
Example IV:
A kind of network equipment is present embodiments provided, it is off the net to be applied to PTN network ETREE group, and as root node, it is special Sign is that the network equipment includes: memory, one or more processors and one or more modules;It is one or Multiple modules are stored in the memory and are configured to be executed by one or more of processors;It is one or more A module includes the instruction for executing following steps:
The service connection between the root node network equipment and the leaf node network equipment is carried out by pseudo-wire;
Work tunnel and protection are established between the root node network equipment and at least one leaf node network equipment Tunnel;The root node network equipment described in the work tunnel and the protection path bearer connection is set with the leaf node network Standby pseudo-wire;
When message, which enters the root node network equipment, to be forwarded, learn the source MAC of the message, and be arranged The type of MAC Address;
The target MAC (Media Access Control) address for inquiring the message obtains the type of the destination address, according to the target MAC (Media Access Control) address The message is forwarded in corresponding pseudo-wire by type.
As shown in fig. 7, the network equipment includes: a memory and a processor;One or more software module quilt It stores in the memory and is configured to be executed by the processor.
The network equipment of the present embodiment can be interaction machine, and wherein processor can be the processing chip of interaction machine.
Preferentially, described when message enters the root node network equipment and is forwarded, the type of MAC Address is set Step includes:
When message enters the root node network equipment from root node, the type of the MAC Address of the message is set;
When message enters the root node network equipment by pseudo-wire from the leaf node network equipment, the message is set MAC Address type.
It is preferentially, described when message enters the root node network equipment by pseudo-wire from the leaf node network equipment, The step of type of the MAC Address of the message is arranged include:
When message enters the root node network equipment by pseudo-wire from leaf node, institute will be entered by different pseudo-wires The MAC Address for stating the message of the root node network equipment is set as different types.
The network equipment of the present embodiment can be in ETREE group support tunnel 1+1 protection off the net.
The above content is specific embodiment is combined, further detailed description of the invention, and it cannot be said that this hair Bright specific implementation is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, it is not taking off Under the premise of from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to protection of the invention Range.

Claims (10)

1. a kind of method for realizing protecting tunnel, this method is applied in PTN network ETREE networking, which is characterized in that
The ETREE networking includes at least: a root node network equipment and multiple leaf node network equipments, the root node Service connection is carried out by pseudo-wire between the network equipment and the leaf node network equipment;
Described method includes following steps:
Work tunnel and protection path are established between the root node network equipment and at least one leaf node network equipment, The pseudo-wire of the connection root node network equipment and the leaf node network equipment is carried in the work tunnel and the protection path;
When message, which enters the root node network equipment, to be forwarded, the root node network equipment learns the source of the message MAC Address, and the type of MAC Address is set;
The target MAC (Media Access Control) address for inquiring the message obtains the type of the target MAC (Media Access Control) address, according to the target MAC (Media Access Control) address The message is forwarded in corresponding pseudo-wire by type.
2. realizing the method for protecting tunnel as described in claim 1, which is characterized in that described when message enters the root node When the network equipment is forwarded, the step of type of MAC Address is arranged, includes:
When message enters the root node network equipment from root node, the type of the MAC Address of the message is set;
When message enters the root node network equipment by pseudo-wire from the leaf node network equipment, the message is set The type of MAC Address.
3. realizing the method for protecting tunnel as claimed in claim 2, which is characterized in that the message of working as is from leaf node network When equipment enters the root node network equipment by pseudo-wire, the type that the MAC Address of the message is arranged includes:
When message from the leaf node network equipment by pseudo-wire enter the root node network equipment when, will by different pseudo-wires into The MAC Address for entering the message of the root node network equipment is set as different types.
4. the method as described in any one of claims 1-3 for realizing protecting tunnel, which is characterized in that the setting MAC Address Type mode include: identify MAC Address type.
5. a kind of device for realizing protecting tunnel, described device is applied in PTN network ETREE networking, which is characterized in that described ETREE networking includes at least: a root node network equipment and multiple leaf node network equipments, the root node network equipment It is connect with the leaf node network equipment by pseudo-line service;Described device includes: that module, MAC Address processing module are established in tunnel And packet forwarding module;
Module is established for building between the root node network equipment and at least one leaf node network equipment in the tunnel Vertical work tunnel and protection path;The root node network equipment and leaf described in the work tunnel and the protection path bearer connection The pseudo-wire of the child node network equipment;
The MAC Address processing module is used to make described section when message enters the root node network equipment and is forwarded The source MAC of message described in spot net learning equipment, and the type of MAC Address is set;
The target MAC (Media Access Control) address that the packet forwarding module is used to inquire the message obtains the type of the target MAC (Media Access Control) address, root The message is forwarded in corresponding pseudo-wire according to the type of the target MAC (Media Access Control) address.
6. realizing the device of protecting tunnel as claimed in claim 5, which is characterized in that the MAC Address processing module is used for:
When message enters the root node network equipment from root node, the type of the MAC Address of the message is set;
When message enters the root node network equipment by pseudo-wire from the leaf node network equipment, the message is set The type of MAC Address.
7. realizing the device of protecting tunnel as claimed in claim 6, which is characterized in that the MAC Address processing module is used for When message enters the root node network equipment by pseudo-wire from the leaf node network equipment, institute will be entered by different pseudo-wires The MAC Address for stating the message of the root node network equipment is set as different types.
8. it is off the net to be applied to PTN network ETREE group for a kind of network equipment, and as root node, which is characterized in that the network Equipment includes: memory, one or more processors and one or more modules;One or more of modules are stored in In the memory and it is configured to be executed by one or more of processors;One or more of modules include for holding The instruction of row following steps:
The service connection between the root node network equipment and the leaf node network equipment is carried out by pseudo-wire;
Work tunnel and protection path are established between the root node network equipment and at least one leaf node network equipment; The root node network equipment described in the work tunnel and the protection path bearer connection and the leaf node network equipment Pseudo-wire;
When message, which enters the root node network equipment, to be forwarded, learn the source MAC of the message, and MAC is set The type of address;
The target MAC (Media Access Control) address for inquiring the message obtains the type of the target MAC (Media Access Control) address, according to the target MAC (Media Access Control) address The message is forwarded in corresponding pseudo-wire by type.
9. the network equipment as claimed in claim 8, which is characterized in that it is described when message enter the root node network equipment into When row forwarding, the step of type of MAC Address is arranged, includes:
When message enters the root node network equipment from root node, the type of the MAC Address of the message is set;
When message enters the root node network equipment by pseudo-wire from the leaf node network equipment, the message is set The type of MAC Address.
10. the network equipment as claimed in claim 9, which is characterized in that described when message passes through from the leaf node network equipment When pseudo-wire enters the root node network equipment, the step of type of the MAC Address of the message is arranged, includes:
When message from the leaf node network equipment by pseudo-wire enter the root node network equipment when, will by different pseudo-wires into The MAC Address for entering the message of the root node network equipment is set as different types.
CN201310656296.8A 2013-12-06 2013-12-06 A kind of method and device that realizing protecting tunnel, the network equipment Active CN104702477B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310656296.8A CN104702477B (en) 2013-12-06 2013-12-06 A kind of method and device that realizing protecting tunnel, the network equipment
PCT/CN2014/080149 WO2015081684A1 (en) 2013-12-06 2014-06-17 Tunnel protection implementation method, apparatus and network device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310656296.8A CN104702477B (en) 2013-12-06 2013-12-06 A kind of method and device that realizing protecting tunnel, the network equipment

Publications (2)

Publication Number Publication Date
CN104702477A CN104702477A (en) 2015-06-10
CN104702477B true CN104702477B (en) 2019-04-05

Family

ID=53272817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310656296.8A Active CN104702477B (en) 2013-12-06 2013-12-06 A kind of method and device that realizing protecting tunnel, the network equipment

Country Status (2)

Country Link
CN (1) CN104702477B (en)
WO (1) WO2015081684A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108319729A (en) * 2018-03-19 2018-07-24 深圳市中科新业信息科技发展有限公司 A kind of mobile phone model computational methods and mobile phone model querying method
CN114070746B (en) * 2021-10-28 2024-01-05 北京市天元网络技术股份有限公司 Circuit concatenation method and system for multi-type transmission network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155130A (en) * 2006-09-30 2008-04-02 华为技术有限公司 Method for learning MAC address and system and equipment for conveying VPLS client data
CN101697547A (en) * 2009-09-30 2010-04-21 中兴通讯股份有限公司 Two-layer forwarding method and system for PW service
CN101977077A (en) * 2010-10-12 2011-02-16 中兴通讯股份有限公司 1+1 protection method and failure detection device
CN102299939A (en) * 2010-06-24 2011-12-28 中兴通讯股份有限公司 Method and system for transmitting point to multiple point (P2MP) traffic flow
WO2012142888A1 (en) * 2011-04-22 2012-10-26 中兴通讯股份有限公司 Tunnel group protection method and device based on multi-protocol label switching network
US8988982B2 (en) * 2011-11-18 2015-03-24 Electronics And Telecommunications Research Institute Method and apparatus for protection switching in point-to-multipoint network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094187B (en) * 2007-07-30 2010-06-09 杭州华三通信技术有限公司 Method, device, and operation board capable of learning address of medium access control
CN101719877B (en) * 2010-01-15 2011-11-09 福建星网锐捷网络有限公司 Message forwarding device, network equipment and method
CN102546352B (en) * 2010-12-08 2016-08-03 中兴通讯股份有限公司 A kind of method and system realizing point-to-multipoint label switch paths protection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155130A (en) * 2006-09-30 2008-04-02 华为技术有限公司 Method for learning MAC address and system and equipment for conveying VPLS client data
CN101697547A (en) * 2009-09-30 2010-04-21 中兴通讯股份有限公司 Two-layer forwarding method and system for PW service
CN102299939A (en) * 2010-06-24 2011-12-28 中兴通讯股份有限公司 Method and system for transmitting point to multiple point (P2MP) traffic flow
CN101977077A (en) * 2010-10-12 2011-02-16 中兴通讯股份有限公司 1+1 protection method and failure detection device
WO2012142888A1 (en) * 2011-04-22 2012-10-26 中兴通讯股份有限公司 Tunnel group protection method and device based on multi-protocol label switching network
US8988982B2 (en) * 2011-11-18 2015-03-24 Electronics And Telecommunications Research Institute Method and apparatus for protection switching in point-to-multipoint network

Also Published As

Publication number Publication date
WO2015081684A1 (en) 2015-06-11
CN104702477A (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN105812259B (en) A kind of message forwarding method and equipment
CN104243270B (en) A kind of method and apparatus for establishing tunnel
US20140003425A1 (en) Implementing a Multicast Virtual Private Network by Using Multicast Resource Reservation Protocol-Traffic Engineering
US8428062B2 (en) Network provider bridge MMRP registration snooping
CN102075446A (en) Interconnection method of transparent interconnection network of lots of links in different places and operator edge device
RU2011119536A (en) METHOD FOR APPLYING SERVICE INSTANCE TO MPLS NETWORK (OPTIONS) AND MPLS NETWORK
CN101645790B (en) Switching-over method, device and system of multicast distribution tree
CN104365066B (en) Method and apparatus for ether Virtual Private Network
CN102170385A (en) Method for transmitting Ethernet frame in Ethernet tree business and provider edge device
CN103401774A (en) Message forwarding method and equipment based on stacking system
CN102413059A (en) Multicast forwarding method based on SPB (Shortest Path Bridging) network and SPBM (MAC-in-MAC SPB) bridge
CN102868614A (en) Packet forwarding method in TRILL (transparent interconnection of lots of links) network and routing bridge
CN100393062C (en) Method for core network access to multi-protocol sign exchange virtual special network
CN104092554B (en) Multicast distribution tree method for building up and device
CN100484080C (en) Routing access method, system and operator edge equipment for virtual private network
CN103326918A (en) Message forwarding method and message forwarding equipment
CN103326940A (en) Method for forwarding message in network and edge device of operator
CN110022262A (en) A kind of mthods, systems and devices for realizing planar separation based on SDN network
EP2897328B1 (en) Method, system and apparatus for establishing communication link
CN103023769A (en) Method for forwarding two-layer broadcasting packets and untagged packets of ONU (optical network unit)
CN102255787B (en) Message processing method based on quality of service and operator network edge equipment
CN103795630A (en) Message transmitting method and device of label switching network
CN102710510B (en) Information processing method, apparatus and system
CN104702477B (en) A kind of method and device that realizing protecting tunnel, the network equipment
CN108616450B (en) Method for realizing constrained path forwarding of IP network based on SDN

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant