CN100401721C - Method for building intelligent virtual switching link - Google Patents

Method for building intelligent virtual switching link Download PDF

Info

Publication number
CN100401721C
CN100401721C CNB2005100864052A CN200510086405A CN100401721C CN 100401721 C CN100401721 C CN 100401721C CN B2005100864052 A CNB2005100864052 A CN B2005100864052A CN 200510086405 A CN200510086405 A CN 200510086405A CN 100401721 C CN100401721 C CN 100401721C
Authority
CN
China
Prior art keywords
vlan
virtual switch
switch
processing policy
port
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.)
Expired - Fee Related
Application number
CNB2005100864052A
Other languages
Chinese (zh)
Other versions
CN1738295A (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 CNB2005100864052A priority Critical patent/CN100401721C/en
Publication of CN1738295A publication Critical patent/CN1738295A/en
Priority to PCT/CN2006/002247 priority patent/WO2007031003A1/en
Application granted granted Critical
Publication of CN100401721C publication Critical patent/CN100401721C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/354Switches specially adapted for specific applications for supporting virtual local area networks [VLAN]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses a method for building an intelligent virtual switching link, which comprises the following steps: a user code which uniquely marks every LAN user is obtained according to the position information code of every LAN user; a virtual exchanger corresponding to a source LAN user determines that path information passing through the virtual exchanger arrives at an objective LAN user according to the user code of the objective LAN user; an exchange table entry is arranged on every virtual exchanger at a path; the exchange table entry selects an exit port and a processing strategy to an exit VLAN ID with an enter VLAN ID and an enter port number as indexes and determines whether needs selecting the exist VLAN ID according to the strategy; a device port and a VLAN ID which are corresponding the objective LAN user are used as an exit port and an exit VLAN ID to establish the exchange table entry among objective users, and a virtual circuit is completed. The present invention effectively enlarges a backbone network VLAN range in the application of an IV-Switch technology.

Description

A kind of method of setting up intelligent virtual switching link
Technical field
The present invention relates to use the computer realm of the empty exchange of intelligence (IV-Switch or Intelligent Virtual-Switch) technology, relate in particular to the method that a kind of network communication field is used the empty exchange of intelligence (IV-Switch) link.
Background technology
The empty exchange of intelligence (IV-Switch) technology is a kind of method of setting up virtual circuit, and Chinese patent (CN1538682A) has been set forth the IV-Switch technology.In IV-Switch, by inbound port number with go into VLAN (Virtual Local Area Network, VLAN) selects port numbers for ID (Identified) number and go out Virtual Local Area Network ID number, this technology can effectively suppress the broadcast traffic in the network, avoid the generation of broadcast storm, in the IV-Switch system, combine carrier class theory and computer theory, implement (Multi-Protocol Label Switching than MPLS, multiple label switching technology) simple, easy to understand and grasp, to the requirement of O﹠M less than the MPLS height, cost is low, can be used for making up carrier class ether bearer network, caused that domestic and international telecom operators and equipment manufacturers pay close attention to greatly.
Utilize that the IV-Switch technology can 4096 VLAN distinguish the user so that each port all has independently, expanded the number of VLAN greatly, but according to present implementation, can only make full use of the VLAN scope of each port, VLAN scope for whole net is not improved, actual networking demand is as shown in Figure 1 used existing IV-Switch technology and just can't be satisfied.
As shown in Figure 1, two parts network of client A is linked into backbone network by the port one 04 of IV-Switch equipment 101 and the port one 10 of IV-Switch equipment 103 respectively, and carries out intercommunication.Two parts network of client B is linked into backbone network by the port one 05 of IV-Switch equipment 101 and the port one 11 of IV-Switch equipment 103 respectively, and carries out intercommunication.Because the data flow of client A and client B all needs by the port one 06 of IV-Switch equipment 101 and the port one 09 of IV-Switch equipment 103, in addition, client A and client B have existed the subnet of 4096 VLAN scopes to use respectively, at this moment, owing to be subjected to the restriction that port one 06 and port one 09 maximum can only be supported 4096 VLAN scopes, use original IV-Switch technology and can't solve this demand.
From application networking shown in Figure 1 as can be seen, the apparent in view defective that present IV-Switch technology exists is only to support 4096 VLAN scopes owing to being subject to single port on backbone network, will cause a lot of actual application demands to satisfy.
IEEE802.1Q tunnel (QINQ, be VLAN Stacking, can pile up VLAN) be a kind of new technology of VLAN stack encapsulation, the VLAN encapsulation that is packet can be carried out repeatedly nested, can expand the VLAN scope by using the VLAN superimposing technique, can solve the range limited problem of VLAN effectively, how introduction of the present invention combines IV-Switch technology and QINQ technology, improving one's methods of a kind of IV-Switch link establishment is provided, this method can enlarge the VLAN scope of backbone network in the application of IV-Switch technology effectively, and the present invention makes the IV-Switch technology obtain a crucial method of further broader applications.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of method of setting up intelligent virtual switching link, is used for solving existing IV-Switch technology in large-scale application, the range limited problem of VLAN on the backbone network.
To achieve these goals, the invention provides a kind of method of setting up intelligent virtual switching link, be applicable to network communication field, it is characterized in that, comprising:
Steps A: according to the positional information of each LAN subscriber, each LAN subscriber is encoded, obtain the subscriber-coded of unique each LAN subscriber of sign;
Step B: source LAN subscriber corresponding virtual switch is subscriber-coded according to the purpose LAN subscriber, determines to arrive the routing information of purpose virtual switch that LAN subscriber passes through;
Step C: on each virtual switch in path, set up exchange table entries, this exchange table entries number is an index to go into VLAN ID and inbound port, select port, to going out the processing policy of VLAN ID, and the processing policy that goes out VLAN ID is determined whether needs are selected VLAN ID according to described; And
Step D: with the purpose LAN subscriber encode pairing device port, VLAN ID as outbound port, go out VLAN ID, set up with the purpose user between exchange table entries, virtual circuit foundation is finished.
The described method of setting up intelligent virtual switching link, wherein, described exchange table entries comprises: go into VLANID, inbound port number, go out VLAN ID, outbound port number.
The described method of setting up intelligent virtual switching link, wherein, increase VLAN ID, reduce VLAN ID and/or replace VLAN ID the described processing policy that goes out VLAN ID comprised.
The described method of setting up intelligent virtual switching link, wherein, described step C further comprises:
Step C1, when described to the processing policy that goes out VLAN ID when increasing VLAN ID, set up a peer-to-peer in path for current virtual switch from current virtual switch to the purpose LAN subscriber, described peer-to-peer is carried out the strategy of minimizing VLAN ID;
Step C2, when described to the processing policy that goes out VLAN ID when reducing VLAN ID, that chooses a free time from the outbound port of selecting goes out VLAN ID, and according to the inbound port of current virtual switch, go into VLAN ID number and selected outbound port number, go out VLAN ID and to the processing policy that goes out VLAN ID set up and the next stage virtual switch between exchange table entries; And
Step C3, when described to the processing policy that goes out VLAN ID when replacing VLAN ID, according to the inbound port of current virtual switch, go into VLAN ID number and selected outbound port number, to the processing policy that goes out VLAN ID set up and the next stage virtual switch between exchange table entries.
The described method of setting up intelligent virtual switching link, wherein, described step C2 further comprise the next stage virtual switch with himself as current virtual switch and judge whether himself is the step of purpose virtual switch.
The described method of setting up intelligent virtual switching link wherein, if described current virtual switch is not the purpose virtual switch, further comprises the step that goes out VLAN ID number processing policy of judging the upper level virtual switch.
The described method of setting up intelligent virtual switching link, wherein, if described upper level virtual switch go out VLAN ID processing policy for increasing VLAN ID number or replacing VLAN ID number, then with the selected VLAN of the going out ID of described upper level virtual switch number and outbound port as going into VLAN ID number and inbound port number; If described upper level virtual switch go out VLAN ID processing policy for reducing VLAN ID number, then with the selected outbound port of described upper level virtual switch number as inbound port number.
Beneficial effect of the present invention:
Adopt the method for the invention can solve the problem that existing IV-Switch technology can't satisfy networking application demand shown in Figure 1 effectively, enlarged the practical ranges of IV-Switch simultaneously, and can be so that the IV-Switch technology has not only made full use of 4096 VLAN scopes of single port, can also save the VLAN scope resource of backbone network greatly, help backbone network and insert more applications, for the condition that provides is provided extensive Ethernet.
In addition, adopt the present invention can also realize that the IV-Switch of stratification uses so that very convenient to the management of network traffics.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
Fig. 1 is a kind of demand networking diagram that IV-Switch uses;
Fig. 2 realizes schematic flow sheet of the present invention;
Fig. 3 is that IV-Switch transmits structure;
Fig. 4 uses the present invention to carry out the handling process schematic diagram that message is transmitted under port mode; And
Fig. 5 is the networking application drawing of stratification IV-Switch.
Embodiment
Technical problem to be solved by this invention is to overcome existing IV-Switch technology in large-scale application, the range limited shortcoming of VLAN on the backbone network, a kind of improving one's methods to the IV-Switch link establishment is provided, QINQ and IV-Switch technology are combined effectively, enlarge IV-Switch VLAN scope in backbone network.
The present invention proposes a kind of method of improving the empty exchange of intelligence (IV-Switch) link establishment by the following technical solutions:
Steps A: according to the positional information of each LAN subscriber, each LAN subscriber is encoded, obtain the subscriber-coded of unique each LAN subscriber of sign;
Step B: source LAN subscriber corresponding virtual switch is subscriber-coded according to the purpose LAN subscriber, determines to arrive the routing information of purpose virtual switch that LAN subscriber passes through;
Step C: on each switch in path, set up exchange table entries, exchange table entries number is an index to go into VLAN ID and inbound port, select an outbound port, to going out the processing policy that VLAN indicates (VLAN ID), and go out VLAN ID according to the processing policy that goes out VLAN ID being determined whether needs are selected one.
Further, step C can comprise:
Step C1: current virtual switch is selected an outbound port and to the processing policy of VLAN ID.To the processing policy that goes out VLAN ID can for: increase VLAN ID, reduce VLAN ID and replace VLANID.If to the processing policy that goes out VLAN ID is to increase VLAN ID, change C2, if be to replace VLAN ID, change C3, otherwise be to reduce VLAN ID strategy the processing policy that goes out VLANID, change C4;
Step C2: setting up a peer-to-peer (peer) to the path of purpose LAN subscriber for current virtual switch from current virtual switch, this peer-to-peer is carried out the strategy of the minimizing VLAN ID opposite with increasing VLAN ID strategy;
Step C3: that chooses a free time from the outbound port of selecting goes out VLAN ID, then according to the inbound port of current virtual switch, go into VLAN ID number and selected outbound port number, go out VLAN ID and to the processing policy that goes out VLAN ID set up with the next stage virtual switch between exchange table entries, commentaries on classics C5;
Step C4: according to the inbound port of current virtual switch, go into VLAN ID number and selected outbound port number, to the processing policy that goes out VLAN ID set up and the next stage virtual switch between exchange table entries;
Step C5: the next stage virtual switch as current virtual switch, judges whether self is the purpose virtual switch with self, if not changeing C6, if change C10;
Step C6: judge the processing policy that VLAN ID of upper level virtual switch,, change C7, otherwise processing policy is to reduce VLAN ID, changes C8 if the VLAN ID processing policy that goes out of upper level virtual switch is to increase VLAN ID or replace VLAN ID;
Step C7: the selected VLAN of the going out ID of upper level virtual switch and outbound port as going into VLAN ID and inbound port, are changeed C1;
Step C8: with the selected outbound port of upper level virtual switch as inbound port;
Step C9: seek the peer-to-peer of the upper level virtual switch on the link set up from current virtual switch to the source LAN subscriber, with the peer-to-peer virtual switch that finds go into VLAN ID number as the going into VLAN ID number of current virtual switch, change C1;
Step C10: judge the processing policy that VLAN ID of upper level virtual switch,, change C11, otherwise processing policy is to reduce VLAN ID, changes C12 if the VLAN ID processing policy that goes out of upper level virtual switch is to increase VLAN ID or replace VLAN ID;
Step C11: the selected VLAN of the going out ID of upper level virtual switch and outbound port as going into VLAN ID and inbound port, and are determined the processing policy of VLAN ID, change C14;
Step C12: with the selected outbound port of upper level virtual switch as inbound port;
Step C13: the peer-to-peer of seeking the upper level virtual switch on the link of having set up from current virtual switch to the source LAN subscriber, with the peer-to-peer virtual switch that finds go into VLAN ID number as the going into VLAN ID number of current virtual switch, and determine the processing policy of VLAN ID;
Step C14: with the purpose LAN subscriber encode pairing device port, VLAN ID as outbound port, go out VLAN ID, set up with the purpose user between exchange table entries, virtual circuit foundation is finished.
Be to realize schematic flow sheet of the present invention as shown in Figure 2, realize that method of the present invention may further comprise the steps:
Step 201: to each LAN subscriber coding, each LAN subscriber of unique sign;
Step 202: determine from the source LAN subscriber to the routing information the purpose LAN subscriber, with the source virtual switch as current virtual switch;
Step 203: select an outbound port of current virtual switch, and select to going out the processing policy that VLAN indicates (VLAN ID);
Step 204: judge whether the processing policy to going out VLAN ID is to increase VLAN ID, if change step 206;
Step 205: judge whether the processing policy to going out VLAN ID is to replace VLAN ID, if change step 207, otherwise change step 209;
Step 206: set up a peer-to-peer for current virtual switch at current virtual switch to the path of purpose LAN subscriber, peer-to-peer is carried out and is increased the opposite minimizing VLAN ID strategy of VLAN ID.
Step 207: that chooses a free time from the outbound port of selecting goes out VLAN ID;
Step 208: according to the inbound port of current virtual switch number, go into VLAN ID number and selected outbound port number, go out VLAN indicate (VLAN ID) and to the processing policy that goes out VLAN ID set up with the next stage virtual switch between exchange table entries, commentaries on classics step 210;
Step 209: according to the inbound port of current virtual switch, go into VLAN ID number and selected outbound port number, to the processing policy that goes out VLAN ID set up and the next stage virtual switch between exchange table entries;
Step 210: the next stage virtual switch with self as current virtual switch;
Step 211: judge whether self is the purpose virtual switch, if change step 212, otherwise change step 216;
Step 212: whether the VLAN ID strategy that goes out of judging the upper level virtual switch is to increase VLANID or replace VLAN ID, if change step 213, otherwise is to reduce VLAN ID, changes step 214;
Step 213: the selected VLAN of the going out ID of upper level virtual switch and outbound port as going into VLAN ID and inbound port number, are changeed step 203;
Step 214: with the selected outbound port of upper level virtual switch number as inbound port number;
Step 215: the peer-to-peer of seeking the upper level virtual switch on the link of having set up from current virtual switch to the source LAN subscriber, with the peer-to-peer virtual switch that finds go into VLAN ID number as the going into VLAN ID number of current virtual switch, change step 203;
Step 216: whether the VLAN ID strategy that goes out of judging the upper level virtual switch is to increase VLANID or replace VLAN ID, if change step 217, otherwise is to reduce VLAN ID, changes step 218;
Step 217: the selected VLAN of the going out ID of upper level virtual switch and outbound port as going into VLAN ID and inbound port number, and are determined the processing policy of VLAN ID, change step 220;
Step 218: the outbound port that the upper level virtual switch is selected is as inbound port;
Step 219: the peer-to-peer of seeking the upper level virtual switch on the link of having set up from current virtual switch to the source LAN subscriber, with the peer-to-peer virtual switch that finds go into VLAN ID number as the going into VLAN ID number of current virtual switch, and determine the processing policy of VLAN ID;
Step 220: with the purpose LAN subscriber encode pairing device port, VLAN ID as outbound port, go out VLAN ID, set up and the purpose user between exchange table entries;
Step 221: virtual circuit is set up and is finished, and finishes.
Describe technical scheme of the present invention in detail below in conjunction with the drawings and specific embodiments.
Be that IV-Switch transmits structure as shown in Figure 3, a kind of data structure of improving the method for the empty exchange of intelligence (IV-Switch) link establishment of the present invention comprises:
IV-Switch transmits KEY that 301:IV-Switch transmits by inbound port number with go into VLAN ID number and constitute, and IV-Switch transmits RESULT result and stores a series of flag bits (increase the VLAN flag bit, reduce the VLAN flag bit) and go out VLAN ID number and outbound port number waits other information;
IV-Switch transmits KEY 302: by inbound port numbers 303 with go into VLAN ID number 304 two parts and constitute, be used to retrieve IV-Switch and transmit;
IV-Switch transmits RESULT 303: store a series of flag bits (increase VLAN flag bit 305, reduce VLAN flag bit 306) and outbound port numbers 307 and go out VLAN ID numbers 308 and wait other information;
Inbound port numbers 303: be used to constitute the KEY value that retrieval IV-Switch transmits;
Go into VLAN ID numbers 304: be used to constitute the KEY value that retrieval IV-Switch transmits;
Increase VLAN flag bit 305: expression need encapsulate one deck VLAN again to packet; If when packet enters be the VLAN message, will form VLAN so and pile up, just form the message format of QINQ encapsulation;
Reduce VLAN flag bit 306: expression need be removed outermost layer VLAN encapsulation to packet; If do not have the VLAN encapsulation when packet enters, do not carry out this operation so;
Outbound port numbers 307: after packet encapsulation becomes new message, send from outbound port 307;
Go out VLAN ID numbers 308: when increasing the new VLAN of one deck and replace VLAN operation (increasing the VLAN flag bit and reducing the VLAN flag bit all is 0), use IV-Switch to go out VLAN ID number new LAN ID number in transmitting as outermost layer VLAN encapsulation, if go out VLAN ID strategy is to reduce VLAN ID, does not need VLAN ID so.
As shown in Figure 4, using the present invention carries out the handling process that message transmits and comprises under port mode:
Step 401: data fetch packet inbound port number and packet outermost layer VLAN ID number;
Step 402: search IV-Switch ID number with packet inbound port number and outermost layer VLAN and transmit;
Step 403: it is effective to increase the VLAN flag bit, changes step 404, otherwise changes step 406;
Step 404: get the IV-Switch that matches and transmit new VLAN ID number that deposits in the clauses and subclauses;
Step 405: transmit in the clauses and subclauses new VLAN ID number with the IV-Switch that matches and encapsulate the new VLAN of one deck again, change step 411 in the outside of packet; If when packet enters be the VLAN message, will form VLAN so and pile up, just form the message format of QINQ encapsulation;
Step 406: it is effective to reduce the VLAN flag bit, changes step 409, otherwise changes step 407;
Step 407: get the IV-Switch that matches and transmit new VLAN ID number that deposits in the clauses and subclauses;
Step 408:, change step 411 with VLAN ID number of transmitting new VLAN ID replacement data bag outermost layer VLAN encapsulation in the clauses and subclauses of the IV-Switch that matches;
Step 409: going into packet is the VLAN encapsulated message, changes step 410, otherwise changes step 411;
Step 410: the outermost layer VLAN encapsulation of packet is removed or cancellation;
Step 411: transmit from the IV-Switch that matches and to obtain outbound port the clauses and subclauses;
Step 412: the new data packets after encapsulation finished sends from the outbound port that the IV-Switch that matches transmits clauses and subclauses;
Step 413: finish.
Adopt the present invention to realize actual networking application shown in Figure 1 below.
IV-Switch equipment 101 is source virtual switches, and IV-Switch equipment 103 is purpose virtual switches.IV-Switch equipment 101 is transmitted for client A-1 and client B-1 set up following IV-Switch respectively:
(a1), (inbound port 104 is gone into VLAN (1~4095), increases VLAN sign=1, reduces VLAN sign=0, and outbound port 106 goes out VLAN ID=1);
(a2), (inbound port 105 is gone into VLAN (1~4095), increases VLAN sign=1, reduces VLAN sign=0, and outbound port 106 goes out VLAN ID=2);
IV-Switch equipment 102 is set up following IV-Switch and is transmitted:
(b1), (inbound port 107 is gone into VLAN=1, increases VLAN sign=0, reduces VLAN sign=0, and outbound port 108 goes out VLAN ID=1);
(b2), (inbound port 107 is gone into VLAN=2, increases VLAN sign=0, reduces VLAN sign=0, and outbound port 108 goes out VLAN ID=2);
IV-Switch equipment 103 is peer-to-peers of IV-Switch equipment 101, IV-Switch equipment 101 is carried out increases VLAN ID strategy, IV-Switch equipment 103 is carried out and is reduced VLAN ID strategy, sets up following IV-Switch and transmit on IV-Switch equipment 103:
(c1), (inbound port 109 is gone into VLAN=1, increases VLAN sign=0, reduces VLAN sign=1, and outbound port 110 goes out VLAN ID=NULL);
(c2), (inbound port 109 is gone into VLAN=2, increases VLAN sign=0, reduces VLAN sign=1, and outbound port 111 goes out VLAN ID=NULL);
The data flow of client A-1 enters into after the IV-Switch equipment 101, be increased one deck VLAN ID=1, form the message of QINQ encapsulation, and backbone network IV-Switch equipment 102 is passed through in the outside VLAN ID encapsulation with VLAN ID=1, arrive purpose virtual switch IV-Switch equipment 103, on IV-Switch equipment 103, the data flow of client A-1 is removed the outside VLAN ID that is used to pass through backbone network that is increased, revert to original data flow from the flow intercommunication of port one 10 with client A-2.
Similarly, the data flow of client B-1 enters into after the IV-Switch equipment 101, be increased one deck VLAN ID=2, form the message of QINQ encapsulation, and backbone network IV-Switch equipment 102 is passed through in the outside VLAN ID encapsulation with VLAN ID=2, arrive purpose virtual switch IV-Switch equipment 103, on IV-Switch equipment 103, the data flow of client B-1 is removed the outside VLAN ID that is used to pass through backbone network that is increased, revert to original data flow from the flow intercommunication of port one 11 with client B-2.
On the port one 06 of IV-Switch equipment 101, only used two VLAN ID (1 and 2) just with the intercommunication of the flow success of client A and client B, therefore, from above realization flow as can be seen, the VLAN scope resource that adopts the present invention to save backbone network has effectively enlarged backbone network VLAN scope.
In addition, employing the present invention also can be so that very convenient to the management of network traffics.From above implementation procedure as can be seen, the flow of client A has all been encapsulated a VLANID=1 after entering backbone network at skin, the flow of client B has all been encapsulated a VLAN ID=2 after entering backbone network at skin, like this in backbone network, all can carry out based on VLAN ID=1 the service of client A, and all can carry out based on VLAN ID=2 the service of client B.
At last, adopt the present invention can realize easily that the IV-Switch of stratification uses.
Shown in Figure 5 is the networking application drawing of stratification IV-Switch, suppose that a network is divided into three levels, be respectively: below Access Network (IV-Swithch equipment 514~516), bearer network (IV-Swithch equipment 510~513) and the backbone network (IV-Swithch equipment 501~509), Access Network can be user network.
The flow encapsulation one deck VLAN ID that send on can be to user network on the IV-Switch of Access Network equipment is called " Access Network VLAN ID "; On the IV-Switch of bearer network equipment, can continue encapsulation one deck VLAN ID to the flow that send on the Access Network, be called " bearer network VLAN ID "; On the IV-Switch of backbone network equipment, can encapsulate one deck VLAN ID to the flow that send on the bearer network again, be called " backbone network VLAN ID ".Data flow uses " backbone network VLAN ID " to pass through backbone network, uses " bearer network VLAN ID " to pass through bearer network, uses " Access Network VLAN ID " to pass through Access Network.
To the IV-Switch equipment of same level, can think that the network condition of last layer is transparent.For example, data flow is after bearer network IV-Switch equipment 510 enters backbone network IV-Switch equipment 514, be added into one " backbone network VLAN ID ", through backbone network IV-Switch equipment 515, arrive after the backbone network IV-Switch equipment 516, remove " backbone network VLAN ID ", enter purpose IV-Switch equipment 512 or 513.The entire process process for bearer network IV-Switch equipment 510, can think that top backbone network is transparent so, carries out so just can not considering the network condition of other levels in the IV-Switch deployment on bearer network.Equally, dispose the network condition that does not also need to consider other levels in the IV-Switch at backbone network with above the Access Network, also just realized the IV-Switch networking of stratification, help the large-scale application of IV-Switch technology.
Adopt the method for the invention can solve the problem that existing IV-Switch technology can't satisfy networking application demand shown in Figure 1 effectively, enlarged the practical ranges of IV-Switch, and can be so that the IV-Switch technology has not only fully utilized 4096 VLAN scopes of single port, can also save the VLAN scope resource of backbone network greatly, help backbone network and insert more applications, for the condition that provides is provided extensive Ethernet.
In addition, from described specific embodiment, as can be seen, adopt the present invention can also realize that the IV-Switch of stratification uses so that very convenient to the management of network traffics.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (7)

1. a method of setting up intelligent virtual switching link is applicable to network communication field, it is characterized in that, comprising:
Steps A: determine routing information from the source network user to the purpose network user;
Step B: on each virtual switch in path, set up exchange table entries, this exchange table entries number is an index to go into VLAN ID and inbound port, select port, to going out the processing policy of VLAN ID, and the processing policy that goes out VLAN ID is determined whether needs are selected VLAN ID according to described; And
Step C: with the pairing device port of the purpose network user, VLAN ID as outbound port, go out VLAN ID, set up with the purpose user between exchange table entries, virtual circuit foundation is finished.
2. the method for setting up intelligent virtual switching link according to claim 1 is characterized in that, described exchange table entries comprises: go into VLAN ID, inbound port number, go out VLAN ID processing policy, go out VLANID, outbound port number.
3. the method for setting up intelligent virtual switching link according to claim 1 and 2 is characterized in that, increase VLAN ID, reduce VLAN ID and/or replace VLAN ID the described processing policy that goes out VLAN ID is comprised.
4. the method for setting up intelligent virtual switching link according to claim 3 is characterized in that, described step B further comprises:
Step B1, when described to the processing policy that goes out VLAN ID when increasing VLAN ID, set up a peer-to-peer in path for current virtual switch from current virtual switch to the purpose network user, described peer-to-peer is carried out the strategy of minimizing VLAN ID;
Step B2, when described to the processing policy that goes out VLAN ID when replacing VLAN ID, that chooses a free time from the outbound port of selecting goes out VLAN ID, and according to the inbound port of current virtual switch, go into VLAN ID number and selected outbound port number, go out VLAN ID and to the processing policy that goes out VLAN ID set up and the next stage virtual switch between exchange table entries; And
Step B3, when described to the processing policy that goes out VLAN ID when reducing VLAN ID, according to the inbound port of current virtual switch, go into VLAN ID number and selected outbound port number, to the processing policy that goes out VLAN ID set up and the next stage virtual switch between exchange table entries.
5. the method for setting up intelligent virtual switching link according to claim 4 is characterized in that, described step B2 further comprise the next stage virtual switch with himself as current virtual switch and judge whether himself is the step of purpose virtual switch.
6. the method for setting up intelligent virtual switching link according to claim 5 is characterized in that, if described current virtual switch is not the purpose virtual switch, further comprises the step that goes out VLAN ID number processing policy of judging the upper level virtual switch.
7. the method for setting up intelligent virtual switching link according to claim 6, it is characterized in that, if described upper level virtual switch go out VLAN ID processing policy for increasing VLAN ID number or replacing VLAN ID number, then with the selected VLAN of the going out ID of described upper level virtual switch number and outbound port as going into VLAN ID number and inbound port number; If described upper level virtual switch go out VLAN ID processing policy for reducing VLAN ID number, then with the selected outbound port of described upper level virtual switch number as inbound port number.
CNB2005100864052A 2005-09-12 2005-09-12 Method for building intelligent virtual switching link Expired - Fee Related CN100401721C (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNB2005100864052A CN100401721C (en) 2005-09-12 2005-09-12 Method for building intelligent virtual switching link
PCT/CN2006/002247 WO2007031003A1 (en) 2005-09-12 2006-09-01 Method for building intelligent virtual switching link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100864052A CN100401721C (en) 2005-09-12 2005-09-12 Method for building intelligent virtual switching link

Publications (2)

Publication Number Publication Date
CN1738295A CN1738295A (en) 2006-02-22
CN100401721C true CN100401721C (en) 2008-07-09

Family

ID=36080957

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100864052A Expired - Fee Related CN100401721C (en) 2005-09-12 2005-09-12 Method for building intelligent virtual switching link

Country Status (2)

Country Link
CN (1) CN100401721C (en)
WO (1) WO2007031003A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100461703C (en) * 2006-09-27 2009-02-11 中兴通讯股份有限公司 Intelligent virtual exchange method and system
CN101453665B (en) * 2007-11-29 2012-09-05 华为技术有限公司 Connection switching method, apparatus and system for passive optical network
CN102137007B (en) * 2011-01-17 2014-05-21 华为技术有限公司 Method and system for generating network topology as well as coordinator
CN106161113B (en) * 2016-08-31 2018-12-18 浪潮(北京)电子信息产业有限公司 A kind of the QinQ message processing method and platform of linux system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1125545C (en) * 2001-12-31 2003-10-22 刘军民 Data forwarding method for implementing virtual channel transmission in LAN
CN1538682A (en) * 2003-04-17 2004-10-20 刘军民 Method for establishing virtual circuit
US20050013306A1 (en) * 2003-07-15 2005-01-20 Albrecht Alan Ray Output port based double Q tagging
CN1652542A (en) * 2004-02-07 2005-08-10 华为技术有限公司 Method for implement virtual leased line

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6188691B1 (en) * 1998-03-16 2001-02-13 3Com Corporation Multicast domain virtual local area network
US6266705B1 (en) * 1998-09-29 2001-07-24 Cisco Systems, Inc. Look up mechanism and associated hash table for a network switch
CN1129272C (en) * 2000-12-15 2003-11-26 华为技术有限公司 Virtual local area network access method in ethernet access network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1125545C (en) * 2001-12-31 2003-10-22 刘军民 Data forwarding method for implementing virtual channel transmission in LAN
CN1538682A (en) * 2003-04-17 2004-10-20 刘军民 Method for establishing virtual circuit
US20050013306A1 (en) * 2003-07-15 2005-01-20 Albrecht Alan Ray Output port based double Q tagging
CN1652542A (en) * 2004-02-07 2005-08-10 华为技术有限公司 Method for implement virtual leased line

Also Published As

Publication number Publication date
CN1738295A (en) 2006-02-22
WO2007031003A1 (en) 2007-03-22

Similar Documents

Publication Publication Date Title
KR101989333B1 (en) Data forwarding method, device and system in software-defined networking
US7792100B2 (en) User MAC frame transfer method edge transfer device, and program
US8594086B2 (en) Packet diversion method and deep packet inspection device
CN100461732C (en) Ethernet technology switching and forwarding method, system and equipment
CN1866919B (en) Service switching method based on VLAN stack
CN1199400C (en) Master-standby switching and load sharing system and method based on Ethernet access platform
CN101572669A (en) Transmitting method of VPN message as well as allocating and deleting method of the router marks thereof
CN101237470A (en) A car ground broadband access method based on wireless multi-hop network technology
CN1356806A (en) Data forwarding method for implementing virtual channel transmission in LAN
CN101160838A (en) Method and system for implementing hierarchical virtual private switch service
CN1183726C (en) Network organizing method based on multi protocol label exchange virtual private network
CN103916295B (en) Data transmission method, equipment and gateway
CN100401721C (en) Method for building intelligent virtual switching link
CN101729355B (en) Method for realizing particular virtual local area network and device
CN104009903B (en) Flow forwarding method and device in elastic package circular network
CN102984070B (en) A kind of Ethernet is without the method for numbering Interface realization data retransmission
CN111314223A (en) Routing interface ranking-based forwarding method in NDN (named data networking)
CN105992297A (en) SDN-based connection management and forwarding control method and related equipment
CN102893560B (en) A kind of data flow transmission method and the network equipment
CN100373892C (en) Virtual exchanging method capable of routing
CN100583887C (en) Method of implementing resource control on access layer per VC in L2VPN
CN102594650B (en) Method for processing multicast message and exchange access apparatus
CN106330728B (en) Method, the equipment of standby Designated Router and Designated Router troubleshooting are waited in election
CN102801622A (en) Transmitting method and device for data messages
CN102098729B (en) Construction method and related packet forwarding method for tree backbone structure in wireless network

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080709

Termination date: 20200912