CN102780607A - Method and device for dynamically configuring Ethernet service channel - Google Patents

Method and device for dynamically configuring Ethernet service channel Download PDF

Info

Publication number
CN102780607A
CN102780607A CN2012101156554A CN201210115655A CN102780607A CN 102780607 A CN102780607 A CN 102780607A CN 2012101156554 A CN2012101156554 A CN 2012101156554A CN 201210115655 A CN201210115655 A CN 201210115655A CN 102780607 A CN102780607 A CN 102780607A
Authority
CN
China
Prior art keywords
switching equipment
routing table
ethernet service
service
shortest
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012101156554A
Other languages
Chinese (zh)
Other versions
CN102780607B (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 CN201210115655.4A priority Critical patent/CN102780607B/en
Publication of CN102780607A publication Critical patent/CN102780607A/en
Application granted granted Critical
Publication of CN102780607B publication Critical patent/CN102780607B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention relates to a method and a device for dynamically configuring an Ethernet service channel. The method for dynamically configuring the Ethernet service channel comprises the following steps of: according to a routing list stored by exchange equipment, obtaining a shortest Ethernet service channel between a source node and a host node; and binding service VLAN (virtual local area network) along the shortest Ethernet service channel from a source node end so as to bring convenience for transmitting the Ethernet service via the shortest Ethernet service channel bound with the service VLAN. According to the method for dynamically configuring the Ethernet service channel, a protocol message is dynamically exchanged between different pieces of exchange equipment on the basis of the routing protocol thought, so that each piece of exchange equipment stores and maintains one piece of routing list about whole-network topology, the shortest path between the source node and the host node is selected according to database information in the routing list, the service VLAN is appointed by the source node, the Ethernet service channel is quickly and dynamically configured, the working efficiency is improved, and the network resource is saved. In addition, when the service channel fails, the Ethernet service channel can be automatically updated, and the real-time dynamic exchange of the Ethernet service channel is realized.

Description

The method and the device of dynamic-configuration Ethernet service passage
Technical field
The present invention relates to data communication technology field, relate in particular to a kind of method and device that comes dynamic-configuration Ethernet service passage based on Routing Protocol thought.
Background technology
Ethernet is the local area network (LAN) that adopts shared bus type transmission medium mode, and Ethernet switch is based on the switching equipment of Ethernet transmission data, and its structure is that each port all directly links to each other with the main frame of subscriber equipment, is usually operated at full duplex mode.Switching equipment can be communicated with many to port simultaneously, makes each main frame to intercommunication mutually carry out conflict free transmission data as monopolizing communication medium.The operation principle of switching equipment is: when a frame arrives; Can check the mac address table of its target MAC (Media Access Control) address and correspondence oneself,, then frame transmitted if there is target MAC (Media Access Control) address; If do not exist then flood (broadcasting); If, then frame is abandoned, otherwise can the MAC Address of main frame be added in the local mac address table automatically through not having the MAC Address of main frame identical after the broadcasting with the target MAC (Media Access Control) address of frame.
But present switching equipment when carrying out the Ethernet service configuration, adopts the mode of static configuration service channel, and its operating efficiency is lower.For the unknown unicast message, then need flood away simultaneously, waste Internet resources thus at all of the port.
Summary of the invention
Main purpose of the present invention is to provide a kind of method and device of dynamic-configuration Ethernet service passage, is intended to realize the dynamic transmission of Ethernet service, improves the operating efficiency of switching equipment, and saves Internet resources.
In order to achieve the above object, the present invention proposes a kind of method of dynamic-configuration Ethernet service passage, comprising:
Routing table according to switching equipment is preserved is obtained the shortest Ethernet service passage between source, the destination node;
Begin from the source node end, carry out the binding of service VLAN, so that through the shortest Ethernet service channel transfer Ethernet service after the service VLAN binding along the shortest said Ethernet service passage.
Preferably, said routing table of preserving according to switching equipment also comprises before obtaining the step of the shortest Ethernet service passage between source, the destination node:
Routing table through each switching equipment of dynamic exchange protocol massages configuration between said switching equipment.
Preferably, said step through the routing table of each switching equipment of dynamic exchange protocol massages configuration between switching equipment comprises:
The initial routing table of configuration switching equipment, said initial routing table comprise switching equipment to the route between the direct-connected subscriber equipment;
Start switching equipment, all the NNI ports through said switching equipment send request message to its neighbor switch devices, are returned the renewal message of the routing table of carrying neighbor switch devices by each neighbor switch devices;
Be configured according to the routing table of said renewal message to each switching equipment, this switching equipment of routing table record that each switching equipment is preserved arrives the shortest Ethernet service passage of other switching equipment in the whole network.
Preferably, the said step that the routing table of each switching equipment is configured also comprises afterwards:
Periodically send the renewal message that carries own whole routing table through each switching equipment, the routing table that each switching equipment is preserved is upgraded to its neighbor switch devices.
Preferably, saidly begin from the source node end, the step of carrying out the binding of service VLAN along the shortest said Ethernet service passage comprises:
Corresponding uni port of source node switching equipment and NNI port are joined specified services VLAN;
Send the message that carries destination node switching equipment and service VLAN to neighbor switch devices through said NNI port; By neighbor switch devices this message is resolved; And join service VLAN with the receiving port of neighbor switch devices with to the port numbers of this destination node switching equipment, up to the destination node switching equipment;
The NNI port that said destination node switching equipment is received message joins service VLAN with corresponding uni port.
Preferably, this method also comprises:
When the shortest said Ethernet service passage breaks down, carry out switching of service channel through dynamic exchange protocol massages between switching equipment, upgrade the shortest said Ethernet service passage.
The present invention also proposes a kind of device of dynamic-configuration Ethernet service passage, comprising:
The service channel acquisition module is used for obtaining the shortest Ethernet service passage between source, the destination node according to the routing table that switching equipment is preserved;
The service VLAN configuration module is used for beginning from the source node end, carries out the binding of service VLAN along the shortest said Ethernet service passage, so that through the shortest Ethernet service channel transfer Ethernet service after the service VLAN binding.
Preferably, this device also comprises:
The routing table configuration module is used for the routing table through each switching equipment of dynamic exchange protocol massages configuration between said switching equipment.
Preferably, said routing table configuration module comprises:
The initial configuration unit is used to dispose the initial routing table of switching equipment, and said initial routing table comprises switching equipment to the route between the direct-connected subscriber equipment;
The protocol massages crosspoint is used to start switching equipment, and all the NNI ports through said switching equipment send request message to its neighbor switch devices, is returned the renewal message of the routing table of carrying neighbor switch devices by each neighbor switch devices;
The config update unit is used for being configured according to the routing table of said renewal message to each switching equipment, and this switching equipment of routing table record that each switching equipment is preserved arrives the shortest Ethernet service passage of other switching equipment in the whole network.
Preferably, said config update unit also is used for periodically sending the renewal message that carries own whole routing table to its neighbor switch devices through each switching equipment, and the routing table that each switching equipment is preserved is upgraded.
Preferably, said service VLAN configuration module specifically is used for corresponding uni port of source node switching equipment and NNI port are joined specified services VLAN; Send the message that carries destination node switching equipment and service VLAN to neighbor switch devices through said NNI port; By neighbor switch devices this message is resolved; And join service VLAN with the receiving port of neighbor switch devices with to the port numbers of this destination node switching equipment, up to the destination node switching equipment; And the NNI port that said destination node switching equipment is received message joins service VLAN with corresponding uni port.
Preferably, this device also comprises:
Update module is used for when the shortest said Ethernet service passage breaks down, carrying out switching of service channel through dynamic exchange protocol massages between switching equipment, upgrades the shortest said Ethernet service passage.
The method and the device of a kind of dynamic-configuration Ethernet service passage that the present invention proposes; Based on Routing Protocol thought, dynamic exchange protocol massages between switching equipment makes each switching equipment all store and safeguard a routing table about full mesh topology; Come specified services VLAN (Virtual Local Area Network according to the shortest path between the selection of the database information in routing table source, the destination node and by source node; VLAN), thereby realizes the dynamic-configuration of Ethernet service passage and the dynamic transmission of Ethernet service, make the configuration of Ethernet service simplify more and intelligence; Improve the operating efficiency of switching equipment, and saved Internet resources; In addition, when service channel breaks down, can also upgrade the Ethernet service passage automatically, realize that the Real-time and Dynamic of Ethernet service passage is switched.
Description of drawings
Fig. 1 is the schematic flow sheet of method one embodiment of dynamic-configuration Ethernet service passage of the present invention;
Fig. 2 is the schematic flow sheet of another embodiment of method of dynamic-configuration Ethernet service passage of the present invention;
Fig. 3 is a kind of actual networking configuration schematic diagram in the Ethernet that the present invention relates to;
Fig. 4 is the method schematic flow sheet of an embodiment again of invention dynamic-configuration Ethernet service passage;
Fig. 5 is the sketch map that a kind of actual networking configures existing network network fault in the Ethernet that the present invention relates to;
Fig. 6 is the structural representation of device one embodiment of dynamic-configuration Ethernet service passage of the present invention;
Fig. 7 is the structural representation of another embodiment of device of dynamic-configuration Ethernet service passage of the present invention;
Fig. 8 is the structural representation of routing table configuration module among another embodiment of device of dynamic-configuration Ethernet service passage of the present invention;
Fig. 9 is the device structural representation of an embodiment again of dynamic-configuration Ethernet service passage of the present invention.
In order to make technical scheme of the present invention clearer, clear, will combine accompanying drawing to do further to detail below.
Embodiment
The solution of the embodiment of the invention mainly is: seek an optimal channel that arrives all switching equipment in the net at the whole network dynamic exchange protocol massages; Make each switching equipment all store and safeguard a routing table about full mesh topology; Be that each switching equipment is all preserved a the shortest hop-by-hop route to the destination node switching equipment as source node; When service needed is transmitted, obtain the shortest path between source, the destination node through searching this routing table, and begin to carry out the binding of service VLAN along service channel from the source node end; And need not every switching equipment is carried out the VLAN manual configuration, with the dynamic-configuration of Rapid Realization to the Ethernet service passage.
As shown in Figure 1, one embodiment of the invention proposes a kind of method of dynamic-configuration Ethernet service passage, comprising:
Step S101 obtains the shortest Ethernet service passage between source, the destination node according to the routing table that switching equipment is preserved;
Present embodiment method running environment relates to the switching equipment of forming the Ethernet service passage in the Ethernet, and subscriber equipment is communicated by letter with destination device through switching equipment and carried out the business transmission.
In the ethernet network structure, each switching equipment is each node that is distributed in the network, and each switching equipment has uni port (ethernet user-network interface) that connects subscriber equipment and the NNI port (network node interface that connects service channel; Network-Network interface).
When Ethernet service need transmit, need set up the Ethernet service passage between source node (switching equipment) to the destination node (switching equipment) for subscriber equipment.
In the present embodiment; Each switching equipment has all been safeguarded a routing table; After switching equipment starts; Through dynamic exchange protocol massages between switching equipment, in routing table, preserve a database about full mesh topology, write down in every routing table and belonged to the shortest service channel that switching equipment arrives other switching equipment in the whole network.The structure of this routing table is as shown in table 1 below:
Destination device Tolerance Next jumping Port numbers
Table 1
Wherein, destination device: the user's of feeling the pulse with the finger-tip MAC Address;
Tolerance:, promptly arrive the number of the switching equipment of destination device process here with the tolerance of jumping figure as route;
Port numbers: refer to the line side port numbers that this switching equipment is connected with next jumping switching equipment;
Next jumping: the MAC Address or the device id that refer to next jumping switching equipment.
Therefore; When subscriber equipment has service needed to send to destination device; Through searching the routing table that switching equipment that this subscriber equipment connects is preserved; Can learn the optimum ethernet channel that arrives destination device, promptly from routing table can obtain the shortest Ethernet service passage between source, the destination node.
Step S102 begins from the source node end, carries out the binding of service VLAN along the shortest Ethernet service passage, so that through the shortest Ethernet service channel transfer Ethernet service after the service VLAN binding.
Behind the shortest Ethernet service passage between the source of getting access to, the destination node, then need this service channel is carried out the service VLAN configuration, detailed process is (all of the port of acquiescence switching equipment all belongs to VLAN1) as follows:
At first, corresponding uni port of source node switching equipment and NNI port are joined specified services VLAN; Then; NNI port through the source node switching equipment sends the protocol massages that carries destination node switching equipment and service VLAN to its neighbor switch devices; After neighbor switch devices is received this protocol massages; This protocol massages is resolved, and join service VLAN, up to the destination node switching equipment with the receiving port of this neighbor switch devices with to the port numbers of destination node switching equipment; The NNI port that the destination node switching equipment will receive protocol massages joins service VLAN with corresponding uni port.
The above-mentioned protocol massages that is used to specify service VLAN is a service trigger, promptly during configuration service VLAN, triggers a bag service message, and with relaying on the service VLAN informing business passage and destination node switching equipment, its formal definition is as shown in table 2 below:
Source device Destination device Service VLAN
Table 2
Wherein, source device refers to that needs send professional source user equipment, and destination device is meant the professional purpose subscriber equipment that arrives.
Through above-mentioned two processes, professional optimal channel and service VLAN are all specified, then can between source user equipment and purpose subscriber equipment, carry out the transmission of Ethernet service.
Present embodiment is through all preserving a the shortest hop-by-hop route to destination node at each node; Only need at source node configuration service VLAN; And send the message carry service VLAN at shortest path; Node on the path receives that message adds corresponding via node in the service VLAN, up to destination node, thereby realizes dynamically disposing fast of Ethernet service passage.
As shown in Figure 2, another embodiment of the present invention proposes a kind of method of dynamic-configuration Ethernet service passage, on the basis of the foregoing description, before step S101, also comprises:
Step S100 is through the routing table of each switching equipment of dynamic exchange protocol massages configuration between switching equipment.
The protocol massages of dynamic exchange comprises request message and upgrades message between the switching equipment of present embodiment definition, and its form is as shown in table 3 below:
Order Destination device Jumping figure
Table 3
Wherein, order: be used for distinguishing request message and still upgrade message, definition " 1 " expression request, " 2 " expression is upgraded;
Destination device: the MAC Address of the equipment of feeling the pulse with the finger-tip;
Jumping figure: here with the tolerance of jumping figure as route, expression arrives the relaying switching equipment number of destination device process.
Mutual through protocol massages carries out the renewal of routing table.
In addition, for dynamic exchange protocol massages between switching equipment also need start corresponding timer, specifically comprise following several kinds:
Upgrade timer: switching equipment sends from the interface that starts agreement in each timer time and upgrades message;
Invalid timer:, then hop count is designated as unreachable if in the update cycle, do not receive the renewal message;
Refresh timer: route be designated as unreachable after, also do not receive the renewal message in the time refreshing timer, then this route is deleted from routing table.
Particularly, present embodiment is through the routing table of each switching equipment of dynamic exchange protocol massages configuration between switching equipment, and the pathfinding process of carrying out the Ethernet service optimal channel is following:
Step 1: the initial routing table of manual configuration switching equipment, this moment, routing table only comprised the route of switching equipment to direct-connected user;
Step 2: neighbours' routing table initialization:
After switching equipment gets up, send request message to its neighbor switch devices, the routing table of request neighbor switch devices through all NNI ports;
Receive the neighbor switch devices of request message, send to the requestor and carry the renewal message of whole routing table;
After the request switching equipment is received and replied, upgrade the routing table of oneself,, then trigger and upgrade message if routing table changes;
Step 3: the routing table cycle upgrades:
Switching equipment periodically sends the renewal message that comprises own whole routing table to neighbor switch devices;
After switching equipment is received the renewal message of neighbor switch devices, upgrade the routing table of oneself,, then trigger and upgrade message if routing table changes based on upgrading principle;
Step 4: the announcement of unreachable route:
After switching equipment finds that a certain neighbor switch devices is unreachable; Promptly do not receive the renewal message that neighbor switch devices is sent above the message cycle of sending; Then next is jumped to the destination address of this neighbor switch devices is set to unreachablely, sends unreachable message through all NNI ports to other neighbor switch devices simultaneously;
After switching equipment is received the unreachable message that neighbor switch devices sends; If a jumping is neighbor device on the route; Then this purpose user is set to unreachablely, otherwise upgrades own routing table according to upgrading principle, and the route entry of variation is informed other neighbor switch devices.
Pathfinding through the Ethernet service optimal channel; Each switching equipment has all been preserved a routing table that arrives other switching equipment of the whole network; When service needed transmits, can directly inquire about this routing table, find the service channel of an optimum; The appointment of the industry of going forward side by side affair VLAN, thus can carry out the business transmission through this optimum service channel.
Networking with carrier network shown in Figure 3 is configured to the dynamic-configuration process that example is explained the Ethernet service passage below.
S, A, B, C, D are five switching equipment among Fig. 3, and L1, L2 are the NNI port, and C1 is respectively the uni port that is connected subscriber equipment U1 and U2 with C2; Suppose that the user that switching equipment A, B, C connect is respectively Ua, Ub, Uc (notes: the MAC Address that replaces equipment here with device name).
In this example, desire between user U1 and user U2, to set up an Ethernet service end to end.
At first, when initialization,, have only in the routing table of switching equipment S to the route of direct-connected user U1 through manual configuration, as shown in table 4 below:
Destination device Jumping figure Next jumping Port numbers
U1 0 ?-- C1
Table 4
After switching equipment started, through the agreement operation, dynamic exchange protocol massages between each switching equipment obtains the route of neighbor switch devices, and was as shown in table 5 below:
Destination device Jumping figure Next jumping Port numbers
U1 0 ?-- C1
Ua 1 A L1
Ub 1 B L2
Table 5
Finally obtain arriving the optimum Ethernet service path of all switching equipment in the net, as shown in table 6 below:
Destination device Jumping figure Next jumping Port numbers
U1 0 ?-- C1
Ua 1 A L1
Ub 1 B L2
U2 2 A L1
Uc 2 B L2
Table 6
Through last table 6, the end-to-end Ethernet service passage that can obtain between switching equipment S and the switching equipment D is S-A-D, thus, and in the configuration of the enterprising industry affair of this Ethernet service passage VLAN.
At first, if specified services VLAN is 10, the port C1 and the port L1 that then dispose switching equipment S belong to VLAN10, trigger service message simultaneously, on service channel, send.The L2 port of switching equipment A is received service message, and the L2 port is added VLAN10, checks that simultaneously the port numbers that arrives switching equipment D is L2, and L2 is joined service VLAN 10; Through L2 service message is forwarded simultaneously.Switching equipment D receives service message, and L2 joins VLAN10 with receiving port, because this switching equipment D is a destination node equipment, then port C2 is joined VLAN10 simultaneously.
So far, Ethernet service passage and service VLAN all configure, can carry out the transmission of teleservice.
Present embodiment carries out the dynamic pathfinding of Ethernet service passage based on dynamic routing protocol thought; Make the configuration of Ethernet service simplify more and intelligence, each node is all preserved a the shortest hop-by-hop route to destination node, only needs at source node configuration service VLAN; And send the message carry service VLAN at shortest path; Node on the path receives that message adds corresponding via node in the service VLAN, up to destination node, thereby realizes dynamically disposing fast of Ethernet service passage; Improve the operating efficiency of switching equipment, and saved Internet resources.
As shown in Figure 4, yet another embodiment of the invention proposes a kind of method of dynamic-configuration Ethernet service passage, on the basis of the foregoing description, after step S102, also comprises:
Step S103 when the shortest Ethernet service passage breaks down, carries out switching of service channel through dynamic exchange protocol massages between switching equipment, upgrades the shortest Ethernet service passage.
Present embodiment when the shortest Ethernet service passage that from the routing table of switching equipment, finds breaks down, can also upgrade service channel automatically on the basis of the foregoing description, realize that the Real-time and Dynamic of business is switched.
Specifically as shown in Figure 5; If switching equipment A is to the path fault between the switching equipment D; Switching equipment A did not receive the renewal message that switching equipment D sends in 30 seconds; The jumping figure that then arrives switching equipment D is set to 16 (unreachable), triggers simultaneously and upgrades message, and unreachable information is flooded in the whole network.After upgrading several times, the routing table final updated of switching equipment S is as shown in table 7 below:
Destination device Jumping figure Next jumping Port numbers
U1 0 ?-- C1
Ua 1 A L1
Ub 1 B L2
U2 3 B L2
Uc 2 B L2
Table 7
At this moment, switching equipment S becomes S-B-C-D to the Ethernet service passage of switching equipment D.
Can find out that through above-mentioned instance present embodiment not only can dynamically be sought the Ethernet service passage, sets up end-to-end Ethernet service; Simultaneously, under the situation of network failure, can dynamically carry out switching of service channel, the transmission efficiency of business when having improved network failure to a certain extent.Certainly, the present invention goes for any network topology, under the situation that does not deviate from invention spirit and essence thereof, can also apply the present invention to the networking scene of any needs.
As shown in Figure 6, one embodiment of the invention proposes a kind of device of dynamic-configuration Ethernet service passage, comprising: service channel acquisition module 601 and service VLAN configuration module 602, wherein:
Service channel acquisition module 601 is used for obtaining the shortest Ethernet service passage between source, the destination node according to the routing table that switching equipment is preserved;
Service VLAN configuration module 602 is used for beginning from the source node end, carries out the binding of service VLAN along the shortest Ethernet service passage, so that through the shortest Ethernet service channel transfer Ethernet service after the service VLAN binding.
In the present embodiment, each switching equipment constitutes the network node in the ethernet network structure, and subscriber equipment is communicated by letter with destination device through switching equipment and carried out the business transmission.Each switching equipment has uni port (ethernet user's network interface) that connects subscriber equipment and the NNI port (Network-Node Interface) that connects service channel.
When Ethernet service need transmit, need set up the Ethernet service passage between source node (switching equipment) to the destination node (switching equipment) for subscriber equipment.
In the present embodiment; Each switching equipment has all been safeguarded a routing table; After switching equipment starts; Through dynamic exchange protocol massages between switching equipment, in routing table, preserve a database about full mesh topology, write down in every routing table and belonged to the shortest service channel that switching equipment arrives other switching equipment in the whole network.The structure of this routing table is as above shown in the table 1.
When subscriber equipment has service needed to send to destination device; The routing table that service channel acquisition module 601 is preserved through the switching equipment of searching this subscriber equipment connection; Can learn the optimum ethernet channel that arrives destination device, promptly from routing table can obtain the shortest Ethernet service passage between source, the destination node.
After service channel acquisition module 601 gets access to the shortest Ethernet service passage between source, the destination node; Carry out the service VLAN configuration through 602 pairs of these service channels of service VLAN configuration module, detailed process is (all of the port of acquiescence switching equipment all belongs to VLAN1) as follows:
At first, corresponding uni port of source node switching equipment and NNI port are joined specified services VLAN; Then; NNI port through the source node switching equipment sends the protocol massages that carries destination node switching equipment and service VLAN to its neighbor switch devices; After neighbor switch devices is received this protocol massages; This protocol massages is resolved, and join service VLAN, up to the destination node switching equipment with the receiving port of this neighbor switch devices with to the port numbers of destination node switching equipment; The NNI port that the destination node switching equipment will receive protocol massages joins service VLAN with corresponding uni port.
The above-mentioned protocol massages that is used to specify service VLAN is a service trigger, promptly during configuration service VLAN, triggers a bag service message, and with relaying on the service VLAN informing business passage and destination node switching equipment, its formal definition is as above shown in the table 2.
Through above-mentioned two processes, professional optimal channel and service VLAN are all specified, then can between source user equipment and purpose subscriber equipment, carry out the transmission of Ethernet service.
Present embodiment is through all preserving a the shortest hop-by-hop route to destination node at each node; Only need at source node configuration service VLAN; And send the message carry service VLAN at shortest path; Node on the path receives that message adds corresponding via node in the service VLAN, up to destination node, thereby realizes dynamically disposing fast of Ethernet service passage.
As shown in Figure 7, another embodiment of the present invention proposes a kind of device of dynamic-configuration Ethernet service passage, on the basis of the foregoing description, also comprises:
Routing table configuration module 600 is used for the routing table through each switching equipment of dynamic exchange protocol massages configuration between switching equipment.
The protocol massages of dynamic exchange comprises request message and upgrades message between the switching equipment of present embodiment definition, and its form is as above shown in the table 3.Mutual through protocol massages carries out the renewal of routing table.
Particularly, routing table configuration module 600 is through the routing table of each switching equipment of dynamic exchange protocol massages configuration between switching equipment, and the pathfinding process of carrying out the Ethernet service optimal channel is following:
Step 1: the initial routing table of manual configuration switching equipment, this moment, routing table only comprised the route of switching equipment to direct-connected user;
Step 2: neighbours' routing table initialization:
After switching equipment gets up, send request message to its neighbor switch devices, the routing table of request neighbor switch devices through all NNI ports;
Receive the neighbor switch devices of request message, send to the requestor and carry the renewal message of whole routing table;
After the request switching equipment is received and replied, upgrade the routing table of oneself,, then trigger and upgrade message if routing table changes;
Step 3: the routing table cycle upgrades:
Switching equipment periodically sends the renewal message that comprises own whole routing table to neighbor switch devices;
After switching equipment is received the renewal message of neighbor switch devices, upgrade the routing table of oneself,, then trigger and upgrade message if routing table changes based on upgrading principle;
Step 4: the announcement of unreachable route:
After switching equipment finds that a certain neighbor switch devices is unreachable; Promptly do not receive the renewal message that neighbor switch devices is sent above the message cycle of sending; Then next is jumped to the destination address of this neighbor switch devices is set to unreachablely, sends unreachable message through all NNI ports to other neighbor switch devices simultaneously;
After switching equipment is received the unreachable message that neighbor switch devices sends; If a jumping is neighbor device on the route; Then this purpose user is set to unreachablely, otherwise upgrades own routing table according to upgrading principle, and the route entry of variation is informed other neighbor switch devices.
Pathfinding through the Ethernet service optimal channel; Each switching equipment has all been preserved a routing table that arrives other switching equipment of the whole network; When service needed transmits, can directly inquire about this routing table, find the service channel of an optimum; The appointment of the industry of going forward side by side affair VLAN, thus can carry out the business transmission through this optimum service channel.
In the practical implementation process, as shown in Figure 8, routing table configuration module 600 comprises: initial configuration unit 6001, protocol massages crosspoint 6002 and config update unit 6003, wherein:
Initial configuration unit 6001 is used to dispose the initial routing table of switching equipment, and initial routing table comprises switching equipment to the route between the direct-connected subscriber equipment;
Protocol massages crosspoint 6002 is used to start switching equipment, and all the NNI ports through switching equipment send request message to its neighbor switch devices, is returned the renewal message of the routing table of carrying neighbor switch devices by each neighbor switch devices;
Config update unit 6003 is used for being configured according to upgrading the routing table of message to each switching equipment, and this switching equipment of routing table record that each switching equipment is preserved arrives the shortest Ethernet service passage of other switching equipment in the whole network.
Config update unit 6003 also is used for periodically sending the renewal message that carries own whole routing table to its neighbor switch devices through each switching equipment, and the routing table that each switching equipment is preserved is upgraded.
Present embodiment carries out the dynamic pathfinding of Ethernet service passage based on dynamic routing protocol thought; Make the configuration of Ethernet service simplify more and intelligence, each node is all preserved a the shortest hop-by-hop route to destination node, only needs at source node configuration service VLAN; And send the message carry service VLAN at shortest path; Node on the path receives that message adds corresponding via node in the service VLAN, up to destination node, thereby realizes dynamically disposing fast of Ethernet service passage; Improve the operating efficiency of switching equipment, and saved Internet resources.
As shown in Figure 9, yet another embodiment of the invention proposes a kind of device of dynamic-configuration Ethernet service passage, on the basis of the foregoing description, also comprises:
Update module 603 is used for when the shortest Ethernet service passage breaks down, and carries out switching of service channel through dynamic exchange protocol massages between switching equipment, upgrades the shortest said Ethernet service passage.
Present embodiment when the shortest Ethernet service passage that from the routing table of switching equipment, finds breaks down, can also upgrade service channel through update module 603 automatically on the basis of the foregoing description, realize that the Real-time and Dynamic of business is switched.Its instantiation please with reference to above-mentioned respective embodiments, repeats no more at this.
The method of embodiment of the invention dynamic-configuration Ethernet service passage and device are used for reference the thought of dynamic routing protocol, through the dynamic exchange protocol massages, make each switching equipment all safeguard a routing table.When professional the transmission arranged; Can learn through table of query and routing and to carry out the optimum ethernet channel of destination device the binding of service VLAN along this passage, and to need not every switching equipment is carried out the VLAN manual configuration; Realization is to the dynamic-configuration of Ethernet service passage; Make the configuration of Ethernet service simplify more and intelligence, improved the operating efficiency of switching equipment, and saved Internet resources.Simultaneously, when service channel breaks down, can upgrade service channel automatically, realize that the Real-time and Dynamic of business is switched.
The above is merely the preferred embodiments of the present invention; Be not so limit claim of the present invention; Every equivalent structure or flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical field, all in like manner be included in the scope of patent protection of the present invention.

Claims (12)

1. the method for a dynamic-configuration Ethernet service passage is characterized in that, comprising:
Routing table according to switching equipment is preserved is obtained the shortest Ethernet service passage between source, the destination node;
Begin from the source node end, carry out the binding of professional virtual LAN VLAN, so that through the shortest Ethernet service channel transfer Ethernet service after the service VLAN binding along the shortest said Ethernet service passage.
2. method according to claim 1 is characterized in that, the step that said routing table of preserving according to switching equipment is obtained the shortest Ethernet service passage between source, the destination node also comprises before:
Routing table through each switching equipment of dynamic exchange protocol massages configuration between said switching equipment.
3. method according to claim 2 is characterized in that, said step through the routing table of each switching equipment of dynamic exchange protocol massages configuration between switching equipment comprises:
The initial routing table of configuration switching equipment, said initial routing table comprise switching equipment to the route between the direct-connected subscriber equipment;
Start switching equipment, the all-network node interface NNI port through said switching equipment sends request message to its neighbor switch devices, is returned the renewal message of the routing table of carrying neighbor switch devices by each neighbor switch devices;
Be configured according to the routing table of said renewal message to each switching equipment, this switching equipment of routing table record that each switching equipment is preserved arrives the shortest Ethernet service passage of other switching equipment in the whole network.
4. method according to claim 3 is characterized in that, the said step that the routing table of each switching equipment is configured also comprises afterwards:
Periodically send the renewal message that carries own whole routing table through each switching equipment, the routing table that each switching equipment is preserved is upgraded to its neighbor switch devices.
5. method according to claim 1 is characterized in that, saidly begins from the source node end, and the step of carrying out the binding of service VLAN along the shortest said Ethernet service passage comprises:
Corresponding user-network interface uni port of source node switching equipment and NNI port are joined specified services VLAN;
Send the message that carries destination node switching equipment and service VLAN to neighbor switch devices through said NNI port; By neighbor switch devices this message is resolved; And join service VLAN with the receiving port of neighbor switch devices with to the port numbers of this destination node switching equipment, up to the destination node switching equipment;
The NNI port that said destination node switching equipment is received message joins service VLAN with corresponding uni port.
6. according to each described method among the claim 1-5, it is characterized in that, also comprise:
When the shortest said Ethernet service passage breaks down, carry out switching of service channel through dynamic exchange protocol massages between switching equipment, upgrade the shortest said Ethernet service passage.
7. the device of a dynamic-configuration Ethernet service passage is characterized in that, comprising:
The service channel acquisition module is used for obtaining the shortest Ethernet service passage between source, the destination node according to the routing table that switching equipment is preserved;
The service VLAN configuration module is used for beginning from the source node end, carries out the binding of service VLAN along the shortest said Ethernet service passage, so that through the shortest Ethernet service channel transfer Ethernet service after the service VLAN binding.
8. device according to claim 7 is characterized in that, also comprises:
The routing table configuration module is used for the routing table through each switching equipment of dynamic exchange protocol massages configuration between said switching equipment.
9. device according to claim 8 is characterized in that, said routing table configuration module comprises:
The initial configuration unit is used to dispose the initial routing table of switching equipment, and said initial routing table comprises switching equipment to the route between the direct-connected subscriber equipment;
The protocol massages crosspoint is used to start switching equipment, and all the NNI ports through said switching equipment send request message to its neighbor switch devices, is returned the renewal message of the routing table of carrying neighbor switch devices by each neighbor switch devices;
The config update unit is used for being configured according to the routing table of said renewal message to each switching equipment, and this switching equipment of routing table record that each switching equipment is preserved arrives the shortest Ethernet service passage of other switching equipment in the whole network.
10. device according to claim 9; It is characterized in that; Said config update unit also is used for periodically sending the renewal message that carries own whole routing table to its neighbor switch devices through each switching equipment, and the routing table that each switching equipment is preserved is upgraded.
11. device according to claim 7 is characterized in that, said service VLAN configuration module specifically is used for corresponding uni port of source node switching equipment and NNI port are joined specified services VLAN; Send the message that carries destination node switching equipment and service VLAN to neighbor switch devices through said NNI port; By neighbor switch devices this message is resolved; And join service VLAN with the receiving port of neighbor switch devices with to the port numbers of this destination node switching equipment, up to the destination node switching equipment; And the NNI port that said destination node switching equipment is received message joins service VLAN with corresponding uni port.
12. according to each described device among the claim 7-11, it is characterized in that, also comprise:
Update module is used for when the shortest said Ethernet service passage breaks down, carrying out switching of service channel through dynamic exchange protocol massages between switching equipment, upgrades the shortest said Ethernet service passage.
CN201210115655.4A 2012-04-19 2012-04-19 Method and device for dynamically configuring Ethernet service channel Active CN102780607B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210115655.4A CN102780607B (en) 2012-04-19 2012-04-19 Method and device for dynamically configuring Ethernet service channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210115655.4A CN102780607B (en) 2012-04-19 2012-04-19 Method and device for dynamically configuring Ethernet service channel

Publications (2)

Publication Number Publication Date
CN102780607A true CN102780607A (en) 2012-11-14
CN102780607B CN102780607B (en) 2015-06-03

Family

ID=47125369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210115655.4A Active CN102780607B (en) 2012-04-19 2012-04-19 Method and device for dynamically configuring Ethernet service channel

Country Status (1)

Country Link
CN (1) CN102780607B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103441866A (en) * 2013-08-13 2013-12-11 北京华为数字技术有限公司 Communication method, system and control equipment of virtual local area networks
CN104283789A (en) * 2014-09-19 2015-01-14 深圳市腾讯计算机系统有限公司 Routing convergence method and system
CN104579944A (en) * 2013-10-18 2015-04-29 宇宙互联有限公司 Transmission path management system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866922A (en) * 2006-02-10 2006-11-22 华为技术有限公司 Control system and data message transmission method in Ethernet
CN101166137A (en) * 2006-10-20 2008-04-23 华为技术有限公司 Method for separating different virtual LAN services
CN101322355A (en) * 2005-10-05 2008-12-10 北方电讯网络有限公司 Provider link state bridging

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101322355A (en) * 2005-10-05 2008-12-10 北方电讯网络有限公司 Provider link state bridging
CN1866922A (en) * 2006-02-10 2006-11-22 华为技术有限公司 Control system and data message transmission method in Ethernet
CN101166137A (en) * 2006-10-20 2008-04-23 华为技术有限公司 Method for separating different virtual LAN services

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103441866A (en) * 2013-08-13 2013-12-11 北京华为数字技术有限公司 Communication method, system and control equipment of virtual local area networks
CN104579944A (en) * 2013-10-18 2015-04-29 宇宙互联有限公司 Transmission path management system and method
CN104283789A (en) * 2014-09-19 2015-01-14 深圳市腾讯计算机系统有限公司 Routing convergence method and system
CN104283789B (en) * 2014-09-19 2016-04-13 深圳市腾讯计算机系统有限公司 Route convergent method and system

Also Published As

Publication number Publication date
CN102780607B (en) 2015-06-03

Similar Documents

Publication Publication Date Title
CN102577277B (en) Providing a logical aggregated point-to-point data link incorporating a multi-point link
US9385949B2 (en) Routing controlled by subnet managers
CN102594711B (en) Message forwarding method and edge device therefor
CN102055665B (en) OSPF point-to-multipoint over broadcast or NBMA mode
CN105577502B (en) Service transmission method and device
CN109768908B (en) VXLAN configuration method, equipment and system
CN104243317A (en) Method and device for forwarding IP (internet protocol) routes
CN102137001B (en) Routing information exchange method, equipment and system
CN101505227A (en) Method, device and system for implementing point to multi-point pseudowire
CN101257447A (en) Method, system and routing apparatus of load sharing
CN103795623A (en) Method and device for realizing traffic interflow between virtual devices
CN104243270A (en) Tunnel setup method and tunnel setup device
CN103763207A (en) In-band control connection establishment method and device in SDN
CN102724118A (en) Label distribution method and device
CN101242370B (en) Method for realizing Ethernet and frame-relay Internet and protocol conversion device
CN102148766A (en) Method for service interworking in PON (passive optical network) under three-layer function networking
KR20150060921A (en) Method operating in a fixed access network and ues
CN104065582A (en) Message transmission method and gateway device
CN105007169A (en) Data center auto provisioning
CN101714945A (en) System and method for realizing internetwork communication
EP3583751B1 (en) Method for an improved deployment and use of network nodes of a switching fabric of a data center or within a central office point of delivery of a broadband access network of a telecommunications network
EP2892196B1 (en) Method, network node and system for implementing point-to-multipoint multicast
CN106375211B (en) Exchange data processing method and interchanger in VRRP load-balancing scenario
CN102780607B (en) Method and device for dynamically configuring Ethernet service channel
CN102104533B (en) Method for optimizing RRPP (rapid ring protection protocol) single ring network data transmitting path and ring network node

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