CN106453076A - Method and apparatus for using MSTP to select host end outlet in linear protection network - Google Patents
Method and apparatus for using MSTP to select host end outlet in linear protection network Download PDFInfo
- Publication number
- CN106453076A CN106453076A CN201610954202.9A CN201610954202A CN106453076A CN 106453076 A CN106453076 A CN 106453076A CN 201610954202 A CN201610954202 A CN 201610954202A CN 106453076 A CN106453076 A CN 106453076A
- Authority
- CN
- China
- Prior art keywords
- protection
- state
- mstp
- stp
- linear
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/24—Multipath
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/48—Routing tree calculation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method and apparatus for using an MSTP to select a host end outlet in a linear protection network. The method comprises the following steps: when a message enters a protection domain from a far end of the protection domain, separately adding different VLANs in front of original messages of a working channel and a protection channel; mapping the VLANs of the working channel and the protection channel to corresponding MSTP examples on a host end of the protection domain; setting the STP state of a port +VLAN according to the state of a protection group where the working channel or the protection channel is located at present; and finally normally forwarding or discarding the message according to the STP state. According to the method and apparatus disclosed by the invention, the host end outlet of the protection domain is selected by using the MSTP technology in the prior art, thereby greatly reducing the implementation difficulty of the chip, and providing a well solution for the existing chip that does not support protection switching technology.
Description
Technical field
The present invention relates to a kind of egress port selection technique of protected field in linear catch net, especially relate to one kind and exist
Egress is selected to go out using MSTP (Multiple Spanning Tree Protocol, Multiple Spanning Tree Protocol) in linear protection net
The method and device of mouth.
Background technology
In existing 1+1 or 1:In 1 linear protection network, in the egress of protected field, the selection of final egress outlet is base
Table look-up in business and obtain service aisle and still protect passage, and select service aisle to be located by the state of correlation protection group
Exit port or the exit port at protection passage place.
Therefore, in order to complete the selection of protected field egress outlet, support that the exchange chip of technique needs to increase additionally
Table look-up action and increase corresponding list item just can complete protected field egress outlet selection, with respect to do not support protect switching
Chip, cost improves;For original chip not supporting protection to switch, then cannot complete the outlet of protected field egress
Selection.
Content of the invention
It is an object of the invention to overcoming the defect of prior art, one kind is provided to select using MSTP in linear catch net
The method and device of egress outlet, by using the MSTP technology in existing network to complete the selection of protected field egress outlet.
For achieving the above object, the present invention proposes following technical scheme:One kind is selected using MSTP in linear catch net
The method of egress outlet, including:
Message when entering protected field from the far-end of protected field, respectively in its original report on service aisle and protection passage
Plus different VLAN before literary composition;
In the egress of protected field, the described VLAN of service aisle and protection passage is mapped to corresponding MSTP example;
The stp state of port+VLAN is arranged according to the be located at present state of protection group of service aisle or protection passage;
Finally according to described stp state, message is normally forwarded or abandoned.
The present invention also correspondence discloses a kind of device selecting egress outlet in linear catch net using MSTP, including:
VLAN add module, in message when entering protected field from the far-end of protected field, respectively in service aisle and
Different VLAN are added before original message on protection passage;
MSTP example mapping block, is mapped to service aisle and VLAN described in protection passage for the egress in protected field
Corresponding MSTP example;
Stp state setup module, for arranging according to the be located at present state of protection group of service aisle or protection passage
The stp state of port+VLAN;
Message processing module (MPM), for normally being forwarded message according to described stp state or being abandoned.
Preferably, described linear protection network is 1+1 or 1:1 protection architecture.
Preferably, if the state of described service aisle or protection passage place protection group is working condition, accordingly set
The stp state putting port+VLAN is STP-Forwarding state, thus message is done normal forwarding;It is otherwise provided as STP-
Blocking state, by packet loss.
Preferably, described linear protection network is two-layer linear protection network.
Compared with prior art, the egress selector of protected field of the present invention is not needed upon protection group to complete the choosing of egress
Select, complete also without tabling look-up based on port+VLAN to determine that service aisle still protects passage simultaneously, but utilize existing network
In MSTP technology come to complete protected field egress outlet selection, thus substantially reduce chip realization difficulty, can also simultaneously
There is provided a kind of good solution for the existing chip not supporting to protect handoff technique.
Brief description
Fig. 1 is the schematic flow sheet that the present invention selects egress outlet in linear catch net using MSTP;
Fig. 2 is the module diagram that the present invention selects egress outlet in linear catch net using MSTP;
Fig. 3 is the principle schematic that the present invention selects egress outlet in linear catch net using MSTP.
Specific embodiment
Below in conjunction with the accompanying drawing of the present invention, clear, complete description is carried out to the technical scheme of the embodiment of the present invention.
In the egress of linear protection, either 1+1 or 1:1 protection scheme, a critically important job is how
Mark data stream still protects passage from service aisle.Disclosed one kind is selected using MSTP in linear catch net
Select the method and device of egress outlet, especially in two-layer linear protection network, using the MSTP in existing linear protection net
Technology come to complete protected field egress outlet selection.
In conjunction with shown in Fig. 1 and Fig. 3, disclosed one kind selects egress outlet using MSTP in linear catch net
Method, comprise the following steps:
Step 1, message when entering protected field from the far-end of protected field, respectively at it on service aisle and protection passage
Different VLAN IDs (Virtual Local Area Network, abbreviation VLAN) are added before original message.
As shown in figure 3, message on service aisle using VLAN 10, using VLAN 20 on protection passage.
Step 2, is mapped to corresponding MSTP example in the egress of protected field the VLAN of service aisle and protection passage.
In Fig. 3, the VLAN 10 of service aisle and protection passage VLAN 20 is mapped to corresponding MSTP example.
Step 3, arranges the STP of port+VLAN according to the be located at present state of protection group of service aisle or protection passage
(Spanning Tree Protocol, Spanning-Tree Protocol) state.
When being embodied as, if passage is in running order, stp state is set to STP-Forwarding (spanning tree
Protocol status value forwarding state) state, it is otherwise provided as STP-Blocking (Spanning-Tree Protocol state value blocking state) state.
Message is normally forwarded finally according to stp state or is abandoned by step 4.
I.e. when stp state is for STP-Forwarding state, then message is done normal forwarding, when stp state is STP-
Then by packet loss during Blocking state.
In addition, a kind of as shown in Fig. 2 dress selecting egress outlet in linear catch net using MSTP of present invention announcement
Put, including:
VLAN add module, in message when entering protected field from the far-end of protected field, respectively in service aisle and
Different VLAN are added before original message on protection passage;
MSTP example mapping block, maps the described VLAN of service aisle and protection passage for the egress in protected field
To corresponding MSTP example;
Stp state setup module, for arranging according to the be located at present state of protection group of service aisle or protection passage
The stp state of port+VLAN;
Message processing module (MPM), for normally being forwarded message according to stp state or being abandoned.
After the present invention, in the protected field egress of two-layer linear protection network, utilized using existing exchanger chip
MSTP technology just can realize the selection of protected field egress exit port, substantially reduce the difficulty of chip realization, can also be simultaneously
The existing chip not supporting to protect handoff technique provides a kind of good solution.Here chip is not limited to ASIC (specially
With integrated circuit) chip, also include FPGA (field programmable gate array) or NP (network processing unit) etc..
The technology contents of the present invention and technical characteristic have revealed that as above, but those of ordinary skill in the art still may base
Make a variety of replacements without departing substantially from spirit of the present invention and modification, therefore, the scope of the present invention in teachings of the present invention and announcement
The content disclosed in embodiment should be not limited to, and the various replacements without departing substantially from the present invention and modification should be included, and be this patent Shen
Please claim be covered.
Claims (8)
1. a kind of method selecting egress to export using MSTP in linear catch net is it is characterised in that include:
Message when entering protected field from the far-end of protected field, respectively in its original message on service aisle and protection passage
Above add different VLAN;
In the egress of protected field, the described VLAN of service aisle and protection passage is mapped to corresponding MSTP example;
The stp state of port+VLAN is arranged according to the be located at present state of protection group of service aisle or protection passage;
Finally according to described stp state, message is normally forwarded or abandoned.
2. according to claim 1 in linear catch net using MSTP select egress outlet method it is characterised in that
Described linear protection network is 1+1 or 1:1 protection architecture.
3. according to claim 1 in linear catch net using MSTP select egress outlet method it is characterised in that
If the state of described service aisle or protection passage place protection group is working condition, the STP of relative set port+VLAN
State is STP-Forwarding state, thus message is done normal forwarding;It is otherwise provided as STP-Blocking state, will report
Literary composition abandons.
4. according to claim 1 in linear catch net using MSTP select egress outlet method it is characterised in that
Described linear protection network is two-layer linear protection network.
5. a kind of device selecting egress to export using MSTP in linear catch net is it is characterised in that include:
VLAN add module, in message when entering protected field from the far-end of protected field, respectively in service aisle and protection
Different VLAN are added before original message on passage;
MSTP example mapping block, is mapped to correspondence for the egress in protected field service aisle and VLAN described in protection passage
MSTP example;
Stp state setup module, for according to service aisle or protection passage be located at present protection group state arrange port+
The stp state of VLAN;
Message processing module (MPM), for normally being forwarded message according to described stp state or being abandoned.
6. according to claim 5 in linear catch net using MSTP select egress outlet device it is characterised in that
Described linear protection network is 1+1 or 1:1 protection architecture.
7. according to claim 5 in linear catch net using MSTP select egress outlet device it is characterised in that
If the state of described service aisle or protection passage place protection group is working condition, described stp state setup module phase
The stp state that port+VLAN should be arranged is STP-Forwarding state, thus message is done normal forwarding;It is otherwise provided as
STP-Blocking state, by packet loss.
8. according to claim 5 in linear catch net using MSTP select egress outlet device it is characterised in that
Described linear protection network is two-layer linear protection network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610954202.9A CN106453076A (en) | 2016-10-27 | 2016-10-27 | Method and apparatus for using MSTP to select host end outlet in linear protection network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610954202.9A CN106453076A (en) | 2016-10-27 | 2016-10-27 | Method and apparatus for using MSTP to select host end outlet in linear protection network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106453076A true CN106453076A (en) | 2017-02-22 |
Family
ID=58180568
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610954202.9A Withdrawn CN106453076A (en) | 2016-10-27 | 2016-10-27 | Method and apparatus for using MSTP to select host end outlet in linear protection network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106453076A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009115480A1 (en) * | 2008-03-17 | 2009-09-24 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and apparatus for ethernet protection with local re-routing |
CN102209001A (en) * | 2011-07-14 | 2011-10-05 | 杭州华三通信技术有限公司 | Ethernet linear protection method and device |
CN102523160A (en) * | 2011-12-15 | 2012-06-27 | 盛科网络(苏州)有限公司 | Chip implementing method and system for quick switching in linear protection of Ethernet |
-
2016
- 2016-10-27 CN CN201610954202.9A patent/CN106453076A/en not_active Withdrawn
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009115480A1 (en) * | 2008-03-17 | 2009-09-24 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and apparatus for ethernet protection with local re-routing |
CN102209001A (en) * | 2011-07-14 | 2011-10-05 | 杭州华三通信技术有限公司 | Ethernet linear protection method and device |
CN102523160A (en) * | 2011-12-15 | 2012-06-27 | 盛科网络(苏州)有限公司 | Chip implementing method and system for quick switching in linear protection of Ethernet |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101335708B (en) | Packet forwarding method and operator edge converging equipment | |
US8125928B2 (en) | Routing frames in a shortest path computer network for a multi-homed legacy bridge node | |
CN103428094B (en) | Message forwarding method in open flows OpenFlow system and device | |
CN104639470B (en) | Traffic identifier packaging method and system | |
CN102143026B (en) | Method for avoiding loop circuit in virtual two layer network | |
EP3028434B1 (en) | Packet forwarding | |
CN102301663A (en) | Message processing method and associated devices | |
CN102427429B (en) | A kind of realize the method for switch built-in message security protection, system and switch | |
CN104734953B (en) | The method, apparatus and interchanger of two layers of message isolation are realized based on VLAN | |
CN101494610B (en) | Method for processing message and switch | |
US9860160B2 (en) | Multipath switching using per-hop virtual local area network classification | |
EP2897328B1 (en) | Method, system and apparatus for establishing communication link | |
CN108055215A (en) | Message forwarding method and device | |
CN101848143A (en) | Method and device for processing QoS of flow of virtual private network | |
CN103973471B (en) | A kind of notifying method and device of TRILL distribution trees failure | |
CN103281244B (en) | A kind of service bearer method and device of multi-protocol label switching network | |
CN106161228B (en) | A kind of method and apparatus of publication routing | |
CN102843282B (en) | A kind of message processing method and system | |
CN106453076A (en) | Method and apparatus for using MSTP to select host end outlet in linear protection network | |
CN107171952A (en) | A kind of method and apparatus that anti-ring is realized in VPLS | |
CN102355410B (en) | Pseudo-wire labeling method for MPLS (Multiple Protocol Label Switching) network virtual exchange embodiment | |
JP2014099754A (en) | Communication system and network relay device | |
WO2011017892A1 (en) | Method and apparatus for implementing load sharing for communication traffic | |
CN103036731B (en) | A kind of equipment of the loopback detection based on stream, system and method | |
WO2009103625A1 (en) | Method and apparatus for providing ethernet services in a resilient packet ring |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170222 |
|
WW01 | Invention patent application withdrawn after publication |