CN106301879A - Ethernet initialization method, device and system - Google Patents

Ethernet initialization method, device and system Download PDF

Info

Publication number
CN106301879A
CN106301879A CN201510369753.4A CN201510369753A CN106301879A CN 106301879 A CN106301879 A CN 106301879A CN 201510369753 A CN201510369753 A CN 201510369753A CN 106301879 A CN106301879 A CN 106301879A
Authority
CN
China
Prior art keywords
vlan
notification message
feedback
message
receiving
Prior art date
Application number
CN201510369753.4A
Other languages
Chinese (zh)
Inventor
张东杰
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to CN201510369753.4A priority Critical patent/CN106301879A/en
Publication of CN106301879A publication Critical patent/CN106301879A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance or administration or management of packet switching networks

Abstract

The invention provides an Ethernet initialization method, device and system, and belongs to the communication field. When it is detected that feedback of a VLAN notification message by an opposite-side device is overtime, a VLAN discovery request message is sent to the opposite-side device according to a preset rule; and when the VLAN notification message back fed by the opposite-side device, a link is established according to the VLAN notification message, and the VLAN notification message comprises a present VLAN list of the opposite-side device. Compared with the prior art, when the VLAN notification message is not received, namely, when the opposite-side device does not establish virtual connection and VLAN has change, the VLAN discovery request message is sent to the opposite-side device again, the opposite-side device back feeds present VLAN information, the present VLAN information is used to establish the link, and failure in link establishment caused by that present VLAN information is inconsistent can be avoided.

Description

一种以太网初始化方法、装置和系统 One kind Ethernet initialization method, apparatus and system for

技术领域 FIELD

[0001] 本发明涉及通信领域,特别涉及一种以太网初始化方法、装置和系统。 [0001] The present invention relates to the field of communications, particularly to a method for initializing Ethernet, devices and systems.

背景技术 Background technique

[0002] 在以太网光纤通道(Fibre Channel over Ethernet,简称“FCoE”)网络中,虚拟局域网(Virtual Local Area Network,简称“VLAN”),光纤通道初始协议虚拟局域网通知(Fibre Channel Initializat1n Protocol Virtual Local Area Network Discovery,简称“FIP VLAN Discovery")报文用于发现可以在FIP协议以及后面的FCoE报文中使用的VLAN ID0具体的以太网FCoE初始化过程为:本端虚拟以太网端口VE_P0RT首先发一个MAC地址为Al 1-FCF-MACs的MAC地址发送FIP VLAN发现请求报文。 [0002] In the Fiber Channel over Ethernet (Fibre Channel over Ethernet, referred to as "FCoE") network, VLAN (Virtual Local Area Network, referred to as "VLAN"), Fiber Channel Protocol Virtual LAN initial notification (Fibre Channel Initializat1n Protocol Virtual Local Area Network discovery, referred to as "FIP VLAN discovery") packets for discovery may be used in VLAN ID0 FIP FCoE protocol and subsequent specific Ethernet packet FCoE initialization process is: the local virtual Ethernet port first send a VE_P0RT MAC address of the sending FIP VLAN discovery request packet is the MAC address Al 1-FCF-MACs to. 连接的对端VE_P0RT收到VLAN发现请求之后,需要使用单播VLAN通知帧进行响应,VLAN通知帧携带对端VE_P0RT可支持的VLAN ID列表;本端VE_P0RT收到通知帧后,解析携带的描述符获取VLAN列表;然后从可用的VLAN列表中选择一个VLAN ID进行后续登陆等操作。 After connecting the ends VE_P0RT receiving VLAN discovery request, a unicast VLAN requires notification response frame, the notification frame carries VLAN ID list of supported VLAN VE_P0RT end; end VE_P0RT present frame after receiving the notification, carrying parsing descriptor Get a list of VLAN; then select a VLAN ID for subsequent operations such as login from the list of available VLAN.

[0003] 如果对端VE_P0RT上的VLAN配置发生变化,它需要向所有建立了虚连接的VE_PORT发送单播VLAN通知帧,通知帧携带修改后的VLAN列表。 [0003] If the change of the VLAN configuration on the end VE_P0RT, all it needs to establish a virtual connection VE_PORT sends a unicast VLAN notification frame, the notification frame carries VLAN modified list. 本端VE_P0RT解析获取修改后的VLAN列表,进行相应操作。 Get local VLAN VE_P0RT resolve the modified list, and operate accordingly.

[0004] 但是在实际网络组网环境中,可能存在各种异常情况,例如:如果本端VE_P0RT还没有建立虚连接之前,对端VE_P0RT的VLAN发生变化,那么对端VE_P0RT可能就不会通知到本端VE_P0RT,这样就有可能造成本端VE_P0RT继续使用被删除的VLAN ID进行登录。 [0004] However, in actual network networking environment, there may be a variety of abnormal conditions, for example: if before the end of the present VE_P0RT virtual connection has not been established, the peer VE_P0RT change of one VLAN, the peer may not notified to VE_P0RT the local VE_P0RT, so it may cause local VE_P0RT continue to use the deleted VLAN ID to log in.

发明内容 SUMMARY

[0005] 本发明要解决的主要技术问题是,提供一种以太网初始化方法、装置和系统,解决现有没有建立虚连接时对端终端VLAN发生变化不会反正给本端导致后续建链失败的问题。 [0005] The present invention The main technical problem to be solved is to provide a method for initializing Ethernet, devices and systems, solve for the terminal changes a VLAN virtual connection is not established prior to the present anyway, will not result in subsequent link establishment failure end The problem.

[0006] 为解决上述问题,本发明提供一种以太网初始化方法,包括: [0006] In order to solve the above problems, the present invention provides a method for initializing Ethernet, comprising:

[0007] 检测到对方装置反馈VLAN通知消息超时时,按预设规则向所述对方装置发送VLAN发现请求消息; [0007] The counterpart means detects a feedback VLAN timeout notification message, transmitting apparatus according to a preset rule VLAN discovery request message to the other party;

[0008] 接收到所述对方装置反馈的所述VLAN通知消息,根据所述VLAN通知消息建立链路,所述VLAN通知消息包括所述对方装置当前的VLAN列表。 [0008] The receiving means to said other feedback VLAN notification message, the notification message according to the VLAN to establish a link, the notification message comprising the VLAN partner device current VLAN list.

[0009] 在本发明的一种实施例中,所述检测到对方装置反馈VLAN通知消息超时包括:在发送VLAN发现请求消息给所述对方装置后,判断在预设时间内是否接收到所述对方装置反馈的VLAN通知消息,如果没有接收到,则认为反馈VLAN通知消息超时。 [0009] In one embodiment of the present invention, the detection means to the other side VLAN feedback timeout notification message comprises: sending a request message back to the other VLAN discovery means determines whether a preset time the VLAN other feedback device notification message is not received, the notification message that the feedback VLAN timeout.

[0010] 在本发明的一种实施例中,所述预设规则为在检测到所述VLAN通知报文超时时,在预设的时间段内按预设的频率向所述对端终端发送所述VLAN发现请求消息。 [0010] In one embodiment of the present invention, the predetermined rule is detected when the VLAN packet timeout notification, transmits terminal according to the preset frequency in a preset time period the VLAN discovery request message.

[0011] 为解决上述问题,本发明还提供一种以太网初始化方法,包括: [0011] In order to solve the above problems, the present invention also provides a method for initializing Ethernet, comprising:

[0012] 接收对方装置按预设规则发送的VLAN发现请求消息; VLAN [0012] transmitted by the other apparatus receives the discovery request message to a preset rule;

[0013] 向所述对方装置反馈VLAN通知消息,所述VLAN通知消息包括本端当前的VLAN列表。 [0013] Feedback device notification message to the other VLAN, the VLAN notification message including VLAN list this end.

[0014] 为解决上述问题,本发明还提供一种以太网初始化方法,包括: [0014] In order to solve the above problems, the present invention also provides a method for initializing Ethernet, comprising:

[0015] 发送端检测到接收端反馈VLAN通知消息超时时,按预设规则向所述接收端发送VLAN发现请求消息; [0015] The sender detects a receiving end a feedback message timeout notification VLAN, according to a preset rule send VLAN discovery request message to the receiving end;

[0016] 所述接收端接收所述VLAN发现请求消息,向所述发送端反馈VLAN通知消息,所述VLAN通知消息包括本端当前的VLAN列表; [0016] The receiving end receives the discovery request message VLAN, VLAN feedback to the sending end notification message, the notification message comprises a local VLAN of the VLAN list of the current;

[0017] 所述发送端接收所述VLAN通知消息后,根据所述VLAN通知消息建立链路。 [0017] The transmitting terminal receiving the VLAN notification message, the notification message according to the VLAN to establish a link.

[0018] 为解决上述问题,本发明还提供一种以太网初始化装置,包括检测发送模块和接收建链模块: [0018] In order to solve the above problems, the present invention further provides an Ethernet initializing means includes a detection module and a transmitting module receiving link establishment:

[0019] 所述检测发送模块用于检测到对方装置反馈VLAN通知消息超时时,按预设规则向所述对方装置发送VLAN发现请求消息; [0019] The detection means for detecting the transmission apparatus when the other feedback VLAN timeout notification message, according to a preset rule VLAN discovery request message sent to the other device;

[0020] 所述接收建链模块用于接收到所述对方装置反馈的所述VLAN通知消息,根据所述VLAN通知消息建立链路,所述VLAN通知消息包括所述对方装置当前的VLAN列表。 The VLAN [0020] Construction of the chain receiving means for receiving said feedback means to the other side of the notification message, the notification message according to the VLAN to establish a link, the notification message comprising the VLAN partner device current VLAN list.

[0021] 在本发明的一种实施例中,所述检测发送模块还用于在发送VLAN发现请求消息给所述对方装置后,判断在预设时间内是否接收到所述对方装置反馈的VLAN通知消息,如果没有接收到,则认为反馈VLAN通知消息超时。 [0021] In one embodiment of the present invention, the detection module is further configured to, after transmitting transmits the VLAN discovery request message to the partner device, the partner apparatus determines whether to receive the feedback VLAN within a preset time notification message is not received, it is considered the feedback VLAN notification message timeout.

[0022] 在本发明的一种实施例中,所述预设规则为在检测到所述VLAN通知报文超时时,在预设的时间段内按预设的频率向所述对端终端发送所述VLAN发现请求消息。 [0022] In one embodiment of the present invention, the predetermined rule is detected when the VLAN packet timeout notification, transmits terminal according to the preset frequency in a preset time period the VLAN discovery request message.

[0023] 为解决上述问题,本发明还提供一种以太网初始化装置,包括请求接收模块和通知反馈模块: [0023] In order to solve the above problems, the present invention further provides an Ethernet initializing apparatus includes a request receiving module and a feedback module notifications:

[0024] 所述请求接收模块用于接收对方装置按预设规则发送的VLAN发现请求消息; [0024] The request receiving means for receiving the transmitted VLAN partner device discovery request message according to a preset rule;

[0025] 所述通知反馈模块用于向所述对方装置反馈VLAN通知消息,所述VLAN通知消息包括本端当前的VLAN列表。 [0025] The notification module is configured feedback means feedback a notification message to the other VLAN, the VLAN notification message including VLAN list this end.

[0026] 为解决上述问题,本发明还提供一种以太网初始化系统,包括发送端和接收端: [0026] In order to solve the above problems, the present invention further provides an Ethernet system initialization, comprising a transmitting end and a receiving end:

[0027] 所述发送端用于检测到接收端反馈VLAN通知消息超时时,按预设规则向所述接收端发送VLAN发现请求消息; [0027] for detecting the sending end to the receiving end a feedback message timeout notification when the VLAN, according to a preset rule VLAN discovery request message sent to the receiving end;

[0028] 所述接收端用于接收所述VLAN发现请求消息,向所述发送端反馈VLAN通知消息,所述VLAN通知消息包括本端当前的VLAN列表; [0028] the receiving end for receiving a discovery request message to the VLAN, VLAN feedback to the sending end notification message, the notification message comprises a local VLAN of the VLAN list of the current;

[0029] 所述发送端还用于接收所述VLAN通知消息后,根据所述VLAN通知消息建立链路。 [0029] the sending end further configured to receive the VLAN notification message, the notification message according to the VLAN to establish a link.

[0030] 本发明的有益效果是: [0030] Advantageous effects of the present invention are:

[0031] 本发明提供一种以太网初始化方法、装置和系统,检测到对方装置反馈VLAN通知消息超时时,按预设规则向对方装置发送VLAN发现请求消息;接收到对方装置反馈的VLAN通知消息,根据VLAN通知消息建立链路,VLAN通知消息包括对方装置当前的VLAN列表。 [0031] The present invention provides a method for initializing Ethernet, devices and systems, other means upon detection notification message timeout feedback VLAN, according to a preset rule to the counterpart apparatus transmits the VLAN discovery request message; receiving means to the other side of the feedback message notification VLAN the notification message to establish a link VLAN, VLAN notification message includes a list of the other device current VLAN. 与现有技术相比,在没有收到VLAN通知消息时,即对方装置由于没有建立虚连接并且VLAN发生变化时,会向对方装置再次发送VLAN发现请求消息,让对方装置将当前VLAN信息反馈回来,利用当前VLAN信息进行建链,能够避免现有中VLAN信息不一致导致建链失败的问题。 Compared with the prior art, when the VLAN do not receive a notification message, i.e. because there is no other means to establish a virtual connection and, if the VLAN has changed, to the other apparatus sends again VLAN discovery request message, the other side means the current VLAN information fed back , built using the current VLAN information chain, to avoid existing problems caused by inconsistent information in VLAN link establishment failure.

附图说明 BRIEF DESCRIPTION

[0032]图1为本发明实施例一提供的以太网初始化方法流程示意图; [0032] FIG. 1 is a schematic flow diagram of a method for initializing an Ethernet to an embodiment of the present invention;

[0033]图2为本发明实施例二提供的以太网初始化方法流程示意图; [0033] FIG. 2 is a schematic flow Ethernet initialization method according to a second embodiment of the present invention;

[0034] 图3为本发明实施例三提供的以太网初始化装置结构示意图一; [0034] FIG. 3 is a schematic structure of an Ethernet initialization apparatus according to a third embodiment of the present invention;

[0035] 图4为本发明实施例三提供的以太网初始化装置结构示意图二; [0035] The embodiment of FIG. 4 Ethernet configuration initializing means provided in the third embodiment of the present invention, a schematic view of two;

[0036]图5为本发明实施例六提供的以太网初始化系统结构示意图。 [0036] FIG. 5 is a schematic system configuration of an Ethernet initialized according to a sixth embodiment of the invention.

具体实施方式 Detailed ways

[0037] 为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。 [0037] In order that the invention object, technical solutions, and advantages of the embodiments more clearly, the following the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described the embodiment is an embodiment of the present invention is a part, but not all embodiments. 基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, those of ordinary skill in the art to make all other embodiments without creative work obtained by, it falls within the scope of the present invention.

[0038] 实施例一 [0038] Example a

[0039] 本实施例的以太网初始化方法,如图1所示,包括以下步骤: [0039] Ethernet initialization method according to the present embodiment, shown in Figure 1, comprising the steps of:

[0040] 步骤SlOl:检测到对方装置反馈VLAN通知消息超时时,按预设规则向对方装置发送VLAN发现请求消息; [0040] Step SlOl: detecting when the feedback to the counterpart apparatus VLAN timeout notification message, according to a preset rule VLAN discovery request message transmission means to each other;

[0041] 在该步骤中,这里的对端装置是相对于本端装置来讲的,应该理解为本端装置为发送端装置,这里的发送端装置和对端装置都是通讯设备,应该理解为对端装置为接收端装置。 [0041] In this step, where the end of the apparatus with respect to this end of the device is concerned, it should be understood that the terminal device is a transmitting-side apparatus, where the transmitting-side apparatus and the remote apparatus is communication equipment, it should be understood It means for the terminal device is the receiver. 具体的,为两个交换机,并且为两个交换机的VE_P0RT端口。 Specifically, two switches and two switch port VE_P0RT. 当然,应该理解为其他的建链端口也包含在内。 Of course, it should be understood as other chains built port is also included. 具体的情况根据具体的双端信息交互而定。 According to the specific circumstances of the specific double-node information.

[0042] 步骤S102:接收到对方装置反馈的VLAN通知消息,根据VLAN通知消息建立链路,VLAN通知消息包括对方装置当前的VLAN列表。 [0042] the step S102: receiving a notification message to the other apparatus VLAN feedback link establishment notification message according to the VLAN, VLAN notification message includes a list of the other device current VLAN.

[0043] 在该步骤中,具体的建链过程包括向对方装置发送ELP请求;对方装置接受请求并回ELP ACC应答。 [0043] In this step, the specific link setup procedure comprises a request to the other apparatus transmits ELP; partner device accepts the request and reply back to the ACC ELP. 建链后,本端装置和对端装置之间可以发送FC命令等进行信息交换。 After link establishment, and to this end the device may transmit a command or the like between the end of the FC device to exchange information.

[0044] 值得注意是,本实施例FCoE使用光纤通道初始协议FIP进行初始化连接,FIP运行于在两端装置之间,具体的可以是虚拟以太网端口VF_Port和VN_Port之间或VE_Port之间等,具体情况根据具体应用环境而定。 [0044] Notably, the embodiment of the present embodiment using Fiber Channel FCoE protocol FIP initial connection is initialized, FIP runs between the ends of the device, specifically between the Ethernet may be a virtual port or VE_Port VN_Port VF_Port and the like, particularly the case may be based on the specific application environment.

[0045] 在上述步骤SlOl中,应该理解为,发送VLAN发现请求消息是指想让对端装置反馈当前的VLAN信息即VLAN列表的消息,优选的可以是VLAN发现请求报文,其他可以用来的让对方装置发送VLAN信息的请求消息都应包含在内;VLAN通知消息是指反馈VLAN信息即反馈VLAN列表的消息,优选的可以是VLAN通知报文,其他可以用来的反馈VLAN信息的反馈消息都应包含在内。 [0045] In the step SlOl, it should be understood that VLAN discovery request message transmission means want feedback current VLAN information that is the VLAN list message to the client device, it may be preferable VLAN discovery request packets, the other can be used the other side VLAN information request message should be included in the apparatus; VLAN notification message refers to a message feedback i.e. feedback VLAN VLAN information list, it may be preferable notification message VLAN, VLAN information feedback other feedback can be used to the message should be included.

[0046] 具体的,在上述步骤SlOl中,检测到对方装置反馈VLAN通知消息超时包括:在发送VLAN发现请求消息给对方装置后,判断在预设时间内是否接收到对方装置反馈的VLAN通知消息,如果没有接收到,则认为反馈VLAN通知消息超时。 [0046] Specifically, in step SlOl, the detection means to the other side VLAN feedback timeout notification message comprises: sending messages to each other VLAN discovery request means, the feedback means determines whether a predetermined time of each other in the notification message VLAN If not received, it is considered the feedback VLAN notification message timeout. 具体的,预设规则为在检测到VLAN通知报文超时时,在预设的时间段内按预设的频率向对端终端发送VLAN发现请求消息。 Specifically, when the preset rule is detected VLAN packet timeout notification, the preset time period according to a preset frequency request message to the opposite terminal transmits the VLAN discovery.

[0047] 实施例二 [0047] Second Embodiment

[0048] 本实施例的以太网初始化方法,如图2所示,本实施例中以两个交换机的VE_P0RT端口为例进行说明,包括以下步骤: [0048] Ethernet initialization method according to the present embodiment, as shown in FIG. 2, in the present embodiment, two switches VE_P0RT port as an example, comprises the steps of:

[0049] 步骤S201:VE_P0RT端口UP后,发起VLAN发现请求报文,同时设置VLAN保活定时器,时间为N秒;等待接收VLAN应答; [0049] Step S201: After the UP VE_P0RT port, VLAN initiates discovery request packet, and set VLAN keep-alive timer, time of N seconds; VLAN waiting to receive a response;

[0050] 步骤S202:对端收到VLAN发现请求之后,进行回应,发送单播VLAN通知报文; [0050] Step S202: After the VLAN peer discovery request is received, a response, sends a unicast VLAN notification message;

[0051] 步骤S203:本端收到对端VLAN发现通知报文之后,解析描述符,获取VLAN列表,设置列表中VLAN ID对应VLAN状态为活跃状态ACTIVE,进入步骤S204 ;如果N秒后仍未收到对端的VLAN应答,转步骤S205 ; [0051] Step S203: After the VLAN local peer discovery notification received packets, parsing descriptor, acquire VLAN list, set the VLAN ID of the VLAN status list as active state ACTIVE, proceeds to step S204; if not after N seconds the response received from the peer VLAN, go to step S205;

[0052] 步骤S204:从列表中选择一个状态为ACTIVE的VLAN,发送DS报文,进入步骤S208 ; [0052] Step S204: selecting from the list a state of the VLAN to ACTIVE, DS packet transmission proceeds to step S208;

[0053] 步骤S205:定时器达到N秒后,调用VLAN发现请求接口,继续发送VLAN发现报文; [0053] Step S205: after the timer reaches N seconds, the call request interface VLAN discovery, discovery continues to send VLAN packets;

[0054] 步骤S206:本端收到对端VLAN发现通知报文之后,解析描述符,获取VLAN列表,新增的VLAN状态设置为ACTIVE,删除的VLAN状态设置为失活状态DISABLE ; [0054] Step S206: the local peer VLAN discovery received after the notification message, parsing the descriptor, obtain a list of VLAN, VLAN new status to ACTIVE, delete the VLAN state to the inactivated state the DISABLE;

[0055] 步骤S207:本端查看VLAN列表,如果刚才建链失败的VLAN还是ACTIVE,继续使用该VLAN建链,即优先选择状态为ACTIVE并且上次发起连接的VLAN,否则重新选择新的VLAN发送DS请求; [0055] Step S207: the local view VLAN list, if just to build the chain failed VLAN or ACTIVE, continue to use the VLAN link establishment, that preference is ACTIVE state and last launched VLAN connection, or sent to re-select a new VLAN DS request;

[0056] 步骤S208:接收DA单播应答,发送ELP完成建链。 [0056] Step S208: receiving a unicast response DA, transmission link establishment completion ELP.

[0057] 值得注意的是,本实例中的本端即为发送端装置;对端即为接收端装置。 [0057] It is noted that the present example this is the end of the sending end apparatus; end is the receiving end of the apparatus. 并且,发送端装置和接收端装置都为以太网初始化装置。 Further, the transmitting side apparatus and a receiving-side apparatus are initialized Ethernet device.

[0058] 实施例三 [0058] Example three

[0059] 本实施例提供一种以太网初始化装置300,如图3所示,包括检测发送模块301和接收建链模块302:所述检测发送模块301用于检测到对方装置反馈VLAN通知消息超时时,按预设规则向所述对方装置发送VLAN发现请求消息;所述接收建链模块302用于接收到所述对方装置反馈的所述VLAN通知消息,根据所述VLAN通知消息建立链路,所述VLAN通知消息包括所述对方装置当前的VLAN列表。 [0059] The present embodiment provides an Ethernet initialization apparatus 300, shown in Figure 3, includes a detecting module 301 and transmission module 302 receives the link establishment: the detection module 301 transmits to the counterpart apparatus for detecting a notification message over a feedback VLAN from time to time, according to a preset rule to the counterpart apparatus transmits VLAN discovery request message; receiving the link setup module 302 for receiving the feedback to the counterpart apparatus VLAN notification message, the notification message according to the VLAN to establish a link, the notification message includes the VLAN partner device current VLAN list.

[0060] 进一步,所述检测发送模块301还用于在发送VLAN发现请求消息给所述对方装置后,判断在预设时间内是否接收到所述对方装置反馈的VLAN通知消息,如果没有接收到,则认为反馈VLAN通知消息超时。 [0060] Further, the detection module 301 is further configured to send, after sending VLAN discovery request message to the counterpart apparatus, it determines whether the counterpart apparatus receives the feedback VLAN notification message within a preset time, if not received it is considered feedback VLAN notification message timeout. 具体的,所述预设规则为在检测到所述VLAN通知报文超时时,在预设的时间段内按预设的频率向所述对端终端发送所述VLAN发现请求消息。 Specifically, the predetermined rule is detected when the VLAN packet timeout notification, transmitting the preset period of time VLAN discovery request message to the preset frequency to the opposite terminal.

[0061] 本实施例还提供一种以太网初始化装置400,如图4所示,包括请求接收模块401和通知反馈模块402:所述请求接收模块401用于接收对方装置按预设规则发送的VLAN发现请求消息;所述通知反馈模块402用于向所述对方装置反馈VLAN通知消息,所述VLAN通知消息包括本端当前的VLAN列表。 [0061] The present embodiment further provides an Ethernet initialization apparatus 400, shown in Figure 4, includes a request receiving module 401 and a feedback module 402 notifies: the request receiving module 401 is configured to receive each other according to a preset rule sending means VLAN discovery request message; a notification module 402 for feedback means feedback a notification message to the other VLAN, the VLAN notification message including VLAN list this end.

[0062] 本实施例还提供一种以太网初始化系统,如图5所示,包括发送端501和接收端502:所述发送端501用于检测到接收端502反馈VLAN通知消息超时时,按预设规则向所述接收端502发送VLAN发现请求消息;所述接收端502用于接收所述VLAN发现请求消息,向所述发送端501反馈VLAN通知消息,所述VLAN通知消息包括本端当前的VLAN列表;所述发送端501还用于接收所述VLAN通知消息后,根据所述VLAN通知消息建立链路。 [0062] The present embodiment further provides an Ethernet system initialization, shown in Figure 5, includes a transmission terminal 501 and receiving terminal 502: The terminal 501 for detecting a feedback to the receiver 502 transmits the VLAN timeout notification message, press preset rule VLAN discovery request message sent to the receiving end 502; the receiving end 502 for receiving a discovery request message to the VLAN, VLAN feedback notification message to the sending terminal 501, the notification message comprises a local VLAN current VLAN (s); the sending end for receiving the VLAN 501 further notification message, the notification message according to the VLAN to establish a link.

[0063] 本实例中的接收端和发送端都为上述的以太网初始化装置,具体的根据具体情况而定,例如发送端501为以太网初始化装置300,接收端为以太网初始化装置400。 [0063] The present example both the sending end and a receiving end of the above-described initializing apparatus Ethernet, depending on the specific circumstances, for example, an Ethernet terminal 501 transmits the initialization means 300, the receiving terminal apparatus 400 initializes the Ethernet.

[0064] 本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,上述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。 [0064] Those of ordinary skill in the art will be appreciated that the above-described method may be all or part of the steps by a program instructing relevant hardware is completed, the program may be stored in a computer-readable storage medium, such as read only memory, etc., magnetic or optical disk. 可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。 Alternatively, all or part of the steps of the above-described embodiments may be implemented using one or more integrated circuits. 相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。 Accordingly, each module / unit in the above-described embodiments may be implemented in the form of hardware, software functional modules may also be implemented. 本发明不限制于任何特定形式的硬件和软件的结合。 The present invention is not limited to any specific combination of hardware and software form.

[0065] 以上实施例仅用以说明本发明的技术方案而非限制,仅仅参照较佳实施例对本发明进行了详细说明。 [0065] The above embodiments are intended to illustrate and not limit the present invention only with reference to the preferred embodiments of the present invention has been described in detail. 本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围,均应涵盖在本发明的权利要求范围当中。 Those skilled in the art will appreciate that modifications may be made to the technical solutions of the present invention, or equivalent replacements without departing from the spirit and scope of the technical solutions of the present invention shall be encompassed in the scope of the present invention accompanying claims.

Claims (10)

1.一种以太网初始化方法,其特征在于,包括: 检测到对方装置反馈VLAN通知消息超时时,按预设规则向所述对方装置发送VLAN发现请求消息; 接收到所述对方装置反馈的所述VLAN通知消息,根据所述VLAN通知消息建立链路,所述VLAN通知消息包括所述对方装置当前的VLAN列表。 CLAIMS 1. A method for initializing an Ethernet, characterized by comprising: detecting when the feedback message timeout notification means counterpart VLAN, according to a preset rule to the counterpart apparatus transmitting VLAN discovery request message; receiving means to the other side of the feedback VLAN said notification message, the notification message according to the VLAN to establish a link, the notification message comprising the VLAN partner device current VLAN list.
2.如权利要求1所述的以太网初始化方法,其特征在于,所述检测到对方装置反馈VLAN通知消息超时包括:在发送VLAN发现请求消息给所述对方装置后,判断在预设时间内是否接收到所述对方装置反馈的VLAN通知消息,如果没有接收到,则认为反馈VLAN通知消息超时。 2. Ethernet initialization method according to claim 1, wherein said detecting means to the other side VLAN feedback timeout notification message comprises: sending VLAN discovery request message to the partner device after determining within a preset time feedback means whether a counterpart of the VLAN notification message is not received, the notification message that the feedback VLAN timeout.
3.如权利要求1或2所述的以太网初始化方法,其特征在于,所述预设规则为在检测到所述VLAN通知报文超时时,在预设的时间段内按预设的频率向所述对端终端发送所述VLAN发现请求消息。 3. The Ethernet initialization method of claim 1 or claim 2, wherein the preset rule is detected when the VLAN packet timeout notification, the preset time period according to a preset frequency transmitting the VLAN to the discovery request message to the terminal.
4.一种以太网初始化方法,其特征在于,包括: 接收对方装置按预设规则发送的VLAN发现请求消息; 向所述对方装置反馈VLAN通知消息,所述VLAN通知消息包括本端当前的VLAN列表。 A method for initializing an Ethernet, characterized purpose: VLAN discovery counterpart receiving device transmits a request message according to a preset rule; means a feedback notification message to the other VLAN, VLAN notification message comprising the local current VLAN list.
5.一种以太网初始化方法,其特征在于,包括: 发送端检测到接收端反馈VLAN通知消息超时时,按预设规则向所述接收端发送VLAN发现请求消息; 所述接收端接收所述VLAN发现请求消息,向所述发送端反馈VLAN通知消息,所述VLAN通知消息包括本端当前的VLAN列表; 所述发送端接收所述VLAN通知消息后,根据所述VLAN通知消息建立链路。 A method for initializing an Ethernet, characterized by comprising: a transmitting end to a receiving end a feedback detected VLAN timeout notification message, according to a preset rule VLAN discovery request message sent to the receiving end; the receiving terminal receives the VLAN discovery request message, the sending end to the feedback VLAN notification message, the notification message comprising the local VLAN current VLAN list; the sending end receives the notification message, the notification message according to the VLAN to establish a link to the VLAN.
6.一种以太网初始化装置,其特征在于,包括检测发送模块和接收建链模块: 所述检测发送模块用于检测到对方装置反馈VLAN通知消息超时时,按预设规则向所述对方装置发送VLAN发现请求消息; 所述接收建链模块用于接收到所述对方装置反馈的所述VLAN通知消息,根据所述VLAN通知消息建立链路,所述VLAN通知消息包括所述对方装置当前的VLAN列表。 An Ethernet device initialization, wherein the transmission includes a detection module and a receiving module built in the chain: a detection module configured to detect when the transmitting apparatus as feedback counterpart VLAN timeout notification message, according to a preset rule to the counterpart apparatus transmits the VLAN discovery request message; receiving the link setup means for receiving the said feedback means VLAN counterpart notification message, the notification message according to the VLAN to establish a link, the notification message comprising the VLAN current partner device VLAN list.
7.如权利要求6所述的以太网初始化装置,其特征在于,所述检测发送模块还用于在发送VLAN发现请求消息给所述对方装置后,判断在预设时间内是否接收到所述对方装置反馈的VLAN通知消息,如果没有接收到,则认为反馈VLAN通知消息超时。 7. The apparatus of claim Ethernet initialization claim 6, wherein the detection module is further configured to, after transmitting transmits the VLAN discovery request message to the other device, determining whether said received within a preset time VLAN other feedback device notification message is not received, the notification message that the feedback VLAN timeout.
8.如权利要求6或7所述的以太网初始化装置,其特征在于,所述预设规则为在检测到所述VLAN通知报文超时时,在预设的时间段内按预设的频率向所述对端终端发送所述VLAN发现请求消息。 8. The Ethernet initialization means 6 or claim 7, wherein the preset rule is detected when the VLAN packet timeout notification, the preset time period according to a preset frequency transmitting the VLAN to the discovery request message to the terminal.
9.一种以太网初始化装置,其特征在于,包括请求接收模块和通知反馈模块: 所述请求接收模块用于接收对方装置按预设规则发送的VLAN发现请求消息; 所述通知反馈模块用于向所述对方装置反馈VLAN通知消息,所述VLAN通知消息包括本端当前的VLAN列表。 An Ethernet device initialization, wherein the notification comprises a request receiving module and a feedback module: a request receiving means for receiving a VLAN discovery counterpart apparatus transmits the request message according to a preset rule; feedback means for the notification VLAN feedback to the counterpart device notification message, the notification message VLAN including VLAN list this end.
10.一种以太网初始化系统,其特征在于,包括发送端和接收端: 所述发送端用于检测到接收端反馈VLAN通知消息超时时,按预设规则向所述接收端发送VLAN发现请求消息; 所述接收端用于接收所述VLAN发现请求消息,向所述发送端反馈VLAN通知消息,所述VLAN通知消息包括本端当前的VLAN列表; 所述发送端还用于接收所述VLAN通知消息后,根据所述VLAN通知消息建立链路。 An Ethernet system initialization, wherein the transmitting end and a receiving end comprising: the transmitting end to the receiving end is used for detecting a feedback VLAN timeout notification message, according to a preset rule VLAN discovery request sent to the receiving end message; the receiving end for receiving a discovery request message to the VLAN, VLAN feedback message to the transmitting end notification, the notification message VLAN including VLAN local listing; the sending end further configured to receive the VLAN after the notification message, establishing a link according to the VLAN notification message.
CN201510369753.4A 2015-06-29 2015-06-29 Ethernet initialization method, device and system CN106301879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510369753.4A CN106301879A (en) 2015-06-29 2015-06-29 Ethernet initialization method, device and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510369753.4A CN106301879A (en) 2015-06-29 2015-06-29 Ethernet initialization method, device and system
PCT/CN2016/078368 WO2017000614A1 (en) 2015-06-29 2016-04-01 Ethernet initialization method, device and system

Publications (1)

Publication Number Publication Date
CN106301879A true CN106301879A (en) 2017-01-04

Family

ID=57607735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510369753.4A CN106301879A (en) 2015-06-29 2015-06-29 Ethernet initialization method, device and system

Country Status (2)

Country Link
CN (1) CN106301879A (en)
WO (1) WO2017000614A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006029941A1 (en) * 2004-09-17 2006-03-23 Hewlett-Packard Development Company, L.P. Virtual network interface
CN104301231A (en) * 2014-10-15 2015-01-21 武汉烽火网络有限责任公司 Management method for virtual links in FCoE network and FIP switch

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7385973B1 (en) * 2003-02-21 2008-06-10 Nortel Networks Limited Method and apparatus for VLAN ID discovery
US20120294192A1 (en) * 2011-05-19 2012-11-22 Hitachi, Ltd. Method and apparatus of connectivity discovery between network switch and server based on vlan identifiers
US10193748B2 (en) * 2013-09-30 2019-01-29 Extreme Networks, Inc. Enabling configuration in networks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006029941A1 (en) * 2004-09-17 2006-03-23 Hewlett-Packard Development Company, L.P. Virtual network interface
CN104301231A (en) * 2014-10-15 2015-01-21 武汉烽火网络有限责任公司 Management method for virtual links in FCoE network and FIP switch

Also Published As

Publication number Publication date
WO2017000614A1 (en) 2017-01-05

Similar Documents

Publication Publication Date Title
US8423058B2 (en) Registering client computing devices for online communication sessions
US8606306B2 (en) Multiple client computing device invitations for online communication sessions
US7940678B2 (en) Method for triggering failure detection in bidirectional forwarding detection
US8751667B2 (en) Supporting hands-free services via a hands-free device for IP video calls
EP2713641B1 (en) Method for receiving data, method for transmitting data, mobile terminal, and server
CN102710554B (en) Distributed messaging system service status messages and distributed detection system
CN102316016B (en) Method and device for forwarding multicasting flow
ES2408679T3 (en) Method, device client, server and system for sending / receiving a message offline
CN102246461B (en) Method, apparatus and system for duplicate address detection proxy
KR20090131450A (en) Method and system for keeping connection between terminal and servers in communication system
EP1675356B1 (en) Notification of failures in a trunk network
KR101301434B1 (en) Voice instant messaging between mobile and computing devices
CN101057460A (en) Server apparatus, mobile terminal, electric appliance, communication system, communication method, and program
CN102624584B (en) Method and apparatus for detecting link
WO2012100509A1 (en) Method for automatically discovering coaxial broadband access terminal, management method and system
CN101340444B (en) Fireproof wall and server policy synchronization method, system and apparatus
US8767751B2 (en) Unsolicited FIP packet injection by proxy and spoofing and autoconfiguring intermediate bridges using FIP snooping
JP2009049635A (en) Network system, network device, and relay device
JP2004207878A (en) Communication apparatus
US20120185542A1 (en) Registering email addresses for online communication sessions
CN102223257B (en) Heartbeat interval adjusting method, server, client terminal and communication system
CN101902826B (en) Method and system for establishing data connection
CN100553213C (en) WLAN abnormal quick restoring method and device
CN103873301A (en) System and method for automatically finding and adding devices
CN1838590B (en) Method and system for supporting internet key exchange in SIP signal process

Legal Events

Date Code Title Description
C06 Publication
SE01 Entry into force of request for substantive examination