CN109246007A - Active and standby port switching method, storage device and the network equipment of aggregation interface - Google Patents

Active and standby port switching method, storage device and the network equipment of aggregation interface Download PDF

Info

Publication number
CN109246007A
CN109246007A CN201710556523.8A CN201710556523A CN109246007A CN 109246007 A CN109246007 A CN 109246007A CN 201710556523 A CN201710556523 A CN 201710556523A CN 109246007 A CN109246007 A CN 109246007A
Authority
CN
China
Prior art keywords
port
flow entry
currently used
endpoint
aggregation interface
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.)
Pending
Application number
CN201710556523.8A
Other languages
Chinese (zh)
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.)
Shanghai layer peak Network Technology Co., Ltd
Original Assignee
Hangzhou Da Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Da Technology Co Ltd filed Critical Hangzhou Da Technology Co Ltd
Priority to CN201710556523.8A priority Critical patent/CN109246007A/en
Publication of CN109246007A publication Critical patent/CN109246007A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing

Landscapes

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

Abstract

The invention discloses active and standby port switching method, storage device and the network equipments of aggregation interface, the method comprise the steps that first port is preset as main port in multiple ports of aggregation interface, second port is preset as standby port;In the matching domain of the currently used flow entry of endpoint interchanger, main port is identified as first port;The current port state information of main port is obtained in real time;When the state of main port is DOWN, what the currently used flow entry for updating endpoint interchanger made main port in the matching domain of currently used flow entry is identified as second port.The present invention, by obtaining the port status information of the currently used flow entry of endpoint interchanger in real time, can know whether the main port of aggregation interface breaks down, after constructing aggregation interface for Virtual Private Line so as to timely carry out the switching of active and standby port.

Description

Active and standby port switching method, storage device and the network equipment of aggregation interface
Technical field
The present invention relates to computer field, more particularly to the active and standby port switching method of aggregation interface, storage device and The network equipment.
Background technique
Software defined network (Software Defined Network, SDN), is a kind of new network of Emulex network innovation framework, Core technology OpenFlow can separate network equipment control plane with data surface, and the network architecture is made to get rid of the control of hardware System, to realize the flexible control of network flow, provides good platform for the innovation of core network and application.
Specifically, it is based on SDN, enterprise can modify to the network architecture as upgrading, install software, to expire Adjustment, dilatation or upgrading of the sufficient enterprise for entire web site architecture, and the entities such as interchanger, router as bottom hardware are set It is standby then without replacement, in this way, not only saving a large amount of cost, while network architecture iteration cycle will also greatly shorten.
The principle of OpenFlow includes, and each network equipment safeguards a flow table (FlowTable) respectively in SDN, and according to In flow table the record of corresponding list item as data forwarding foundation;And flow table generation, maintenance update and issue, be by Controller (Controller) in SDN is realized.
Virtual network (VLL) based on SDN, and Virtual Private Line, in particular to network operator can be referred to as using now Some internets provide the network tunnel of high speed for enterprise;By the Virtual Private Line, enterprise can be made to realize intercity mutual Connection, or the interconnection across cloud, such as AWS(Amazon cloud) and Ali's cloud between interconnection.
The network tunnel of Virtual Private Line includes multiple internetwork devices of approach, constitutes a network special line;It constitutes virtual special In the internetwork device of line, the port positioned at the internetwork device at Virtual Private Line both ends can be referred to as endpoint, specifically, can To include starting point endpoint and destination terminal endpoint, wherein starting point endpoint refer to data Virtual Private Line into Mouth end, destination terminal endpoint refer to data in the outlet end of Virtual Private Line;Since the data flow of Virtual Private Line is two-way, institute It according to the flow directions of data is not both that can be interchanged with the starting point endpoint of each Virtual Private Line and destination terminal endpoint 's.
It in the prior art, can be by the corresponding correspondent user device of two or more endpoint, that is, pass through structure The mode of aggregation interface is built to guarantee the high availability of Virtual Private Line.
Inventors have found that in the prior art, in the aggregation interface at least having the following deficiencies: Virtual Private Line, needing multiple When port needs to be in activity pattern, it just can ensure that and also ensure the available of Virtual Private Line in the case where a certain port failure Property, to cause when accessing the network interface card of SDN switch of side is active-standby mode, the link aggregation mode of SDN switch can not Meet and uses.
Summary of the invention
It is main in aggregation interface the technical problem to be solved by the present invention is to realize how in the environment of link aggregation mode The switching of standby port, specific:
The embodiment of the invention provides a kind of active and standby port switching methods of aggregation interface, comprising steps of
Aggregation interface is constructed for Virtual Private Line, the aggregation interface includes multiple ports;
In multiple ports of the aggregation interface, first port is preset as main port, second port is preset as spare Port;
In the matching domain of the currently used flow entry of endpoint interchanger, main port is identified as the first port;
The current port state information of the main port is obtained in real time;
When the state of the main port is DOWN, by updating the currently used flow entry of the endpoint interchanger, Make main port in the matching domain of the currently used flow entry is identified as the second port.
It is preferably, in embodiments of the present invention, described to construct aggregation interface for Virtual Private Line, comprising:
The quantity of the endpoint interchanger is one, and the port of multiple network interface cards by binding the endpoint interchanger constructs institute State aggregation interface.
Preferably, in embodiments of the present invention, the building aggregation interface, comprising:
The port of multiple network interface cards of the endpoint interchanger can be set to that the same endpoint of the Virtual Private Line, with many-one Mode the port of multiple network interface cards is corresponded into the same user equipment.
It is preferably, in embodiments of the present invention, described to construct aggregation interface for Virtual Private Line, comprising:
By binding the port being divided into multiple endpoint interchangers, the aggregation interface is constructed;
The mode for constructing the aggregation interface specifically includes:
The port of multiple endpoint interchangers can be set to that the same endpoint of the Virtual Private Line, in a manner of many-to-one, The port of multiple endpoint interchangers is corresponded into the same user equipment.
Preferably, in embodiments of the present invention, described by updating the currently used flow entry, make described currently used Main port is identified as the second port in the matching domain of flow entry, comprising:
The building spare flow entry corresponding with the currently used flow entry in flow table, in the matching domain of the spare flow entry Main port is identified as the second port;
By the way that the former spare flow entry is switched to currently used flow entry, the currently used flow entry is updated.
Preferably, in embodiments of the present invention, described by the way that the former spare flow entry is switched to currently used flow table , update the currently used flow entry, comprising:
The currently used flow entry and the spare flow entry are equipped with precedence field;The currently used flow entry it is excellent First grade is higher than the priority of the spare flow entry;
By adjusting the parameter of the precedence field, the former spare flow entry is switched to currently used flow entry.
In the another side of the embodiment of the present invention, a kind of storage device is additionally provided, the storage device includes instruction set, Described instruction collection is suitable for being loaded and being executed by processor:
Aggregation interface is constructed for Virtual Private Line, the aggregation interface includes multiple ports;
In multiple ports of the aggregation interface, first port is preset as main port, second port is preset as spare Port;
In the matching domain of the currently used flow entry of endpoint interchanger, main port is identified as the first port;
The current port state information of the main port is obtained in real time;
When the state of the main port is DOWN, by updating the currently used flow entry of the endpoint interchanger, Make main port in the matching domain of the currently used flow entry is identified as the second port.
Preferably, in embodiments of the present invention, described by updating the currently used flow entry, make described currently used Main port is identified as the second port in the matching domain of flow entry, comprising:
The building spare flow entry corresponding with the currently used flow entry in flow table, in the matching domain of the spare flow entry Main port is identified as the second port;
By the way that the former spare flow entry is switched to currently used flow entry, the currently used flow entry is updated.
In the another side of the embodiment of the present invention, a kind of network equipment based on SDN, including processor are additionally provided, and, it deposits Storage device;The storage device includes instruction set, and described instruction collection is suitable for being loaded and being executed by processor:
Aggregation interface is constructed for Virtual Private Line, the aggregation interface includes multiple ports;
In multiple ports of the aggregation interface, first port is preset as main port, second port is preset as spare Port;
In the matching domain of the currently used flow entry of endpoint interchanger, main port is identified as the first port;
The current port state information of the main port is obtained in real time;
When the state of the main port is DOWN, by updating the currently used flow entry of the endpoint interchanger, Make main port in the matching domain of the currently used flow entry is identified as the second port.
During the present invention is implemented, after constructing aggregation interface for Virtual Private Line, by obtaining the current institute of endpoint interchanger in real time With the port status information of flow entry, it can know whether the main port of aggregation interface breaks down, so as to timely Carry out the switching of active and standby port;In addition, in embodiments of the present invention, it is currently used by updating for carrying out the switching of active and standby port The mode of flow entry, the mark of main port is updated in the matching domain to make currently used flow entry, so as to will be empty What the former standby port of quasi- special line can be convenient switches to master state.
It further, in embodiments of the present invention, can also be standby by being arranged in the flow table issued to endpoint interchanger With the mode of flow entry, to improve the switching efficiency of active and standby port;Specifically, in the flow table issued to endpoint interchanger, Including currently used primary flow entry for spare spare flow entry, wherein will in the matching domain of primary flow entry First port as preferred port is identified as main port;By the second of non-preferred port in the matching domain of spare flow entry Port-mark is main port;The priority level of primary flow entry is higher than spare flow entry, so primary flow entry comes into force, virtually First port is current main port in the aggregation interface of special line;When first port breaks down, only pass through flow entry The adjustment of priority makes the priority of former spare flow entry be higher than former primary flow entry, then active and standby flow table item can be realized Switching, thus by second port be identified as main port flow entry adjust for primary flow entry;Due to through the invention Embodiment, it is only necessary to which the switching of active and standby port can be realized in the priority for adjusting flow entry, can save and re-issue flow table Time, it is possible to the effective efficiency for improving port switching.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The some embodiments recorded in application, for those of ordinary skill in the art, without creative efforts, It is also possible to obtain other drawings based on these drawings.
Fig. 1 is the step schematic diagram of the active and standby port switching method of aggregation interface described herein;
Fig. 2 is the structural schematic diagram of aggregation interface described herein;
Fig. 3 is the structural schematic diagram of the network equipment described herein based on SDN.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only this Invention a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art exist Every other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
In order to realize the switching of active and standby port in aggregation interface, the embodiment of the present invention in the environment of link aggregation mode A kind of active and standby port switching method of aggregation interface is provided, as shown in Figure 1, comprising steps of
S11, aggregation interface is constructed for Virtual Private Line, the aggregation interface includes multiple ports;
The application scenarios of the embodiment of the present invention are SND network, since SND network itself only defines control plane and forwarding surface Separation relation is not defined in network application for highly reliable, high availability implementation method, so, when real network is answered When using multi-endpoint to access (aggregation interface) and need active/standby mode with middle needs, SDN network equipment itself is to be unable to complete Such demand.
In this step, the mode for constructing aggregation interface can be specifically based on using the usual manner of this field For the port Port(in openflow standard) all types of definition, wherein be included in logical port(logic port) In define aggregation interface.
In practical applications, the SDN switch in Virtual Private Line both ends can be referred to as endpoint interchanger, according to polymerization The difference of the mode of interface building, an aggregation interface can also be based on multiple ends based on an endpoint interchanger building Point interchanger building, specifically:
One, aggregation interface are based on the building of endpoint interchanger, an endpoint interchanger may include there are two network interface card, lead to It crosses and binds two network interface cards, the port of two network interface cards is made to correspond to same user equipment;In this way, coming for the user equipment It says, the recipient that data are sent is an aggregation interface, should specifically be received by which port, the user equipment It does not need to be concerned about.As shown in Fig. 2, the internetwork device of the Virtual Private Line between user equipment 11 and user equipment 12 includes endpoint Interchanger 21 and endpoint interchanger 22, and control of the internetwork device in the Virtual Private Line by SND controller 10;Wherein, it holds Two ports (port 31 and port 32) included by point interchanger 21 are configured to aggregation interface;User equipment 11 is carrying out data When transmission, user equipment 11 sends data to endpoint interchanger 21 by all means, endpoint interchanger 21 according to SDN controller 10 under Which port is flow entry in the flow table of hair be come the main port for determining data, and carries out data by the main port It receives.
Secondly, aggregation interface be also based on the building of multiple endpoint interchangers, for aggregation interface, each endpoint is handed over Change planes makes the port of multiple network interface cards correspond to same use including a network interface card by binding the port of multiple network interface cards Family equipment;In this way, the recipient that data are sent is an aggregation interface for the user equipment, it specifically should be by which The port of one endpoint interchanger is received, which does not need to be concerned about.
S12, in multiple ports of the aggregation interface, first port is preset as main port, second port is pre- It is set as standby port;
In embodiments of the present invention, the flow table issued according to SND controller is first had to determine which of aggregation interface Port is main port, which port is standby port;It should be noted that the first port in the embodiment of the present invention or Two-port netwerk is intended merely to distinguish port, is not used to the sequence of port;In addition it is also necessary to explanation, when the end of aggregation interface When mouth number is two, the quantity of first port and second port is one;When the quantity of aggregation interface middle port is greater than two When, the port number of second port will be two or two or more.
S13, in the matching domain of the currently used flow entry of endpoint interchanger, main port is identified as the first end Mouthful;
It, will be currently used in flow table when SDN controller has determined which of aggregation interface port is main port In the matching domain of flow entry, main port is identified as the port.At this point, the data of user equipment can by the main port into Row receives.
In embodiments of the present invention, currently used flow entry refers to endpoint interchanger to forward flow table used in data , that is, endpoint flow entry carries out the forwarding of data according to the record of the current flow entry.
S14, the current port state information for obtaining the main port in real time;
In practical applications, according to the port status information (port status message) in flow table, it can be found that current The case where UP/DOWN of main port, in this manner it is possible to be monitored in real time to main port.
S15, when the state of the main port is DOWN, pass through and update the described currently used of the endpoint interchanger Flow entry, make main port in the matching domain of the currently used flow entry is identified as the second port.
When current main port is that (e.g., the preset state is when the state of port status information is to preset state When DOWN), it can know that failure has occurred in the main port;In embodiments of the present invention, when the state of main port is DOWN When (that is, breaking down), need timely to update currently used flow entry;Specifically, SDN controller can issue new flow table As currently used flow entry, in new currently used flow entry, main port is identified as described the in matching domain Two-port netwerk;In this manner it is possible to carry out transmitting for data by normally functioning second port.
Preferably, in embodiments of the present invention, spare flow entry can also be previously provided in flow table, in spare flow entry In, main port is identified as the second port in matching domain.In precedence field (e.g., the uint16_t of flow entry Priority field) in, the priority of currently used flow table is set above spare flow entry, in this way, in former main port When (first port) function is normal, according to currently used flow entry (main port is identified as the first port in matching domain) Carry out the forwarding of data, that is, the transmission of data is carried out by first port;When first port breaks down, by adjusting original The two flow entrys can be carried out the exchange of identity by the priority of currently used flow entry and/or former spare flow entry, that is, By the currently used flow entry of former spare 1 flow entry upgrading, former currently used flow entry is converted into spare flow entry, or, Former currently used flow entry is recycled.At this point, in new currently used flow entry, the mark of main port in matching domain For the second port;In this manner it is possible to carry out transmitting for data by normally functioning second port.
In practical applications, the instruction for carrying out flow entry and carrying out priority adjustment can be sent by SDN controller;In this hair In bright embodiment, by using the mode of setting backup flow entry, so that in the renewal process for carrying out flow entry, without again Flow entry is issued, as long as the priority level of modification flow entry;So the speed of port switching can be effectively promoted, And then reduce the negative effect of port switching bring.
In conclusion in present invention implementation, after constructing aggregation interface for Virtual Private Line, by obtaining endpoint exchange in real time The port status information of the currently used flow entry of machine, can know whether the main port of aggregation interface breaks down, so as to Timely to carry out the switching of active and standby port;In addition, in embodiments of the present invention, the switching for carrying out active and standby port is to pass through update The mode of currently used flow entry, the mark of main port is updated in the matching domain to make currently used flow entry, thus Master state can be switched to by what the former standby port of Virtual Private Line can be convenient.
It further, in embodiments of the present invention, can also be standby by being arranged in the flow table issued to endpoint interchanger With the mode of flow entry, to improve the switching efficiency of active and standby port;Specifically, in the flow table issued to endpoint interchanger, Including currently used primary flow entry for spare spare flow entry, wherein will in the matching domain of primary flow entry First port as preferred port is identified as main port;By the second of non-preferred port in the matching domain of spare flow entry Port-mark is main port;The priority level of primary flow entry is higher than spare flow entry, so primary flow entry comes into force, virtually First port is current main port in the aggregation interface of special line;When first port breaks down, only pass through flow entry The adjustment of priority makes the priority of former spare flow entry be higher than former primary flow entry, then active and standby flow table item can be realized Switching, thus by second port be identified as main port flow entry adjust for primary flow entry;Due to through the invention Embodiment, it is only necessary to which the switching of active and standby port can be realized in the priority for adjusting flow entry, can save and re-issue flow table Time, it is possible to the effective efficiency for improving port switching.
In the another side of the embodiment of the present invention, a kind of storage device is additionally provided, the storage device includes instruction set, Described instruction collection is suitable for being loaded and being executed by processor:
Aggregation interface is constructed for Virtual Private Line, the aggregation interface includes multiple ports;
In multiple ports of the aggregation interface, first port is preset as main port, second port is preset as spare Port;
In the matching domain of the currently used flow entry of endpoint interchanger, main port is identified as the first port;
The current port state information of the main port is obtained in real time;
When the state of the main port is DOWN, by updating the currently used flow entry of the endpoint interchanger, Make main port in the matching domain of the currently used flow entry is identified as the second port.
The core concept of the embodiment of the present invention is, after constructing aggregation interface for Virtual Private Line, by obtaining endpoint in real time The port status information of the currently used flow entry of interchanger, can know whether the main port of aggregation interface breaks down, from And it can timely carry out the switching of active and standby port;In addition, in embodiments of the present invention, the switching for carrying out active and standby port is to pass through The mode of currently used flow entry is updated, the mark of main port is updated in the matching domain to make currently used flow entry, Master state is switched to so as to can be convenient the former standby port of Virtual Private Line.
It further, in embodiments of the present invention, can also be standby by being arranged in the flow table issued to endpoint interchanger With the mode of flow entry, to improve the switching efficiency of active and standby port;Specifically, in the flow table issued to endpoint interchanger, Including currently used primary flow entry for spare spare flow entry, wherein will in the matching domain of primary flow entry First port as preferred port is identified as main port;By the second of non-preferred port in the matching domain of spare flow entry Port-mark is main port;The priority level of primary flow entry is higher than spare flow entry, so primary flow entry comes into force, virtually First port is current main port in the aggregation interface of special line;When first port breaks down, only pass through flow entry The adjustment of priority makes the priority of former spare flow entry be higher than former primary flow entry, then active and standby flow table item can be realized Switching, thus by second port be identified as main port flow entry adjust for primary flow entry;Due to through the invention Embodiment, it is only necessary to which the switching of active and standby port can be realized in the priority for adjusting flow entry, can save and re-issue flow table Time, it is possible to the effective efficiency for improving port switching.
It should be noted that in embodiments of the present invention, the active and standby port switching method of aggregation interface corresponding to Fig. 1, It can be implemented in the form of software, that is, by the instruction set being stored in storage device, constituting one can be by handling The software program that device executes.The active and standby port of aggregation interface corresponding to Fig. 1 can be implemented in the instruction set for being stored in storage device Switching method exists due to being stored in the working principle and beneficial effect of the instruction set of storage device in the embodiment of the present invention The active and standby port switching method of aggregation interface corresponding to Fig. 1 has made corresponding record and explanation, and details are not described herein again.
In the another side of the embodiment of the present invention, a kind of network equipment based on SDN is additionally provided, as shown in figure 3, including place Device 01 is managed, and, storage device 02;Wherein the storage device includes instruction set 03, and described instruction collection 03 is suitable for by processor 01 loads and executes:
Aggregation interface is constructed for Virtual Private Line, the aggregation interface includes multiple ports;
In multiple ports of the aggregation interface, first port is preset as main port, second port is preset as spare Port;
In the matching domain of the currently used flow entry of endpoint interchanger, main port is identified as the first port;
The current port state information of the main port is obtained in real time;
When the state of the main port is DOWN, by updating the currently used flow entry of the endpoint interchanger, Make main port in the matching domain of the currently used flow entry is identified as the second port.
In practical applications, the data communication between processor 01 and storage device 02 can be realized by bus 04, Due to the network equipment based on SDN in the embodiment of the present invention, working principle and beneficial effect are poly- corresponding to Fig. 1 The active and standby port switching method of splice grafting mouth, and, make corresponding record and explanation in the embodiment of above-mentioned storage device, because This, details are not described herein again.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided by the embodiment of the present invention, it should be understood that disclosed system, device and side Method may be implemented in other ways.For example, the apparatus embodiments described above are merely exemplary, for example, described The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute Display or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit Indirect coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), ReRAM, MRAM, PCM, NAND Flash, The various media that can store program code such as NOR Flash, Memristor, magnetic or disk.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (9)

1. a kind of active and standby port switching method of aggregation interface, which is characterized in that comprising steps of
Aggregation interface is constructed for Virtual Private Line, the aggregation interface includes multiple ports;
In multiple ports of the aggregation interface, first port is preset as main port, second port is preset as spare Port;
In the matching domain of the currently used flow entry of endpoint interchanger, main port is identified as the first port;
The current port state information of the main port is obtained in real time;
When the state of the main port is DOWN, by updating the currently used flow entry of the endpoint interchanger, Make main port in the matching domain of the currently used flow entry is identified as the second port.
2. active and standby port switching method according to claim 1, which is characterized in that described to be connect for Virtual Private Line building polymerization Mouthful, comprising:
The quantity of the endpoint interchanger is one, and the port of multiple network interface cards by binding the endpoint interchanger constructs institute State aggregation interface.
3. active and standby port switching method according to claim 2, which is characterized in that the building aggregation interface, packet It includes:
The port of multiple network interface cards of the endpoint interchanger can be set to that the same endpoint of the Virtual Private Line, with many-one Mode the port of multiple network interface cards is corresponded into the same user equipment.
4. active and standby port switching method according to claim 1, which is characterized in that described to be connect for Virtual Private Line building polymerization Mouthful, comprising:
By binding the port being divided into multiple endpoint interchangers, the aggregation interface is constructed;
The mode for constructing the aggregation interface specifically includes:
The port of multiple endpoint interchangers can be set to that the same endpoint of the Virtual Private Line, in a manner of many-to-one, The port of multiple endpoint interchangers is corresponded into the same user equipment.
5. active and standby port switching method according to claim 1, which is characterized in that described described currently used by updating Flow entry, make main port in the matching domain of the currently used flow entry is identified as the second port, comprising:
The building spare flow entry corresponding with the currently used flow entry in flow table, in the matching domain of the spare flow entry Main port is identified as the second port;
By the way that the former spare flow entry is switched to currently used flow entry, the currently used flow entry is updated.
6. active and standby port switching method according to claim 5, which is characterized in that described by by the former spare flow table Item is switched to currently used flow entry, updates the currently used flow entry, comprising:
The currently used flow entry and the spare flow entry are equipped with precedence field;The currently used flow entry it is excellent First grade is higher than the priority of the spare flow entry;
By adjusting the parameter of the precedence field, the former spare flow entry is switched to currently used flow entry.
7. a kind of storage device, which is characterized in that the storage device includes instruction set, and described instruction collection is suitable for by processor It loads and executes:
Aggregation interface is constructed for Virtual Private Line, the aggregation interface includes multiple ports;
In multiple ports of the aggregation interface, first port is preset as main port, second port is preset as spare Port;
In the matching domain of the currently used flow entry of endpoint interchanger, main port is identified as the first port;
The current port state information of the main port is obtained in real time;
When the state of the main port is DOWN, by updating the currently used flow entry of the endpoint interchanger, Make main port in the matching domain of the currently used flow entry is identified as the second port.
8. storage device according to claim 7, which is characterized in that it is described by updating the currently used flow entry, Make main port in the matching domain of the currently used flow entry is identified as the second port, comprising:
The building spare flow entry corresponding with the currently used flow entry in flow table, in the matching domain of the spare flow entry Main port is identified as the second port;
By the way that the former spare flow entry is switched to currently used flow entry, the currently used flow entry is updated.
9. a kind of network equipment based on SDN, which is characterized in that including processor, and, as described in any in claim 7 to 8 Storage device.
CN201710556523.8A 2017-07-10 2017-07-10 Active and standby port switching method, storage device and the network equipment of aggregation interface Pending CN109246007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710556523.8A CN109246007A (en) 2017-07-10 2017-07-10 Active and standby port switching method, storage device and the network equipment of aggregation interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710556523.8A CN109246007A (en) 2017-07-10 2017-07-10 Active and standby port switching method, storage device and the network equipment of aggregation interface

Publications (1)

Publication Number Publication Date
CN109246007A true CN109246007A (en) 2019-01-18

Family

ID=65083371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710556523.8A Pending CN109246007A (en) 2017-07-10 2017-07-10 Active and standby port switching method, storage device and the network equipment of aggregation interface

Country Status (1)

Country Link
CN (1) CN109246007A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235192A (en) * 2020-10-10 2021-01-15 盛科网络(苏州)有限公司 Linkagg port switching method for stacking equipment and Linkagg-based stacking equipment
CN113630265A (en) * 2021-06-30 2021-11-09 济南浪潮数据技术有限公司 Virtual network redundancy backup method and device based on intelligent network card

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299718A (en) * 2008-06-13 2008-11-05 华为技术有限公司 Port switching method, network equipment and network system
CN101547082A (en) * 2009-04-22 2009-09-30 华为技术有限公司 Active/standby link switching method and network device
CN104301146A (en) * 2014-10-23 2015-01-21 杭州华三通信技术有限公司 Link switching method and device in software defined network
CN104468358A (en) * 2013-09-25 2015-03-25 杭州华三通信技术有限公司 Message forwarding method and device of distributive virtual switch system
CN104639464A (en) * 2015-01-09 2015-05-20 盛科网络(苏州)有限公司 System and method for realizing cross-interchanger link aggregation on OpenFlow interchanger
CN104917678A (en) * 2015-06-02 2015-09-16 上海斐讯数据通信技术有限公司 SDN(software defined networking)-based link aggregation method
CN106059822A (en) * 2016-06-29 2016-10-26 杭州华三通信技术有限公司 Configuration information issuing method and device
CN106453074A (en) * 2016-10-21 2017-02-22 杭州华三通信技术有限公司 Switching method and apparatus
CN106612191A (en) * 2015-10-22 2017-05-03 中国电信股份有限公司 Disaster recovery method and system of service chain and guarantee center
CN106789264A (en) * 2016-12-26 2017-05-31 北京东土军悦科技有限公司 The method and apparatus that a kind of link aggregation group passage is switched fast

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299718A (en) * 2008-06-13 2008-11-05 华为技术有限公司 Port switching method, network equipment and network system
CN101547082A (en) * 2009-04-22 2009-09-30 华为技术有限公司 Active/standby link switching method and network device
CN104468358A (en) * 2013-09-25 2015-03-25 杭州华三通信技术有限公司 Message forwarding method and device of distributive virtual switch system
CN104301146A (en) * 2014-10-23 2015-01-21 杭州华三通信技术有限公司 Link switching method and device in software defined network
CN104639464A (en) * 2015-01-09 2015-05-20 盛科网络(苏州)有限公司 System and method for realizing cross-interchanger link aggregation on OpenFlow interchanger
CN104917678A (en) * 2015-06-02 2015-09-16 上海斐讯数据通信技术有限公司 SDN(software defined networking)-based link aggregation method
CN106612191A (en) * 2015-10-22 2017-05-03 中国电信股份有限公司 Disaster recovery method and system of service chain and guarantee center
CN106059822A (en) * 2016-06-29 2016-10-26 杭州华三通信技术有限公司 Configuration information issuing method and device
CN106453074A (en) * 2016-10-21 2017-02-22 杭州华三通信技术有限公司 Switching method and apparatus
CN106789264A (en) * 2016-12-26 2017-05-31 北京东土军悦科技有限公司 The method and apparatus that a kind of link aggregation group passage is switched fast

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235192A (en) * 2020-10-10 2021-01-15 盛科网络(苏州)有限公司 Linkagg port switching method for stacking equipment and Linkagg-based stacking equipment
CN113630265A (en) * 2021-06-30 2021-11-09 济南浪潮数据技术有限公司 Virtual network redundancy backup method and device based on intelligent network card
CN113630265B (en) * 2021-06-30 2023-04-07 济南浪潮数据技术有限公司 Virtual network redundancy backup method and device based on intelligent network card

Similar Documents

Publication Publication Date Title
CN106301876B (en) Physical machine upgrade method, business migration method and device
CN104025513B (en) Apparatus and method for the control level in data center network
CN101304340B (en) Method and apparatus for monitoring resource condition as well as communication network
CN111245747B (en) Networking method for data center network and data center network
CN103002065A (en) Method and device for sharing internet protocol (IP) address by host device and standby device
CN103368768A (en) Automatically scaled network overlay with heuristic monitoring in hybrid cloud environment
CN106664216A (en) Method and apparatus for switching vnf
CN105791175A (en) Method and equipment for controlling transmission resources in software defined network SDN
CN104243196A (en) Virtual network mapping protection method and system under SDN architecture
CN106302076B (en) Method and system for establishing VXLAN tunnel and SDN controller
WO2017113929A1 (en) Method and controller for controlling forwarding device cluster in software-defined networking
EP3213441B1 (en) Redundancy for port extender chains
CN109587286A (en) A kind of equipment connection control method and device
CN106385330B (en) A kind of implementation method and device of network function virtualization composer
CN106452873A (en) Control method, control device and processor in software defined network
CN106911597A (en) A kind of board-spanning forwarding method and apparatus
CN104518995B (en) Interchanger virtualization system based on distributed structure/architecture
CN109450707A (en) A kind of data transmission method, device, gateway and readable storage medium storing program for executing
CN106576260A (en) Policy coordination method and apparatus in NFV system
CN109246007A (en) Active and standby port switching method, storage device and the network equipment of aggregation interface
CN107547374A (en) One kind polymerization reason treating method and apparatus
CN110011912A (en) Case type switching equipment uplink switching method and device
US20240049102A1 (en) State pooling for stateful re-homing in a disaggregated radio access network
CN114124667A (en) Dual-network-port redundancy backup method and system
CN107579850B (en) Wired and wireless hybrid networking method based on SDN control for cloud data center

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200324

Address after: 200040 room 1013, No. 250, JIANGCHANG Third Road, Jing'an District, Shanghai

Applicant after: Shanghai layer peak Network Technology Co., Ltd

Address before: 310012 506, room 4, 998 West Wen Yi Road, Wuchang Street, Hangzhou, Zhejiang.

Applicant before: HANGZHOU DAHU TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20190118

RJ01 Rejection of invention patent application after publication