CN108023803A - Virtual local area network selection method, apparatus and system - Google Patents

Virtual local area network selection method, apparatus and system Download PDF

Info

Publication number
CN108023803A
CN108023803A CN201610978490.1A CN201610978490A CN108023803A CN 108023803 A CN108023803 A CN 108023803A CN 201610978490 A CN201610978490 A CN 201610978490A CN 108023803 A CN108023803 A CN 108023803A
Authority
CN
China
Prior art keywords
virtual
local area
fibre channel
ethernet
virtual lan
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.)
Withdrawn
Application number
CN201610978490.1A
Other languages
Chinese (zh)
Inventor
张行柱
陈志伟
夏迎春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201610978490.1A priority Critical patent/CN108023803A/en
Publication of CN108023803A publication Critical patent/CN108023803A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring

Landscapes

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

Abstract

The present invention provides a kind of virtual local area network selection method, apparatus and system, wherein this method includes:Receive the Ethernet optical-fibre channel initializtion protocol virtual LAN FIP VLAN request messages that Ethernet Fibre Channel oE nodes are sent;The the second virtual local area net collective for determining to carry in FIP VLAN response messages according to the first virtual local area net collective of the first virtual LAN carried in above-mentioned FIP VLAN request messages and the support Ethernet fiber channel services configured on Ethernet optical-fibre channel transponder FCF;Above-mentioned FIP VLAN response messages are sent to above-mentioned FCoE nodes; so that above-mentioned FCoE nodes are used for the virtual LAN for sending Ethernet optical-fibre channel initializtion protocol message according to above-mentioned second virtual LAN Resource selection; solve selection when FCOE virtual links are established in correlation technique to correct VLAN and provide protection mechanism; the protecting effect for avoiding FCoE nodes from selecting wrong hidden danger when enabled selection VLAN is logged in is realized, ensure that the normal foundation of FCOE virtual links.

Description

Virtual local area network selection method, apparatus and system
Technical field
The present invention relates to the communications field, in particular to a kind of virtual local area network selection method, apparatus and system.
Background technology
The birth of FCoE (Fibre Channel over Ethernet, Ethernet optical-fibre channel) technology comes from user couple In the demand of integration.FCoE is not intended to replace traditional Fibre Channel technologies, but to optical fiber in different connection transport layers Passage is expanded.FCOE (Fibre Channel over Ethernet, Ethernet optical-fibre channel) virtual link is broadly divided into three In a stage, be FIP (FCoE Initialization, FCoE initializtion protocol) VLAN (Virtual Local Area respectively Network, virtual LAN) find, FIP FCF (FCoE Forwarder, FCoE transponder) find and interchanger log in rank Section.FIP is used for finding, initializing, safeguarding FCoE equipment.FIP EtherTypes are different from FCoE EtherTypes, FIP come make discovery, Initialize, safeguard FCoE virtual links, different from other FCoE flows.
In FIP VLAN discovery phases, FCoE is specify only in FCoE agreements and virtually forwards port to be noticed in FIP VLAN FCF (FCoE Forwarder, FCoE transponder) is provided in message and supports the VLAN ID inventories of FCoE business, but is not provided The priority of VLAN, is also not specified by standard of the FCoE nodes when selection logs in VLAN, so virtually forwards port in FCoE In the case of being bundled with multiple VLAN, FCoE node virtuals forwarding port can give tacit consent to first in enabled available VLAN inventories VLAN, so as to cause the result that FIP virtual links will not be successfully established or time-out disconnects.FIP link establishments it is unsuccessful or Person's time-out, which disconnects, has network paralysis and the risk of loss of data.
In conclusion VLAN is not selected correctly to send FIP messages in FIP VLAN discovery phases, so as to cause FIP virtual links establish the problem of failure, not yet propose effective solution.
The content of the invention
The present invention provides a kind of virtual local area network selection method, apparatus and system, at least to solve FIP in correlation technique VLAN discovery phases send FIP messages without VLAN is correctly selected, so that the problem of causing FIP virtual links to establish failure.
According to an aspect of the invention, there is provided a kind of virtual local area network selection method, including:
Receive the Ethernet optical-fibre channel initializtion protocol virtual LAN FIP that Ethernet Fibre Channel oE nodes are sent VLAN request messages;
Forwarded according to the first virtual LAN carried in above-mentioned FIP VLAN request messages and in Ethernet optical-fibre channel First virtual local area net collective of the support Ethernet fiber channel services configured on device FCF is determined in FIP VLAN response messages The the second virtual local area net collective carried;
Above-mentioned FIP VLAN response messages are sent to above-mentioned FCoE nodes, so that above-mentioned FCoE nodes are according to above-mentioned second Virtual LAN Resource selection is used for the virtual LAN for sending Ethernet optical-fibre channel initializtion protocol message.
Further, it is above-mentioned according to the first virtual LAN carried in above-mentioned FIP VLAN request messages and Ethernet light Fine passage transponder FCF supports the first virtual local area net collective of Ethernet fiber channel services to determine FIP VLAN response messages Second virtual local area net collective of middle carrying, including:
Above-mentioned FIP VLAN request messages are parsed, obtain the first virtual local area carried in above-mentioned FIP VLAN request messages Net;
Obtain the first virtual local area net collective of the Ethernet fiber channel services of the support configured on above-mentioned FCF;
When definite above-mentioned first virtual LAN and above-mentioned first virtual local area net collective are there are during intersection, by above-mentioned first Virtual LAN is arranged to the first virtual LAN in above-mentioned first virtual local area net collective, and it is virtual will to be provided with above-mentioned first The above-mentioned first virtual local area net collective of LAN is determined as above-mentioned second virtual local area net collective.
Further, the support Ethernet optical fiber configured in acquisition on above-mentioned Ethernet optical-fibre channel transponder FCF leads to After first virtual local area net collective of road business, further include:
When intersection is not present in definite above-mentioned first virtual LAN and above-mentioned first virtual local area net collective, by above-mentioned the One virtual local area net collective is determined as above-mentioned second virtual local area net collective.
Further, it is above-mentioned that above-mentioned FIP VLAN response messages are sent to above-mentioned FCoE nodes, so that above-mentioned FCoE is saved Point sends Ethernet optical-fibre channel initializtion protocol message, bag according to above-mentioned second virtual LAN Resource selection virtual LAN Include:
Above-mentioned FIP VLAN response messages are sent to above-mentioned FCoE nodes, so that above-mentioned FCoE nodes selection above-mentioned second Above-mentioned first virtual LAN in virtual local area net collective, above-mentioned Ethernet optical fiber is sent by above-mentioned first virtual LAN Passage initializtion protocol message.
Further, before the FIP VLAN request messages that Ethernet optical-fibre channel node is sent are received, further include:
Ethernet light is supported in configuration on above-mentioned Ethernet optical-fibre channel node and above-mentioned Ethernet optical-fibre channel transponder The virtual LAN of fine channel service.
According to another aspect of the present invention, there is provided a kind of virtual local area network selection method, including:
Ethernet optical-fibre channel initializtion protocol virtual LAN FIP VLAN are sent to Ethernet optical-fibre channel transponder Request message;
Receive the FIP VLAN that above-mentioned Ethernet optical-fibre channel transponder responds above-mentioned FIP VLAN request messages and feeds back Response message, wherein, the second virtual local area net collective, above-mentioned second virtual LAN are carried in above-mentioned FIP VLAN response messages Collection is combined into above-mentioned Ethernet optical-fibre channel transponder according to the first virtual LAN carried in above-mentioned FIP VLAN request messages Determined with the first virtual local area net collective of the support Ethernet fiber channel services configured on above-mentioned FCF;
It is used to send Ethernet optical-fibre channel initializtion protocol message according to above-mentioned second virtual LAN Resource selection Virtual LAN.
Further, above-mentioned second virtual local area net collective is above-mentioned Ethernet optical-fibre channel transponder according to above-mentioned FIP The first virtual LAN and Ethernet optical-fibre channel transponder carried in VLAN request messages supports Ethernet optical-fibre channel industry Business the first virtual local area net collective and determine, including:
Above-mentioned FIP VLAN request messages are parsed by above-mentioned Ethernet optical-fibre channel transponder, obtain above-mentioned FIP VLAN Above-mentioned first virtual LAN carried in request message;
The support Ethernet optical-fibre channel industry configured on above-mentioned FCF is obtained by above-mentioned Ethernet optical-fibre channel transponder The above-mentioned first virtual local area net collective of business;
Above-mentioned first virtual LAN is arranged to by above-mentioned first virtual office by above-mentioned Ethernet optical-fibre channel transponder The first virtual LAN in the net collective of domain, by there is provided the above-mentioned first virtual local area net collective of above-mentioned first virtual LAN It is determined as above-mentioned second virtual local area net collective.
Further, it is used to send Ethernet optical-fibre channel initialization association according to above-mentioned second virtual LAN Resource selection The virtual LAN of view message includes:
Above-mentioned first virtual LAN in above-mentioned second virtual local area net collective is selected, wherein, above-mentioned first virtual office Domain net is used to send above-mentioned Ethernet optical-fibre channel initializtion protocol message.
According to an aspect of the invention, there is provided a kind of virtual LAN selection device, including:
Receiving module, the Ethernet optical-fibre channel initialization sent for receiving Ethernet Fibre Channel oE nodes Protocol virtual LAN FIP VLAN request messages;
Determining module, for according to the first virtual LAN carried in above-mentioned FIP VLAN request messages and in Ethernet First virtual local area net collective of the support Ethernet fiber channel services configured on optical-fibre channel transponder FCF determines FIP The the second virtual local area net collective carried in VLAN response messages;
Sending module, for above-mentioned FIP VLAN response messages to be sent to above-mentioned FCoE nodes, so that above-mentioned FCoE is saved Point is used for the virtual office for sending Ethernet optical-fibre channel initializtion protocol message according to above-mentioned second virtual LAN Resource selection Domain net.
Further, above-mentioned determining module, including:
Resolution unit, for parsing above-mentioned FIP VLAN request messages, obtains carrying in above-mentioned FIP VLAN request messages The first virtual LAN;
Acquiring unit, for obtaining the first virtual office of the support Ethernet fiber channel services configured on above-mentioned FCF Domain net collective;
Setting unit, when definite above-mentioned first virtual LAN and above-mentioned first virtual local area net collective are there are during intersection, Above-mentioned first virtual LAN is arranged to the first virtual LAN in above-mentioned first virtual local area net collective, will be provided with upper The above-mentioned first virtual local area net collective for stating the first virtual LAN is determined as above-mentioned second virtual local area net collective.
According to an aspect of the invention, there is provided a kind of virtual LAN selection device, including:
Sending module, for sending Ethernet optical-fibre channel initializtion protocol virtual office to Ethernet optical-fibre channel transponder Net FIP VLAN request messages in domain;
Receiving module, it is anti-for receiving the above-mentioned FIP VLAN request messages of above-mentioned Ethernet optical-fibre channel transponder response The FIP VLAN response messages of feedback, wherein, carry the second virtual local area net collective in above-mentioned FIP VLAN response messages, above-mentioned Two virtual local area net collectives are above-mentioned Ethernet optical-fibre channel transponder according to the carried in above-mentioned FIP VLAN request messages One virtual LAN and above-mentioned Ethernet optical-fibre channel transponder support the first virtual LAN of Ethernet fiber channel services Gather and determine;
Selecting module, for initial for sending Ethernet optical-fibre channel according to above-mentioned second virtual LAN Resource selection Change the virtual LAN of protocol massages.
Further, above-mentioned receiving module is additionally operable to:Above-mentioned FIP is parsed by above-mentioned Ethernet optical-fibre channel transponder VLAN request messages, obtain above-mentioned first virtual LAN carried in above-mentioned FIP VLAN request messages;Pass through above-mentioned ether Net optical-fibre channel transponder obtains above-mentioned first virtual local area of the support Ethernet fiber channel services configured on above-mentioned FCF Net collective;Above-mentioned first virtual LAN is arranged to by above-mentioned first virtual local area by above-mentioned Ethernet optical-fibre channel transponder The first virtual LAN in net collective, by there is provided the above-mentioned first virtual local area net collective of above-mentioned first virtual LAN is true It is set to above-mentioned second virtual local area net collective.
According to an aspect of the invention, there is provided a kind of virtual LAN selection system, including:Ethernet optical-fibre channel FCoE nodes and Ethernet optical-fibre channel transponder FCF,
Above-mentioned FCF receives the Ethernet optical-fibre channel initializtion protocol virtual LAN FIP that above-mentioned FCoE nodes are sent VLAN request messages;
Above-mentioned FCF matches somebody with somebody according to the first virtual LAN carried in above-mentioned FIP VLAN request messages and on above-mentioned FCF First virtual local area net collective of the support Ethernet fiber channel services put determines carried in FIP VLAN response messages Two virtual local area net collectives;
Above-mentioned FIP VLAN response messages are sent to above-mentioned FCoE nodes by above-mentioned FCF so that above-mentioned FCoE nodes according to Above-mentioned second virtual LAN Resource selection is used for the virtual LAN for sending Ethernet optical-fibre channel initializtion protocol message.
By the present invention, it is empty to receive the Ethernet optical-fibre channel initializtion protocol that Ethernet Fibre Channel oE nodes are sent Intend LAN FIP VLAN request messages;According to the first virtual LAN carried in above-mentioned FIP VLAN request messages and with First virtual local area net collective of the support Ethernet fiber channel services configured on net optical-fibre channel transponder FCF very much determines The the second virtual local area net collective carried in FIP VLAN response messages;Above-mentioned FIP VLAN response messages are sent to above-mentioned FCoE nodes, so that above-mentioned FCoE nodes are used to send Ethernet optical-fibre channel according to above-mentioned second virtual LAN Resource selection The virtual LAN of initializtion protocol message, solves the selection to correct VLAN when FCOE virtual links are established in correlation technique Protection mechanism is provided, realizes the protection effect for avoiding FCoE nodes from selecting wrong hidden danger when enabled selection VLAN is logged in Fruit, ensure that the normal foundation of FCOE virtual links.
Brief description of the drawings
Attached drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of virtual local area network selection method according to embodiments of the present invention;
Fig. 2 is the flow chart of virtual local area network selection method according to another embodiment of the present invention;
Fig. 3 is the flow chart of exemplary virtual local area network selection method according to the present invention;
Fig. 4 is the structure diagram of virtual LAN selection device according to embodiments of the present invention;
Fig. 5 is the structure diagram of determining module 44 in virtual LAN selection device according to embodiments of the present invention;
Fig. 6 is the structure diagram of exemplary virtual LAN selection device according to the present invention;
Fig. 7 is the structure diagram of virtual LAN selection device according to another embodiment of the present invention;
Fig. 8 is the structure diagram of exemplary virtual LAN selection system according to the present invention.
Embodiment
Come that the present invention will be described in detail below with reference to attached drawing and in conjunction with the embodiments.It should be noted that do not conflicting In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.
Embodiment one:
Provide a kind of virtual local area network selection method in the present embodiment, Fig. 1 is according to embodiments of the present invention virtual The flow chart of local network selection method, as shown in Figure 1, the flow includes the following steps:
Step S102, it is virtual to receive the Ethernet optical-fibre channel initializtion protocol that Ethernet Fibre Channel oE nodes are sent LAN FIP VLAN request messages;
The target of FCoE be continue keep user to the desired high-performance of optical-fibre channel and it is functional under the premise of, will Storage transmission incorporates Ethernet architecture.FCoE improves flexibility, while also increases the challenge of security, such as FCoE nodes It is Ethernet switch between FCF (FCoE Forwarder, FCoE transponder), then loses the safety guarantee of point-to-point. In order to keep being necessary to ensure that from a FCoE node-flow with robustness identical FC (Fiber Channel, optical-fibre channel), FCoE All FCoE flows for going out or flowing into pass through same FCF, and if multiple FCoE nodes pass through same physics FCF ports FCF is linked into, these FCoE nodes use the MAC Address distributed.It is equal in this way, can be established between FCoE nodes and FCF The connection of point-to-point.All FIP agreements are all based on what a VLAN was carried out, in order to provide based on the FCoE equipment on VLAN, Except FIP VLAN have found agreement, FCoE and FIP other agreements will be all deployed on corresponding VLAN.
In this step, FCoE nodes forward port virtually to forward port to send out to the FCoE of FCF by FCoE node virtuals FIP VLAN request messages are sent, corresponding, the FIP VLAN requests that the FCoE of FCF virtually forwards port to receive FCoE nodes are reported Text.
Step S104, leads to according to the first virtual LAN and Ethernet optical fiber that are carried in above-mentioned FIP VLAN request messages Road transponder FCF supports the first virtual local area net collective of Ethernet fiber channel services to determine to take in FIP VLAN response messages Second virtual local area net collective of band.
In this step, FCF parses above-mentioned FIP VLAN request messages, obtains carrying in above-mentioned FIP VLAN request messages The first virtual LAN;Obtain the first virtual office of the above-mentioned support Ethernet fiber channel services configured on above-mentioned FCF Domain net collective;When definite above-mentioned first virtual LAN and above-mentioned first virtual local area net collective are there are during intersection, by above-mentioned the One virtual LAN is arranged to the first virtual LAN in above-mentioned first virtual local area net collective, and it is empty will to be provided with above-mentioned first The above-mentioned first virtual local area net collective for intending LAN is determined as above-mentioned second virtual local area net collective.
Step S106, above-mentioned FCoE nodes are sent to by above-mentioned FIP VLAN response messages, so that above-mentioned FCoE nodes root It is used for the virtual LAN for sending Ethernet optical-fibre channel initializtion protocol message according to above-mentioned second virtual LAN Resource selection.
In this step, above-mentioned FIP VLAN response messages are sent to above-mentioned FCoE nodes by FCF, so that above-mentioned FCoE is saved Above-mentioned first virtual LAN in the above-mentioned second virtual local area net collective of point selection, is sent by above-mentioned first virtual LAN Above-mentioned Ethernet optical-fibre channel initializtion protocol message.
After operation is started, FCoE nodes or FCF can call FIP VLAN to find agreement to find in lossless Ethernet VLAN.FIP VLAN have found that agreement is not essential, can be without using if VLAN situations are known or during without using VLAN FIP VLAN have found agreement.
Method used in the embodiment of the present invention, can realize that selection when FCOE virtual links are established to correct VLAN carries Protection mechanism has been supplied, has realized the protecting effect for avoiding FCoE nodes from selecting wrong hidden danger when enabled selection VLAN is logged in, It ensure that the normal foundation of FCOE virtual links, the Ethernet optical fiber sent by receiving Ethernet Fibre Channel oE nodes leads to Road initializtion protocol virtual LAN FIP VLAN request messages;It is empty according to carried in above-mentioned FIP VLAN request messages first Intend the first virtual office of LAN and the support Ethernet fiber channel services configured on Ethernet optical-fibre channel transponder FCF Domain net collective determines the second virtual local area net collective carried in FIP VLAN response messages;By above-mentioned FIP VLAN response messages Above-mentioned FCoE nodes are sent to, so that above-mentioned FCoE nodes are used to send ether according to above-mentioned second virtual LAN Resource selection The virtual LAN of net optical-fibre channel initializtion protocol message, compared with prior art, it is virtual to compensate for FCOE in correlation technique Selection during link establishment to correct VLAN provides protection mechanism, realizes and avoids FCoE nodes from being logged in enabled selection VLAN When select the protecting effect of wrong hidden danger, ensure that the normal foundation of FCOE virtual links.
Embodiment two:
A kind of virtual local area network selection method is provided in the present embodiment, and Fig. 2 is according to another embodiment of the present invention The flow chart of virtual local area network selection method, as shown in Fig. 2, the flow includes the following steps:
Step S202, Ethernet optical-fibre channel initializtion protocol virtual LAN is sent to Ethernet optical-fibre channel transponder FIP VLAN request messages;
Step S204, receives above-mentioned Ethernet optical-fibre channel transponder and responds above-mentioned FIP VLAN request messages and feed back FIP VLAN response messages, wherein, the second virtual local area net collective is carried in above-mentioned FIP VLAN response messages, above-mentioned second is empty It is empty according to carried in above-mentioned FIP VLAN request messages first for above-mentioned Ethernet optical-fibre channel transponder to intend local net collective Intend LAN and the support Ethernet fiber channel services configured on above-mentioned Ethernet optical-fibre channel transponder FCF first is empty Intend local net collective and determine;
In this step, above-mentioned FIP VLAN request messages are parsed by above-mentioned Ethernet optical-fibre channel transponder, obtained Above-mentioned first virtual LAN carried in above-mentioned FIP VLAN request messages;Obtained by above-mentioned Ethernet optical-fibre channel transponder Take the above-mentioned first virtual local area net collective of the support Ethernet fiber channel services configured on above-mentioned FCF;By it is above-mentioned with The first place that too above-mentioned first virtual LAN is arranged in above-mentioned first virtual local area net collective by net optical-fibre channel transponder is empty Intend LAN, it is virtual by being determined as above-mentioned second there is provided the above-mentioned first virtual local area net collective of above-mentioned first virtual LAN Local net collective., will be upper when intersection is not present in definite above-mentioned first virtual LAN and above-mentioned first virtual local area net collective State the first virtual local area net collective and be determined as above-mentioned second virtual local area net collective.
Step S206, is used to send Ethernet optical-fibre channel initialization association according to above-mentioned second virtual LAN Resource selection Discuss the virtual LAN of message.
In this step, it is used to send the initialization of Ethernet optical-fibre channel according to above-mentioned second virtual LAN Resource selection The virtual LAN of protocol massages includes:Above-mentioned first virtual LAN in above-mentioned second virtual local area net collective is selected, its In, above-mentioned first virtual LAN is used to send above-mentioned Ethernet optical-fibre channel initializtion protocol message.
Embodiment three:
Technical solution based on above-described embodiment, is described in detail above-mentioned technical proposal below in conjunction with an embodiment.
Provide a kind of virtual local area network selection method in the present embodiment, Fig. 3 is exemplary virtual office according to the present invention The flow chart of domain network selection method, as shown in figure 3, this method specifically comprises the following steps:
Step 301:The initial configuration of FCOE is carried out on FCF interchangers and FCoE nodes, the wherein FCoE of FCF is virtual Forwarding port will bind multiple VSAN (Virtual Storage Area Network, virtual storage area network);
Step 302:Start VLAN discovery procedures, FCoE nodes send FIP VLAN request messages to FCF, seek can use VLAN;
Step 303:FCF receives the FIP VLAN request messages of FCoE nodes, and message is analyzed, and parsing outgoing packet is certainly VLAN (i.e. the first virtual LAN) entrained by body;
Step 304:Available VLAN (i.e. the first virtual LAN collection of port where FCF inquiries FCoE virtually forwards port Close);
Step 305:FCF to can use, with the VLAN in FIP VLAN request messages search or intersection is handled by VLAN inventories;
Step 306:Judge that intersection VLAN whether there is;
Step 307:If intersection VLAN exists, intersection VLAN is placed in the first place of available VLAN inventories, for FCoE Node selects;
Step 308:Available VLAN inventories (the second virtual local area net collective) after setting are placed in FIP VLAN response reports Wen Zhong, and it is sent to FCoE nodes;
Step 309:When can be with multiple VLAN be contained in VLAN inventories, FCoE nodes default choice first, and herein FIP protocol massages are sent in vlan basis;
Step 310:Judge the VLAN of FCoE nodes selection whether for itself required VLAN;
Step 311:Judging result is correct, then link setup success;
Step 312:Judging result mistake, then link setup failure (in the present system, can not possibly fail, this is exactly that this is here System to be avoided the problem that);
Method used in the embodiment of the present invention, can realize that selection when FCOE virtual links are established to correct VLAN carries Protection mechanism has been supplied, has realized the protecting effect for avoiding FCoE nodes from selecting wrong hidden danger when enabled selection VLAN is logged in, It ensure that the normal foundation of FCOE virtual links.
Through the above description of the embodiments, those skilled in the art can be understood that according to the embodiment Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but many situations It is lower the former be more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to the prior art The part to contribute can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, takes It is engaged in device, or network equipment etc.) method that performs each embodiment of the present invention.
Example IV, five additionally provide a kind of virtual LAN selection device, and following apparatus is used for realization above-described embodiment And preferred embodiment, carried out repeating no more for explanation.As used below, term " module " can be realized predetermined The combination of the software or hardware of function.Although following embodiments described devices is preferably realized with software, hardware, Or the realization of the combination of software and hardware is also what may and be contemplated.
Example IV:
Additionally provide a kind of virtual LAN selection device in this example, Fig. 4 is according to embodiments of the present invention virtual The structure diagram of LAN selection device, as shown in figure 4, the device includes:
Receiving module 42, the Ethernet optical-fibre channel for receiving the transmission of Ethernet Fibre Channel oE nodes are initial Change Protocol virtual LAN FIP VLAN request messages;
Determining module 44, is connected with receiving module 42, for according to first carried in above-mentioned FIP VLAN request messages Virtual LAN and configured on Ethernet optical-fibre channel transponder FCF the first of support Ethernet fiber channel services virtual Local net collective determines the second virtual local area net collective carried in FIP VLAN response messages;
Preferably, Fig. 5 is the structural frames of determining module 44 in virtual LAN selection device according to embodiments of the present invention Figure, as shown in figure 5, above-mentioned determining module, including:Resolution unit 442, for parsing above-mentioned FIP VLAN request messages, obtains The first virtual LAN carried in above-mentioned FIP VLAN request messages;Acquiring unit 444, is connected with resolution unit 442, is used for Obtain the first virtual local area net collective of the support Ethernet fiber channel services configured on above-mentioned FCF;Setting unit 446, It is connected with acquiring unit 444, for being handed over when definite above-mentioned first virtual LAN exists with above-mentioned first virtual local area net collective During collection, above-mentioned first virtual LAN is arranged to the first virtual LAN in above-mentioned first virtual local area net collective, will be set The above-mentioned first virtual local area net collective for having put above-mentioned first virtual LAN is determined as above-mentioned second virtual local area net collective.
Sending module 46, is connected with determining module 44, for above-mentioned FIP VLAN response messages to be sent to above-mentioned FCoE Node, so that above-mentioned FCoE nodes are initial for sending Ethernet optical-fibre channel according to above-mentioned second virtual LAN Resource selection Change the virtual LAN of protocol massages.
By the present apparatus, it is empty to receive the Ethernet optical-fibre channel initializtion protocol that Ethernet Fibre Channel oE nodes are sent Intend LAN FIP VLAN request messages;According to the first virtual LAN carried in above-mentioned FIP VLAN request messages and with First virtual local area net collective of the support Ethernet fiber channel services configured on net optical-fibre channel transponder FCF very much determines The the second virtual local area net collective carried in FIP VLAN response messages;Above-mentioned FIP VLAN response messages are sent to above-mentioned FCoE nodes, so that above-mentioned FCoE nodes are used to send Ethernet optical-fibre channel according to above-mentioned second virtual LAN Resource selection The virtual LAN of initializtion protocol message, solves the selection to correct VLAN when FCOE virtual links are established in correlation technique Protection mechanism is provided, realizes the protection effect for avoiding FCoE nodes from selecting wrong hidden danger when enabled selection VLAN is logged in Fruit, ensure that the normal foundation of FCOE virtual links.
Embodiment five:
Additionally provide a kind of virtual LAN selection device in this example, Fig. 6 is exemplary virtual office according to the present invention The structure diagram of domain net selection device, as shown in fig. 6, the device includes:
Sending module 62, it is virtual for sending Ethernet optical-fibre channel initializtion protocol to Ethernet optical-fibre channel transponder LAN FIP VLAN request messages;
Receiving module 64, is connected with sending module 62, above-mentioned for receiving above-mentioned Ethernet optical-fibre channel transponder response FIP VLAN request messages and the FIP VLAN response messages fed back, wherein, carry second in above-mentioned FIP VLAN response messages Virtual local area net collective, above-mentioned second virtual local area net collective are above-mentioned Ethernet optical-fibre channel transponder according to above-mentioned FIP The first virtual LAN carried in VLAN request messages and the support configured on above-mentioned Ethernet optical-fibre channel transponder FCF First virtual local area net collective of Ethernet fiber channel services and determine;
Preferably, above-mentioned receiving module is additionally operable to:Above-mentioned FIP VLAN request messages are parsed by above-mentioned FCF, in acquisition State above-mentioned first virtual LAN carried in FIP VLAN request messages;Obtain what is configured on above-mentioned FCF by above-mentioned FCF Support the above-mentioned first virtual local area net collective of Ethernet fiber channel services;By above-mentioned FCF by above-mentioned first virtual local area Net is arranged to the first virtual LAN in above-mentioned first virtual local area net collective, by there is provided above-mentioned first virtual LAN Above-mentioned first virtual local area net collective is determined as above-mentioned second virtual local area net collective.
Selecting module 66, is connected with receiving module 64, for being used to send out according to above-mentioned second virtual LAN Resource selection Send the virtual LAN of Ethernet optical-fibre channel initializtion protocol message.
By the present apparatus, Ethernet optical-fibre channel initializtion protocol virtual local area is sent to Ethernet optical-fibre channel transponder Net FIP VLAN request messages;Above-mentioned Ethernet optical-fibre channel transponder is received to respond above-mentioned FIP VLAN request messages and feed back FIP VLAN response messages, wherein, carry the second virtual local area net collective in above-mentioned FIP VLAN response messages, above-mentioned second Virtual local area net collective is above-mentioned Ethernet optical-fibre channel transponder according to first carried in above-mentioned FIP VLAN request messages Virtual LAN and configured on above-mentioned Ethernet optical-fibre channel transponder FCF the first of support Ethernet fiber channel services Virtual local area net collective and determine;It is initial for sending Ethernet optical-fibre channel according to above-mentioned second virtual LAN Resource selection Change the virtual LAN of protocol massages.Solve selection when FCOE virtual links are established in correlation technique to correct VLAN to provide Protection mechanism, realizes the protecting effect for avoiding FCoE nodes from selecting wrong hidden danger when enabled selection VLAN is logged in, protects The normal foundation of FCOE virtual links is demonstrate,proved.
Embodiment six:
A kind of virtual LAN selection device is additionally provided in this example, and Fig. 7 is according to another embodiment of the present invention The structure diagram of virtual LAN selection device, as shown in fig. 7, the device includes:
FCoE node modules 701, for sending and receiving FIP messages, as client;
Specifically, the configuration of FCOE link setups can be set, including VLAN, WWPN, WWNN and FC-MAP etc., when link setup, can lead The dynamic FIP protocol massages that send are to FCF;
FCF modules 702, for hardware acceptance and forwarding FIP and FCOE data messages;
Send and receive packets module 703, for receiving and dispatching FIP messages, judges whether to meet acl rule to determine whether message up sending To send and receive packets module 703 or it is sent to FCF modules 702;
Message processing module (MPM) 704, for being analyzed and processed to the FIP messages sent in send and receive packets, and the report that will have been handled Text issues send and receive packets module 703;
Specifically, message processing module (MPM) 704 can analyze the FIP VLAN request messages sent in send and receive packets module 703 Processing, and amended available VLAN inventories are encapsulated into FIP VLAN response messages, and it is sent to send and receive packets module 703;
The present invention is implemented on FIP protocol basis, special at certain by the analysis to FIP protocol massages, processing and adjustment Under fixed network environment, the failure of FIP agreement link setups is avoided, so that the stability and robustness to FCOE networks have necessarily Raising in degree.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong In the following manner realization is crossed, but not limited to this:Above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any The form of combination is located in different processors respectively.
Embodiment seven:
Additionally provide a kind of virtual LAN selection system in this example, Fig. 8 is exemplary virtual office according to the present invention The structure diagram of domain net selection system, as shown in figure 8, the system includes:Ethernet Fibre Channel oE nodes 82 and Ethernet Optical-fibre channel transponder FCF84,
Above-mentioned FCF84 receives the Ethernet optical-fibre channel initializtion protocol virtual LAN that above-mentioned FCoE nodes 82 are sent FIP VLAN request messages;
Above-mentioned FCF84 is according to the first virtual LAN carried in above-mentioned FIP VLAN request messages and on above-mentioned FCF First virtual local area net collective of the support Ethernet fiber channel services of configuration determines what is carried in FIP VLAN response messages Second virtual local area net collective;
Above-mentioned FIP VLAN response messages are sent to above-mentioned FCoE nodes 82 by above-mentioned FCF84, so that above-mentioned FCoE nodes 82 according to virtual office of the above-mentioned second virtual LAN Resource selection for sending Ethernet optical-fibre channel initializtion protocol message Domain net.
The system of the embodiment of the present invention is solved in correlation technique by the comprehensive function of FCoE nodes 82 and FCF 84 Selection when FCOE virtual links are established to correct VLAN provides protection mechanism, realizes and avoids FCoE nodes in enabled selection The protecting effect of wrong hidden danger is selected when VLAN is logged in, ensure that the normal foundation of FCOE virtual links.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and formed Network on, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored Performed in the storage device by computing device, and in some cases, can be with different from shown in order execution herein The step of going out or describing, they are either fabricated to each integrated circuit modules respectively or by multiple modules in them or Step is fabricated to single integrated circuit module to realize.Combined in this way, the present invention is not restricted to any specific hardware and software.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the invention, for the skill of this area For art personnel, the invention may be variously modified and varied.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should all be included in the protection scope of the present invention.

Claims (13)

  1. A kind of 1. virtual local area network selection method, it is characterised in that including:
    Receive the Ethernet optical-fibre channel initializtion protocol virtual LAN FIPVLAN that Ethernet Fibre Channel oE nodes are sent Request message;
    According to the first virtual LAN carried in the FIP VLAN request messages and in Ethernet optical-fibre channel transponder FCF First virtual local area net collective of the support Ethernet fiber channel services of upper configuration determines to carry in FIP VLAN response messages The second virtual local area net collective;
    The FIP VLAN response messages are sent to the FCoE nodes, so that the FCoE nodes are virtual according to described second LAN Resource selection is used for the virtual LAN for sending Ethernet optical-fibre channel initializtion protocol message.
  2. It is 2. according to the method described in claim 1, it is characterized in that, described according to carrying in the FIP VLAN request messages First virtual LAN and configured on Ethernet optical-fibre channel transponder FCF the first of support Ethernet fiber channel services Virtual local area net collective determines the second virtual local area net collective carried in FIP VLAN response messages, including:
    The FIP VLAN request messages are parsed, obtain the first virtual LAN carried in the FIP VLAN request messages;
    First virtual local area net collective of the support Ethernet fiber channel services configured described in obtaining on the FCF;
    It is virtual by described first when definite first virtual LAN and the first virtual local area net collective are there are during intersection LAN is arranged to the first virtual LAN in the first virtual local area net collective, will be provided with first virtual local area The first virtual local area net collective of net is determined as the second virtual local area net collective.
  3. 3. according to the method described in claim 2, it is characterized in that, obtaining in the Ethernet optical-fibre channel transponder FCF After first virtual local area net collective of the support Ethernet fiber channel services of upper configuration, further include:
    It is empty by described first when intersection is not present in definite first virtual LAN and the first virtual local area net collective Intend local net collective and be determined as the second virtual local area net collective.
  4. 4. according to the method described in claim 2, it is characterized in that, it is described the FIP VLAN response messages are sent to it is described FCoE nodes, so that the FCoE nodes send Ethernet light according to the second virtual LAN Resource selection virtual LAN Fine passage initializtion protocol message, including:
    The FIP VLAN response messages are sent to the FCoE nodes, so that FCoE nodes selection described second is virtual First virtual LAN in local net collective, the Ethernet optical-fibre channel is sent by first virtual LAN Initializtion protocol message.
  5. 5. method according to any one of claims 1 to 4, it is characterised in that receiving Ethernet optical-fibre channel node hair Before the FIP VLAN request messages sent, further include:
    Configuration supports Ethernet optical fiber to lead on the Ethernet optical-fibre channel node and the Ethernet optical-fibre channel transponder The virtual LAN of road business.
  6. A kind of 6. virtual local area network selection method, it is characterised in that including:
    Ethernet optical-fibre channel initializtion protocol virtual LAN FIP VLAN requests are sent to Ethernet optical-fibre channel transponder Message;
    Receive the FIP VLAN responses that the Ethernet optical-fibre channel transponder responds the FIP VLAN request messages and feeds back Message, wherein, the second virtual local area net collective, the second virtual local area net collective are carried in the FIP VLAN response messages For the Ethernet optical-fibre channel transponder according to the first virtual LAN carried in the FIP VLAN request messages and First virtual local area net collective of the support Ethernet fiber channel services configured on the Ethernet optical-fibre channel transponder FCF And determine;
    It is used to send the virtual of Ethernet optical-fibre channel initializtion protocol message according to the second virtual LAN Resource selection LAN.
  7. 7. according to the method described in claim 6, it is characterized in that, the second virtual local area net collective is the Ethernet light Fine passage transponder is according to the first virtual LAN carried in the FIP VLAN request messages and in Ethernet optical-fibre channel First virtual local area net collective of the support Ethernet fiber channel services configured on transponder and determine, including:
    The FIP VLAN request messages are parsed by the Ethernet optical-fibre channel transponder, obtain the FIP VLAN requests First virtual LAN carried in message;
    The support Ethernet fiber channel services configured on the FCF are obtained by the Ethernet optical-fibre channel transponder The first virtual local area net collective;
    First virtual LAN is arranged to by first virtual LAN by the Ethernet optical-fibre channel transponder The first virtual LAN in set, to determine there is provided the first virtual local area net collective of first virtual LAN For the second virtual local area net collective.
  8. 8. the method according to the description of claim 7 is characterized in that it is used to send out according to the second virtual LAN Resource selection Sending the virtual LAN of Ethernet optical-fibre channel initializtion protocol message includes:
    First virtual LAN in the second virtual local area net collective is selected, wherein, first virtual LAN For sending the Ethernet optical-fibre channel initializtion protocol message.
  9. A kind of 9. virtual LAN selection device, it is characterised in that including:
    Receiving module, the Ethernet optical-fibre channel initializtion protocol sent for receiving Ethernet Fibre Channel oE nodes Virtual LAN FIP VLAN request messages;
    Determining module, for according to the first virtual LAN carried in the FIP VLAN request messages and in Ethernet optical fiber First virtual local area net collective of the support Ethernet fiber channel services configured on passage transponder FCF determines that FIP VLAN are rung Answer the second virtual local area net collective carried in message;
    Sending module, for the FIP VLAN response messages to be sent to the FCoE nodes, so that the FCoE nodes root It is used for the virtual LAN for sending Ethernet optical-fibre channel initializtion protocol message according to the second virtual LAN Resource selection.
  10. 10. device according to claim 8, it is characterised in that the determining module, including:
    Resolution unit, for parsing the FIP VLAN request messages, obtains carried in the FIP VLAN request messages One virtual LAN;
    Acquiring unit, for obtaining the first virtual LAN of the support Ethernet fiber channel services configured on the FCF Set;
    Setting unit, when definite first virtual LAN and the first virtual local area net collective are there are during intersection, by institute The first virtual LAN that the first virtual LAN is arranged in the first virtual local area net collective is stated, described the will be provided with The first virtual local area net collective of one virtual LAN is determined as the second virtual local area net collective.
  11. A kind of 11. virtual LAN selection device, it is characterised in that including:
    Sending module, for sending Ethernet optical-fibre channel initializtion protocol virtual LAN to Ethernet optical-fibre channel transponder FIP VLAN request messages;
    Receiving module, feeds back for receiving the Ethernet optical-fibre channel transponder response FIP VLAN request messages FIP VLAN response messages, wherein, the second virtual local area net collective is carried in the FIP VLAN response messages, described second is empty It is empty according to carried in the FIP VLAN request messages first for the Ethernet optical-fibre channel transponder to intend local net collective Intend LAN and the support Ethernet fiber channel services configured on the Ethernet optical-fibre channel transponder FCF first is empty Intend local net collective and determine;
    Selecting module, for being used to send Ethernet optical-fibre channel initialization association according to the second virtual LAN Resource selection Discuss the virtual LAN of message.
  12. 12. device according to claim 10, it is characterised in that the receiving module is additionally operable to:
    The FIP VLAN request messages are parsed by the FCF, obtain carried in the FIP VLAN request messages it is described First virtual LAN;
    First virtual local area of the support Ethernet fiber channel services configured on the FCF is obtained by the FCF Net collective;
    The first virtual office being arranged to first virtual LAN by the FCF in the first virtual local area net collective Domain net, to be determined as second virtual local area by there is provided the first virtual local area net collective of first virtual LAN Net collective.
  13. 13. a kind of virtual LAN selects system, it is characterised in that including:Ethernet Fibre Channel oE nodes and Ethernet Optical-fibre channel transponder FCF,
    The FCF receives the Ethernet optical-fibre channel initializtion protocol virtual LAN FIP VLAN that the FCoE nodes are sent please Seek message;
    What the FCF was configured according to the first virtual LAN carried in the FIP VLAN request messages and on the FCF The first virtual local area net collective of Ethernet fiber channel services is supported to determine the second void carried in FIP VLAN response messages Intend local net collective;
    The FIP VLAN response messages are sent to the FCoE nodes by the FCF, so that the FCoE nodes are according to Second virtual LAN Resource selection is used for the virtual LAN for sending Ethernet optical-fibre channel initializtion protocol message.
CN201610978490.1A 2016-10-31 2016-10-31 Virtual local area network selection method, apparatus and system Withdrawn CN108023803A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610978490.1A CN108023803A (en) 2016-10-31 2016-10-31 Virtual local area network selection method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610978490.1A CN108023803A (en) 2016-10-31 2016-10-31 Virtual local area network selection method, apparatus and system

Publications (1)

Publication Number Publication Date
CN108023803A true CN108023803A (en) 2018-05-11

Family

ID=62083664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610978490.1A Withdrawn CN108023803A (en) 2016-10-31 2016-10-31 Virtual local area network selection method, apparatus and system

Country Status (1)

Country Link
CN (1) CN108023803A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316002A (en) * 2011-10-31 2012-01-11 华为技术有限公司 Method and apparatus for configuration of virtual local area network
US20120177042A1 (en) * 2011-01-07 2012-07-12 Berman Stuart B Methods, systems and apparatus for the interconnection of fibre channel over ethernet devices using a fibre channel over ethernet interconnection apparatus controller
CN102611952A (en) * 2012-03-29 2012-07-25 杭州华三通信技术有限公司 Method and device for realizing port consultation between fabric channel over Ethernet (FCoE) forwarders
US8711864B1 (en) * 2010-03-30 2014-04-29 Chengdu Huawei Symantec Technologies Co., Ltd. System and method for supporting fibre channel over ethernet communication
CN104335533A (en) * 2012-06-27 2015-02-04 国际商业机器公司 Gateway device to connect native fibre channel ports to pure fibre channel over ethernet storage area networks
CN105634786A (en) * 2014-11-24 2016-06-01 华为技术有限公司 Link keep-alive method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8711864B1 (en) * 2010-03-30 2014-04-29 Chengdu Huawei Symantec Technologies Co., Ltd. System and method for supporting fibre channel over ethernet communication
US20120177042A1 (en) * 2011-01-07 2012-07-12 Berman Stuart B Methods, systems and apparatus for the interconnection of fibre channel over ethernet devices using a fibre channel over ethernet interconnection apparatus controller
CN102316002A (en) * 2011-10-31 2012-01-11 华为技术有限公司 Method and apparatus for configuration of virtual local area network
CN102611952A (en) * 2012-03-29 2012-07-25 杭州华三通信技术有限公司 Method and device for realizing port consultation between fabric channel over Ethernet (FCoE) forwarders
CN104335533A (en) * 2012-06-27 2015-02-04 国际商业机器公司 Gateway device to connect native fibre channel ports to pure fibre channel over ethernet storage area networks
CN105634786A (en) * 2014-11-24 2016-06-01 华为技术有限公司 Link keep-alive method and device

Similar Documents

Publication Publication Date Title
US6247054B1 (en) Method and apparatus for redirecting packets using encapsulation
EP2485527B1 (en) Service splitting processing method, communication equipment and network system
US9276807B2 (en) Redundant communication framework
WO2013163842A1 (en) Method for mobile terminal to access wireless access point and wireless access point
US7526297B1 (en) Method and system for managing pushed data at a mobile unit
JP2002510935A (en) Wireless packet data communication device and method
US20150200938A1 (en) Method and device for transmitting wireless information
CN103442358A (en) Method for local forwarding concentrated authentication and control device
US11770325B2 (en) Automatically selecting an optimized communication channel for communications with a deflect in an overlay network
CN110995744B (en) Message transmission method and device, software defined network switch and storage medium
CN111757389B (en) Communication device and method
CN114697999A (en) Redundant path creating method, device and system
CN108023803A (en) Virtual local area network selection method, apparatus and system
US11812378B2 (en) User management device, BNG, and BNG user internet access method and system
US20100296637A1 (en) Service Processing Method, Communication System and Related Device
CN116389029A (en) User authentication method and system
CN108900653A (en) One kind realizing cross-network segment search system based on onvif agreement and data link layer
CN107786467A (en) Drainage method, drainage system and the system of network data based on transparent deployment
CN109196843A (en) A kind of data cached requesting method and relevant device
EP3869755A1 (en) Control plane network function, user plane network function, and packet processing method using same
KR101020048B1 (en) Apparatus and method for packet classification in mobile communication system
KR20210047386A (en) Method for controlling the link between a plurality of sessions and apparatus therefor
JP2003258916A (en) System and method for communication control, relay gateway processor, and managing server
WO2023088372A1 (en) Data transmission method and related apparatus
KR102169718B1 (en) Method and Apparatus for Session Group Control for massive machine type communications mMTC

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180511