CN106301879A - A kind of Ethernet initial method, device and system - Google Patents
A kind of Ethernet initial method, device and system Download PDFInfo
- 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
- ethernet
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The present invention provides a kind of Ethernet initial method, device and system, belongs to the communications field.When the other side's device feedback VLAN notification message time-out being detected, send VLAN by preset rules to the other side's device and find request message;Receiving the VLAN notification message of the other side's device feedback, set up link according to VLAN notification message, VLAN notification message includes the vlan list that the other side's device is current.Compared with prior art, when not receiving VLAN notification message, i.e. the other side's device is owing to being not set up virtual connections and time VLAN changes, can again send VLAN to the other side's device and find request message, the other side's device is allowed to be fed back by current vlan information, current vlan information is utilized to carry out link setup, it is possible to avoid the inconsistent problem causing link setup failed of existing middle vlan information.
Description
Technical field
The present invention relates to the communications field, particularly to a kind of Ethernet initial method, device and system.
Background technology
In Ethernet optical-fibre channel (Fibre Channel over Ethernet is called for short " FCoE ") network,
VLAN (Virtual Local Area Network is called for short " VLAN "), optical-fibre channel is initially assisted
View VLAN notice (Fibre Channel Initialization Protocol Virtual Local
Area Network Discovery, is called for short " FIP VLAN Discovery ") message can be for discovery
The VLAN ID used in FIP agreement and FCoE message below.Concrete Ethernet FCoE initializes
Process is: first local terminal virtual ethernet port VE_PORT sends out a MAC Address is All-FCF-MACs's
MAC Address sends FIP VLAN and finds request message.The opposite end VE_PORT connected receives VLAN and finds to ask
After asking, needing to use clean culture VLAN notification frame to respond, VLAN notification frame carries opposite end VE_PORT can
The VLAN ID list supported;After the notified frame of local terminal VE_PORT, resolve descriptor acquiring VLAN carried
List;Then select from available vlan list VLAN ID carry out follow-up log in wait operate.
If the VLAN configuration on the VE_PORT of opposite end changes, it needs to all virtual connections that establish
VE_PORT sends clean culture VLAN notification frame, and notification frame carries amended vlan list.Local terminal VE_PORT
Resolve and obtain amended vlan list, carry out corresponding operating.
But in real network network environment, it is understood that there may be various abnormal conditions, such as: if local terminal
Before VE_PORT is also not set up virtual connections, the VLAN of opposite end VE_PORT changes, then opposite end
VE_PORT may would not notify local terminal VE_PORT, is thus likely to cause local terminal VE_PORT and continues
Deleted VLAN ID is used to log in.
Summary of the invention
The main technical problem to be solved in the present invention is to provide a kind of Ethernet initial method, device and is
System, solves existing after distant terminal VLAN changes and will not anyway cause to local terminal when being not set up virtual connections
Continue the problem that chain is failed.
For solving the problems referred to above, the present invention provides a kind of Ethernet initial method, including:
When the other side's device feedback VLAN notification message time-out being detected, send out to described the other side's device by preset rules
VLAN is sent to find request message;
Receive the described VLAN notification message of described the other side's device feedback, according to described VLAN notification message
Setting up link, described VLAN notification message includes the vlan list that described the other side's device is current.
In an embodiment of the present invention, detect described in that the other side's device feeds back VLAN notification message time-out bag
Include: after transmission VLAN finds that request message is to described the other side's device, it is judged that whether receive in Preset Time
To the VLAN notification message of described the other side's device feedback, without receiving, then it is assumed that feedback VLAN leads to
Know message time-out.
In an embodiment of the present invention, described preset rules is for detecting that described VLAN notice message surpasses
Constantly, within the default time period, send described VLAN by the frequency preset to described distant terminal and find request
Message.
For solving the problems referred to above, the present invention also provides for a kind of Ethernet initial method, including:
Receive the other side's device and find request message by the VLAN that preset rules sends;
Feeding back VLAN notification message to described the other side's device, described VLAN notification message includes that local terminal is current
Vlan list.
For solving the problems referred to above, the present invention also provides for a kind of Ethernet initial method, including:
When transmitting terminal detects receiving terminal feedback VLAN notification message time-out, by preset rules to described receiving terminal
Send VLAN and find request message;
Described receiving terminal receives described VLAN and finds request message, disappears to described transmitting terminal feedback VLAN notice
Breath, described VLAN notification message includes the vlan list that local terminal is current;
After described transmitting terminal receives described VLAN notification message, set up link according to described VLAN notification message.
For solving the problems referred to above, the present invention also provides for a kind of Ethernet apparatus for initializing, sends mould including detection
Block and reception link setup module:
When described detection sending module is used for detecting the other side's device feedback VLAN notification message time-out, by presetting
Rule sends VLAN to described the other side's device and finds request message;
Described reception link setup module is for receiving the described VLAN notification message of described the other side's device feedback, root
Setting up link according to described VLAN notification message, described VLAN notification message includes that described the other side's device is current
Vlan list.
In an embodiment of the present invention, described detection sending module is additionally operable to sending VLAN discovery request
After message gives described the other side's device, it is judged that whether receive described the other side's device feedback in Preset Time
VLAN notification message, without receiving, then it is assumed that feedback VLAN notification message time-out.
In an embodiment of the present invention, described preset rules is for detecting that described VLAN notice message surpasses
Constantly, within the default time period, send described VLAN by the frequency preset to described distant terminal and find request
Message.
For solving the problems referred to above, the present invention also provides for a kind of Ethernet apparatus for initializing, receives mould including request
Block and notice feedback module:
By the VLAN that preset rules sends, described request receiver module finds that request disappears for receiving the other side's device
Breath;
Described notice feedback module is for feeding back VLAN notification message to described the other side's device, and described VLAN leads to
Know that message includes the vlan list that local terminal is current.
For solving the problems referred to above, the present invention also provides for a kind of Ethernet and initializes system, including transmitting terminal with connect
Receiving end:
When described transmitting terminal is used for detecting receiving terminal feedback VLAN notification message time-out, by preset rules to institute
State receiving terminal and send VLAN discovery request message;
Described receiving terminal is used for receiving described VLAN and finds request message, leads to described transmitting terminal feedback VLAN
Know that message, described VLAN notification message include the vlan list that local terminal is current;
After described transmitting terminal is additionally operable to receive described VLAN notification message, build according to described VLAN notification message
Vertical link.
The invention has the beneficial effects as follows:
The present invention provides a kind of Ethernet initial method, device and system, detects that the other side's device feeds back VLAN
During notification message time-out, send VLAN by preset rules to the other side's device and find request message;Receive the other side
The VLAN notification message of device feedback, sets up link according to VLAN notification message, and VLAN notification message includes
The vlan list that the other side's device is current.Compared with prior art, when not receiving VLAN notification message,
I.e. the other side's device is owing to being not set up virtual connections and time VLAN changes, and again can send to the other side's device
VLAN finds request message, allows the other side's device be fed back by current vlan information, utilizes current VLAN to believe
Breath carries out link setup, it is possible to avoid the inconsistent problem causing link setup failed of existing middle vlan information.
Accompanying drawing explanation
The Ethernet initial method schematic flow sheet that Fig. 1 provides for the embodiment of the present invention one;
The Ethernet initial method schematic flow sheet that Fig. 2 provides for the embodiment of the present invention two;
The Ethernet apparatus for initializing structural representation one that Fig. 3 provides for the embodiment of the present invention three;
The Ethernet apparatus for initializing structural representation two that Fig. 4 provides for the embodiment of the present invention three;
The Ethernet that Fig. 5 provides for the embodiment of the present invention six initializes system structure schematic diagram.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the present invention
Accompanying drawing in embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that
Described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based in the present invention
Embodiment, those of ordinary skill in the art obtained under not making creative work premise all its
His embodiment, broadly falls into the scope of protection of the invention.
Embodiment one
The Ethernet initial method of the present embodiment, as it is shown in figure 1, comprise the following steps:
Step S101: when the other side's device feedback VLAN notification message time-out being detected, by preset rules to the other side
Device sends VLAN and finds request message;
In this step, here to end device relative to from the point of view of this end device, it is understood that local terminal
Device is transmitting terminal device, transmitting terminal device here and be all communication apparatus to end device, it is understood that
It is receiving end device to end device.Concrete, it is two switches, and is the VE_PORT of two switches
Port.Certainly, it is understood that other link setup port is also included.Particular situation is according to concrete
Depending on both end information is mutual.
Step S102: receive the VLAN notification message of the other side's device feedback, build according to VLAN notification message
Vertical link, VLAN notification message includes the vlan list that the other side's device is current.
In this step, concrete link setup process includes sending ELP request to the other side's device;The other side's device connects
Asked and returned ELP ACC response.After link setup, this end device and to sending FC order between end device
Etc. the information of carrying out exchange.
Meriting attention and be, the present embodiment FCoE uses optical-fibre channel initiation protocol FIP to carry out initializing connection,
FIP runs between two end devices, and that concrete can be virtual ethernet port VF_Port and VN_Port
Between or VE_Port between etc., depending on concrete condition is according to concrete applied environment.
In above-mentioned steps S101, it is understood that, send VLAN and find that request message refers to want to allow opposite end
The vlan information i.e. message of vlan list that device feedback is current, can be preferably that VLAN finds request report
Literary composition, what other can be used to the request message of the other side's device transmission vlan information all should be included;VLAN
Notification message refers to that feeding back vlan information i.e. feeds back the message of vlan list, can be preferably VLAN notice
Message, the feedback message of the feedback vlan information that other can be used to all should be included.
Concrete, in above-mentioned steps S101, detect that the other side's device feeds back VLAN notification message time-out bag
Include: after transmission VLAN finds that request message is to the other side's device, it is judged that whether receive in Preset Time right
The VLAN notification message of side's device feedback, without receiving, then it is assumed that feedback VLAN notification message surpasses
Time.Concrete, preset rules is for when detecting that VLAN notifies message time-out, pressing within the default time period
The frequency preset sends VLAN to distant terminal and finds request message.
Embodiment two
The Ethernet initial method of the present embodiment, as in figure 2 it is shown, with two switches in the present embodiment
Illustrate as a example by VE_PORT port, comprise the following steps:
After step S201:VE_PORT port UP, initiate VLAN and find request message, VLAN is set simultaneously
Keep-alive intervalometer, the time is the N second;Etc. VLAN response to be received;
Step S202: after opposite end receives VLAN discovery request, respond, send clean culture VLAN notice
Message;
Step S203: after local terminal receives opposite end VLAN discovery notice message, resolve descriptor, obtain VLAN
List, arranging VLAN ID correspondence vlan state in list is active state ACTIVE, enters step S204;
If not receiving the VLAN response of opposite end after the N second yet, go to step S205;
Step S204: selecting a state from list is the VLAN of ACTIVE, sends DS message, enters
Step S208;
Step S205: after intervalometer reaches the N second, calls VLAN and finds request interface, continues to send VLAN
Find message;
Step S206: after local terminal receives opposite end VLAN discovery notice message, resolve descriptor, obtain VLAN
List, newly-increased vlan state is set to ACTIVE, and the vlan state of deletion is set to inactivated state
DISABLE;
Step S207: local terminal checks vlan list, if VLAN or ACTIVE that link setup is failed just now,
It is continuing with this VLAN link setup, i.e. prioritizing selection state to be ACTIVE and initiated the VLAN connected last time,
Otherwise reselect new VLAN and send DS request;
Step S208: receive DA clean culture response, sends ELP and completes link setup.
It should be noted that the local terminal in this example is transmitting terminal device;Opposite end is receiving end device.
Further, transmitting terminal device and receiving end device are all Ethernet apparatus for initializing.
Embodiment three
The present embodiment provides a kind of Ethernet apparatus for initializing 300, as it is shown on figure 3, include detecting sending module
301 with reception link setup module 302: described detection sending module 301 is used for detecting that the other side's device feeds back VLAN
During notification message time-out, send VLAN by preset rules to described the other side's device and find request message;Described connect
Receive link setup module 302 and be used for receiving the described VLAN notification message of described the other side's device feedback, according to described
VLAN notification message sets up link, and described VLAN notification message includes the VLAN row that described the other side's device is current
Table.
Further, described detection sending module 301 is additionally operable to sending VLAN discovery request message to described right
After side's device, it is judged that whether receive the VLAN notification message of described the other side's device feedback in Preset Time,
Without receiving, then it is assumed that feedback VLAN notification message time-out.Concrete, described preset rules be
Detect when described VLAN notifies message time-out, by the frequency preset to described opposite end within the default time period
Terminal sends described VLAN and finds request message.
The present embodiment also provides for a kind of Ethernet apparatus for initializing 400, as shown in Figure 4, receives mould including request
Block 401 and notice feedback module 402: described request receiver module 401 is used for receiving the other side's device by default rule
The VLAN then sent finds request message;Described notice feedback module 402 is for feeding back to described the other side's device
VLAN notification message, described VLAN notification message includes the vlan list that local terminal is current.
The present embodiment also provides for a kind of Ethernet and initializes system, as it is shown in figure 5, include transmitting terminal 501 He
Receiving terminal 502: described transmitting terminal 501 is used for detecting when receiving terminal 502 feeds back VLAN notification message time-out,
Send VLAN by preset rules to described receiving terminal 502 and find request message;Described receiving terminal 502 is used for connecing
Receive described VLAN and find request message, feed back VLAN notification message, described VLAN to described transmitting terminal 501
Notification message includes the vlan list that local terminal is current;Described transmitting terminal 501 is additionally operable to receive described VLAN and leads to
After knowing message, set up link according to described VLAN notification message.
Receiving terminal and transmitting terminal in this example are all above-mentioned Ethernet apparatus for initializing, concrete according to tool
Depending on body situation, such as transmitting terminal 501 is Ethernet apparatus for initializing 300, and receiving terminal is that Ethernet initializes
Device 400.
One of ordinary skill in the art will appreciate that all or part of step in said method can be come by program
Instruction related hardware completes, and said procedure can be stored in computer-readable recording medium, such as read-only storage
Device, disk or CD etc..Alternatively, all or part of step of above-described embodiment can also use one or
Multiple integrated circuits realize.Correspondingly, each module/unit in above-described embodiment can use the shape of hardware
Formula realizes, it would however also be possible to employ the form of software function module realizes.The present invention is not restricted to any particular form
The combination of hardware and software.
Above example is only in order to illustrate technical scheme and unrestricted, reference only to preferred embodiment
The present invention has been described in detail.It will be understood by those within the art that, can be to the present invention's
Technical scheme is modified or equivalent, without deviating from the spirit and scope of technical solution of the present invention, all
Should contain in the middle of scope of the presently claimed invention.
Claims (10)
1. an Ethernet initial method, it is characterised in that including:
When the other side's device feedback VLAN notification message time-out being detected, by preset rules to described the other side's device
Send VLAN and find request message;
Receive the described VLAN notification message of described the other side's device feedback, disappear according to described VLAN notice
Breath sets up link, and described VLAN notification message includes the vlan list that described the other side's device is current.
2. Ethernet initial method as claimed in claim 1, it is characterised in that described in detect
The other side's device feedback VLAN notification message time-out includes: find that request message is to described right sending VLAN
After side's device, it is judged that whether receive the VLAN notification message of described the other side's device feedback in Preset Time,
Without receiving, then it is assumed that feedback VLAN notification message time-out.
3. Ethernet initial method as claimed in claim 1 or 2, it is characterised in that described pre-
If rule is for when detecting that described VLAN notifies message time-out, pressing the frequency preset within the default time period
Rate sends described VLAN to described distant terminal and finds request message.
4. an Ethernet initial method, it is characterised in that including:
Receive the other side's device and find request message by the VLAN that preset rules sends;
Feeding back VLAN notification message to described the other side's device, described VLAN notification message includes that local terminal is current
Vlan list.
5. an Ethernet initial method, it is characterised in that including:
When transmitting terminal detects receiving terminal feedback VLAN notification message time-out, by preset rules to described reception
End sends VLAN and finds request message;
Described receiving terminal receives described VLAN and finds request message, to described transmitting terminal feedback VLAN notice
Message, described VLAN notification message includes the vlan list that local terminal is current;
After described transmitting terminal receives described VLAN notification message, set up chain according to described VLAN notification message
Road.
6. an Ethernet apparatus for initializing, it is characterised in that include detecting sending module and reception is built
Chain module:
When described detection sending module is used for detecting the other side's device feedback VLAN notification message time-out, by pre-
If rule sends VLAN to described the other side's device and finds request message;
Described reception link setup module is used for receiving the described VLAN notification message of described the other side's device feedback,
Setting up link according to described VLAN notification message, described VLAN notification message includes that described the other side's device is worked as
Front vlan list.
7. Ethernet apparatus for initializing as claimed in claim 6, it is characterised in that described detection is sent out
Module is sent to be additionally operable to after transmission VLAN finds that request message is to described the other side's device, it is judged that at Preset Time
The most whether receive the VLAN notification message of described the other side's device feedback, without receiving, then it is assumed that
Feedback VLAN notification message time-out.
Ethernet apparatus for initializing the most as claimed in claims 6 or 7, it is characterised in that described pre-
If rule is for when detecting that described VLAN notifies message time-out, pressing the frequency preset within the default time period
Rate sends described VLAN to described distant terminal and finds request message.
9. an Ethernet apparatus for initializing, it is characterised in that include asking receiver module and notice anti-
Feedback module:
By the VLAN that preset rules sends, described request receiver module finds that request disappears for receiving the other side's device
Breath;
Described notice feedback module is for feeding back VLAN notification message, described VLAN to described the other side's device
Notification message includes the vlan list that local terminal is current.
10. an Ethernet initializes system, it is characterised in that include transmitting terminal and receiving terminal:
When described transmitting terminal is used for detecting receiving terminal feedback VLAN notification message time-out, by preset rules to
Described receiving terminal sends VLAN and finds request message;
Described receiving terminal is used for receiving described VLAN and finds request message, feeds back VLAN to described transmitting terminal
Notification message, described VLAN notification message includes the vlan list that local terminal is current;
After described transmitting terminal is additionally operable to receive described VLAN notification message, according to described VLAN notification message
Set up link.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510369753.4A CN106301879A (en) | 2015-06-29 | 2015-06-29 | A kind of Ethernet initial method, device and system |
PCT/CN2016/078368 WO2017000614A1 (en) | 2015-06-29 | 2016-04-01 | Ethernet initialization method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510369753.4A CN106301879A (en) | 2015-06-29 | 2015-06-29 | A kind of Ethernet initial 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 Pending CN106301879A (en) | 2015-06-29 | 2015-06-29 | A kind of Ethernet initial method, device and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106301879A (en) |
WO (1) | WO2017000614A1 (en) |
Citations (2)
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)
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 |
-
2015
- 2015-06-29 CN CN201510369753.4A patent/CN106301879A/en active Pending
-
2016
- 2016-04-01 WO PCT/CN2016/078368 patent/WO2017000614A1/en active Application Filing
Patent Citations (2)
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 |
---|---|---|
WO2016165463A1 (en) | Software defined network-based link failure reporting method and forwarding device | |
JP2020519107A (en) | Report sending method, report receiving method, device and system | |
CN104601380B (en) | A kind of software defined network controller and its method for restoring host information | |
CN105024836B (en) | Method and device for switching primary Service Router (SR) and standby SR and SR | |
JP5551805B2 (en) | Method and apparatus for accessing the Internet | |
CN105450779A (en) | Method for achieving connection between one household electric appliance and multiple servers | |
CN106101297B (en) | A kind of message answer method and device | |
CN105472773A (en) | Communication method of multiple Bluetooth devices and host machine | |
CN107710634A (en) | Communication means and equipment based on optical network system | |
WO2021218512A1 (en) | Non-ip type data transmission processing method, device and apparatus, and medium | |
WO2016027447A1 (en) | Communication device, communication system and communication method | |
CN105763442A (en) | PON system and method avoiding interruption of LACP aggregation link in main-standby switching process | |
CN104753754A (en) | Method and apparatus for transmitting messages | |
US11025450B2 (en) | Cable media converter management method, apparatus, and system | |
JP6242376B2 (en) | Communication system and subscriber side device | |
CN107547692B (en) | Method and device for configuring IP address and port number between dual systems | |
CN106301879A (en) | A kind of Ethernet initial method, device and system | |
CN109963321B (en) | Private network access method and terminal equipment | |
CA2789794C (en) | Method and system for emergency switching | |
WO2015070427A1 (en) | Method, device, and system for configuring maintenance association (ma) | |
CN104754762B (en) | Automatically method, controller and the system of controller are found in the customized network of software | |
WO2019196465A1 (en) | Networking method, device and system for air conditioning system, and signal transmission method and device | |
CN205566353U (en) | Network switch | |
CN110673799A (en) | Cluster partnership establishment method, system, equipment and computer medium | |
WO2015100534A1 (en) | Ethernet passive optical network communication method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170104 |
|
WD01 | Invention patent application deemed withdrawn after publication |