CN103795557A - Method, device, and system for synchronizing port modes between devices - Google Patents

Method, device, and system for synchronizing port modes between devices Download PDF

Info

Publication number
CN103795557A
CN103795557A CN201210427003.4A CN201210427003A CN103795557A CN 103795557 A CN103795557 A CN 103795557A CN 201210427003 A CN201210427003 A CN 201210427003A CN 103795557 A CN103795557 A CN 103795557A
Authority
CN
China
Prior art keywords
pattern
fabric
interconnect port
equipment
request 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.)
Granted
Application number
CN201210427003.4A
Other languages
Chinese (zh)
Other versions
CN103795557B (en
Inventor
修亦宏
祁正林
刘刀桂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201210427003.4A priority Critical patent/CN103795557B/en
Priority to PCT/CN2013/086283 priority patent/WO2014067470A1/en
Priority to US14/403,882 priority patent/US9467397B2/en
Publication of CN103795557A publication Critical patent/CN103795557A/en
Application granted granted Critical
Publication of CN103795557B publication Critical patent/CN103795557B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method, device, and system for synchronizing port modes between devices. After the interconnecting ports of two devices are interconnected and the interconnecting port of one of the two devices is configured in an interconnection Fabric mode, the method comprises that the device with the interconnecting port configured in the Fabric mode transmits a mode switching request message to an opposite-end device with an interconnecting port configured in an Ethernet mode; and that according to a Fabric header carried in the mode switching request message, the opposite-end device switches the interconnecting port of the opposite-end device from the Ethernet mode to the Fabric mode and returns the mode switching request message. The method resolves a problem of incapable automatic negotiation between the Ethernet port and the Fabric port of devices and automatically switches the interconnecting port of the device from the Ethernet mode to the Fabric mode so as to achieve normal reception and analysis of Fabric messages and improve convenience for forwarding the Fabric messages.

Description

A kind of equipment room port mode synchronous method, equipment and system
Technical field
The present invention relates to communication network technology field, relate in particular to a kind of equipment room port mode synchronous method, equipment and system.
Background technology
In pile system, between equipment, need to carry out equipment room interconnected, realize the message repeating of equipment room by equipment room interconnect port.Main flow commercial chip is all supported in the chip chamber upper increase one deck Header(heading that E-Packets), form Fabric message.Because newly-increased Header causes the normal message forwarding elongated, can take certain bandwidth, in order to reduce bandwidth occupancy as far as possible, as shown in Figure 1, segment chip Header can take the frame gap IPG(Interpacket Gap of the lead code Preamble of 8 bytes, 4 bytes).
Exchange chip is by configuration register, and specifying chip interconnect port is Fabric port, is used for forwarding the message that has encapsulated Header, and general service port is Ethernet(Ethernet) port, be used for forwarding common Ethernet message.If the common Ethernet port between distinct device is connected with Fabric port, the message sending due to Fabric port is packaged with Header, take the byte of frame gap IPG and lead code Preamble, CRC(Cyclical Redundancy Check, CRC) and calculate and also comprise that Header part, opposite equip. receive after this message, according to the processing of common Ethernet message, occur after CRC check mistake, by this packet loss.Equally, for the message being sent by Ethernet port, the Fabric port of opposite equip. also cannot correctly be identified forwarding after receiving.
In prior art, cannot auto negotiation perception port mode between Ethernet port and Fabric port, also just cannot realize communication.Therefore, need a kind of equipment room port mode synchronization scenario badly to address the above problem.
Summary of the invention
The invention provides a kind of equipment room port mode synchronous method, equipment and system, in order to solve between Ethernet port and Fabric port cannot auto negotiation problem, improved the convenience that forwards Fabric message.
For this reason, the embodiment of the present invention adopts following technical scheme:
The embodiment of the present invention provides a kind of equipment room port mode synchronous method, the interconnect port of two equipment is connected, and the interconnect port of one of them equipment is configured to after interconnected Fabric pattern, and described method comprises:
Interconnect port is configured to the equipment Inspection of Fabric pattern after the Fabric Model Establishment of the interconnect port of this equipment, the register that described interconnect port is set is Ethernet message checking pattern, according to the check information of the Ethernet message checking pattern generate pattern handover request message of the register of described interconnect port, send described pattern handover request message by described interconnect port to opposite equip., the register of described interconnect port is set to Fabric pattern, and waits for described opposite equip. backtrack mode handover acknowledge message; Wherein, the Ethernet payload segment of described pattern handover request message carries Fabric heading, and described Fabric heading is used to indicate opposite equip. corresponding interconnect port is switched to Fabric pattern from Ethernet pattern;
When the equipment that described interconnect port is configured to Fabric pattern receives from described interconnect port the pattern handover acknowledge message that described opposite equip. returns, finish the synchronous flow process of equipment room port mode; Wherein, described pattern handover acknowledge message be described opposite equip. according to the Fabric heading carrying in the described pattern handover request message receiving, self corresponding interconnect port is sent from Ethernet pattern is switched to Fabric pattern.
The embodiment of the present invention also provides a kind of equipment room port mode synchronous method, the interconnect port of two equipment is connected, and after the interconnect port pattern configurations of one of them equipment is interconnected Fabric pattern, described method comprises:
The equipment that interconnect port is not configured to interconnected Fabric pattern receives by the interconnect port of Ethernet pattern the pattern handover request message that opposite equip. sends, according to the Fabric heading carrying in described pattern handover request message, described interconnect port is switched to Fabric pattern from Ethernet pattern; Wherein, described pattern handover request message is that described opposite equip. detects after corresponding interconnect port is set up Fabric pattern and sends, and described pattern handover request message is Ethernet message;
The equipment that described interconnect port is not configured to Fabric pattern by described interconnect port to described opposite equip. backtrack mode handover acknowledge message.
The embodiment of the present invention also provides a kind of network equipment, and the described network equipment comprises: detection module, control module, module and processing module are set;
Detection module, for this equipment is being connected with the interconnect port of opposite equip., and is configured to the interconnect port of this equipment after interconnected Fabric pattern, to detect the Fabric mode state of the interconnect port of this equipment;
Control module, for detecting after the Fabric Model Establishment of interconnect port of this equipment at described detection module, send the first indication to the described module that arranges, send the second indication to described processing module, and send described pattern handover request message to opposite equip. in described processing module after, send the 3rd indication to the described module that arranges, and wait for described opposite equip. backtrack mode handover acknowledge message; And, receiving from described interconnect port the pattern handover acknowledge message that described opposite equip. returns, finish the synchronous flow process of equipment room port mode; Wherein, described pattern handover acknowledge message be described opposite equip. according to the Fabric heading carrying in the described pattern handover request message receiving, self corresponding interconnect port is sent from Ethernet pattern is switched to Fabric pattern;
Module is set, and for the first indication sending according to described control module, the register of described interconnect port is set to Ethernet message checking pattern; And the 3rd indication sending according to described control module, the register of described interconnect port is set to Fabric pattern;
Processing module, for indicating according to second of described control module, according to the check information of the Ethernet message checking pattern generate pattern handover request message of the register of described interconnect port, and send described pattern handover request message by described interconnect port to opposite equip.; Wherein, the Ethernet payload segment of described pattern handover request message carries Fabric heading, and described Fabric heading is used to indicate opposite equip. corresponding interconnect port is switched to Fabric pattern from Ethernet pattern.
The embodiment of the present invention also provides a kind of network equipment, and the described network equipment comprises:
Receiver module, receives for the interconnect port by Ethernet pattern the pattern handover request message that opposite equip. sends; The interconnect port that described pattern handover request message is described opposite equip. and this equipment is interconnected, and send after the interconnect port of described opposite equip. is configured to interconnected Fabric pattern;
Processing module, for the Fabric heading carrying according to described pattern handover request message, is switched to interconnected Fabric pattern by described interconnect port from Ethernet pattern; Wherein, described pattern handover request message is that described opposite equip. detects after corresponding interconnect port is set up Fabric pattern and sends, and described pattern handover request message is Ethernet message;
Sending module, for described processing module by described interconnect port from Ethernet pattern is switched to Fabric pattern, by described interconnect port to described opposite equip. backtrack mode handover acknowledge message.
The embodiment of the present invention also provides a kind of pile system, comprises main equipment and from equipment, described main equipment is connected with the described interconnect port from equipment, and the interconnect port of described main equipment is configured to interconnected Fabric pattern;
Described main equipment is used for, after the Fabric Model Establishment of interconnect port that this equipment detected, the register that described interconnect port is set is Ethernet message checking pattern, according to the check information of the Ethernet message checking pattern generate pattern handover request message of the register of described interconnect port, send described pattern handover request message to described from equipment by described interconnect port, the register of described interconnect port is set to Fabric pattern, and waits for described from equipment backtrack mode handover acknowledge message; Wherein, the Ethernet payload segment of described pattern handover request message carries Fabric heading, and described Fabric heading is used to indicate from equipment corresponding interconnect port is switched to Fabric pattern from Ethernet pattern; And, from described interconnect port receives the described pattern handover acknowledge message returning from equipment, finish the synchronous flow process of equipment room port mode;
Describedly be used for from equipment, receive by the interconnect port of Ethernet pattern the pattern handover request message that described main equipment sends, according to the Fabric heading carrying in described pattern handover request message, described interconnect port is switched to Fabric pattern from Ethernet pattern, by described interconnect port to described main equipment backtrack mode handover acknowledge message.
Compared with prior art, the above embodiment of the present invention has following useful technique effect:
The above embodiment of the present invention, the interconnect port of two equipment is being connected, and the interconnect port of one of them equipment is configured to after Fabric pattern, interconnect port is configured to the equipment of interconnected Fabric pattern can be after the Fabric of the interconnect port of this equipment Model Establishment, send the pattern handover request message that carries Fabric heading to opposite equip. by interconnect port, with request opposite equip., its corresponding interconnect port is switched to Fabric pattern from Ethernet pattern, thereby realize interconnect port pattern synchronization, and then realize normal reception and the parsing of the Fabric message between InterWorking Equipment.
Accompanying drawing explanation
Fig. 1 is Fabric message format schematic diagram in prior art;
Between the network equipment that Fig. 2 provides for the embodiment of the present invention, carry out the synchronous signaling process schematic diagram of port mode;
Fig. 3 is pattern handover request message format schematic diagram in the embodiment of the present invention;
Fig. 4 is the pile system configuration diagram of embodiment of the present invention application;
One of network equipment structural representation that Fig. 5 provides for the embodiment of the present invention;
Two of the network equipment structural representation that Fig. 6 provides for the embodiment of the present invention.
Embodiment
The problems referred to above that exist for prior art, the embodiment of the present invention provides a kind of equipment room port mode synchronization scenario, by carrying the pattern handover request message of Fabric heading, send to opposite equip. from the Fabric port of equipment, corresponding interconnect port with request opposite equip. is switched to Fabric pattern, thereby realize the synchronous of equipment room interconnect port Fabric pattern, solve the automatic detection negotiation problem between Fabric port and common Ethernet port, improved the convenience that forwards Fabric message.
Below in conjunction with accompanying drawing, the embodiment of the present invention is described in detail.
Take device A and equipment B as example, in conjunction with Fig. 2, describe LA Management Room port mode synchronization scenario in detail below.In order to realize the interconnected of equipment room, in the time of system configuration, the interconnect port between equipment B and device A is connected by physical circuit, under normal circumstances, each port of the network equipment is according to the configuration of dispatching from the factory, and default configuration is Ethernet pattern.This flow process comprises the following steps:
Step 201, the interconnect port of configuration device B is Fabric pattern.
Concrete, can pass through human configuration mode, the interconnect port of equipment B is configured to Fabric pattern.
Step 202, after equipment B detects that the Fabric pattern of interconnect port has been set up, generate pattern handover request message, and send to device A by this interconnect port.
Concrete, equipment B detects the Fabric mode state of the interconnect port of this equipment, the Fabric pattern of interconnect port that this equipment detected when equipment B is immediately built, the register of this interconnect port is set to Ethernet message checking pattern, according to the check information of the Ethernet message checking pattern generate pattern handover request message of the register of this interconnect port, and carry Fabric heading at Ethernet payload segment, generate pattern handover request message.
By this interconnect port to device A sending mode handover request message.When equipment B sends pattern handover request message to device A after, then the register of this interconnect port is set to Fabric message checking pattern, wait receiving equipment A backtrack mode handover acknowledge message.
Pattern handover request message is Ethernet message, its message format can be as shown in Figure 3, carry Fabric heading at Ethernet payload segment, Fabric heading can comprise: the information such as message source port numbers, source chip number, destination slogan, object chip number, message local first level, the receiving equipment that is used to indicate this message is switched to Fabric pattern by the receiving port of this message from Ethernet pattern.
Step 203, device A, according to the pattern handover request message receiving, switches to Fabric pattern by corresponding this equipment interconnect port from Ethernet pattern.
Concrete, the interconnect port of device A receives after the pattern handover request message of equipment B transmission, according to the Ethernet message checking pattern that the register of this port is indicated, this pattern handover request message is carried out to CRC check, after verification is passed through, pattern handover request message is reported to the CPU of this equipment, resolve this pattern handover request message by CPU, obtain, after Fabric heading that Ethernet payload segment carries, according to this Fabric heading, the receiving port of this pattern handover request message being switched to Fabric pattern from Ethernet pattern.Because pattern handover request message is Ethernet message, and the CRC check form of this pattern handover request message is Ethernet verification form, and the receiving port of this pattern handover request message is the configuration of dispatching from the factory of acquiescence, be Ethernet pattern, the Ethernet message checking pattern that its register is indicated, therefore, device A can this pattern handover request message of normal verification.But the interconnect port of device A cannot parse the Fabric heading that the Ethernet payload segment of pattern handover request message carries, need to report the CPU of this equipment to process, parse this Fabric heading by CPU by software.Device A knows that by this Fabric heading the interconnect port of equipment B has been configured to Fabric pattern, and now, device A can switch to Fabric pattern from Ethernet pattern by self corresponding interconnect port.
Step 204, device A is passed through the receiving port of pattern handover request message to equipment B sending mode handover acknowledge message, and equipment B is received after this pattern handover acknowledge message, finishes the synchronous flow process of equipment room port mode.
Concrete, device A after Ethernet pattern switches to Fabric pattern, to equipment B sending mode handover acknowledge message, represents that the corresponding interconnect port of this equipment has been configured to Fabric pattern by this port by the receiving port of pattern handover request message.Pattern handover acknowledge message is Fabric message, and because the state of the interconnect port register of equipment B has been changeed back Fabric message checking pattern, therefore, equipment B can normal verification and resolved this pattern handover acknowledge message.
Consider owing to connecting abnormal or other reason; device A possibly cannot receive the pattern handover request message that equipment B sends; and cause equipment B to send after pattern handover request message, in setting for a long time, possibly cannot receive the response message that device A is returned.For this abnormal conditions, in order to improve reliability, the synchronous flow process of equipment room port mode that the embodiment of the present invention provides can also comprise the following steps:
If equipment B is after device A sending mode handover request message, in setting for a long time, do not receive the pattern handover acknowledge message that device A is returned, generate pattern handover request message, and send to device A by the interconnect port being connected with device A, otherwise, finish the synchronous flow process of equipment room port mode.Generate pattern handover request message also sends to the specific implementation of device A referring to described in step 202 by the interconnect port being connected with device A, do not repeat them here.
Preferably, equipment B, after device A sending mode handover request message, can start timer, and equipment B receives after the pattern handover acknowledge message that device A returns, and deletes this timer.If timer expiry, devices illustrated B fails to receive in timer timing duration the pattern handoff response message that device A is returned, therefore cannot determine whether device A successfully switches to Fabric pattern by corresponding interconnect port from Ethernet pattern, in such cases, equipment B is again to device A sending mode handover request message, requesting service A switches to Fabric pattern by corresponding interconnect port from Ethernet pattern again, to guarantee that device A synchronizes with equipment B port mode.The duration of timer can arrange the requirement of pattern switching is different according to equipment performance and application scenarios.
Can find out by above equipment room port mode synchronization scenario flow process, the interconnect port of equipment B is configured to Fabric pattern, and send the pattern handover request message of ethernet format to device A, Ethernet payload segment at pattern handover request message carries Fabric heading, so that the Fabric heading that device A is carried according to this pattern handover request message, automatically corresponding interconnect port is switched to Fabric pattern from Ethernet pattern, solved between distinct device between Ethernet port and Fabric port cannot auto negotiation problem, thereby realize normal reception and the parsing of Fabric message, improve the convenience that forwards Fabric message.
The equipment room port mode synchronization scenario that the embodiment of the present invention provides can be applied to pile system, this pile system can comprise multiple CB(Controlling Bridge, control bridge) and multiple PE(Port Extender, port expander), the port default on CB equipment and PE equipment is Ethernet pattern.
According to the annexation shown in Fig. 4, PE equipment is connected with the interconnect port of CB equipment, form after pile system, on CB1, CB1 is connected to the interconnect port of PE1, the interconnect port that CB1 connects PE2, the interconnect port of CB1 connection PE3, and the interconnect port of CB1 equipment and each PE equipment connection is configured to Fabric pattern; After CB1 detects that the Fabric pattern of the interconnect port being connected with PE1 has been set up, the register of this interconnect port is set to Ethernet message checking pattern, according to the check information of the Ethernet message checking pattern generate pattern handover request message of this register, by this interconnect port, to PE1 sending mode handover request message, the Ethernet payload segment of pattern handover request message carries Fabric heading; PE1 according to the register of this interconnect port according to Ethernet message checking modulo check pattern handover request message, after verification is passed through, this pattern handover request message is reported to the CPU of this equipment, parsed after the Fabric heading that pattern handover request message carries by CPU, PE1 equipment is according to described Fabric heading, this interconnect port is switched to Fabric pattern from Ethernet pattern, completes the pattern synchronization flow process between CB1 and PE1 port.
In like manner, CB1 and interconnected PE2, PE3 all can be according to the automatic completing port pattern synchronization of aforementioned flow process.
In like manner, on CB2 and CB3, corresponding interconnect port is configured to Fabric pattern, can automatically completes the interconnect port pattern synchronization of this equipment and opposite end PE equipment.
In the situation that equipment is more, the equipment room port mode synchronization scenario providing by the embodiment of the present invention, can reduce user's configuration operation, realizes dynamically stacking scheme of plug and play.
The application scenarios of the equipment room port mode synchronization scenario that the embodiment of the present invention provides includes but not limited to pile system, and specific implementation repeats no more.
Based on identical technical conceive, the embodiment of the present invention also provides a kind of network equipment, and structure as shown in Figure 5, comprising: detection module, control module, module and processing module are set;
Detection module 51, for this equipment is being connected with the interconnect port of opposite equip., and is configured to the interconnect port of this equipment after interconnected Fabric pattern, detects the interconnected Fabric mode state of the interconnect port of this equipment;
Control module 52, for detecting after the interconnected Fabric Model Establishment of interconnect port of this equipment at detection module 51, to being set, module 53 sends the first indication, send the second indication to processing module 54, and in processing module 54 after opposite equip. sending mode handover request message, send the 3rd indication to module 53 is set, and wait for opposite equip. backtrack mode handover acknowledge message; And, receiving from interconnect port the pattern handover acknowledge message that opposite equip. returns, finish the synchronous flow process of equipment room port mode; Wherein, pattern handover acknowledge message is opposite equip. according to the Fabric heading carrying in the pattern handover request message receiving, and self corresponding interconnect port is sent from Ethernet pattern is switched to Fabric pattern;
Module 53 is set, and for the first indication sending according to control module 52, the register of interconnect port is set to Ethernet message checking pattern; And the 3rd indication sending according to control module 52, the register of interconnect port is set to Fabric pattern;
Processing module 54, for according to control module 52 second indication, according to the check information of the Ethernet message checking pattern generate pattern handover request message of the register of interconnect port, and by interconnect port to opposite equip. sending mode handover request message; Wherein, the Ethernet payload segment of pattern handover request message carries Fabric heading, and Fabric heading is used to indicate opposite equip. corresponding interconnect port is switched to Fabric pattern from Ethernet pattern.
Control module 52 also for, when processing module 54 by interconnect port after opposite equip. sending mode handover request message, if this equipment does not receive from interconnect port the pattern handover acknowledge message that opposite equip. returns in setting for a long time, to being set, module 53 sends the first indication, send the second indication to processing module 54, and in processing module 54 after opposite equip. sending mode handover request message, send the 3rd indication to module 53 is set, and wait for opposite equip. backtrack mode handover acknowledge message.
Based on identical technical conceive, the embodiment of the present invention also provides a kind of network equipment, and structure as shown in Figure 6, comprising:
Receiver module 61, receives for the interconnect port by Ethernet pattern the pattern handover request message that opposite equip. sends; The interconnect port that this pattern handover request message is opposite equip. and this equipment is interconnected, and send after the interconnect port of opposite equip. is configured to interconnected Fabric pattern;
Processing module 62, for the Fabric heading carrying according to pattern handover request message, is switched to interconnected Fabric pattern by interconnect port from Ethernet pattern; Wherein, pattern handover request message is that opposite equip. detects after corresponding interconnect port is set up Fabric pattern and sends, and pattern handover request message is Ethernet message;
Sending module 63, for interconnect port being switched to from Ethernet pattern in processing module 62 interconnected Fabric pattern, by interconnect port to opposite equip. backtrack mode handover acknowledge message.
Processing module 62 specifically for, this pattern handover request message of Ethernet message checking modulo check of register by this interconnect port, after verification is passed through, described pattern handover request message is reported to the CPU of this equipment, parsed after the Fabric heading that the Ethernet payload segment of described pattern handover request message carries by described CPU, according to this Fabric heading, this interconnect port is switched to Fabric pattern from Ethernet pattern.
Based on identical technical conceive, the embodiment of the present invention also provides a kind of pile system, and this pile system comprises main equipment and from equipment, main equipment is connected with the interconnect port from equipment, and the interconnect port of main equipment is configured to interconnected Fabric pattern;
Main equipment is used for, after the Fabric Model Establishment of interconnect port that this equipment detected, the register that this interconnect port is set is Ethernet message checking pattern, according to the check information of the Ethernet message checking pattern generate pattern handover request message of the register of this interconnect port, by this interconnect port to from equipment sending mode handover request message, the register of this interconnect port is set to Fabric pattern, and waits for from equipment backtrack mode handover acknowledge message; Wherein, the Ethernet payload segment of pattern handover request message carries Fabric heading, and Fabric heading is used to indicate from equipment corresponding interconnect port is switched to Fabric pattern from Ethernet pattern; And, from this interconnect port receives the pattern handover acknowledge message returning from equipment, finish the synchronous flow process of equipment room port mode;
Be used for from equipment, interconnect port by Ethernet pattern receives the pattern handover request message that main equipment sends, according to the Fabric heading carrying in pattern handover request message, this interconnect port is switched to Fabric pattern from Ethernet pattern, by this interconnect port to described main equipment backtrack mode handover acknowledge message.
Main equipment also for, if to from equipment sending mode handover request message, in setting for a long time, do not receive the pattern handover acknowledge message returning from equipment, the register that this interconnect port is set is Ethernet message checking pattern, according to the check information of the Ethernet message checking pattern generate pattern handover request message of the register of this interconnect port, by this interconnect port to from equipment sending mode handover request message, the register of this interconnect port is set to Fabric pattern, waits for from equipment backtrack mode handover acknowledge message.
From equipment specifically for, according to pattern handover request message described in the Ethernet message checking modulo check of the register of its interconnect port, after verification is passed through, pattern handover request message is reported to the CPU of this equipment; CPU parses after the Fabric heading that the Ethernet payload segment of pattern handover request message carries, and according to Fabric heading, this interconnect port is switched to Fabric pattern from Ethernet pattern from equipment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential general hardware platform by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions (can be mobile phones in order to make a station terminal equipment, personal computer, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.

Claims (11)

1. a kind of equipment room port mode synchronous method, is characterized in that, the interconnect port of two equipment is connected, and the interconnect port of one of them equipment is configured to after interconnected Fabric pattern, described method comprises:
interconnect port is configured to the equipment Inspection of Fabric pattern after the Fabric Model Establishment of the interconnect port of this equipment, the register that described interconnect port is set is Ethernet message checking pattern, according to the check information of the Ethernet message checking pattern generate pattern handover request message of the register of described interconnect port, send described pattern handover request message by described interconnect port to opposite equip., the register of described interconnect port is set to Fabric pattern, and waits for described opposite equip. backtrack mode handover acknowledge message; Wherein, the Ethernet payload segment of described pattern handover request message carries Fabric heading, and described Fabric heading is used to indicate opposite equip. corresponding interconnect port is switched to Fabric pattern from Ethernet pattern;
when the equipment that described interconnect port is configured to Fabric pattern receives from described interconnect port the pattern handover acknowledge message that described opposite equip. returns, finish the synchronous flow process of equipment room port mode; Wherein, described pattern handover acknowledge message be described opposite equip. according to the Fabric heading carrying in the described pattern handover request message receiving, self corresponding interconnect port is sent from Ethernet pattern is switched to Fabric pattern.
2. the method of claim 1, is characterized in that, the method also comprises:
if being configured to the equipment of Fabric pattern, described interconnect port sending to described opposite equip. after described pattern handover request message, in setting for a long time, do not receive the pattern handover acknowledge message that described opposite equip. returns, the register that described interconnect port is set is Ethernet message checking pattern, according to the check information of the Ethernet message checking pattern generate pattern handover request message of the register of described interconnect port, send described pattern handover request message by described interconnect port to opposite equip., the register of described interconnect port is set to Fabric pattern, wait for described opposite equip. backtrack mode handover acknowledge message.
3. a kind of equipment room port mode synchronous method, is characterized in that, the interconnect port of two equipment is connected, and after the interconnect port pattern configurations of one of them equipment is interconnected Fabric pattern, described method comprises:
the equipment that interconnect port is not configured to interconnected Fabric pattern receives by the interconnect port of Ethernet pattern the pattern handover request message that opposite equip. sends, according to the Fabric heading carrying in described pattern handover request message, described interconnect port is switched to Fabric pattern from Ethernet pattern; Wherein, described pattern handover request message is that described opposite equip. detects after corresponding interconnect port is set up Fabric pattern and sends, and described pattern handover request message is Ethernet message;
the equipment that described interconnect port is not configured to Fabric pattern by described interconnect port to described opposite equip. backtrack mode handover acknowledge message.
4. method as claimed in claim 3, is characterized in that, describedly according to the Fabric heading carrying in described pattern handover request message, described interconnect port is switched to Fabric pattern from Ethernet pattern, is specially:
described interconnect port is not configured to the equipment of Fabric pattern according to pattern handover request message described in the Ethernet message checking modulo check of the register of its interconnect port, after verification is passed through, described pattern handover request message is reported to the CPU of this equipment;
described CPU parses the Fabric heading that the Ethernet payload segment of described pattern handover request message carries;
described interconnect port is not configured to the equipment of Fabric pattern according to described Fabric heading, and described interconnect port is switched to Fabric pattern from Ethernet pattern.
5. a kind of network equipment, is characterized in that, the described network equipment comprises: detection module, control module, module and processing module are set;
detection module, for this equipment is being connected with the interconnect port of opposite equip., and is configured to the interconnect port of this equipment after interconnected Fabric pattern, to detect the Fabric mode state of the interconnect port of this equipment;
control module, for detecting after the Fabric Model Establishment of interconnect port of this equipment at described detection module, send the first indication to the described module that arranges, send the second indication to described processing module, and send described pattern handover request message to opposite equip. in described processing module after, send the 3rd indication to the described module that arranges, and wait for described opposite equip. backtrack mode handover acknowledge message; And, receiving from described interconnect port the pattern handover acknowledge message that described opposite equip. returns, finish the synchronous flow process of equipment room port mode; Wherein, described pattern handover acknowledge message be described opposite equip. according to the Fabric heading carrying in the described pattern handover request message receiving, self corresponding interconnect port is sent from Ethernet pattern is switched to Fabric pattern;
module is set, and for the first indication sending according to described control module, the register of described interconnect port is set to Ethernet message checking pattern; And the 3rd indication sending according to described control module, the register of described interconnect port is set to Fabric pattern;
processing module, for indicating according to second of described control module, according to the check information of the Ethernet message checking pattern generate pattern handover request message of the register of described interconnect port, and send described pattern handover request message by described interconnect port to opposite equip.; Wherein, the Ethernet payload segment of described pattern handover request message carries Fabric heading, and described Fabric heading is used to indicate opposite equip. corresponding interconnect port is switched to Fabric pattern from Ethernet pattern.
6. the network equipment as claimed in claim 5, it is characterized in that, described control module also for, send to described opposite equip. by described interconnect port after described pattern handover request message when described processing module, if this equipment does not receive from described interconnect port the pattern handover acknowledge message that described opposite equip. returns in setting for a long time, send the first indication to the described module that arranges, send the second indication to described processing module, and send described pattern handover request message to opposite equip. in described processing module after, send the 3rd indication to the described module that arranges, and wait for described opposite equip. backtrack mode handover acknowledge message.
7. a kind of network equipment, is characterized in that, the described network equipment comprises:
receiver module, receives for the interconnect port by Ethernet pattern the pattern handover request message that opposite equip. sends; Described pattern handover request message is that described opposite equip. is connected with the interconnect port of this equipment, and send after the interconnect port of described opposite equip. is configured to interconnected Fabric pattern;
processing module, for the Fabric heading carrying according to described pattern handover request message, is switched to interconnected Fabric pattern by described interconnect port from Ethernet pattern; Wherein, described pattern handover request message is that described opposite equip. detects after corresponding interconnect port is set up Fabric pattern and sends, and described pattern handover request message is Ethernet message;
sending module, for described processing module by described interconnect port from Ethernet pattern is switched to Fabric pattern, by described interconnect port to described opposite equip. backtrack mode handover acknowledge message.
8. the network equipment as claimed in claim 7, it is characterized in that, described processing module specifically for, pattern handover request message described in the Ethernet message checking modulo check of the register by described interconnect port, after verification is passed through, described pattern handover request message is reported to the CPU of this equipment, parsed after the Fabric heading that the Ethernet payload segment of described pattern handover request message carries by described CPU, according to described Fabric heading, described interconnect port is switched to Fabric pattern from Ethernet pattern.
9. , a kind of pile system, it is characterized in that, comprise main equipment and from equipment, described main equipment is connected with the described interconnect port from equipment, the interconnect port of described main equipment is configured to interconnected Fabric pattern;
described main equipment is used for, after the Fabric Model Establishment of interconnect port that this equipment detected, the register that described interconnect port is set is Ethernet message checking pattern, according to the check information of the Ethernet message checking pattern generate pattern handover request message of the register of described interconnect port, send described pattern handover request message to described from equipment by described interconnect port, the register of described interconnect port is set to Fabric pattern, and waits for described from equipment backtrack mode handover acknowledge message; Wherein, the Ethernet payload segment of described pattern handover request message carries Fabric heading, and described Fabric heading is used to indicate from equipment corresponding interconnect port is switched to Fabric pattern from Ethernet pattern; And, from described interconnect port receives the described pattern handover acknowledge message returning from equipment, finish the synchronous flow process of equipment room port mode;
describedly be used for from equipment, receive by the interconnect port of Ethernet pattern the pattern handover request message that described main equipment sends, according to the Fabric heading carrying in described pattern handover request message, described interconnect port is switched to Fabric pattern from Ethernet pattern, by described interconnect port to described main equipment backtrack mode handover acknowledge message.
10. system as claimed in claim 9, it is characterized in that, described main equipment also for, if sending from equipment described pattern handover request message to described, in setting for a long time, do not receive the described pattern handover acknowledge message returning from equipment, the register that described interconnect port is set is Ethernet message checking pattern, according to the check information of the Ethernet message checking pattern generate pattern handover request message of the register of described interconnect port, send described pattern handover request message to described from equipment by described interconnect port, the register of described interconnect port is set to Fabric pattern, wait for described from equipment backtrack mode handover acknowledge message.
11. system as claimed in claim 9, it is characterized in that, described from equipment specifically for, according to pattern handover request message described in the Ethernet message checking modulo check of the register of its interconnect port, after verification is passed through, described pattern handover request message is reported to the CPU of this equipment; Described CPU parses after the Fabric heading that the Ethernet payload segment of described pattern handover request message carries, described from equipment according to described Fabric heading, described interconnect port is switched to Fabric pattern from Ethernet pattern.
?
CN201210427003.4A 2012-10-31 2012-10-31 Method, device, and system for synchronizing port modes between devices Active CN103795557B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201210427003.4A CN103795557B (en) 2012-10-31 2012-10-31 Method, device, and system for synchronizing port modes between devices
PCT/CN2013/086283 WO2014067470A1 (en) 2012-10-31 2013-10-31 Port mode synchronization between switches
US14/403,882 US9467397B2 (en) 2012-10-31 2013-10-31 Port mode synchronization between switches

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210427003.4A CN103795557B (en) 2012-10-31 2012-10-31 Method, device, and system for synchronizing port modes between devices

Publications (2)

Publication Number Publication Date
CN103795557A true CN103795557A (en) 2014-05-14
CN103795557B CN103795557B (en) 2017-04-12

Family

ID=50670883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210427003.4A Active CN103795557B (en) 2012-10-31 2012-10-31 Method, device, and system for synchronizing port modes between devices

Country Status (1)

Country Link
CN (1) CN103795557B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107864094A (en) * 2017-11-15 2018-03-30 新华三技术有限公司 A kind of traffic routing method, device and machinable medium
CN110442096A (en) * 2019-07-29 2019-11-12 福建顺昌虹润精密仪器有限公司 A kind of data acquisition control work station and its data transmission method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7079525B1 (en) * 2000-04-27 2006-07-18 Cisco Technology, Inc. Network switch having a hybrid switch architecture
US20090296726A1 (en) * 2008-06-03 2009-12-03 Brocade Communications Systems, Inc. ACCESS CONTROL LIST MANAGEMENT IN AN FCoE ENVIRONMENT
CN101616189A (en) * 2009-07-17 2009-12-30 北京星网锐捷网络技术有限公司 A kind of negotiation method of Ethernet port, device and the network equipment
US7773606B2 (en) * 2008-09-22 2010-08-10 Telefonaktiebolaget L M Ericsson (Publ) Timing distribution within a network element while supporting multiple timing domains
CN101958888A (en) * 2010-05-21 2011-01-26 福建星网锐捷网络有限公司 Configuration method of port negotiation capacity, communication port and communication device
CN102123467A (en) * 2011-03-02 2011-07-13 深圳市科陆电子科技股份有限公司 Method for multi-channel self-adaptive switch during terminal communication

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7079525B1 (en) * 2000-04-27 2006-07-18 Cisco Technology, Inc. Network switch having a hybrid switch architecture
US20090296726A1 (en) * 2008-06-03 2009-12-03 Brocade Communications Systems, Inc. ACCESS CONTROL LIST MANAGEMENT IN AN FCoE ENVIRONMENT
US7773606B2 (en) * 2008-09-22 2010-08-10 Telefonaktiebolaget L M Ericsson (Publ) Timing distribution within a network element while supporting multiple timing domains
CN101616189A (en) * 2009-07-17 2009-12-30 北京星网锐捷网络技术有限公司 A kind of negotiation method of Ethernet port, device and the network equipment
CN101958888A (en) * 2010-05-21 2011-01-26 福建星网锐捷网络有限公司 Configuration method of port negotiation capacity, communication port and communication device
CN102123467A (en) * 2011-03-02 2011-07-13 深圳市科陆电子科技股份有限公司 Method for multi-channel self-adaptive switch during terminal communication

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107864094A (en) * 2017-11-15 2018-03-30 新华三技术有限公司 A kind of traffic routing method, device and machinable medium
CN110442096A (en) * 2019-07-29 2019-11-12 福建顺昌虹润精密仪器有限公司 A kind of data acquisition control work station and its data transmission method
CN110442096B (en) * 2019-07-29 2023-07-21 福建顺昌虹润精密仪器有限公司 Data acquisition control workstation and data transmission method thereof

Also Published As

Publication number Publication date
CN103795557B (en) 2017-04-12

Similar Documents

Publication Publication Date Title
CN103795518A (en) Method, device, and system for synchronizing port modes between devices
US20080117827A1 (en) Method and system for verifying connectivity of logical link
CN102315975B (en) Fault processing method based on intelligent resilient framework (IRF) system and equipment thereof
US20090232152A1 (en) Method and apparatus for aggregating ports
CN107465613B (en) Link aggregation interface communication state switching method and device
US20090006650A1 (en) Communication device, communication method, communication interface, and program product
CN103152260A (en) Message forwarding system, method and device
CN101989953A (en) Method and equipment for sending bidirectional forwarding detection message
CN116418647A (en) Method, device and equipment for receiving and transmitting network management information
CN102404414A (en) Ethernet communication system and method based on multi-media card/security digital card (MMC/SD) interface
US9467397B2 (en) Port mode synchronization between switches
CN107948217B (en) Switch system and communication method
CN104536853B (en) A kind of device ensureing dual controller storage device resource continuous availability
CN103795557A (en) Method, device, and system for synchronizing port modes between devices
CN101106506A (en) Network information exchange method
JPWO2011061881A1 (en) Transmission system, transmission method, and communication apparatus
CN108270593A (en) A kind of two-node cluster hot backup method and system
US9137195B2 (en) Method, network device and user equipment for switching media access control address
CN103036984B (en) One-way flow detection method and network equipment
JP5310227B2 (en) Communication device
CN101795216B (en) Method and equipment for resetting watch dog in multi-hop bidirectional forwarding detection (BFD)
CN103684719A (en) Network dual-redundancy hot swap method independent of platforms
CN103957079A (en) Negotiation method and equipment in HDLC network
CN113037622B (en) System and method for preventing BFD from vibrating
WO2017000737A1 (en) Transmission checking method, node, system and computer storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

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

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.