CN106603739B - A kind of configuration method, apparatus and system - Google Patents

A kind of configuration method, apparatus and system Download PDF

Info

Publication number
CN106603739B
CN106603739B CN201611089678.7A CN201611089678A CN106603739B CN 106603739 B CN106603739 B CN 106603739B CN 201611089678 A CN201611089678 A CN 201611089678A CN 106603739 B CN106603739 B CN 106603739B
Authority
CN
China
Prior art keywords
sdn
access device
message
management
sdn access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611089678.7A
Other languages
Chinese (zh)
Other versions
CN106603739A (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.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom 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 Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN201611089678.7A priority Critical patent/CN106603739B/en
Publication of CN106603739A publication Critical patent/CN106603739A/en
Application granted granted Critical
Publication of CN106603739B publication Critical patent/CN106603739B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • 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
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames

Landscapes

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

Abstract

Disclosed herein is a kind of configuration methods, apparatus and system;A kind of configuration method is applied to SDN controller, comprising: SDN controller receives the DHCP request message that the first SDN access device is issued by the 2nd SDN access device that the first Openflow protocol message transmits;In DHCP request of the confirmation without processed 2nd SDN access device, the management passage between the first SDN access device and the 2nd SDN access device is established in control.Above-mentioned configuration method can be avoided management passage cyclization.

Description

A kind of configuration method, apparatus and system
Technical field
The present invention relates to network communication technology more particularly to a kind of configuration methods, apparatus and system.
Background technique
SDN (Software Defined Network, software defined network) is as a kind of novel network architecture, core The heart is forwarding and control separation, the centralized control for realizing network, fast deployment.Under SDN framework, controls and moved on in plane SDN controller, SDN equipment carry out message forwarding according to the instruction of SDN controller.
SDN network is divided into access, convergence and core layer.Since SDN access device quantity is relatively more, situ configuration is time-consuming to take Power, the general zero configuration for using network management path, SDN equipment accesses SDN network can be by SDN controller management.Wherein, dynamic is main Machine configuration protocol (DHCP, Dynamic Host Configuration Protocol) may be implemented to dynamically distribute network protocol The address (IP, Internet Protocol) is to client, and transmitting configuration parameter is to client.
However, traditional DHCP zero configuration does not account for the situation of equipment cyclization, or need STP (Spanning Tree Protocol, Spanning-Tree Protocol) etc. complex protocols it is cyclic to solve the problems, such as.And SDN access device is only responsible for message forwarding, does not have The complex protocols such as STP cause the SDN network under cyclic access topology to there is a problem of management passage cyclization.
Summary of the invention
It is the general introduction to the theme being described in detail herein below.This general introduction is not the protection model in order to limit claim It encloses.
The embodiment of the present invention provides a kind of configuration method, apparatus and system, opens equipment room by the participation of SDN controller Management passage, to avoid management passage cyclic.
The embodiment of the present invention provides a kind of configuration method, is applied to SDN controller, and the configuration method includes:
SDN controller receives the 2nd SDN access that the first SDN access device is transmitted by the first Openflow protocol message The DHCP request message that equipment issues;
In DHCP request of the confirmation without processed 2nd SDN access device, control establish the first SDN access device with Management passage between 2nd SDN access device.
Wherein, the SDN controller control in the following manner establish the first SDN access device and the 2nd SDN access set Management passage between standby:
The first configuration information is issued to the first SDN access device, first configuration information is used to indicate the first SDN access Management VLAN is added in the port that equipment will receive the DHCP request message of the 2nd SDN access device.
Wherein, the SDN controller receives that the first SDN access device is transmitted by the first Openflow protocol message Before the DHCP request message that two SDN access devices issue, the configuration method further include:
The SDN controller receives what SDN convergence device was issued by the first SDN access device that management passage transmits DHCP request message;
According to the DHCP request message of the first SDN access device, management IP address is distributed to the first SDN access device, and The first dhcp response message is returned, so that the first SDN access device is after receiving the first dhcp response message, configuration management IP, And management VLAN is added in the port for receiving the first dhcp response message, and establish and SDN controller by management passage Openflow connection.
Wherein, the control is established after the management passage between the first SDN access device and the 2nd SDN access device, The configuration method further include:
The SDN controller receives the first SDN access device and is issued by the 2nd SDN access device that management passage transmits DHCP request message;
According to the DHCP request message of the 2nd SDN access device directly transmitted by management passage, accessed to the 2nd SDN Equipment distributes management IP address, and returns to the second dhcp response message, so that the 2nd SDN access device is receiving the 2nd DHCP sound After answering message, management VLAN is added in the port for receiving the second dhcp response message by configuration management IP address, and logical by management Road foundation is connect with the Openflow of SDN controller.
Wherein, the configuration method further include:
The SDN controller receives described that the 3rd SDN access device is transmitted by the first Openflow protocol message The reconnect application message that two SDN access devices issue;Wherein, the reconnect application message is accessed by the 2nd SDN Equipment detect with SDN controller lost contact scheduled duration, and by itself all of the port from management VLAN in remove after issue 's;
When confirmation is requested without processing the reconnect of the 2nd SDN access device, control is established the 2nd SDN access and is set The standby management passage between the 3rd SDN access device.
Wherein, the SDN controller control in the following manner establish the 2nd SDN access device and the 3rd SDN access set Management passage between standby:
The second configuration information is issued to the 3rd SDN access device, second configuration information is used to indicate the 3rd SDN access Management VLAN is added in the port for the reconnect application message for receiving the 2nd SDN access device by equipment.
Wherein, the control is established after the management passage between the 2nd SDN access device and the 3rd SDN access device, The configuration method further include:
The SDN controller is sent by the 2nd Openflow protocol message and reconnects confirmation message, so that the 2nd SDN Access device will receive the port addition management VLAN for reconnecting confirmation message after receiving reconnect confirmation message, And the management passage by re-establishing re-establishes Openflow with SDN controller and connect.
Wherein, the first Openflow protocol message includes Packet in message.
Wherein, the configuration method further include: confirm processed 2nd SDN access device in the SDN controller When DHCP request, the DHCP request message is not handled.
The embodiment of the present invention also provides a kind of configuration method, is applied to the first SDN access device, the configuration method packet It includes:
After first SDN access device receives the DHCP request message of the 2nd SDN access device sending, pass through first Openflow protocol message sends the DHCP request message to SDN controller;
The first configuration information issued according to SDN controller, will receive the DHCP request message of the 2nd SDN access device Management VLAN is added in port.
Wherein, the first Openflow protocol message that passes through is by the DHCP request message of the 2nd SDN access device Before sending SDN controller to, the configuration method further include:
The first SDN access device issues DHCP request message, wherein the DHCP request report of the first SDN access device Text sends SDN controller to by management passage by SDN convergence device;
After the first dhcp response message for receiving the return of SDN controller, configuration management IP address will receive first Management VLAN is added in the port of dhcp response message, and is established by management passage and connect with the Openflow of SDN controller.
Wherein, first configuration information issued according to SDN controller, will receive the DHCP of the 2nd SDN access device The port of request message is added after management VLAN, the configuration method further include:
After the first SDN access device receives the DHCP request message of the 2nd SDN access device sending, pass through pipe It transmits the DHCP request message and gives SDN controller in reason channel;
The 2nd SDN access device is sent to by the second dhcp response message that management passage returns to SDN controller, is made The 2nd SDN access device is obtained after receiving the second dhcp response message, configuration management IP address will receive the second dhcp response report Management VLAN is added in the port of text, and is established by management passage and connect with the Openflow of SDN controller.
Wherein, the configuration method further include:
The first SDN access device detect with after SDN controller lost contact scheduled duration, by all of this equipment Port is removed from management VLAN.
Wherein, the first SDN access device by all of the port of this equipment from management VLAN remove after, the configuration Method further include:
The first SDN access device, which issues, reconnects application message;
After receiving the reconnect confirmation message from SDN controller, the end for reconnecting confirmation message will be received Management VLAN is added in mouth, and the management passage by re-establishing re-establishes Openflow with SDN controller and connect.
Wherein, the first Openflow protocol message includes Packet in message.
The embodiment of the present invention also provides a kind of configuration device, is applied to SDN controller, and the configuration device includes:
First receiving module, the transmitted for receiving the first SDN access device by the first Openflow protocol message The DHCP request message that two SDN access devices issue;
First processing module, for receiving the DHCP of the first Openflow protocol message encapsulation in first receiving module After request message, in DHCP request of the confirmation without processed 2nd SDN access device, the first SDN access is established in control Management passage between equipment and the 2nd SDN access device.
Wherein, the first processing module establishes the first SDN access device and second for controlling in the following manner Management passage between SDN access device:
The first configuration information is issued to the first SDN access device, wherein first configuration information is used to indicate first Management VLAN is added in the port that SDN access device will receive the DHCP request message of the 2nd SDN access device.
Wherein, first receiving module is also used to receive the first SDN that SDN convergence device is transmitted by management passage The DHCP request message that access device issues;
The first processing module is also used to the DHCP request message according to the first SDN access device, connects to the first SDN Enter equipment distribution management IP address, and return to the first dhcp response message, so that the first SDN access device is receiving the first DHCP After response message, the port for receiving the first dhcp response message is added management VLAN, and passes through management by configuration management IP address Path Setup is connect with the Openflow of SDN controller.
Wherein, first receiving module is also used to establish between the first SDN access device and the 2nd SDN access device After management passage, receives the DHCP that the 2nd SDN access device that the first SDN access device is transmitted by management passage issues and ask Message is sought,
The first processing module is also used to according to the 2nd SDN access device directly transmitted by management passage DHCP request message distributes management IP address to the 2nd SDN access device, and returns to the second dhcp response message, so that second SDN access device is after receiving the second dhcp response message, configuration management IP address, will receive the end of the second dhcp response message Management VLAN is added in mouth, and is established by management passage and connect with the Openflow of SDN controller.
Wherein, first receiving module is also used to receive the 3rd SDN access device and is disappeared by the first Openflow agreement The reconnect application message that 2nd SDN access device of breath transmission issues;Wherein, reconnect application message is by the Two SDN access devices detect with SDN controller lost contact scheduled duration, and by itself all of the port from management VLAN in remove It issues later;
The first processing module is also used to request in confirmation without processing the reconnect of the 2nd SDN access device When, the management passage between the 2nd SDN access device and the 3rd SDN access device is established in control.
Wherein, the first Openflow protocol message includes Packet in message.
The embodiment of the present invention also provides a kind of configuration device, is applied to the first SDN access device, the configuration device packet It includes: the second receiving module, sending module and Second processing module;
Wherein, the sending module, for receiving the sending of the 2nd SDN access device in second receiving module After DHCP request message, SDN controller to is sent the DHCP request message by the first Openflow protocol message;
The Second processing module, the first configuration information for being issued according to SDN controller, will receive the 2nd SDN and connects Management VLAN is added in the port for entering the DHCP request message of equipment.
Wherein, the sending module is also used to issue the DHCP request message of the first SDN access device, wherein first The DHCP request message of SDN access device sends SDN controller to by management passage by SDN convergence device;
The Second processing module, for receiving the first DHCP of SDN controller return in second receiving module After response message, the port for receiving the first dhcp response message is added management VLAN, and passes through management by configuration management IP address Path Setup is connect with the Openflow of SDN controller.
Wherein, the sending module is also used to the first configuration issued in the Second processing module according to SDN controller Information, the port that will receive the DHCP request message of the 2nd SDN access device are added after management VLAN, receive described second After module receives the DHCP request message of the 2nd SDN access device sending, the DHCP request is transmitted by management passage Message gives SDN controller;
The sending module is also used to transmit by the second dhcp response message that management passage returns to SDN controller To the 2nd SDN access device, so that the 2nd SDN access device is after receiving the second dhcp response message, configuration management IP address, Management VLAN is added in the port for receiving the second dhcp response message, and is established and SDN controller by management passage Openflow connection.
Wherein, the Second processing module is also used to detecting with after SDN controller lost contact scheduled duration, incite somebody to action this The all of the port of equipment is removed from management VLAN.
Wherein, the sending module is also used to all of the port of this equipment in the Second processing module from management After VLAN is removed, issues and reconnect application message;
The Second processing module is also used to receive connecting again from SDN controller in second receiving module After connecing confirmation message, the port for reconnecting confirmation message will be received, management VLAN, and the management by re-establishing is added Channel re-establishes Openflow with SDN controller and connect.
Wherein, the first Openflow protocol message includes Packet in message.
The embodiment of the present invention also provides a kind of configuration system, comprising: SDN controller, the first SDN access device, the 2nd SDN Access device;
The SDN controller, the transmitted for receiving the first SDN access device by the first Openflow protocol message The DHCP request message that two SDN access devices issue does not process the DHCP request of the 2nd SDN access device in confirmation When, the management passage between the first SDN access device and the 2nd SDN access device is established in control.
Wherein, the configuration system further include: SDN convergence device;
Wherein, when the first SDN access device is directly connected to the SDN convergence device, the SDN convergence device is used SDN controller is given in the DHCP request message for transmitting the first SDN access device by management passage;
The SDN controller, is also used to the DHCP request message according to the first SDN access device, sets to the first SDN access Back-up matches management IP address, and returns to the first dhcp response message;
The first SDN access device is also used to after receiving the first dhcp response message, configuration management IP address, will Administrative vlan VLAN is added in the port for receiving the first dhcp response message, and is built by management passage and SDN controller Vertical Openflow connection.
Wherein, the configuration system further include: the 3rd SDN access device, the SDN controller are set with the 3rd SDN access Openflow connection has been established between standby;There are Topology connections between 3rd SDN access device and the 2nd SDN access device;
Wherein, the 2nd SDN access device incite somebody to action oneself for detecting with after SDN controller lost contact scheduled duration Body all of the port is removed from management VLAN, and issues reconnect application message;
The 3rd SDN access device is set for transmitting the 2nd SDN access by the first Openflow protocol message Standby reconnect application message gives SDN controller;
The SDN controller is also used to not process the reconnect request of the 2nd SDN access device in confirmation When, the 3rd SDN access device of Xiang Suoshu issues the second configuration information;
The 3rd SDN access device is also used to that the 2nd SDN access will be received according to second configuration information Management VLAN is added in the port of the reconnect application message of equipment;
The SDN controller is also used to send reconnect confirmation message by the 2nd Openflow protocol message;
The 2nd SDN access device is also used to after receiving and reconnecting confirmation message, will be received and described is connected again Management VLAN is added in the port for connecing confirmation message, and the management passage by re-establishing is re-established with the SDN controller Openflow connection.
The embodiment of the present invention does not use the complex protocols such as STP, by SDN controller participate in substep open SDN equipment it Between management passage, to avoid management passage cyclic, and realize the network management channel (nmc) zero configuration of SDN access device.
Further, after SDN access device lost contact, backup management channel is got through in the participation of SDN controller, realizes management Channel backup.Moreover, since original management passage has failed, it is logical to avoid management after the fault recovery of SDN access device Road cyclization.
Other features and advantage will illustrate in the following description, also, partly become from specification It obtains it is clear that being understood and implementing the application.The purpose of the application and other advantages can be by specifications, right Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide to further understand technical scheme, and constitutes part of specification, with this The embodiment of application is used to explain the technical solution of the application together, does not constitute the limitation to technical scheme.
Fig. 1 is the flow chart for the configuration method that the embodiment of the present invention one provides;
Fig. 2 is the application example schematic diagram one of the configuration method of the embodiment of the present invention one;
Fig. 3 is the application example schematic diagram two of the configuration method of the embodiment of the present invention one;
Fig. 4 is the application example schematic diagram three of the configuration method of the embodiment of the present invention one;
Fig. 5 is the application example schematic diagram four of the configuration method of the embodiment of the present invention one;
Fig. 6 is the application example schematic diagram five of the configuration method of the embodiment of the present invention one;
Fig. 7 is the schematic diagram of configuration device provided by Embodiment 2 of the present invention;
Fig. 8 is the flow chart for the configuration method that the embodiment of the present invention three provides;
Fig. 9 is the schematic diagram for the configuration device that the embodiment of the present invention four provides.
Specific embodiment
The embodiment of the present application is described in detail below in conjunction with attached drawing, it should be understood that embodiments described below is only For instruction and explanation of the application, it is not used to limit the application.
It should be noted that the description and claims of this application and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
It should be noted that each feature in the embodiment of the present application and embodiment can be tied mutually if do not conflicted It closes, within the scope of protection of this application.In addition, though logical order is shown in flow charts, but in certain situations Under, it can be with the steps shown or described are performed in an order that is different from the one herein.
Embodiment one, a kind of configuration method are applied to SDN controller, as shown in Figure 1, comprising:
Step 101:SDN controller receives that the first SDN access device is transmitted by the first Openflow protocol message The DHCP request message that two SDN access devices issue;
Step 102: in DHCP request of the SDN controller confirmation without processed 2nd SDN access device, control is established Management passage between first SDN access device and the 2nd SDN access device.
Wherein, SDN controller control in the following manner establish the first SDN access device and the 2nd SDN access device it Between management passage:
The first configuration information is issued to the first SDN access device, wherein the first configuration information is used to indicate the first SDN and connects Management VLAN is added in the port for entering the DHCP request message that equipment will receive the 2nd SDN access device.
Wherein, SDN controller manages SDN access device using southbound interface, and the most commonly used is Openflow agreements. Openflow protocol definition flow table and group table, for controlling the forwarding of message on SDN access device;Define Packet out Message sends message to SDN access device for SDN controller;Packet in message is defined, SDN access device handle is used for The message received is sent to SDN controller.
The first Openflow protocol message used in the step 101 of the present embodiment may include Packet in message. That is, the first SDN access device exists when the management passage between the first SDN access device and the 2nd SDN access device is not got through After the DHCP request message for receiving the 2nd SDN access device, the 2nd SDN access device is encapsulated by Packet in message DHCP request message, and send SDN controller to.
Wherein, after step 101, the configuration method of the present embodiment can also include: processed in the confirmation of SDN controller When the DHCP request of the 2nd SDN access device, then the DHCP request message of the 2nd SDN access device is not handled.
In the present embodiment, SDN controller is embedded with Dynamic Host Configuration Protocol server, to realize network management channel (nmc) zero configuration.
In the present embodiment, before implementation steps 101, had been established between SDN controller and the first SDN access device Openflow connection, that is, the first SDN access device is got through to the management passage between SDN controller.
In some implementations, when the first SDN access device, which directly passes through SDN convergence device, to be connect with SDN controller, Before step 101, the configuration method of the present embodiment can also include:
SDN controller receives the DHCP that the first SDN access device that SDN convergence device is transmitted by management passage issues and asks Seek message;
SDN controller gives the distribution management of the first SDN access device according to the DHCP request message of the first SDN access device IP address, and the first dhcp response message is returned, so that the first SDN access device is matched after receiving the first dhcp response message Management IP is set, and management VLAN is added in the port for receiving the first dhcp response message, and establish by management passage and control with SDN The Openflow connection of device processed.
Wherein, the first dhcp response message can be carried to the first SDN access device distribution management IP address information with And the IP address information of SDN controller.
Wherein, the DHCP request message of the first SDN access device can carry the facility information of the first SDN access device.
Wherein, when the first SDN access device connects SDN convergence device, the DHCP request of the first SDN access device sending After message reaches SDN convergence device, SDN convergence device is set the first SDN access by the management passage between SDN controller Standby DHCP request message sends SDN controller to;SDN controller receives the first SDN access transmitted by management passage After the DHCP request message of equipment, setting for the first SDN access device is identified from the DHCP request message of the first SDN access device Standby information distributes management IP address to the first SDN access device, and transmits the IP address information of SDN controller, these information can To carry in the first dhcp response message;Wherein, the first dhcp response message that SDN controller returns can be logical by managing Road sends SDN convergence device to, then sends the first SDN access device to by SDN convergence device.First SDN access device application To after management IP address, management VLAN is added in the port for receiving the first dhcp response message.In this way, having got through first Management passage between SDN access device and SDN convergence device.Later, the first SDN access device can be by the management got through Channel is established Openflow with SDN controller and is connect.
In some implementations, when the first SDN access device is not directly connected to SDN convergence device, but pass through other When SDN access device connects SDN convergence device, scheme provided in this embodiment can be used, the first SDN access device is first established Management passage between other SDN access devices, then the management passage applications management IP address by establishing, in application to pipe After reason IP address and management passage are got through, Openflow is established with SDN controller and is connect.
In some implementations, after step 102, the configuration method of the present embodiment can also include:
SDN controller receives what the first SDN access device was issued by the 2nd SDN access device that management passage transmits DHCP request message;
According to the DHCP request message of the 2nd SDN access device transmitted by management passage, the 2nd SDN access device is given Management IP address is distributed, and returns to the second dhcp response message, so that the 2nd SDN access device is receiving the second dhcp response report The port for receiving the second dhcp response message is added management VLAN, and is built by management passage by Wen Hou, configuration management IP address It is vertical to be connect with the Openflow of SDN controller.
Wherein, the second dhcp response message can be carried to the 2nd SDN access device distribution management IP address information with And the IP address information of SDN controller.
Wherein, the DHCP request message of the 2nd SDN access device can carry the facility information of the 2nd SDN access device.
Wherein, there are topological connection relations between the 2nd SDN access device and the first SDN access device.2nd SDN access Equipment continuously sends out DHCP request message, and the management passage between the first SDN access device and the 2nd SDN access device does not have When getting through, after the first SDN access device receives the DHCP request message of the 2nd SDN access device, pass through first Openflow protocol message (for example, Packet in message) encapsulates the DHCP request message of the 2nd SDN access device, and sends SDN controller is given, is led to by the management that the control of SDN controller is established between the 2nd SDN access device and the first SDN access device Road;After management passage therebetween is established, the first SDN access device receives the 2nd SDN access device again After DHCP request message, the DHCP request message of the 2nd SDN access device is sent to by SDN control by the management passage of foundation Device processed after SDN controller receives the DHCP request message of the 2nd SDN access device, is asked from the DHCP of the 2nd SDN access device The facility information for identifying the 2nd SDN access device in message is sought, distributes management IP address to the 2nd SDN access device, and transmit The IP address information of SDN controller, these information can carry in the second dhcp response message;Wherein, SDN controller returns The second dhcp response message can send the first SDN access device to by management passage, then passed by the first SDN access device Give the 2nd SDN access device.After 2nd SDN access device application to management IP address, the second dhcp response will be received Management VLAN is added in the port of message.Later, the 2nd SDN access device can pass through the management passage got through and SDN controller Establish Openflow connection.
In some implementations, established after Openflow connect in the 2nd SDN access device and SDN controller, this reality The configuration method for applying example can also include:
SDN controller receives the 2nd SDN access that the 3rd SDN access device is transmitted by the first Openflow protocol message The reconnect application message that equipment issues;Wherein, reconnect application message be by the 2nd SDN access device detect with SDN controller lost contact scheduled duration, and itself all of the port is issued after removing in management VLAN;
When the confirmation of SDN controller is requested without processing the reconnect of the 2nd SDN access device, control establishes second Management passage between SDN access device and the 3rd SDN access device.
Wherein, scheduled duration can be configured according to the actual situation.The application does not limit this.
Wherein, SDN controller can control in the following manner establish the 2nd SDN access device and the 3rd SDN access set Management passage between standby:
The second configuration information is issued to the 3rd SDN access device, wherein the second configuration information is used to indicate the 3rd SDN and connects Enter equipment and management VLAN is added in the port for the reconnect application message for receiving the 2nd SDN access device.
Wherein, the management between the 2nd SDN access device and the 3rd SDN access device is established in the control of SDN controller to lead to After road, the configuration method of the present embodiment can also include:
SDN controller is sent by the 2nd Openflow protocol message (for example, Packet out message) and is reconnected really Message is recognized, so that the 2nd SDN access device will receive after receiving reconnect confirmation message and reconnect confirmation message Management VLAN is added in port, and the management passage by re-establishing re-establishes Openflow with SDN controller and connect.
Wherein, detect that the 2nd SDN access is set with after SDN controller lost contact scheduled duration in the 2nd SDN access device The standby all of the port by this equipment is removed from management VLAN, and actively initiates to reconnect request, with the 2nd SDN access device There are the 3rd SDN access device of topological connection relation, (establishing between the 3rd SDN access device and SDN controller has Openflow connection) receive the reconnect application message of the 2nd SDN access device after, pass through Packet in message and encapsulate The reconnect application message of 2nd SDN access device, and send SDN controller to.SDN controller receives the 2nd SDN access After the reconnect application message of equipment, when confirmation is requested without processing the reconnect of the 2nd SDN access device, to 3rd SDN access device issues the second configuration information, to indicate that the 3rd SDN access device will receive the 2nd SDN access device Management VLAN is added in the port for reconnecting application message;It is asked in the reconnect for confirming processed 2nd SDN access device When asking, then the reconnect application message of the 2nd SDN access device is not handled.SDN controller is sealed by Packet out message Dress reconnects confirmation message, and is sent to the 3rd SDN access device, and the 3rd SDN access device is true by the reconnect received Recognize message and send the 2nd SDN access device to, the 2nd SDN access device receives reconnect confirmation message after, weight will be received Management VLAN is added in the port of new connection confirmation message, and the management passage by re-establishing and SDN controller are established Openflow connection.
Referring to Fig. 2 to Fig. 6, it is illustrated by configuration method of the application example to the present embodiment.
As shown in Fig. 2, Dynamic Host Configuration Protocol server (server) is embedded into SDN controller.B device (including B0 and B1 equipment) is SDN convergence device, has there is management IP address.L2VPN (L2Virtual Private of the B device to SDN controller Network, two-layer virtual private network) management passage configures in advance, and is configured with PW (Pseudo-Wire, puppet Line) redundancy protecting realization management passage protection.Manage VLAN (Virtual Local Area Network, virtual LAN) Mark (ID) is fixed as 4094.A equipment (including A0, A1, A2, A3, A4 equipment) is SDN access device, initially without management IP Location needs to establish connection with SDN controller by network management channel (nmc) zero configuration.C equipment (including C0 equipment) is for connecting B Equipment and SDN controller.In some implementations, B device can also be directly connected to SDN controller.
The network management channel (nmc) zero configuration under ring topology may be implemented into configuration method provided in this embodiment, is also applied for The non-network management channel (nmc) zero configuration under ring topology.It is illustrated at ring topology below.
Fig. 3 is the situation of SDN access device cyclization, wherein cyclization access SDN net between A0, A1, A2, A3 and A4 equipment Network.According to traditional DHCP zero configuration mode, after access device A application to management IP address, the first line of a couplet of all access device A Mouth can all allow to manage VLAN and pass through, so as to cause management passage cyclization between A0, A1, A2, A3 and A4 equipment.
Referring to Fig. 3 and Fig. 4, illustrate that cyclic topological network shown in Fig. 3 establishes the process of network management channel (nmc):
(1) after all A device powers, DHCP message is not forwarded;If, can be actively in management VLAN without management IP address Interior initiation DHCP request;
(2) A0 equipment by B0 equipment to Dynamic Host Configuration Protocol server (i.e. SDN controller) applications management IP address, this step it is detailed Thin process is as follows:
(2-a) A0 equipment issues DHCP request message, wherein the mark (such as 4094) of carrying management VLAN and A0 are set Standby facility information;After the DHCP request message that A0 equipment issues reaches B0 equipment, B0 equipment identification management VLAN, and DHCP After request message is packaged into MPLS (Multi-Protocol Label Switching, multiprotocol label switching) message, pass through Management passage is transmitted to C0 equipment and DHCP request message is sent to SDN controller after C0 equipment decapsulates MPLS message;
After (2-b) SDN controller receives the DHCP request message of A0 equipment, the facility information of A0 equipment, distribution pipe are identified The information such as the IP address that reason IP address gives A0 equipment, and transmits SDN controller give A0 equipment;Wherein, SDN controller can will return The dhcp response message returned passes through the channel C0- > B0- > A0 and is sent to A0 equipment;
After (2-c) A0 equipment application to management IP address, the interface for receiving dhcp response message is added to management VLAN In;To get through the management passage between A0 equipment and B0 equipment;
(3) application of A0 equipment is to management IP address, and after the information such as IP address for getting SDN controller, actively and SDN Controller establishes Openflow connection;
(4) similarly, A4 equipment can also be by B1 equipment to Dynamic Host Configuration Protocol server applications management IP address;In application to management After IP address, corresponding port is added in management VLAN, and establish Openflow with SDN controller and connect;
(5) SDN controller is responsible for the management passage established between A1 equipment and A0 equipment, and the detailed process of this step is such as Under:
After the DHCP request message that (5-a) A1 equipment issues reaches A0 equipment, A0 equipment passes through Packet in message handle DHCP request message gives SDN controller;Wherein, Packet in message passes through established between A0 equipment and SDN controller Management passage is transmitted;
(5-b) SDN controller identifies the facility information in DHCP request message, confirms that the DHCP of untreated A1 equipment is asked It asks;
(5-c) SDN controller issues flow table configuration, and the inbound port of the Packet in message of A0 equipment is added to management In VLAN;In other words, SDN controller issues flow table configuration, and the port that A0 equipment receives the DHCP request message of A1 equipment is added Enter into management VLAN;To establish the management passage between A1 equipment and A0 equipment;
By step (5-a) to (5-c), the DHCP request message of A1 equipment can be set by A0 device forwards to B0 It is standby;
(6) A1 equipment passes through the channel A0- > B0 to Dynamic Host Configuration Protocol server applications management IP address;Management IP address is arrived in application Afterwards, corresponding port is added in management VLAN, and actively establishes Openflow with SDN controller and connects;
(7) similarly, SDN controller is responsible for the management passage established between A3 equipment and A4 equipment;
(8) A3 equipment passes through the channel A4- > B1 to Dynamic Host Configuration Protocol server applications management IP address;Management IP address is arrived in application Afterwards, corresponding port is added in management VLAN, and actively establishes Openflow with SDN controller and connects;
(9) SDN controller is responsible for the management passage established between A2 equipment and A1 equipment or A2 equipment and A3 equipment, this The detailed process of step is as follows:
(9-a) assumes that A1 equipment first receives the DHCP request message of A2 equipment, and is sent to by Packet in message SDN controller;
After (9-b) SDN controller receives DHCP request message, the DHCP request of untreated A2 equipment is confirmed;
(9-c) SDN controller issues flow table configuration, and the inbound port of A1 equipment Packet in message is added to management In VLAN;
The DHCP request message of (9-d) A2 equipment also can be by being sent to SDN controller, the discovery of SDN controller in A3 equipment The DHCP request of A2 equipment has been processed, then has not handled the DHCP request message;
(10) A2 equipment passes through A1- > A0- > channel B0 to Dynamic Host Configuration Protocol server applications management IP address;In application to management IP Behind address, corresponding port is added in management VLAN, and actively establish Openflow with SDN controller and connect.
By step (1) to step (10), A0, A1, A2, A3 and A4 equipment can be established with SDN controller Openflow connection, and management passage will not cyclization.Final management passage is as shown in Figure 4, wherein it is logical that dotted line represents management Road is obstructed.
Referring to Fig. 5 and Fig. 6, illustrate the establishment process in backup management channel.
As shown in figure 5, when the channel between A1 equipment and A0 equipment is broken down, A1 and A2 equipment lost contact.This feelings Under condition, the establishment process in backup management channel is as follows:
(1) A1 and A2 equipment is detected reach scheduled duration with SDN controller lost contact after, A1 equipment is all by this equipment Port is removed from management VLAN, and A2 equipment removes all of the port of this equipment from management VLAN;
(2) SDN controller is responsible for re-establishing the management passage of A2 and A3 equipment room, and the process of this step is as follows:
After (2-a) A2 equipment lost contact, management ARP (Address Resolution Protocol, address resolution association are removed View) and MAC (Media Access Control, medium access control) address table, re-initiate ARP study;
(2-b) A2 equipment is actively initiated to reconnect application;
After (2-c) A3 equipment receives the reconnect application message of A2 equipment, by Packet in message reconnect Application message is sent to SDN controller;
After (2-d) SDN controller receives the reconnect application message of A2 equipment, untreated A2 equipment is confirmed again Connection request;
(2-e)) SDN controller issue flow table configuration, the inbound port of the Packet in message of A3 equipment is added to management In VLAN;
(2-f) SDN controller is sent by Packet out message and reconnects confirmation message;Wherein, it reconnects true A3 equipment can be sent to by the management passage between SDN controller and A3 equipment by recognizing message, then send A2 to by A3 equipment Equipment;
After (2-g) A2 equipment receives reconnect confirmation message, it is added to the port for reconnecting confirmation message is received It manages in VLAN;
By above step, the management message of A2 equipment can pass through A3- > A4- > B1 management passage and be sent to SDN control Device;
(3) A2 equipment passes through A3- > A4- > B1 management passage and establishes Openflow with SDN controller again and connect;
(4) similarly, SDN controller is responsible for establishing the management passage of A1 equipment and A2 equipment room;
(5) A1 equipment passes through A2- > A3- > A4- > B1 management passage and establishes Openflow with SDN controller again and connect.
By the above configuration step, the A1 equipment of lost contact is established Openflow with SDN controller again with A2 equipment and is connected, Management passage backs up successfully.Updated management passage is as shown in Figure 6, wherein it is obstructed that dotted line represents management passage.
It should be noted that even if fault recovery between A1 equipment and A0 equipment, due between A1 equipment and A0 equipment Management passage it is obstructed, therefore, management passage will not cyclization.
In conclusion the present embodiment can by Packet in message giving SDN controller on DHCP request message, Triggering SDN controller issues configuration information, to gradually get through the management passage of SDN equipment room, avoids asking for management cyclization Topic;Moreover, the equipment of lost contact can actively be initiated to reconnect request after SDN access device lost contact, pass through Packet in message On give SDN controller, triggering SDN controller issues configuration information, to get through backup management channel, realizes management passage The function of backup.In addition, first all of the port in this equipment can be removed from management VLAN after SDN access device lost contact, from And cyclic problem is managed after avoiding fault recovery.
Embodiment two, a kind of configuration device are applied to SDN controller, as shown in fig. 7, comprises:
First receiving module 701 passes through the transmission of the first Openflow protocol message for receiving the first SDN access device The DHCP request message that 2nd SDN access device issues;
First processing module 702, for receiving the encapsulation of the first Openflow protocol message in the first receiving module 701 After DHCP request message, in DHCP request of the confirmation without processed 2nd SDN access device, the first SDN is established in control Management passage between access device and the 2nd SDN access device.
Wherein, first processing module 702 are also used to when confirming the DHCP request of processed 2nd SDN access device, The DHCP request message of the 2nd SDN access device is not handled.
Wherein, the first SDN access device and the 2nd SDN are established for controlling in the following manner in first processing module 702 Management passage between access device:
The first configuration information is issued to the first SDN access device, wherein the first configuration information is used to indicate the first SDN and connects Management VLAN is added in the port for entering the DHCP request message that equipment will receive the 2nd SDN access device.
Wherein, the first Openflow protocol message may include Packet in message.That is, in the first SDN access device and When management passage between 2nd SDN access device is not got through, the first SDN access device passes through Packet in messaging The DHCP request message that 2nd SDN access device issues.
In some implementations, the first receiving module 701 is also used to receive SDN convergence device and is transmitted by management passage The first SDN access device issue DHCP request message;
First processing module 702 is also used to the DHCP request message according to the first SDN access device, accesses to the first SDN Equipment distributes management IP address, and returns to the first dhcp response message, so that the first SDN access device is receiving the first DHCP sound After answering message, management VLAN is added in the port for receiving the first dhcp response message by configuration management IP address, and logical by management Road foundation is connect with the Openflow of SDN controller.
In some implementations, the first receiving module 701 is also used to set in the first SDN access device and the 2nd SDN access It is established after management passage between standby, receives the first SDN access device and sent out by the 2nd SDN access device that management passage transmits DHCP request message out,
First processing module 702 is also used to the DHCP according to the 2nd SDN access device directly transmitted by management passage Request message distributes management IP address to the 2nd SDN access device, and returns to the second dhcp response message, so that the 2nd SDN connects Enter equipment after receiving the second dhcp response message, configuration management IP address adds the port for receiving the second dhcp response message Enter and manage VLAN, and is established by management passage and connect with the Openflow of SDN controller.
In some implementations, the first receiving module 701 is also used to receive the 3rd SDN access device by first The reconnect application message that 2nd SDN access device of Openflow protocol message transmission issues;Wherein, application is reconnected Message be by the 2nd SDN access device detect with SDN controller lost contact scheduled duration, and by itself all of the port from management It is issued after being removed in VLAN;
First processing module 702 is also used to request in confirmation without processing the reconnect of the 2nd SDN access device When, the management passage between the 2nd SDN access device and the 3rd SDN access device is established in control.
Wherein, first processing module 702 establishes the 2nd SDN access device and the 3rd SDN for control in the following manner Management passage between access device:
The second configuration information is issued to the 3rd SDN access device, wherein the second configuration information is used to indicate the 3rd SDN and connects Enter equipment and management VLAN is added in the port for the reconnect application message for receiving the 2nd SDN access device.
Wherein, first processing module 702 is also used to establish the 2nd SDN access device and the 3rd SDN access device in control Between management passage after, by the 2nd Openflow protocol message send reconnect confirmation message so that the 2nd SDN connects Enter equipment after receiving reconnect confirmation message, the port addition management VLAN for reconnecting confirmation message will be received, and Openflow is re-established with SDN controller by the management passage re-established to connect.
The process flow of configuration device about the present embodiment is referred to the configuration method of embodiment one, therefore no longer in this It repeats.
Embodiment three, a kind of configuration method are applied to the first SDN access device, as shown in Figure 8, comprising:
Step 801: after the first SDN access device receives the DHCP request message of the 2nd SDN access device sending, leading to It crosses the first Openflow protocol message and sends the DHCP request message of the 2nd SDN access device to SDN controller;
Step 802: the first configuration information issued according to SDN controller asks the DHCP for receiving the 2nd SDN access device Ask the port of message that management VLAN is added.
Wherein, before step 801, Openflow connection has been established between the first SDN access device and SDN controller.
Wherein, the first Openflow protocol message may include Packet in message.That is, the first SDN access device receives After the DHCP request message issued to the 2nd SDN access device, the 2nd SDN access device is encapsulated by Packet in message DHCP request message, and send SDN controller to.
In some implementations, when the first SDN access device and SDN convergence device are directly connected to, step 801 it Before, the configuration method of the present embodiment can also include:
First SDN access device issue DHCP request message, wherein the DHCP request message of the first SDN access device by SDN convergence device sends SDN controller to by management passage;
After the first dhcp response message for receiving the return of SDN controller, configuration management IP address will receive first Management VLAN is added in the port of dhcp response message, and is established by management passage and connect with the Openflow of SDN controller.
In some implementations, when the first SDN access device connects SDN convergence device by other SDN access devices, The DHCP request message of first SDN access device can be by there are other SDN of topological connection relation with the first SDN access device Access device is sent to SDN controller by Packet in message.
In some implementations, after step 802, the configuration method of the present embodiment can also include:
It is logical by managing after first SDN access device receives the DHCP request message of the 2nd SDN access device sending The DHCP request message that road transmits the 2nd SDN access device gives SDN controller;
First SDN access device sends to by the second dhcp response message that management passage returns to SDN controller Two SDN access devices, so that the 2nd SDN access device, after receiving the second dhcp response message, configuration management IP address will be received Management VLAN is added to the port of the second dhcp response message, and the Openflow with SDN controller is established by management passage Connection.
In some implementations, the configuration method of the present embodiment can also include:
First SDN access device detect with after SDN controller lost contact scheduled duration, by all of the port of this equipment from VLAN is managed to remove.
In some implementations, the first SDN access device by all of the port of this equipment from management VLAN remove after, this The configuration method of embodiment can also include:
First SDN access device, which issues, reconnects application message;
After receiving the reconnect confirmation message from SDN controller, the end for reconnecting confirmation message will be received Management VLAN is added in mouth, and the management passage by re-establishing re-establishes Openflow with SDN controller and connect.
Wherein, when the first SDN access device is connect with SDN convergence device, what the first SDN access device issued connects again SDN controller can be transmitted directly to by management passage by SDN convergence device by connecing application message;In the first SDN access device When being connect by other SDN access devices with SDN convergence device, the reconnect application message of the first SDN access device sending SDN controller can be given by passing through Packet in messaging there are other SDN access devices of topological connection relation with it.
The correlation procedure of configuration method about the present embodiment is referred to the configuration method and application of embodiment one Example, therefore repeated no more in this.
Example IV, a kind of configuration device are applied to the first SDN access device, as shown in Figure 9, comprising: second receives mould Block 901, sending module 902 and Second processing module 903;
Wherein, sending module 902, for receiving the DHCP of the 2nd SDN access device sending in the second receiving module 901 After request message, SDN to is sent the DHCP request message of the 2nd SDN access device by the first Openflow protocol message Controller;
Second processing module 903, the first configuration information for being issued according to SDN controller will receive the 2nd SDN access Management VLAN is added in the port of the DHCP request message of equipment.
Wherein, the first Openflow protocol message may include Packet in message.
In some implementations, sending module 902 is also used to issue the DHCP request message of the first SDN access device, In, the DHCP request message of the first SDN access device can send SDN controller to by management passage by SDN convergence device;
Second processing module 903, the first DHCP for receiving the return of SDN controller in the second receiving module 901 are rung After answering message, management VLAN is added in the port for receiving the first dhcp response message by configuration management IP address, and logical by management Road foundation is connect with the Openflow of SDN controller.
In some implementations, sending module 902 is also used to be issued in Second processing module 903 according to SDN controller First configuration information, the port that will receive the DHCP request message of the 2nd SDN access device is added after management VLAN, second After receiving module 901 receives the DHCP request message of the 2nd SDN access device sending, pass through management passage transmission second The DHCP request message of SDN access device gives SDN controller;Be also used to return to SDN controller by management passage second Dhcp response message sends the 2nd SDN access device to, so that the 2nd SDN access device is receiving the second dhcp response message Afterwards, the port for receiving the second dhcp response message is added management VLAN, and is established by management passage by configuration management IP address It is connect with the Openflow of SDN controller.
In some implementations, Second processing module 903 is also used to detecting and SDN controller lost contact scheduled duration Later, all of the port of this equipment is removed from management VLAN.
In some implementations, sending module 902 is also used to all of the port of this equipment in Second processing module 903 After management VLAN removal, issues and reconnect application message;
Second processing module 903 is also used to receive the reconnect from SDN controller in the second receiving module 901 After confirmation message, the port for reconnecting confirmation message will be received, management VLAN is added, and the management by re-establishing is logical Road re-establishes Openflow with SDN controller and connect.
The process flow of configuration device about the present embodiment is referred to the configuration method of embodiment three, therefore no longer in this It repeats.
Embodiment five, a kind of configuration system, comprising:
SDN controller, the first SDN access device, the 2nd SDN access device;
Wherein, SDN controller passes through the transmission of the first Openflow protocol message for receiving the first SDN access device The DHCP request message that 2nd SDN access device issues, in confirmation without the DHCP request of processed 2nd SDN access device When, the management passage between the first SDN access device and the 2nd SDN access device is established in control.
For example, in application example shown in Fig. 3, when A0 and A4 equipment is as the first SDN access device, the 2nd SDN Access device can be A1 equipment and A3 equipment;When A1 equipment and A3 equipment are as the first SDN access device, the 2nd SDN is connect Entering equipment can be A2 equipment.
The configuration system of the present embodiment can also include: SDN convergence device;
Wherein, when the first SDN access device is directly connected to SDN convergence device, SDN convergence device is used for logical by management The DHCP request message that road transmits the first SDN access device gives SDN controller;
SDN controller is also used to the DHCP request message according to the first SDN access device, to the first SDN access device point With management IP address, and return to the first dhcp response message;
First SDN access device, is also used to after receiving the first dhcp response message, and configuration management IP address will receive Management VLAN is added in the port of first dhcp response message, and establishes Openflow with SDN controller by management passage and connect.
For example, SDN convergence device is B0 equipment and B1 equipment in application example shown in Fig. 3, make in A0 and A4 equipment When for the first SDN access device, A1 equipment and A3 equipment can be the second SDN access device.
The configuration system of the present embodiment can also include: the 3rd SDN access device, wherein SDN controller and the 3rd SDN Openflow connection has been established between access device;There is topology between 3rd SDN access device and the 2nd SDN access device even It connects;
Wherein, the 2nd SDN access device, for detect with after SDN controller lost contact scheduled duration, by itself institute There is port to remove from management VLAN, and issues reconnect application message;
3rd SDN access device, for being transmitted by the first Openflow protocol message (for example, Packet in message) The reconnect application message of 2nd SDN access device gives SDN controller;
SDN controller is also used in reconnect request of the confirmation without processed 2nd SDN access device, to the Three SDN access devices issue the second configuration information;
3rd SDN access device is also used to that connecting again for the 2nd SDN access device will be received according to the second configuration information Management VLAN is added in the port for connecing application message;
SDN controller is also used to send again by the 2nd Openflow protocol message (for example, Packet out message) Connect confirmation message;
2nd SDN access device is also used to after receiving reconnect confirmation message, will receive reconnect confirmation report Management VLAN is added in the port of text, and the management passage by re-establishing re-establishes Openflow with SDN controller and connect.
For example, in application example shown in Fig. 5, when A2 equipment is as the 2nd SDN access device, the 3rd SDN access Equipment can be A3 equipment.
In addition, the embodiment of the present invention also provides a kind of computer readable storage medium, computer executable instructions are stored with, The configuration method of embodiment one is realized when the computer executable instructions are executed by processor.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored with computer executable instructions, described The configuration method of embodiment three is realized when computer executable instructions are executed by processor.
Those of ordinary skill in the art will appreciate that all or part of the steps in the above method can be instructed by program Related hardware (such as processor) is completed, and described program can store in computer readable storage medium, as read-only memory, Disk or CD etc..Optionally, one or more integrated circuits also can be used in all or part of the steps of above-described embodiment It realizes.Correspondingly, each module/unit in above-described embodiment can take the form of hardware realization, such as pass through integrated circuit It realizes its corresponding function, can also be realized in the form of software function module, such as be stored in and deposited by processor execution Program/instruction in reservoir realizes its corresponding function.The application is not limited to the knot of the hardware and software of any particular form It closes.
The advantages of basic principles and main features and the application of the application have been shown and described above.The application is not by upper The limitation for stating embodiment, the above embodiments and description only describe the principles of the application, are not departing from the application Under the premise of spirit and scope, the application be will also have various changes and improvements, these changes and improvements both fall within claimed Within the scope of the application.

Claims (21)

1. a kind of configuration method, which is characterized in that be applied to software defined network SDN controller, the configuration method includes:
SDN controller receives the first SDN access device and passes through the 2nd SDN access device that the first Openflow protocol message transmits The dynamic host configuration protocol DHCP request message of sending;Wherein, the first Openflow protocol message includes Packet in Message;
In DHCP request of the confirmation without processed 2nd SDN access device, the first SDN access device and second are established in control Management passage between SDN access device;
The control is established after the management passage between the first SDN access device and the 2nd SDN access device, the configuration side Method further include:
The SDN controller receives what the first SDN access device was issued by the 2nd SDN access device that management passage transmits DHCP request message;
According to the DHCP request message of the 2nd SDN access device directly transmitted by management passage, the 2nd SDN access device is given Distribution management network protocol IP address, and the second dhcp response message is returned, so that the 2nd SDN access device is receiving second After dhcp response message, administrative vlan is added in the port for receiving the second dhcp response message by configuration management IP address VLAN, and established by management passage and connect with the Openflow of SDN controller.
2. configuration method according to claim 1, which is characterized in that the SDN controller controls in the following manner to be built Management passage between vertical first SDN access device and the 2nd SDN access device:
The first configuration information is issued to the first SDN access device, first configuration information is used to indicate the first SDN access device Administrative vlan VLAN is added in the port that the DHCP request message of the 2nd SDN access device will be received.
3. configuration method according to claim 1, which is characterized in that the SDN controller receives the first SDN access device Before the DHCP request message issued by the 2nd SDN access device that the first Openflow protocol message transmits, the configuration Method further include:
The SDN controller receives the DHCP that the first SDN access device that SDN convergence device is transmitted by management passage issues and asks Seek message;
According to the DHCP request message of the first SDN access device, to the first SDN access device distribution management network protocol IP Location, and the first dhcp response message is returned, so that the first SDN access device, after receiving the first dhcp response message, configuration is managed IP is managed, and administrative vlan VLAN is added in the port for receiving the first dhcp response message, and establish by management passage It is connect with the Openflow of SDN controller.
4. configuration method according to claim 1, which is characterized in that the configuration method further include:
The SDN controller receives the 3rd SDN access device and passes through the 2nd SDN that the first Openflow protocol message transmits The reconnect application message that access device issues;Wherein, the reconnect application message is existed by the 2nd SDN access device Detect with SDN controller lost contact scheduled duration, and by itself all of the port from management VLAN in remove after issue;
In reconnect request of the confirmation without processed 2nd SDN access device, control establish the 2nd SDN access device with Management passage between 3rd SDN access device.
5. configuration method according to claim 4, which is characterized in that the SDN controller controls in the following manner to be built Management passage between vertical 2nd SDN access device and the 3rd SDN access device:
The second configuration information is issued to the 3rd SDN access device, second configuration information is used to indicate the 3rd SDN access device Management VLAN is added in the port for the reconnect application message for receiving the 2nd SDN access device.
6. configuration method according to claim 5, which is characterized in that the 2nd SDN access device and the are established in the control After management passage between three SDN access devices, the configuration method further include:
The SDN controller is sent by the 2nd Openflow protocol message and reconnects confirmation message, so that the 2nd SDN is accessed Equipment will receive the port addition management VLAN for reconnecting confirmation message after receiving reconnect confirmation message, and lead to Overweight newly-established management passage re-establishes Openflow with SDN controller and connect.
7. configuration method according to claim 1, which is characterized in that the configuration method further include: controlled in the SDN When device confirms the DHCP request of processed 2nd SDN access device, the DHCP request message is not handled.
8. a kind of configuration method, which is characterized in that be applied to the first software defined network SDN access device, the configuration method Include:
First SDN access device receive the 2nd SDN access device sending dynamic host configuration protocol DHCP request message it Afterwards, SDN controller to is sent the DHCP request message by the first Openflow protocol message;Wherein, described first Openflow protocol message includes Packet in message;
The first configuration information issued according to SDN controller, will receive the port of the DHCP request message of the 2nd SDN access device Administrative vlan VLAN is added;
First configuration information issued according to SDN controller, will receive the DHCP request message of the 2nd SDN access device Port is added after management VLAN, the configuration method further include:
It is logical by managing after the first SDN access device receives the DHCP request message of the 2nd SDN access device sending It transmits the DHCP request message and gives SDN controller in road;
The 2nd SDN access device is sent to by the second dhcp response message that management passage returns to SDN controller, so that the Two SDN access devices are after receiving the second dhcp response message, configuration management network protocol IP address, will receive the 2nd DHCP and ring It answers the port of message that management VLAN is added, and is established by management passage and connect with the Openflow of SDN controller.
9. configuration method according to claim 8, which is characterized in that
It is described that SDN to is sent the DHCP request message of the 2nd SDN access device by the first Openflow protocol message Before controller, the configuration method further include:
The first SDN access device issues DHCP request message, wherein the DHCP request message of the first SDN access device by SDN convergence device sends SDN controller to by management passage;
After the first dhcp response message for receiving the return of SDN controller, configuration management network protocol IP address will receive the Management VLAN is added in the port of one dhcp response message, and is established by management passage and connect with the Openflow of SDN controller.
10. configuration method according to claim 8, which is characterized in that the configuration method further include:
The first SDN access device detect with after SDN controller lost contact scheduled duration, by all of the port of this equipment It is removed from management VLAN.
11. configuration method according to claim 10, which is characterized in that the first SDN access device is by this equipment All of the port is after management VLAN removal, the configuration method further include:
The first SDN access device, which issues, reconnects application message;
After receiving the reconnect confirmation message from SDN controller, the port for reconnecting confirmation message will be received and added Enter and manage VLAN, and the management passage by re-establishing re-establishes Openflow with SDN controller and connect.
12. a kind of configuration device, which is characterized in that be applied to software defined network SDN controller, the configuration device includes:
First receiving module passes through the 2nd SDN that the first Openflow protocol message transmits for receiving the first SDN access device The dynamic host configuration protocol DHCP request message that access device issues;Wherein, the first Openflow protocol message includes Packet in message;
First processing module, for receiving the DHCP request of the first Openflow protocol message encapsulation in first receiving module After message, in DHCP request of the confirmation without processed 2nd SDN access device, the first SDN access device is established in control And the 2nd management passage between SDN access device;
First receiving module is also used to establish management passage between the first SDN access device and the 2nd SDN access device Later, the DHCP request message that the first SDN access device is issued by the 2nd SDN access device that management passage transmits is received,
The first processing module is also used to be asked according to the DHCP of the 2nd SDN access device directly transmitted by management passage Message is sought, gives the 2nd SDN access device distribution management network protocol IP address, and return to the second dhcp response message, so that the Two SDN access devices are after receiving the second dhcp response message, configuration management IP address, will receive the second dhcp response message Administrative vlan VLAN is added in port, and is established by management passage and connect with the Openflow of SDN controller.
13. configuration device according to claim 12, which is characterized in that the first processing module, for by following Mode controls the management passage established between the first SDN access device and the 2nd SDN access device:
The first configuration information is issued to the first SDN access device, wherein first configuration information is used to indicate the first SDN and connects Administrative vlan VLAN is added in the port for entering the DHCP request message that equipment will receive the 2nd SDN access device.
14. configuration device according to claim 12, which is characterized in that
First receiving module is also used to receive SDN convergence device and is sent out by the first SDN access device that management passage transmits DHCP request message out;
The first processing module is also used to the DHCP request message according to the first SDN access device, sets to the first SDN access Back-up returns to the first dhcp response message with management network protocol IP address, so that the first SDN access device is receiving first After dhcp response message, administrative vlan is added in the port for receiving the first dhcp response message by configuration management IP address VLAN, and established by management passage and connect with the Openflow of SDN controller.
15. configuration device according to claim 12, which is characterized in that
First receiving module is also used to receive what the 3rd SDN access device was transmitted by the first Openflow protocol message The reconnect application message that 2nd SDN access device issues;Wherein, the reconnect application message is connect by the 2nd SDN Enter equipment detect with SDN controller lost contact scheduled duration, and by itself all of the port from management VLAN in remove after send out Out;
The first processing module is also used to the control when confirmation is requested without processing the reconnect of the 2nd SDN access device System establishes the management passage between the 2nd SDN access device and the 3rd SDN access device.
16. a kind of configuration device, which is characterized in that be applied to the first software defined network SDN access device, the configuration device It include: the second receiving module, sending module and Second processing module;
Wherein, the sending module, for receiving the dynamic master of the 2nd SDN access device sending in second receiving module After machine configuration protocol DHCP request message, the DHCP request message is sent to by the first Openflow protocol message SDN controller;Wherein, the first Openflow protocol message includes Packet in message;
The Second processing module, the first configuration information for being issued according to SDN controller will receive the 2nd SDN access and set Administrative vlan VLAN is added in the port of standby DHCP request message;
The sending module is also used to the first configuration information issued in the Second processing module according to SDN controller, will receive After management VLAN is added to the port of the DHCP request message of the 2nd SDN access device, received in second receiving module After the DHCP request message issued to the 2nd SDN access device, the DHCP request message is transmitted to SDN by management passage Controller;
The sending module is also used to send to by the second dhcp response message that management passage returns to SDN controller Two SDN access devices, so that the 2nd SDN access device is after receiving the second dhcp response message, configuration management network protocol IP The port for receiving the second dhcp response message is added management VLAN, and is established and SDN controller by management passage by address Openflow connection.
17. configuration device according to claim 16, which is characterized in that
The sending module is also used to issue the DHCP request message of the first SDN access device, wherein the first SDN access device DHCP request message SDN controller is sent to by management passage by SDN convergence device;
The Second processing module, for receiving the first dhcp response of SDN controller return in second receiving module After message, the port for receiving the first dhcp response message is added management VLAN, and passed through by configuration management network protocol IP address Management passage foundation is connect with the Openflow of SDN controller.
18. configuration device according to claim 16, which is characterized in that the Second processing module is also used to detecting To with after SDN controller lost contact scheduled duration, all of the port of this equipment is removed from management VLAN.
19. configuration device according to claim 18, which is characterized in that
The sending module is also used to that all of the port of this equipment is removed it from management VLAN in the Second processing module Afterwards, it issues and reconnects application message;
The Second processing module is also used to receive in second receiving module true from the reconnect of SDN controller Recognize after message, the port for reconnecting confirmation message will be received, management VLAN, and the management passage by re-establishing is added Openflow is re-established with SDN controller to connect.
20. a kind of configuration system characterized by comprising software defined network SDN controller, the first SDN access device, Two SDN access devices;
The SDN controller, pass through the transmission of the first Openflow protocol message for receiving the first SDN access device second The dynamic host configuration protocol DHCP request message that SDN access device issues does not process the 2nd SDN access in confirmation When the DHCP request of equipment, the management passage between the first SDN access device and the 2nd SDN access device is established in control;
The configuration system further include: SDN convergence device;
Wherein, when the first SDN access device is directly connected to the SDN convergence device, the SDN convergence device is for leading to It crosses management passage and transmits the DHCP request message of the first SDN access device and give SDN controller;
The SDN controller, is also used to the DHCP request message according to the first SDN access device, to the first SDN access device point With management network protocol IP address, and return to the first dhcp response message;
The first SDN access device, is also used to after receiving the first dhcp response message, and configuration management IP address will receive Administrative vlan VLAN is added in the port of first dhcp response message, and is established by management passage and SDN controller Openflow connection.
21. configuration system according to claim 20, which is characterized in that the configuration system further include: the 3rd SDN access Openflow connection has been established between the SDN controller and the 3rd SDN access device in equipment;3rd SDN access device and There are Topology connections between two SDN access devices;
Wherein, the 2nd SDN access device, for detect with after SDN controller lost contact scheduled duration, by itself institute There is port to remove from management VLAN, and issues reconnect application message;
The 3rd SDN access device, for transmitting the 2nd SDN access device by the first Openflow protocol message It reconnects application message and gives SDN controller;
The SDN controller is also used to when confirmation does not process the reconnect request of the 2nd SDN access device, The second configuration information is issued to the 3rd SDN access device;
The 3rd SDN access device is also used to that the 2nd SDN access device will be received according to second configuration information Reconnect application message port be added administrative vlan VLAN;
The SDN controller is also used to send reconnect confirmation message by the 2nd Openflow protocol message;
The 2nd SDN access device is also used to after receiving reconnect confirmation message, will receive described reconnect really Management VLAN is added in the port for recognizing message, and the management passage by re-establishing is re-established with the SDN controller Openflow connection.
CN201611089678.7A 2016-11-30 2016-11-30 A kind of configuration method, apparatus and system Active CN106603739B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611089678.7A CN106603739B (en) 2016-11-30 2016-11-30 A kind of configuration method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611089678.7A CN106603739B (en) 2016-11-30 2016-11-30 A kind of configuration method, apparatus and system

Publications (2)

Publication Number Publication Date
CN106603739A CN106603739A (en) 2017-04-26
CN106603739B true CN106603739B (en) 2019-07-02

Family

ID=58594235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611089678.7A Active CN106603739B (en) 2016-11-30 2016-11-30 A kind of configuration method, apparatus and system

Country Status (1)

Country Link
CN (1) CN106603739B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107147575B (en) * 2017-06-01 2020-10-02 瑞斯康达科技发展股份有限公司 Method, device and system for realizing management channel switching
CN107277190B (en) * 2017-07-14 2019-09-20 中国联合网络通信集团有限公司 A kind of method of SDN equipment automatic wire charging, SDN equipment and controller
CN109302504B (en) * 2017-07-25 2020-08-04 ***通信有限公司研究院 Method for establishing control signaling channel in PTN, PTN network element and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018193A (en) * 2007-01-25 2007-08-15 杭州华为三康技术有限公司 Load distribution method and system and device for allocating the backup packet and virtual IP address
CN104618156A (en) * 2015-01-26 2015-05-13 杭州华三通信技术有限公司 Network configuration method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011153679A1 (en) * 2010-06-07 2011-12-15 华为技术有限公司 Method, device and system for service configuration

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018193A (en) * 2007-01-25 2007-08-15 杭州华为三康技术有限公司 Load distribution method and system and device for allocating the backup packet and virtual IP address
CN104618156A (en) * 2015-01-26 2015-05-13 杭州华三通信技术有限公司 Network configuration method and device

Also Published As

Publication number Publication date
CN106603739A (en) 2017-04-26

Similar Documents

Publication Publication Date Title
CN104869042B (en) Message forwarding method and device
CN106603739B (en) A kind of configuration method, apparatus and system
WO2013185715A1 (en) Method for implementing virtual network and virtual network
CN104168257B (en) The data isolation method and system of data isolation apparatus based on non-network mode
CN104468368B (en) Configure the method and device of bgp neighbor
WO2011153679A1 (en) Method, device and system for service configuration
CN107018076B (en) A kind of monitoring messages method and apparatus
CN103986638B (en) The method and apparatus of many public network links of ADVPN tunnel binding
CN107404436A (en) Communication means and device for virtual expansible LAN
CN106992917A (en) Message forwarding method and device
CN107995083B (en) Method, system and equipment for realizing intercommunication between L2VPN and VxLAN
JP2007158869A (en) Router device and communication system
WO2017157206A1 (en) Method of interconnecting cloud data centers, and device
CN110061899A (en) A kind of data message transmission method, apparatus and system
JP2008147882A5 (en)
CN107332772B (en) Forwarding table item establishing method and device
CN104092789B (en) Session-aware network address translation penetration method
CN107547325B (en) Message forwarding method and device
CN107277190A (en) A kind of method of SDN equipment automatic wire charging, SDN equipment and controller
CN107911297A (en) A kind of SDN network band control Path Setup method and apparatus
CN107040441A (en) Data transmission method, apparatus and system across data center
CN109474507A (en) A kind of message forwarding method and device
CN105681445A (en) Method and device for selecting point-to-point transmission path of data
CN107277187A (en) The system and method for ARP Hot Spare Fast synchronizations
CN105933235B (en) Data communications method and device

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
GR01 Patent grant
GR01 Patent grant