CN104702438B - PE device management methods and device - Google Patents

PE device management methods and device Download PDF

Info

Publication number
CN104702438B
CN104702438B CN201510111802.4A CN201510111802A CN104702438B CN 104702438 B CN104702438 B CN 104702438B CN 201510111802 A CN201510111802 A CN 201510111802A CN 104702438 B CN104702438 B CN 104702438B
Authority
CN
China
Prior art keywords
equipment
message
openflow
list item
flow list
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
CN201510111802.4A
Other languages
Chinese (zh)
Other versions
CN104702438A (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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201510111802.4A priority Critical patent/CN104702438B/en
Publication of CN104702438A publication Critical patent/CN104702438A/en
Application granted granted Critical
Publication of CN104702438B publication Critical patent/CN104702438B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of PE device management methods and device, wherein, this method includes:Established and connected with the PE equipment in the VCF systems by the VCF ports of the CB equipment;Obtain the transfer capability information of the PE equipment, according to the transfer capability information of the PE equipment, or the transfer capability information of the PE equipment and the transfer capability information of the CB equipment set forward mode for the PE equipment, the forward mode includes distributed forwarding pattern;The forward mode set if the PE equipment is distributed forwarding pattern, and the open flows OpenFlow flow list item previously generated is issued to the PE equipment, so that the message that the PE equipment receives according to OpenFlow flow list item docking is forwarded.The present invention is connected by the way that CB equipment is established into Openflow with PE equipment, reduces coupling between the two so that VCF systems more easily manage.

Description

PE device management methods and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of PE device management methods and device.
Background technology
VCF (framework is merged in Vertical Converged Framework, longitudinal direction) system is by more PE (Port Extender module) equipment is connected to CB (Controlling Bridge) equipment, pass through physical port vertical stack link Together, progress is necessary with postponing, and is virtualized into one " equipment ", every PE device virtualization is connect into one piece of CB equipment Oralia, it is managed collectively by CB equipment.So as to simplify network level structure, there is provided greater concentration of way to manage and Geng Gao's Scalability.The port density of CB equipment can be improved with relatively low cost using this virtualization technology, simplifies network topology, Reduce network operation cost.
However, in the currently management to VCF systems, because CB equipment and PE communication between devices are to pass through proprietary protocol Realize, and PE equipment is to be managed in a manner of interface board by CB equipment, close coupling relation between the two be present, causes CB equipment The complexity of PE equipment controles is increased.
The content of the invention
The defects of for prior art, the invention provides a kind of PE device management methods and device.
The invention provides a kind of PE device management methods, and the control bridge CB in framework VCF systems is merged applied to longitudinal direction Equipment, wherein, this method includes:
Established and connected with the PE equipment in the VCF systems by the VCF ports of the CB equipment;
The transfer capability information of the PE equipment is obtained, according to the transfer capability information of the PE equipment, or the PE The transfer capability information of the transfer capability information of equipment and the CB equipment be the PE equipment set forward mode, described turn Hair pattern includes distributed forwarding pattern;
The forward mode set if the PE equipment is distributed forwarding pattern, issues and previously generates to the PE equipment Open flows OpenFlow flow list item so that the PE equipment is carried out according to the message that receives of OpenFlow flow list item docking Forwarding.
The present invention also provides a kind of ports-Extending PE device management methods, is merged applied to longitudinal direction in framework VCF systems PE equipment, methods described include:
Established and connected with the control bridge CB equipment in the VCF systems by the VCF ports of the PE equipment;
When receiving the capability set acquisition message that the CB equipment is sent, the transfer capability information of the PE equipment is taken Band is sent in back message to the CB equipment, so that transfer capability information of the CB equipment according to the PE equipment, or The transfer capability information of PE equipment described in person and the transfer capability information of itself are that the PE equipment sets forward mode, described Forward mode includes distributed forwarding pattern;
When the forward mode of the PE equipment is arranged to distributed mode by the CB equipment, the CB equipment hair is received The open flows OpenFlow flow list item that the CB equipment sent previously generates, and received according to OpenFlow flow list item docking Message forwarded.
The present invention also provides a kind of ports-Extending PE equipment management devices, is merged applied to longitudinal direction in framework VCF systems Control device CB equipment, described device include:
Connection establishment unit, establish and connect for the PE equipment in the VCF ports by the CB equipment and the VCF systems Connect;
Ability acquiring unit, for obtaining the transfer capability information of the PE equipment, according to the forwarding energy of the PE equipment Force information, or the transfer capability information of the transfer capability information of the PE equipment and the CB equipment are that the PE equipment is set Forward mode is put, the forward mode includes distributed forwarding pattern;
Flow table issuance unit, the forward mode for being set if the PE equipment are distributed forwarding pattern, to described PE equipment issues the open flows OpenFlow flow list item that the CB equipment previously generates, so that the PE equipment is according to The message that the docking of OpenFlow flow list item receives is forwarded.
The present invention also provides a kind of PE equipment management devices, and the PE equipment in framework VCF systems, institute are merged applied to longitudinal direction Stating device includes:
Connection establishment unit, for the control bridge CB equipment in the VCF ports by the PE equipment and the VCF systems Establish connection;
Packet sending and receiving unit, for when receiving the capability set acquisition message that the CB equipment is sent, the PE to be set Standby transfer capability information carries to be sent to the CB equipment in back message, so that the CB equipment is according to the PE equipment Transfer capability information, or the transfer capability information of the PE equipment and the transfer capability information of itself are the PE equipment Forward mode is set, and the forward mode includes distributed forwarding pattern;
Information process unit, distributed mode is arranged to by the CB equipment for the forward mode in the PE equipment When, the open flows OpenFlow flow list item that the CB equipment that the CB equipment is sent previously generates is received, and according to described The message that the docking of OpenFlow flow list item receives is forwarded.
PE device management methods and device provided by the invention, connected by the way that CB equipment and PE equipment are established into Openflow Connect, and use Openflow agreements to reduce coupling between the two as the communication protocol between CB equipment and PE equipment, make VCF systems are obtained more easily to manage.
Brief description of the drawings
Fig. 1 is the VCF system group network environment schematics in the embodiment of the present invention;
Fig. 2 is a kind of PE device management methods schematic flow sheet in the embodiment of the present invention;
Fig. 3 is another PE device management methods schematic flow sheet in the embodiment of the present invention;
Fig. 4 is a kind of logical construction schematic diagram of PE equipment management devices in the embodiment of the present invention;
Fig. 5 is a kind of logical construction schematic diagram of PE equipment management devices in the embodiment of the present invention;
Fig. 6 is the hardware structure schematic diagram of CB equipment or PE equipment where PE equipment management devices in the embodiment of the present invention.
Embodiment
To make the purpose of the application, technical scheme and advantage are more clearly understood, referring to the drawings to application scheme It is described in further detail.
In order to solve problems of the prior art, the invention provides a kind of PE device management methods and device.
Fig. 1 is wrapped in the VCF systems by the network environment schematic diagram of PE device management methods application VCF systems of the present invention Include at least one CB equipment (one is only shown in figure), multiple PE equipment (such as PE1, PE2 and PE3) and connection PE equipment Multiple main frames (such as Host1, Host2 and Host3).CB equipment and PE equipment can include multiple port (such as CB again Port1, Port2 and Port3 in equipment).
Fig. 2 is refer to, is a kind of handling process schematic diagram of PE device management methods provided by the invention, the PE equipment pipes The CB equipment that reason method can be applied in VCF systems, such as include applied to the CB equipment in Fig. 1, the PE device management methods Following steps:
Step 201, established and connected by the VCF ports of itself and PE equipment;
Before this step is performed, CB equipment needs to start with Controller in SDN (controller) role OpenFlow (open flows) agreement, and the port of itself connection PE equipment is switched into VCF ports, in order to use CB equipment VCF ports are established OpenFlow with PE equipment and are connected.
Wherein, the port of itself connection PE equipment is switched to VCF ports by CB equipment by following manner:
Delete all configurations for the port being connected in CB equipment with PE equipment;
According to the IP address that user's request is the port assignment unique mark port, can be distributed not for different ports Same IP address.Also, the IP address distributed by the port being connected in CB equipment with PE equipment with PE equipment with CB equipment The IP address that the port of connection is distributed need to be in the same IP address network segment, so that CB equipment and PE equipment can be established OpenFlow connections.
Now, the port Bian WeiVCF ports Port1 of CB equipment (such as in Fig. 1), and built with the VCF ports of PE equipment Vertical OpenFlow connections.
Specifically, in this step, OpenFlow is established with PE equipment by the VCF ports of CB equipment to be connected and can include The mode that CB equipment is actively established and CB equipment is passively established.Such as:
1st, CB equipment actively establishes OpenFlow connections.
CB equipment actively can send connection to the VCF ports of PE equipment by the VCF ports of itself configuration and establish message (such as OpenFlow hello packet), there is in the header information of the OpenFlow hello packet CB equipment to support all OpenFlow versions, such as these OpenFlow versions can be presented with OpenFlow version scopes, to be built to PE equipment applications Vertical OpenFlow connections.
After CB equipment establishes message to the transmission connection of PE equipment, connection is obtained by PE equipment and establishes the CB carried in message All OpenFlow versions that equipment is supported, the OpenFlow that a PE equipment is supported is chosen out of all OpenFlow versions Version, and establish to shake hands and be connected according to protocol format and the CB equipment of an OpenFlow version defined of selection, so far, CB Vertical stack link is successfully established between equipment and PE equipment, i.e. CB equipment is successfully established OpenFlow with PE equipment and is connected. Here, OpenFlow companies can be passively established when PE equipment chooses an OpenFlow version oneself supported using following CB equipment The OpenFlow versions of CB equipment support similar selection mode is chosen when connecing.
2nd, CB equipment passively establishes OpenFlow connections.
When PE equipment is actively established OpenFlow with CB equipment and is connected, CB equipment can pass through the VCF ports of CB equipment Message (such as OpenFlow hello packet) is established in the connection that OpenFlow connections are established in the application that reception PE equipment is sent, and All OpenFlow versions for being supported of PE equipment are obtained from such as header information of OpenFlow hello packet, from all OpenFlow versions in choose the OpenFlow versions that CB equipment is supported, according to an OpenFlow versions institute of selection Defined protocol format is established to shake hands and is connected with PE equipment.That is, CB equipment is successfully established OpenFlow with PE equipment and is connected.
Specifically, CB equipment can be supported the PE equipment when choosing an OpenFlow version oneself supported All OpenFlow versions compared with all OpenFlow versions itself supported, and select both of which support One OpenFlow version.
If the OpenFlow versions that both of which is supported are only one, supported using the rwo one of CB equipment OpenFlow versions are established OpenFlow with PE equipment and are connected.
If the OpenFlow versions that both of which is supported are multiple, CB equipment can be supported multiple from the rwo Any one OpenFlow version is chosen in OpenFlow versions, and uses the OpenFlow version and PE equipment of the selection Establish connection.
Preferably, when the OpenFlow versions that both of which is supported are multiple, what CB equipment can be supported from the rwo In multiple OpenFlow versions choose highest version OpenFlow versions, and using the highest version OpenFlow versions with PE equipment establishes connection.
CB equipment is established after vertical stack link with PE equipment, periodically can mutually send OpenFlowHello reports Self-operating is normal to notice for text, if CB equipment does not receive the back message of PE equipment in some cycles, it is considered that PE equipment divides from the vertical stack, can now disconnect the OpenFlow established with the PE equipment and be connected.
If in addition, following two situations be present, CB equipment can not also establish OpenFlow with PE equipment and be connected.
After the 1st, if CB equipment receives the OpenFlow hello packet of PE equipment transmission, from OpenFlowHello messages Header information in obtain all OpenFlow versions for being supported of PE equipment, all OpenFlow versions supported with itself After being compared, find to have no the OpenFlow versions of both of which support, can be prompted respectively in CB equipment and PE equipment Both OpenFlow versions are variant, then need to upgrade the OpenFlow versions of CB equipment or PE equipment, and stop establishing OpenFlow connections.Can be after CB equipment or PE equipment upgrade to the OpenFlow versions of itself, then initiate again OpenFlow establishment of connections.
2nd, after CB equipment establishes the OpenFlow hello packet of OpenFlow connections to the transmission application of PE equipment, default Response time in do not receive the back message of PE equipment, it is believed that PE equipment is not enabled on OpenFlow agreements, now OpenFlow can not be established with the PE equipment to be connected.
Step 202, the transfer capability information of PE equipment is obtained, according to the transfer capability information of PE equipment, or PE equipment Transfer capability information and CB equipment transfer capability information for PE equipment set forward mode, forward mode include distribution Forward mode;
Established in CB equipment and PE equipment after OpenFlow is connected, CB equipment can be obtained to PE equipment transmitting capacities collection and reported Text, to obtain the transfer capability information that PE equipment is supported.
Wherein, the transfer capability information of the PE equipment possesses the information of Distributed forwarding capability, PE equipment including PE equipment Possess the information of centralized transfer capability or PE equipment possess the information of Distributed forwarding capability and centralized transfer capability with And the forwarding-table item specification of PE equipment.
Afterwards, CB equipment is set according to the transfer capability information of PE equipment or the transfer capability information and CB of PE equipment Standby transfer capability information is that PE equipment sets forward mode.
If the transfer capability information that CB equipment obtains the PE equipment according to the back message of PE equipment only includes PE equipment tool The information of standby Distributed forwarding capability, then be arranged to distributed forwarding pattern for the PE equipment;If CB equipment is according to PE equipment Back message obtain the transfer capability information of the PE equipment and only include the information that PE equipment possesses centralized transfer capability, be PE The forward mode that equipment is set is centralized forward mode;If the transfer capability information of the PE equipment carried in back message includes PE equipment possesses the information of Distributed forwarding capability and centralized transfer capability and the forwarding-table item specification of PE equipment, then compares The forwarding-table item specification of PE equipment and the forwarding-table item specification size of CB equipment, and according to the forwarding of comparative result setting PE equipment Pattern is distributed forwarding pattern or centralized forward mode.
For example, the transfer capability information of the PE equipment carried in back message possesses distributed forwarding energy including PE equipment During the forwarding-table item specification of the information and PE equipment of power and centralized transfer capability, it can be advised according to the forwarding-table item of CB equipment Lattice set a specification standards, for example, the forwarding-table item specification of CB equipment is 300k, then can be by the forwarding-table item of CB equipment The half (150k) of specification or using 1/3rd (100k) of the forwarding-table item specification of CB equipment as the specification standards, and sentence Whether the forwarding-table item specification of disconnected PE equipment is more than the specification standards, if being more than, illustrates that its table specification is larger, can incite somebody to action PE equipment is arranged to distributed forwarding pattern;If judging, the forwarding-table item specification of PE equipment is less than or equal to the specification standards, says Its bright table specification is smaller, and PE equipment can be arranged to centralized forward mode.It is of course also possible to use other modes Realize, be not especially limited herein.
Step 203, the forward mode set if PE equipment is distributed forwarding pattern, issues and previously generates to PE equipment Open flows OpenFlow flow list item so that PE equipment according to OpenFlow flow list item dock receive message forwarded.
In this step, OpenFlow flow list item can be after PE equipment is arranged to distributed forwarding pattern by CB equipment, What the forwarding-table item arrived according to the PE learning equipments being connected with CB equipment of collection generated;Can also be that CB equipment sets PE equipment After being set to distributed forwarding pattern, generated according to the first message received.Herein, first message is actually coming for first message The message generation for the acquiescence OpenFlow flow list item itself receive and miss that source PE equipment is sent.
Further, in embodiments of the present invention, when PE equipment is arranged to distributed forwarding pattern by CB equipment, may be used also To receive the message of the miss OpenFlow flow list item of PE equipment transmission;End is gone out according to the forwarding-table item lookup message to prestore Mouthful, message is forwarded by the exit port found.
Specifically, for CB equipment, it says in PacketIn (access package) message sent on receiving PE equipment The message carried in the bright PacketIn messages is any one OpenFlow flow list item (these in miss PE equipment OpenFlow flow list item be CB equipment received before first message generation after issue) message.So CB equipment can With the destination address according to the message, forwarding information corresponding with the destination address is searched in the forwarding-table item to prestore, i.e. should The exit port of message, then message generation PacketOut (sending bag) message is forwarded by the exit port.
Afterwards, CB equipment the destination address of message is being learnt according to forwarding-table item corresponding to equipment it is indirectly connected for PE equipment During equipment, notice PE equipment adds one in OpenFlow flow list item the port of message is sent in institute's PE equipment as message Exit port list item so that PE equipment when receiving message again, passes through message in the OpenFlow flow list item after addition Exit port forward.
When equipment corresponding to learning the destination address of message according to forwarding-table item is the direct-connected device of PE equipment, PE is notified Equipment adds one using port going out as message direct-connected with direct-connected PE equipment in institute's PE equipment in OpenFlow flow list item The list item of port, so that PE equipment is when receiving message again, gone out by message in the OpenFlow flow list item after addition Port forwards.
With reference to Fig. 1 as an example it is assumed that PE1 is respectively received two messages that Host1 is sent to Host2 and Host3, if Two messages are matched what itself prestored by PE1 according to its target MAC (Media Access Control) address Host2-MAC and Host3-MAC respectively During OpenFlow flow list item, the OpenFlow flow list item of miss any one, then PE1 can be by two messages of reception Two PacketIn message up sending are encapsulated as to the processing of CB equipment.
CB equipment decapsulates to two PacketIn messages, obtains the target MAC (Media Access Control) address Host2- of two messages MAC and Host3-MAC, and the exit port for itself going up two messages is searched according to the forwarding-table item to prestore.
Wherein, exit port of the message that target MAC (Media Access Control) address is Host2-MAC in CB equipment be:Port12;
Exit port of the message that target MAC (Media Access Control) address is Host3-MAC in CB equipment be:Port13.
Afterwards, the message that target MAC (Media Access Control) address is Host2-MAC is encapsulated as PacketOut messages and passed through by CB equipment Port12 is forwarded;The message that target MAC (Media Access Control) address is Host3-MAC is encapsulated as into PacketOut messages by Port13 to turn Send out.
Then, according to forwarding-table item determine the destination address of two messages be be connected with other PE equipment (PE2 with And PE3) main frame after, may further determine that out that PE2 and PE1 are to be in direct-connected state;PE3 and PE1 is to be in indirectly connected shape State.
So, when the PE2 that the destination host of message is connected and PE1 is in direct-connected state, CB equipment is according to forward table It is Port2 that item, which calculates the exit port of message that target MAC (Media Access Control) address is Host2-MAC on PE1, and according to target MAC (Media Access Control) address Host2-MAC and Port2 generates an OpenFlow flow list item and is issued to PE1, to notify PE1 to add this OpenFlow flow table , can be according to the OpenFlow flow list item after addition when making the message that the subsequently received target MAC (Media Access Control) address of PE1 is Host2-MAC Forwarded.
When PE3 that destination host is connected is in indirectly connected state with PE1, will can be connected on PE1 with CB equipment Exit ports of the port Port1 as the message that target MAC (Media Access Control) address is Host3-MAC on PE1, and according to target MAC (Media Access Control) address Host3-MAC and Port1 generates an OpenFlow flow list item and is issued to PE1, to notify PE1 to add this OpenFlow flow table , PE1 is passed through the OpenFlow flow list item after addition when receiving the message that target MAC (Media Access Control) address is Host3-MAC again In the exit port of the message send to CB equipment, and the message is forwarded by CB equipment.
Further, in embodiments of the present invention, after the forward mode of PE equipment is arranged to distributed mode by CB equipment, The forwarding-table item that can be arrived with all PE learning equipments being connected with CB equipment of periodic collection, and collection forwarding-table item with prestoring Forwarding-table item it is inconsistent when, notify PE renewal of the equipment OpenFlow flow list items.
Specifically, CB equipment is after the forwarding-table item of the connected all PE equipment of periodic collection, if checking this turn The content of forwarding list item and the forwarding-table item content collected before are inconsistent, illustrate that the interior of forwarding-table item has renewal.It is possible to The OpenFlow flow table related to the forwarding-table item of renewal issued to each PE equipment according to the forwarding-table item renewal after renewal , or, all OpenFlow flow list items that can also have been issued to each PE equipment according to the forwarding-table item renewal after renewal.With PE equipment is forwarded subsequently received message to message according to the OpenFlow flow list item after renewal, and then avoid The problem of message forwarding is wrong.
Further, in embodiments of the present invention, when PE equipment is arranged to centralized forward mode by CB equipment, instruction PE equipment is by the message up sending received to CB equipment;After the message that follow-up CB equipment is sent on PE equipment is received, according to pre- The forwarding-table item deposited searches the exit port of message, and is forwarded the packet away by exit port.
Specifically, CB equipment can be issued to PE equipment all messages for receiving PE equipment on send CB equipment handle On send OpenFlow flow list item, with indicate PE equipment by receive the message of forwarding in need be encapsulated as PacketIn messages On deliver to CB equipment.
After the PacketIn messages that CB equipment is sent on PE equipment is received, basis after being decapsulated to the PacketIn messages The forwarding-table item for all PE equipment collected searches the exit port of the PacketIn messages, and afterwards, the PacketIn messages are given birth to Forwarded into PacketOut messages by the exit port.
Further, in embodiments of the present invention, when PE equipment is arranged to distributed forwarding pattern by CB equipment and is increased During new application function, whether CB equipment is sent to PE equipment supports the capability set of new application function to obtain for obtaining PE equipment Take message;After the PE equipment for receiving PE device replieds supports the back message of new application function, to PE equipment issue with OpenFlow flow list item corresponding to new application function, so that PE equipment is according to OpenFlow flow corresponding with new application function List item, message receive and hit OpenFlow flow list item corresponding with new application function is handled;Receiving To PE device replieds PE equipment do not support the back message of new application function after, issued to PE equipment and send OpenFlow flow List item so that PE equipment by receive and hit with above sending the message up sending of OpenFlow flow list item to CB equipment.
It is assumed that CB equipment, which adds, supports that (Virtual eXtensible Local Area Network, can expand VXLAN Open up Virtual Local Area Network) application function after, PE equipment is without increase or changes any configuration, it is only necessary to is set from CB equipment to PE Preparation send capability set to obtain message, to confirm whether PE equipment can support VXLAN tunnel encapsulation.Returned receiving PE equipment After multiple back message, if according to back message determine PE equipment support VXLAN application functions, to PE equipment issue with OpenFlow flow list item corresponding to VXLAN application functions.Being removed in the OpenFlow flow list item includes exit port corresponding with message Outside information, in addition to the processing information corresponding to the message is handled, such as tunnel how is carried out to message and seals up dress or decapsulation Information.
After PE equipment receives VXLAN messages by enabling VXLAN port, if the VXLAN messages have hit PE OpenFlow flow list item corresponding with VXLAN application functions in equipment, can be by the VXLAN messages of reception according to this OpenFlow Processing information corresponding to flow table item realizes that dress is sealed up in the tunnel of VXLAN messages or decapsulation is handled in PE equipment, and according to The exit port of VXLAN messages forwards to VXLAN messages.
If determining that PE equipment does not support VXLAN application functions according to back message, CB equipment is then issued to PE equipment and will connect OpenFlow flow list item is sent in the VXLAN message up sending CB equipment of receipts, so that PE equipment connects by enabling VXLAN port After receiving VXLAN messages, by VXLAN message up sending to CB equipment, dress or envelope are sealed up in the tunnel that VXLAN is carried out in CB equipment Dress processing.As can be seen here, when CB or PE equipment increases new opplication, it is only necessary to which CB equipment issues correspondingly to PE equipment OpenFlow flow list item, and then make the present invention that there is stronger extended capability.
Further, in embodiments of the present invention, in the case where PE equipment is arranged to distributed forwarding pattern by CB equipment, CB is set Standby can be issued to PE equipment send OpenFlow flow list item, so that PE equipment will send the message of OpenFlow flow list item in hit On deliver to CB equipment, this processing mode is applied to following application scenarios:In VCF systems enable certain agreement regulation, it is necessary to The message of the agreement is intended to be sent to the CPU processing of CB equipment.Under this application scenarios, PE equipment receives the agreement During the message of type, it can hit and send OpenFlow flow list item, the message of the protocol type is encapsulated as by the CPU of PE equipment OpenFlow PacketIn message up sending gives CB equipment.
Further, CB equipment can also receive the OpenFlow port status messages that PE equipment is periodically sent, to obtain The configuration information of all of the port in PE equipment;Or when CB equipment needs to know the configuration information of the port of PE equipment, CB is set The standby OpenFlow ports that can also be sent to PE equipment obtain message to obtain the configuration information of all of the port in PE equipment.
After CB equipment receives the OpenFlow port status messages of PE device replieds, obtain and preserve OpenFlow ends The port configuration information carried in mouth state message.
For example, the configuration information be the duplexing speed of port, Vlan (Virtual Local Area Network, virtually LAN) information, polymerization group information, STP (Spanning Tree Protocol, Spanning-Tree Protocol) state letter where port The information such as breath, queue scheduling mode, port Shut Down (closing) and port priority.
When needing the port configuration to PE equipment to modify, CB equipment can be issued by VCF ports to PE equipment The port modifications message of configuration information to be modified is carried, so that PE equipment changes PE equipment according to the configuration information to be modified Port is configured, and the port status message for carrying amended port configuration information is sent from PE equipment to CB equipment.
After CB equipment receives the port status message that this carries new port configuration information, port status message is preserved The new port configuration information of middle carrying, in order to follow-up management.
Further, when PE equipment is distributed forwarding pattern, the present invention can also be to connecing on the VCF ports of PE equipment The message of receipts is counted, and obtains statistical result.And according to statistical result judge the Message processing state of PE equipment be it is busy or Person is idle, when the Message processing state for judging PE equipment reaches certain condition, is counted what is obtained according to each PE equipment Statistical result generates new OpenFlow flow list item and is issued to PE equipment.
Specifically, CB equipment can send query message to inquire about the Message processing of VCF ports in PE equipment to PE equipment State, after PE equipment receives the query message, the flow of the VCF ports is counted, and statistical result is returned back into CB equipment.CB Equipment judges whether the VCF ports are busy according to the statistical result, for example, a reference value can be pre-set, if statistical result More than the default reference value, it may be determined that the VCF ports are more busy;If statistical result is less than or equal to the default reference Value, it may be determined that the VCF ports are more idle.CB equipment is after the Message processing state of VCF ports is determined, you can with according to Need, according to the forwarding-table item of all PE equipment of themselves capture, and to statistical result that each PE equipment is counted to obtain To adjust the forwarding information in VCF systems, and corresponding OpenFlow flow list item is issued to PE equipment.
For example, when determining that the Message processing state of VCF ports of PE equipment is more busy, CB equipment can be by originally The path forwarded via the VCF ports is recalculated, and calculates the new path forwarded by more idle port, to The PE equipment related to the new path issues OpenFlow flow list item, so that flow can bypass the more busy VCF ends Mouth is forwarded.
Further, no matter which kind of forward mode is PE equipment is arranged to by CB equipment, if CB equipment needs to be enabled according to it Agreement, during by the network port retransmission protocol message of PE equipment, protocol massages can be encapsulated as to PacketOut messages Send to PE equipment, forwarded the PacketOut messages by the network port (non-VCF ports) by PE equipment.
For example, CB equipment enables ospf protocol, this protocol requirement CB equipment timing sends the route for obtaining PE equipment The ospf protocol message of information (forwarding-table item).So, the ospf protocol message then generates in CB equipment.CB is set afterwards PE equipment is actively sent to for the ospf protocol message is encapsulated as into PacketOut messages, the PacketOut is parsed by PE equipment Message obtains ospf protocol message, and is forwarded obtained ospf protocol message by corresponding network port.
In summary, the present invention uses OpenFlow agreements to be set as the communication protocol between CB equipment and PE equipment, PE The standby and message of CB communication between devices is OpenFlow messages, as long as PE equipment and CB equipment can support OpenFlow agreements The message can be handled, reduces the coupling between CB equipment and PE equipment in VCF systems, is easy to pipe compared to prior art Reason and extension.
Fig. 3 is refer to, for the handling process schematic diagram of another PE device management methods provided by the invention, the PE equipment The PE equipment that management method can be applied in VCF systems, the PE device management methods comprise the following steps:
Step 301, established and connected with the control bridge CB equipment in VCF systems by the VCF ports of PE equipment;
Before this step is performed, PE equipment can with SDN (Software Defined Network, software defined network Network) role of OpenFlow switching equipment starts OpenFlow agreements in network, and will itself connection CB equipment port switching For VCF ports, it is connected in order to establish OpenFlow with CB equipment using the VCF ports of PE equipment.Wherein, itself is connected into CB The port of equipment switches to VCF ports to specifically include:
Delete PE equipment on all configurations for the port for being connected CB equipment;
According to the IP address that user's request is the port assignment unique mark port, also, in PE equipment with CB equipment The IP address that the port of connection is distributed need to be in same with the IP address that the port being connected in CB equipment with PE equipment is distributed In the IP address network segment, it is connected so that PE equipment can establish OpenFlow with CB equipment.
Now, the port is just the VCF ports (such as in Fig. 1 PE1 Port1) of PE equipment, and PE equipment and CB equipment Vertical stack link establishment success, i.e. PE equipment is established OpenFlow with CB equipment by the VCF ports and is connected.
Specifically, PE equipment masters can also be included by establishing OpenFlow with CB equipment by the VCF ports of PE equipment and being connected The mode that dynamic foundation and PE equipment are passively established.The two ways can establish the place that OpenFlow is connected with above-mentioned CB equipment It is consistent to manage flow, will not be repeated here.PE equipment is established after vertical stack with CB equipment, periodically can mutually be sent Self-operating is normal to notice for OpenFlow hello packet, if PE equipment does not receive CB equipment in some cycles OpenFlow hello packet, then it is considered that the vertical stack has divided, it can now disconnect what is established with the CB equipment OpenFlow connections.
If in addition, following two situations be present, CB equipment can not also establish OpenFlow with PE equipment and be connected.
After the 1st, if PE equipment receives the OpenFlow hello packet of CB equipment transmission, from OpenFlowHello messages Header information in obtain all OpenFlow versions for being supported of CB equipment, the OpenFlow versions supported with itself are carried out After comparing, find to have no the OpenFlow versions of both of which support, can both promptings respectively in PE equipment and CB equipment OpenFlow versions it is variant, the OpenFlow versions of PE equipment or CB equipment need to be upgraded, and stop establishing OpenFlow companies Connect.Can be after PE equipment or CB equipment upgrade to the OpenFlow versions of itself, then OpenFlow connections are initiated again Foundation.
2nd, after PE equipment establishes the OpenFlow hello packet of OpenFlow connections to the transmission application of CB equipment, default Response time in do not receive the back message of CB equipment, it is believed that CB equipment is not enabled on OpenFlow agreements, now OpenFlow can not be established with the CB equipment to be connected.
Step 302, when the capability set for receiving the transmission of CB equipment obtains message, the transfer capability information of PE equipment is taken Band is sent to CB equipment in back message, so that transfer capability information of the CB equipment according to PE equipment, or turn of PE equipment It is that PE equipment sets forward mode to send out ability information and the transfer capability information of itself, and forward mode includes distributed forwarding mould Formula;
There is consistent OpenFlow versions in CB equipment and PE equipment and establish after OpenFlow is connected, PE equipment can be with The acquisition PE equipment for receiving the transmission of CB equipment supports the capability set of which kind of transfer capability to obtain message, and PE equipment can be according to certainly Oneself transfer capability information generation back message returns back to CB equipment.Wherein, the transfer capability information possesses point including PE equipment Information, the PE equipment of cloth transfer capability possess the information of centralized transfer capability or PE equipment possesses distributed forwarding energy The forwarding-table item specification of the information and PE equipment of power and centralized transfer capability.
Step 303, when the forward mode of PE equipment is arranged to distributed mode by CB equipment, receive what CB equipment was sent The open flows OpenFlow flow list item that CB equipment previously generates, and the message received according to the docking of OpenFlow flow list item is turned Hair.
If CB equipment by PE equipment be arranged to distributed forwarding pattern (specific setting up procedure the first above-mentioned PE manage Manage described in method flow), after PE equipment receives message, by the destination address of the message (such as target MAC (Media Access Control) address or Purpose IP address) matched with the OpenFlow list items that PE equipment receives.
When the message that receives hits OpenFlow flow list item, message is gone out by message in OpenFlow flow list item Port forwards.
In the miss any one OpenFlow flow list item of the message received, (these OpenFlow flow list items are that CB is set Issued after the standby first message generation received before) when, by message up sending to CB equipment, so that CB equipment is according to prestoring Forwarding-table item searches the exit port of message, and message is forwarded by the exit port found, and in the destination address of message When corresponding equipment is the non-straight attached device of PE equipment, notice PE equipment adds one in OpenFlow flow list item and sets institute PE List item of the port of standby upper transmission message as the exit port of message;Equipment corresponding to the destination address of message is determined in CB equipment For PE equipment direct-connected device when, notice PE equipment added in OpenFlow flow list item one by institute's PE equipment with direct-connected PE List item of the direct-connected port of equipment as the exit port of message;PE equipment when receiving message again, after addition The exit port of message forwards the packet away in OpenFlow flow list item.
In the present invention, if PE equipment is arranged to centralized forward mode by CB equipment, CB equipment can be received and issued On send OpenFlow flow list item.Afterwards, after PE equipment receives message, if the message, which is hit, is sent OpenFlow flow table on this , then the message is encapsulated as PacketIn message up sending to CB equipment, by CB equipment turning according to all PE equipment of collection Forwarding list item searches the exit port of the message, then message generation PacketOut messages are sent by the exit port.
In addition, PE equipment can also coordinate CB equipment to perform other work.
For example, PE equipment periodically can send OpenFlow port status messages to CB equipment, to be reported certainly to CB equipment The configuration information of body all of the port.Or when CB equipment needs to know the configuration information of the port of PE equipment, PE equipment also may be used Message is obtained to receive the OpenFlow ports of CB equipment transmission, PE equipment can match somebody with somebody confidence according to all of the port of itself Breath generation OpenFlow port status messages are sent to CB equipment.
The configuration information of the port includes the duplexing speed of port, Vlan (Virtual Local Area Network, void Intend LAN) information, polymerization group information, STP (Spanning Tree Protocol, Spanning-Tree Protocol) state letter where port The information such as breath, queue scheduling mode, port Shut Down and port priority.
If CB equipment needs to change the configuration of PE equipment port, what PE equipment can receive that CB equipment issues carries The OpenFlow port modifications messages of configuration information to be modified, and according to the configuration of configuration information modification port to be modified.End After mouth configuration modification, the OpenFlow port status messages that carry new port configuration information can be sent to CB equipment, So that CB equipment preserves the new port configuration information, in order to follow-up management.
The present invention also provides a kind of PE equipment management devices, and Fig. 4 is the structural representation of the PE equipment management devices, the dress Putting can apply in the CB equipment in applied to VCF systems, and the PE equipment management devices can include connection establishment unit 401st, ability acquiring unit 402 and flow table issuance unit 403, wherein:
Connection establishment unit 401, built for the VCF ports by the CB equipment and the PE equipment in the VCF systems Vertical connection;
Ability acquiring unit 402, for obtaining the transfer capability information of the PE equipment, according to the forwarding of the PE equipment Ability information, or the transfer capability information of the transfer capability information of the PE equipment and the CB equipment are the PE equipment Forward mode is set, and the forward mode includes distributed forwarding pattern;
Flow table issuance unit 403, the forward mode for being set if the PE equipment is distributed forwarding pattern, to institute State PE equipment and issue the open flows OpenFlow flow list item that the CB equipment previously generates, so that the PE equipment is according to The message that the docking of OpenFlow flow list item receives is forwarded.
Further, the connection establishment unit 401 is specific can be used for receiving institute by the VCF ports of the CB equipment Message is established in the connection for stating the transmission of PE equipment;Obtain the connection establish the PE equipment that is carried in message support it is all OpenFlow versions, the OpenFlow versions that the CB equipment is supported are chosen out of described all OpenFlow versions; Protocol format according to an OpenFlow version defined of selection is established to shake hands with the PE equipment to be connected;Or pass through The VCF ports of the CB equipment send the company for carrying all OpenFlow versions that the CB equipment is supported to the PE equipment Connect and establish message so that the PE equipment obtain the connection establish the CB equipment that is carried in message support it is all OpenFlow versions, the OpenFlow versions that the PE equipment is supported are chosen out of described all OpenFlow versions, And establish to shake hands and be connected according to protocol format and the CB equipment of an OpenFlow version defined of selection.
Further, the transfer capability information of the PE equipment includes the letter that the PE equipment possesses Distributed forwarding capability Breath, the PE equipment possesses the information of centralized transfer capability or the PE equipment possesses Distributed forwarding capability and concentration The forwarding-table item specification of the information of formula transfer capability and the PE equipment;The forward mode also includes centralization forwarding mould Formula;
The OpenFlow flow list item is that the forward mode of the PE equipment is arranged to distributed forwarding by the CB equipment After pattern, according to collection and PE learning equipments that the CB equipment is connected to forwarding-table item or the first message that receives give birth to Into;Wherein, the hit acquiescence itself receive and no that the first message sends for the source PE equipment of the first message The message of OpenFlow flow list item;
The ability acquiring unit 402 specifically can be used for:Sent to the PE equipment for obtaining the PE equipment The capability set of transfer capability information obtains message, after the back message of the PE device replieds is received, obtains the response The transfer capability information of the PE equipment carried in message;If the forwarding energy of the PE equipment carried in the back message Force information only includes the information that the PE equipment possesses Distributed forwarding capability, is that the forward mode that the PE equipment is set is point Cloth forward mode;Have if the transfer capability information of the PE equipment carried in the back message only includes the PE equipment The information of standby centralized transfer capability, the forward mode set for the PE equipment is centralized forward mode;If the response The transfer capability information of the PE equipment carried in message possesses Distributed forwarding capability and centralization including the PE equipment The forwarding-table item specification of the information of transfer capability and the PE equipment, then the forwarding-table item specification of the PE equipment and institute The forwarding-table item specification size of CB equipment is stated, and it is distributed forwarding to set the forward mode of the PE equipment according to comparative result Pattern or centralized forward mode.
Further, described device can also include packet sending and receiving unit 404, be sent not for receiving the PE equipment The message of the OpenFlow flow list item is hit, and the exit port of the message is searched according to the forwarding-table item to prestore;By described in Message is forwarded by the exit port found;
It is that the PE is set that the flow table issuance unit 403, which can be also used for equipment corresponding to destination address in the message, During standby non-straight attached device, the PE equipment is notified to add one in the OpenFlow flow list item and will be sent in institute's PE equipment List item of the port of the message as the exit port of the message, so that the PE equipment is receiving the message again When, forwarded by the exit port of message described in the OpenFlow flow list item after addition;In the destination address of the message When corresponding equipment is the direct-connected device of the PE equipment, the PE equipment is notified to add one in the OpenFlow flow list item Bar is using the list item of the exit port of port direct-connected with the direct-connected PE equipment in institute's PE equipment as the message, so that the PE Equipment is transferred when receiving the message again by the exit port of message described in the OpenFlow flow list item after addition Go.
Further, if the packet sending and receiving unit 404 can be also used for the PE equipment being arranged to centralized forwarding Pattern, indicate the PE equipment by the message up sending received to the CB equipment;And given on the PE equipment is received After message, the exit port of the message is searched according to the forwarding-table item to prestore, and is forwarded the message by the exit port Go out.
Further, described device can also include collecting updating block 405, for all PE learning equipments of periodic collection The forwarding-table item arrived, and the forwarding-table item arrived according to collected all PE learning equipments updates the OpenFlow flow table .
Further, the flow table issuance unit 403, which can be also used for issuing to the PE equipment, send OpenFlow flow List item, so that the PE equipment will hit message up sending that OpenFlow flow list item is sent on described to the CB equipment.
Further, the ability acquiring unit 402 is additionally operable to when the CB equipment possesses new application function, to institute State PE equipment and send the capability set acquisition message that the new application function whether is supported for obtaining the PE equipment;
The flow table issuance unit 403 is additionally operable to described new in the PE equipment support for receiving the PE device replieds Application function back message after, issue OpenFlow flow table corresponding with the new application function to the PE equipment , so that the PE equipment is according to OpenFlow flow list item corresponding with the new application function, to receiving and hit The message of OpenFlow flow list item corresponding with the new application function is handled;Receiving the PE device replieds After the PE equipment does not support the back message of the new application function, issued to the PE equipment and send OpenFlow flow table So that the PE equipment by receive and hit with it is described on send the message up sending of OpenFlow flow list item to the CB Equipment.
In addition, the PE equipment management devices that the present invention is applied to CB equipment can be with above-mentioned PE in specific handling process The handling process of device management method is consistent, will not be repeated here.
Present invention also offers another PE equipment management devices, Fig. 5 is the structural representation of the PE equipment management devices, The device can be applied in the PE equipment in applied to VCF systems, and the PE equipment management devices can include connection and establish list Member 501, packet sending and receiving unit 502 and information process unit 503, wherein:
Connection establishment unit 501, for the control bridge CB in the VCF ports by the PE equipment and the VCF systems Equipment establishes connection;
Packet sending and receiving unit 502, for when receiving the capability set that the CB equipment sends and obtaining message, by the PE The transfer capability information of equipment carries to be sent to the CB equipment in back message, so that the CB equipment is set according to the PE Standby transfer capability information, or the transfer capability information of the PE equipment and the transfer capability information of itself are that the PE is set Standby to set forward mode, the forward mode includes distributed forwarding pattern;
Information process unit 503, distributed mould is arranged to by the CB equipment for the forward mode in the PE equipment During formula, the open flows OpenFlow flow list item that the CB equipment that the CB equipment is sent previously generates is received, and according to described The message that the docking of OpenFlow flow list item receives is forwarded.
Further, the connection establishment unit 501 is specific can be used for receiving institute by the VCF ports of the PE equipment Message is established in the connection for stating the transmission of CB equipment;Obtain the connection establish the CB equipment that is carried in message support it is all OpenFlow versions, the OpenFlow version that the PE equipment is supported is chosen out of described all OpenFlow versions;Press Establish to shake hands with the CB equipment according to protocol format as defined in an OpenFlow version of selection and be connected;Or by described The connection that the VCF ports of PE equipment send all OpenFlow versions for carrying the PE equipment support to the CB equipment is built Vertical message, so that the CB equipment obtains the connection and establishes all OpenFlow that the PE equipment carried in message is supported Version, an OpenFlow version itself supported is chosen out of described all OpenFlow versions, and according to the one of selection The protocol format of individual OpenFlow versions defined is established to shake hands and is connected with the PE equipment.
Further, described information processing unit 502 is specific can be used for described in the message hit received During OpenFlow flow list item, the message is forwarded by the exit port of message described in the OpenFlow flow list item; In the miss OpenFlow flow list item of the message that receives, the message is sent to CB equipment, so that the CB is set The standby exit port that the message is searched according to the forwarding-table item to prestore, the message is transferred by the exit port found Go, and equipment corresponding to the destination address in the message be the PE equipment non-straight attached device when, notify the PE equipment Port going out as the message that the message will be sent in institute's PE equipment is added in the OpenFlow flow list item The list item of port;When CB equipment determines the direct-connected device that equipment corresponding to the destination address of the message is the PE equipment, Notify the PE equipment adds one in the OpenFlow flow list item will be direct-connected with the direct-connected PE equipment in institute's PE equipment List item of the port as the exit port of the message;The PE equipment when receiving the message again, after addition OpenFlow flow list item described in the exit port of message the message is forwarded.
Further, the packet sending and receiving unit 502 can be also used for the forward mode in the PE equipment by the CB When equipment is arranged to centralized forward mode, by the message up sending received to the CB equipment so that the CB equipment according to The forwarding-table item to prestore searches the exit port of the message, and is forwarded the message by the exit port.
Further, described information processing unit 502 can be also used for receiving and send on the CB equipment issues OpenFlow flow list item, and message up sending that OpenFlow flow list item is sent on described will be hit to the CB equipment.
Further, the packet sending and receiving unit 503 it is specific can be used for receiving the CB equipment possessing new application What is sent during function is used to obtain whether the PE equipment to support the capability set of the new application function to obtain message;To institute State after CB equipment sends the back message that the PE equipment supports the new application function, receive that the CB equipment issues with OpenFlow flow list item corresponding to the new application function, and according to OpenFlow flow corresponding with the new application function List item, message receive and hit OpenFlow flow list item corresponding with the new application function is handled; After not supporting the back message of the new application function to the CB equipment transmission PE equipment, receive under the CB equipment Send OpenFlow flow list item on hair, and by receive and hit with it is described on send the message up sending of OpenFlow flow list item To the CB equipment.
In addition, the PE equipment management devices that the present invention is applied to PE equipment can be with above-mentioned PE in specific handling process The handling process of device management method is consistent, will not be repeated here.
Said apparatus can be realized by software, can also be realized by hardware, convenient for example, PE equipment pipe of the present invention The hardware structure schematic diagram of CB equipment and PE equipment where reason device is referred to shown in Fig. 6, and its basic hardware environment includes CPU, forwarding chip, memory and other hardware, wherein memory device include machine readable instructions, and CPU reads and performed Machine readable instructions perform the function of each unit in Fig. 4,5.
From the embodiment of any of the above method and apparatus as can be seen that the embodiment of the present invention in by by CB equipment with PE equipment is established by VCF ports and connected, and is that PE equipment sets forward mode according to the transfer capability of PE equipment, by described in When PE equipment is arranged to distributed forwarding pattern, CB equipment issues OpenFlow flow list item to the PE equipment, so that PE equipment Forwarded according to the message that OpenFlow flow list item docking is received, so as to improve business processing efficiency.Also, the present invention makes By the use of OpenFlow agreements as the communication protocol between CB equipment and PE equipment, when CB equipment or PE equipment need to increase new opplication When, it is only necessary to CB equipment issues correspondingly OpenFlow flow list item to PE equipment, reduces CB equipment and PE in VCF systems Coupling between equipment, so that VCF systems more easily manage, and have stronger extended capability.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God any modification, equivalent substitution and improvements done etc., should be included within the scope of protection of the invention with principle.

Claims (28)

1. a kind of ports-Extending PE device management methods, the control bridge CB equipment in framework VCF systems is merged applied to longitudinal direction, its It is characterised by, methods described includes:
Established and connected with the PE equipment in the VCF systems by the VCF ports of the CB equipment;
The transfer capability information of the PE equipment is obtained, according to the transfer capability information of the PE equipment, or the PE equipment Transfer capability information and the CB equipment transfer capability information for the PE equipment set forward mode, the forwarding mould Formula includes distributed forwarding pattern;
The forward mode set if the PE equipment is distributed forwarding pattern, and opening of previously generating is issued to the PE equipment OpenFlow flow list item is released, so that the message that the PE equipment receives according to OpenFlow flow list item docking is turned Hair.
2. the method as described in claim 1, it is characterised in that the VCF ports by the CB equipment are built with PE equipment Vertical connection specifically includes:
Message is established in the connection that the PE equipment transmission is received by the VCF ports of the CB equipment;
Obtain the connection and establish all OpenFlow versions that the PE equipment that is carried in message is supported, from described all The OpenFlow versions that the CB equipment is supported are chosen in OpenFlow versions;
Protocol format according to an OpenFlow version defined of selection is established to shake hands with the PE equipment to be connected;Or
All OpenFlow for carrying the CB equipment and supporting are sent to the PE equipment by the VCF ports of the CB equipment Message is established in the connection of version, so that the PE equipment obtains the connection and establishes what the CB equipment carried in message was supported All OpenFlow versions, the OpenFlow versions that the PE equipment is supported are chosen out of described all OpenFlow versions This, and shake hands and be connected according to protocol format and the CB equipment foundation of an OpenFlow version defined of selection.
3. method as claimed in claim 1 or 2, it is characterised in that the transfer capability information of the PE equipment includes the PE Equipment possesses the information of Distributed forwarding capability, the PE equipment possesses the information of centralized transfer capability or the PE is set It is standby to possess the information of Distributed forwarding capability and centralized transfer capability and the forwarding-table item specification of the PE equipment;
The forward mode also includes centralized forward mode;
The OpenFlow flow list item is that the forward mode of the PE equipment is arranged to distributed forwarding pattern by the CB equipment Afterwards, according to collection and PE learning equipments that the CB equipment is connected to forwarding-table item or the first message that receives generate 's;Wherein, the acquiescence itself receive and miss that the first message sends for the source PE equipment of the first message The message of OpenFlow flow list item;
The transfer capability information for obtaining the PE equipment, is specifically included:
The capability set that the transfer capability information for obtaining the PE equipment is sent to the PE equipment obtains message, is receiving After the back message of the PE device replieds, the transfer capability information of the PE equipment carried in the back message is obtained;
It is described to be set according to the transfer capability information or the transfer capability information of the PE equipment of the PE equipment and the CB Standby transfer capability information is that PE equipment sets forward mode, is specifically included:
If the transfer capability information of the PE equipment carried in the back message only possesses distribution including the PE equipment The information of transfer capability, the forward mode set for the PE equipment is distributed forwarding pattern;
If the transfer capability information of the PE equipment carried in the back message only possesses centralization including the PE equipment The information of transfer capability, the forward mode set for the PE equipment is centralized forward mode;
If the transfer capability information of the PE equipment carried in the back message possesses distributed turn including the PE equipment Turn of the forwarding-table item specification of the information and the PE equipment of hair ability and centralized transfer capability, then the PE equipment The forwarding-table item specification size of forwarding list item specification and the CB equipment, and according to the forwarding mould of the comparative result setting PE equipment Formula is distributed forwarding pattern or centralized forward mode.
4. the method as described in claim 1, it is characterised in that methods described also includes:
Receive the message for the miss OpenFlow flow list item that the PE equipment is sent;
The exit port of the message is searched according to the forwarding-table item to prestore, the message is transferred by the exit port found Go, and equipment corresponding to the destination address in the message be the PE equipment non-straight attached device when, notify the PE equipment Port going out as the message that the message will be sent in institute's PE equipment is added in the OpenFlow flow list item The list item of port, so that the PE equipment is when receiving the message again, by the OpenFlow flow list item after addition The exit port of the message forwards;Equipment corresponding to destination address in the message is the direct-connected device of the PE equipment When, notify the PE equipment adds one in the OpenFlow flow list item will be straight with the direct-connected PE equipment in institute's PE equipment List item of the port even as the exit port of the message, so that the PE equipment passes through when receiving the message again The exit port of message forwards described in OpenFlow flow list item after addition.
5. the method as described in claim 1, it is characterised in that methods described also includes:
If the PE equipment is arranged into centralized forward mode, indicate the PE equipment by the message up sending received to described CB equipment;
After the message sent on the PE equipment is received, the exit port of the message is searched according to the forwarding-table item to prestore, and The message is forwarded by the exit port.
6. the method as described in claim 1, it is characterised in that methods described also includes:
The forwarding-table item that all PE learning equipments being connected with the CB equipment of periodic collection arrive, and collection forwarding-table item with When the forwarding-table item to prestore is inconsistent, OpenFlow flow list item described in the PE renewal of the equipment is notified.
7. the method as described in claim 1, it is characterised in that methods described also includes:
Issued to the PE equipment and send OpenFlow flow list item, so that the PE equipment will hit and OpenFlow flow is sent on described The message up sending of list item is to the CB equipment.
8. the method as described in claim 1, it is characterised in that methods described also includes:
When the CB equipment possesses new application function, sent to the PE equipment for obtaining whether the PE equipment is supported The capability set of the new application function obtains message;
After the PE equipment for receiving the PE device replieds supports the back message of the new application function, to described PE equipment issues OpenFlow flow list item corresponding with the new application function so that the PE equipment according to it is described new OpenFlow flow list item corresponding to application function, it is corresponding with the new application function to receive and hit The message of OpenFlow flow list item is handled;
After the PE equipment for receiving the PE device replieds does not support the back message of the new application function, to institute State PE equipment and issue and send OpenFlow flow list item so that the PE equipment by receive and hit with it is described on give The message up sending of OpenFlow flow list item is to the CB equipment.
9. a kind of ports-Extending PE device management methods, the PE equipment in framework VCF systems is merged applied to longitudinal direction, its feature exists In methods described includes:
Established and connected with the control bridge CB equipment in the VCF systems by the VCF ports of the PE equipment;
When receiving the capability set acquisition message that the CB equipment is sent, the transfer capability information of the PE equipment is carried and existed Sent in back message to the CB equipment, so that transfer capability information of the CB equipment according to the PE equipment, Huo Zhesuo It is that the PE equipment sets forward mode, the forwarding to state the transfer capability information of PE equipment and the transfer capability information of itself Pattern includes distributed forwarding pattern;
When the forward mode of the PE equipment is arranged to distributed mode by the CB equipment, receive what the CB equipment was sent The open flows OpenFlow flow list item that the CB equipment previously generates, and the report received according to OpenFlow flow list item docking Text is forwarded.
10. method as claimed in claim 9, it is characterised in that the VCF ports by the PE equipment are built with CB equipment Vertical connection specifically includes:
Message is established in the connection that the CB equipment transmission is received by the VCF ports of the PE equipment;
Obtain the connection and establish all OpenFlow versions that the CB equipment carried in message is supported, own from described The OpenFlow version that the PE equipment is supported is chosen in OpenFlow versions;
Establish to shake hands with the CB equipment according to protocol format as defined in an OpenFlow version of selection and be connected;Or
All OpenFlow for carrying the PE equipment and supporting are sent to the CB equipment by the VCF ports of the PE equipment Message is established in the connection of version, so that the CB equipment obtains the connection and establishes what the PE equipment carried in message was supported All OpenFlow versions, an OpenFlow version itself supported is chosen out of described all OpenFlow versions, and Protocol format according to an OpenFlow version defined of selection is established to shake hands with the PE equipment to be connected.
11. method as claimed in claim 9, it is characterised in that described to dock what is received according to the OpenFlow flow list item Message is forwarded, and is specifically included:
When the message received hits the OpenFlow flow list item, the message is passed through in the OpenFlow flow list item The exit port of the message forwards;
In the miss OpenFlow flow list item of the message that receives, the message is sent to CB equipment, so that described CB equipment searches the exit port of the message according to the forwarding-table item to prestore, and the message is forwarded by the exit port found Go out, and equipment corresponding to the destination address in the message be the PE equipment non-straight attached device when, notify the PE to set The standby addition one in the OpenFlow flow list item will send the port of the message as the message in institute's PE equipment The list item of exit port;The direct-connected device that equipment corresponding to the destination address of the message is the PE equipment is determined in CB equipment When, notify the PE equipment adds one in the OpenFlow flow list item will be straight with the direct-connected PE equipment in institute's PE equipment List item of the port even as the exit port of the message;
The PE equipment passes through going out for message described in the OpenFlow flow list item after addition when receiving the message again Port forwards the message.
12. method as claimed in claim 9, it is characterised in that methods described also includes:
When the forward mode of the PE equipment is arranged to centralized forward mode by the CB equipment, by the message received The CB equipment is delivered to, so that the CB equipment searches the exit port of the message according to the forwarding-table item to prestore, and passes through institute Exit port is stated to forward the message.
13. method as claimed in claim 9, it is characterised in that methods described also includes:
OpenFlow flow list item is sent on receiving that the CB equipment issues, and the report that OpenFlow flow list item is sent on described will be hit The CB equipment is delivered on text.
14. method as claimed in claim 9, it is characterised in that methods described also includes:
Receive that the CB equipment sends when possessing new application function be used to obtain the PE equipment whether support it is described new Application function capability set obtain message;
After the back message that the PE equipment supports the new application function is sent to the CB equipment, receive the CB and set The standby OpenFlow flow list item corresponding with the new application function issued, and according to corresponding with the new application function OpenFlow flow list item, to message receive and hit OpenFlow flow list item corresponding with the new application function Handled;
After the PE equipment is sent to the CB equipment and does not support the back message of the new application function, the CB is received Equipment issue on send OpenFlow flow list item, and by receive and hit with it is described on send the report of OpenFlow flow list item The CB equipment is delivered on text.
15. a kind of ports-Extending PE equipment management devices, merge the control device CB in framework VCF systems applied to longitudinal direction and set It is standby, it is characterised in that described device includes:
Connection establishment unit, establish and connect for the PE equipment in the VCF ports by the CB equipment and the VCF systems;
Ability acquiring unit, for obtaining the transfer capability information of the PE equipment, believed according to the transfer capability of the PE equipment Breath, or the transfer capability information of the transfer capability information of the PE equipment and the CB equipment are that PE equipment setting turns Hair pattern, the forward mode include distributed forwarding pattern;
Flow table issuance unit, the forward mode for being set if the PE equipment is distributed forwarding pattern, is set to the PE It is standby to issue the open flows OpenFlow flow list item that the CB equipment previously generates, so that the PE equipment is according to the OpenFlow Flow table item forwards to the message received.
16. device as claimed in claim 15, it is characterised in that the connection establishment unit is specifically used for:
Message is established in the connection that the PE equipment transmission is received by the VCF ports of the CB equipment;
Obtain the connection and establish all OpenFlow versions that the PE equipment that is carried in message is supported, from described all The OpenFlow versions that the CB equipment is supported are chosen in OpenFlow versions;
Protocol format according to an OpenFlow version defined of selection is established to shake hands with the PE equipment to be connected;Or
All OpenFlow for carrying the CB equipment and supporting are sent to the PE equipment by the VCF ports of the CB equipment Message is established in the connection of version, so that the PE equipment obtains the connection and establishes what the CB equipment carried in message was supported All OpenFlow versions, the OpenFlow versions that the PE equipment is supported are chosen out of described all OpenFlow versions This, and shake hands and be connected according to protocol format and the CB equipment foundation of an OpenFlow version defined of selection.
17. the device as described in claim 15 or 16, it is characterised in that the transfer capability information of the PE equipment includes described PE equipment possesses the information of Distributed forwarding capability, the PE equipment possesses the information of centralized transfer capability or the PE Equipment possesses the information of Distributed forwarding capability and centralized transfer capability and the forwarding-table item specification of the PE equipment;
The forward mode also includes centralized forward mode;
The OpenFlow flow list item is that the forward mode of the PE equipment is arranged to distributed forwarding pattern by the CB equipment Afterwards, according to collection and PE learning equipments that the CB equipment is connected to forwarding-table item or the first message that receives generate 's;Wherein, the hit acquiescence itself receive and no that the first message sends for the source PE equipment of the first message The message of OpenFlow flow list item;
The ability acquiring unit is specifically used for:
The capability set that the transfer capability information for obtaining the PE equipment is sent to the PE equipment obtains message, is receiving After the back message of the PE device replieds, the transfer capability information of the PE equipment carried in the back message is obtained;
If the transfer capability information of the PE equipment carried in the back message only possesses distribution including the PE equipment The information of transfer capability, the forward mode set for the PE equipment is distributed forwarding pattern;
If the transfer capability information of the PE equipment carried in the back message only possesses centralization including the PE equipment The information of transfer capability, the forward mode set for the PE equipment is centralized forward mode;
If the transfer capability information of the PE equipment carried in the back message possesses distributed turn including the PE equipment Turn of the forwarding-table item specification of the information and the PE equipment of hair ability and centralized transfer capability, then the PE equipment The forwarding-table item specification size of forwarding list item specification and the CB equipment, and according to the forwarding mould of the comparative result setting PE equipment Formula is distributed forwarding pattern or centralized forward mode.
18. device as claimed in claim 15, it is characterised in that described device also includes:
Packet sending and receiving unit, the message of the miss OpenFlow flow list item sent for receiving the PE equipment, and root The exit port of the message is searched according to the forwarding-table item to prestore;The message is forwarded by the exit port found;
The flow table issuance unit is additionally operable to:
When equipment corresponding to destination address in the message is the non-straight attached device of the PE equipment, the PE equipment is notified to exist One is added in the OpenFlow flow list item and goes out end using the port that the message is sent in institute's PE equipment as the message The list item of mouth, so that the PE equipment when receiving the message again, passes through institute in the OpenFlow flow list item after addition The exit port for stating message forwards;Equipment corresponding to destination address in the message is the direct-connected device of the PE equipment When, notify the PE equipment adds one in the OpenFlow flow list item will be straight with the direct-connected PE equipment in institute's PE equipment List item of the port even as the exit port of the message, so that the PE equipment passes through when receiving the message again The exit port of message forwards described in OpenFlow flow list item after addition.
19. device as claimed in claim 15, it is characterised in that described device also includes:
Packet sending and receiving unit, if for the PE equipment to be arranged into centralized forward mode, indicate that the PE equipment will receive The message up sending arrived is to the CB equipment;And after the message given on the PE equipment is received, according to the forwarding-table item to prestore The exit port of the message is searched, and is forwarded the message by the exit port.
20. device as claimed in claim 15, it is characterised in that described device also includes:
Updating block, the forwarding-table item arrived for all PE learning equipments of periodic collection are collected, and is owned according to collected The forwarding-table item that PE learning equipments arrive updates the OpenFlow flow list item.
21. device as claimed in claim 15, it is characterised in that the flow table issuance unit is additionally operable to:
Issued to the PE equipment and send OpenFlow flow list item, so that the PE equipment will hit and OpenFlow flow is sent on described The message up sending of list item is to the CB equipment.
22. device as claimed in claim 15, it is characterised in that the ability acquiring unit, be additionally operable in the CB equipment When possessing new application function, sent to the PE equipment for obtaining whether the PE equipment supports the new application function Capability set obtain message;
The flow table issuance unit is additionally operable to:
After the PE equipment for receiving the PE device replieds supports the back message of the new application function, to described PE equipment issues OpenFlow flow list item corresponding with the new application function so that the PE equipment according to it is described new OpenFlow flow list item corresponding to application function, it is corresponding with the new application function to receive and hit The message of OpenFlow flow list item is handled;
After the PE equipment for receiving the PE device replieds does not support the back message of the new application function, to institute State PE equipment and issue and send OpenFlow flow list item so that the PE equipment by receive and hit with it is described on give The message up sending of OpenFlow flow list item is to the CB equipment.
23. a kind of PE equipment management devices, merge the PE equipment in framework VCF systems applied to longitudinal direction, it is characterised in that described Device includes:
Connection establishment unit, established for the control bridge CB equipment in the VCF ports by the PE equipment and the VCF systems Connection;
Packet sending and receiving unit, for when receiving the capability set that the CB equipment sends and obtaining message, by the PE equipment Transfer capability information carries to be sent to the CB equipment in back message, so that the CB equipment turns according to the PE equipment Ability information is sent out, or the transfer capability information of the PE equipment and the transfer capability information of itself are set for the PE equipment Forward mode, the forward mode include distributed forwarding pattern;
Information process unit, for when the forward mode of the PE equipment is arranged to distributed mode by the CB equipment, connecing The open flows OpenFlow flow list item that the CB equipment that the CB equipment is sent previously generates is received, and according to the OpenFlow Flow table item forwards to the message received.
24. device as claimed in claim 23, it is characterised in that the connection establishment unit is specifically used for:
Message is established in the connection that the CB equipment transmission is received by the VCF ports of the PE equipment;
Obtain the connection and establish all OpenFlow versions that the CB equipment carried in message is supported, own from described The OpenFlow version that the PE equipment is supported is chosen in OpenFlow versions;
Establish to shake hands with the CB equipment according to protocol format as defined in an OpenFlow version of selection and be connected;Or
All OpenFlow for carrying the PE equipment and supporting are sent to the CB equipment by the VCF ports of the PE equipment Message is established in the connection of version, so that the CB equipment obtains the connection and establishes what the PE equipment carried in message was supported All OpenFlow versions, an OpenFlow version itself supported is chosen out of described all OpenFlow versions, and Protocol format according to an OpenFlow version defined of selection is established to shake hands with the PE equipment to be connected.
25. device as claimed in claim 23, it is characterised in that described information processing unit is specifically used for:
When the message received hits the OpenFlow flow list item, the message is passed through in the OpenFlow flow list item The exit port of the message forwards;
In the miss OpenFlow flow list item of the message that receives, the message is sent to CB equipment, so that described CB equipment searches the exit port of the message according to the forwarding-table item to prestore, and the message is forwarded by the exit port found Go out, and equipment corresponding to the destination address in the message be the PE equipment non-straight attached device when, notify the PE to set The standby addition one in the OpenFlow flow list item will send the port of the message as the message in institute's PE equipment The list item of exit port;The direct-connected device that equipment corresponding to the destination address of the message is the PE equipment is determined in CB equipment When, notify the PE equipment adds one in the OpenFlow flow list item will be straight with the direct-connected PE equipment in institute's PE equipment List item of the port even as the exit port of the message;
The PE equipment passes through going out for message described in the OpenFlow flow list item after addition when receiving the message again Port forwards the message.
26. device as claimed in claim 23, it is characterised in that the packet sending and receiving unit is additionally operable to:
When the forward mode of the PE equipment is arranged to centralized forward mode by the CB equipment, by the message received The CB equipment is delivered to, so that the CB equipment searches the exit port of the message according to the forwarding-table item to prestore, and passes through institute Exit port is stated to forward the message.
27. device as claimed in claim 25, it is characterised in that described information processing unit is additionally operable to:
OpenFlow flow list item is sent on receiving that the CB equipment issues, and the report that OpenFlow flow list item is sent on described will be hit The CB equipment is delivered on text.
28. device as claimed in claim 25, it is characterised in that the packet sending and receiving unit is specifically used for:
Receive that the CB equipment sends when possessing new application function be used to obtain the PE equipment whether support it is described new Application function capability set obtain message;
After the back message that the PE equipment supports the new application function is sent to the CB equipment, receive the CB and set The standby OpenFlow flow list item corresponding with the new application function issued, and according to corresponding with the new application function OpenFlow flow list item, to message receive and hit OpenFlow flow list item corresponding with the new application function Handled;
After the PE equipment is sent to the CB equipment and does not support the back message of the new application function, the CB is received Equipment issue on send OpenFlow flow list item, and by receive and hit with it is described on send the report of OpenFlow flow list item The CB equipment is delivered on text.
CN201510111802.4A 2015-03-13 2015-03-13 PE device management methods and device Active CN104702438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510111802.4A CN104702438B (en) 2015-03-13 2015-03-13 PE device management methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510111802.4A CN104702438B (en) 2015-03-13 2015-03-13 PE device management methods and device

Publications (2)

Publication Number Publication Date
CN104702438A CN104702438A (en) 2015-06-10
CN104702438B true CN104702438B (en) 2018-04-06

Family

ID=53349230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510111802.4A Active CN104702438B (en) 2015-03-13 2015-03-13 PE device management methods and device

Country Status (1)

Country Link
CN (1) CN104702438B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107104811B (en) * 2016-02-22 2021-08-17 中兴通讯股份有限公司 Network function implementation method and control device
CN105827496B (en) * 2016-04-28 2019-05-07 新华三技术有限公司 Manage the method and device of PE equipment
CN107493185B (en) * 2016-06-13 2022-03-25 中兴通讯股份有限公司 Configuration information notification method and device for interface extension equipment
CN107645391B (en) * 2016-07-21 2022-05-27 深圳市中兴通讯技术服务有限责任公司 Port configuration method and device of interface expansion equipment
CN106453680B (en) * 2016-10-10 2020-06-09 新华三信息技术有限公司 IP address allocation method and device
CN108259453B (en) 2017-05-31 2020-03-06 新华三技术有限公司 Message forwarding method and device
CN108259633B (en) * 2017-05-31 2020-05-12 新华三技术有限公司 Method, system and device for realizing management message three-layer communication
CN107959584B (en) * 2017-10-31 2021-07-02 新华三技术有限公司 Information configuration method and device
CN108055215B (en) * 2017-12-26 2020-12-04 新华三技术有限公司 Message forwarding method and device
CN108259304B (en) * 2017-12-28 2020-11-06 新华三技术有限公司 Forwarding table item synchronization method and device
CN108650180B (en) * 2018-04-20 2021-08-06 新华三技术有限公司 Stacking system and table entry issuing method and device thereof

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148749A (en) * 2010-11-05 2011-08-10 华为技术有限公司 Method and device for extending switch port

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8798064B2 (en) * 2011-06-06 2014-08-05 Broadcom Corporation Method and system of frame forwarding with link aggregation in distributed ethernet bridges

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148749A (en) * 2010-11-05 2011-08-10 华为技术有限公司 Method and device for extending switch port

Also Published As

Publication number Publication date
CN104702438A (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN104702438B (en) PE device management methods and device
EP3313025B1 (en) Data packet forwarding
JP6014279B2 (en) Method, device and routing system for network virtualization data transmission
CN105450532B (en) Three-layer forwarding method in software defined network and device
CN104702479B (en) The method and apparatus that tunnel is established in SDN network
CN104092595B (en) Message processing method and device in virtualization system based on 802.1BR
CN104378299B (en) Flow table item processing method and device
CN105379228B (en) Realize method, switching equipment and the control equipment of ARP
CN104283750B (en) Unified link layer multi-protocol exchange method based on industry ethernet
CN102694738B (en) Virtual private network (VPN) gateway and method for forwarding messages at VPN gateway
CN101262429B (en) A system and method for realizing virtual private network communication
CN102984070B (en) A kind of Ethernet is without the method for numbering Interface realization data retransmission
CN102868586A (en) Method for establishing tunnel forwarding table entries, central node and branch nodes
CN105531967A (en) Message transmission method and device and communication system
CN105992297A (en) SDN-based connection management and forwarding control method and related equipment
CN104995878A (en) Message transmission method, apparatus and communication system
CN101926132B (en) Circuit emulation over ip interworking vll
CN104219149B (en) A kind of message transmitting method and equipment based on virtual connections
CN105933235B (en) Data communications method and device
CN106209637A (en) From message forwarding method and the equipment of virtual expansible LAN to VLAN
CN101753406B (en) Device for realizing the twice route of automatic tunnel and massage transmitting method
CN103493439A (en) Information receiving and sending methods and apparatuses
CN100561981C (en) Multiprotocol label switching retransmission method and forwarding unit
CN105847136B (en) A kind of wireless sense network communication means and IPv6 gateway for supporting multi-protocols
JP7298606B2 (en) Communication system and communication method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant