CN103795557B - 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
CN103795557B
CN103795557B CN201210427003.4A CN201210427003A CN103795557B CN 103795557 B CN103795557 B CN 103795557B CN 201210427003 A CN201210427003 A CN 201210427003A CN 103795557 B CN103795557 B CN 103795557B
Authority
CN
China
Prior art keywords
equipment
fabric
interconnection port
port
ethernet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210427003.4A
Other languages
Chinese (zh)
Other versions
CN103795557A (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

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 technical field of communication network, more particularly to a kind of equipment room port mode synchronous method, equipment and System.
Background technology
In pile system, need to carry out equipment room interconnection between equipment, equipment room is realized by equipment room interconnection port Message forwarding.Main flow commercial chip is all supported to increase by one layer of Header on chip chamber E-Packets(Heading), formed Fabric messages.As the Header for increasing newly causes the message of normal forwarding elongated, certain bandwidth can be taken, in order to subtract as far as possible Few bandwidth occupancy, as shown in figure 1, segment chip Header can take lead code Preamble of 8 bytes, the frame of 4 bytes Gap IPG(Interpacket Gap).
Exchange chip passes through configuration register, it is intended that chip interconnection port is Fabric ports, is encapsulated for forwarding The message of Header, general service port are Ethernet(Ethernet)Port, for forwarding common ether network packet.If will Common Ethernet ports between distinct device are connected with Fabric ports, as the message that Fabric ports send is packaged with Header, occupies the byte of frame gap IPG and lead code Preamble, CRC(Cyclical Redundancy Check, follow Ring redundancy check)Also include Header parts with calculating, after opposite equip. receives this message, according to common ether network packet Process, after there is CRC check mistake, by the packet loss.Equally, for the message sent by Ethernet ports, opposite end sets Standby Fabric ports also cannot correctly recognize forwarding after receiving.
In prior art, between Ethernet ports and Fabric ports cannot auto negotiation perceive port mode, also Communication cannot be realized.Therefore, a kind of equipment room port mode synchronization scenario is needed badly to solve the above problems.
The content of the invention
The invention provides a kind of equipment room port mode synchronous method, equipment and system, to solve Ethernet ends Mouthful and Fabric ports between cannot auto negotiation problem, improve forwarding Fabric messages convenience.
For this purpose, the embodiment of the present invention is adopted the following technical scheme that:
The embodiment of the present invention provides a kind of equipment room port mode synchronous method, and the interconnection port of two equipment is connected, And be configured to interconnect after Fabric patterns by the interconnection port of one of equipment, methods described includes:
Interconnection port is configured to the Fabric patterns of the interconnection port that the equipment of Fabric patterns detects this equipment and builds After vertical, the depositor for arranging the interconnection port is Ethernet message checking pattern, according to the depositor of the interconnection port The check information of Ethernet message checking schema creation mode switch request message, is sent out to opposite equip. by the interconnection port The mode switch request message is sent, the depositor of the interconnection port is set to into Fabric patterns, and is waited the opposite end Equipment returns pattern switching response message;Wherein, the Ethernet payload segment of the mode switch request message is carried Fabric headings, the Fabric headings are used to indicate opposite equip. by corresponding interconnection port from Ethernet pattern switching To Fabric patterns;
Set when the equipment that the interconnection port is configured to Fabric patterns receives the opposite end from the interconnection port After the standby pattern switching response message for returning, terminate equipment room port mode synchronization flow process;Wherein, the pattern switching response report Text be the opposite equip. according to the Fabric headings carried in the mode switch request message for receiving, by itself phase The interconnection port answered from Ethernet pattern switching to Fabric patterns after send.
The embodiment of the present invention also provides a kind of equipment room port mode synchronous method, and the interconnection port of two equipment is connected Connect, and by the interconnection port pattern configurations of one of equipment to interconnect after Fabric patterns, methods described includes:
Interconnection port is not configured as interconnecting the equipment of Fabric patterns and receives right by the interconnection port of Ethernet pattern The mode switch request message that end equipment sends, according to the Fabric headings carried in the mode switch request message, will The interconnection port is from Ethernet pattern switching to Fabric patterns;Wherein, the mode switch request message is the opposite end Equipment detects what is sent after corresponding interconnection port sets up Fabric patterns, and the mode switch request message is Ethernet report Text;
The interconnection port is not configured as the equipment of Fabric patterns by the interconnection port to the opposite equip. Return pattern switching response message.
The embodiment of the present invention also provides a kind of network equipment, and the network equipment includes:Detection module, control module, set Put module and processing module;
Detection module, for this equipment is connected with the interconnection port of opposite equip., and by the interconnection port of this equipment After being configured to interconnect Fabric patterns, the Fabric mode states of the interconnection port of this equipment are detected;
Control module, for detecting in the detection module after the Fabric Model Establishments of the interconnection port of this equipment, First is sent to the setup module to indicate, second is sent to the processing module and is indicated, and in the processing module to opposite end After equipment sends the mode switch request message, the 3rd is sent to the setup module and indicated, and wait the opposite end to set It is standby to return pattern switching response message;And, the pattern switching that the opposite equip. is returned is being received from the interconnection port After response message, terminate equipment room port mode synchronization flow process;Wherein, the pattern switching response message is the opposite equip. According to the Fabric headings carried in the mode switch request message for receiving, by itself corresponding interconnection port from Too net pattern switching is sent to after Fabric patterns;
Setup module, for the first instruction sent according to the control module, the depositor of the interconnection port is set It is set to Ethernet message checking pattern;And the 3rd instruction sent according to the control module, by posting for the interconnection port Storage is set to Fabric patterns;
Processing module, for indicating according to the second of the control module, according to the depositor of the interconnection port with The too check information of network packet checking mode generation mode handover request message, and sent out to opposite equip. by the interconnection port Send the mode switch request message;Wherein, the Ethernet payload segment of the mode switch request message carries Fabric Heading, the Fabric headings be used for indicate opposite equip. by corresponding interconnection port from Ethernet pattern switching to Fabric patterns.
The embodiment of the present invention also provides a kind of network equipment, and the network equipment includes:
Receiver module, for receiving the mode switch request report that opposite equip. sends by the interconnection port of Ethernet pattern Text;The mode switch request message is that the opposite equip. is interconnected with the interconnection port of this equipment, and in the opposite equip. Interconnection port be configured to interconnect Fabric patterns after send;
Processing module, for according to the Fabric headings carried in the mode switch request message, by the interconnection Port is from Ethernet pattern switching to interconnection Fabric patterns;Wherein, the mode switch request message is the opposite equip. Detect what is sent after corresponding interconnection port sets up Fabric patterns, the mode switch request message is ether network packet;
Sending module, in the processing module by the interconnection port from Ethernet pattern switching to Fabric patterns Afterwards, pattern switching response message is returned to the opposite equip. by the interconnection port.
The embodiment of the present invention also provides a kind of pile system, including main equipment and from equipment, the main equipment and it is described from The interconnection port connection of equipment, the interconnection port of the main equipment are configured to interconnect Fabric patterns;
The main equipment is used for, and after the Fabric Model Establishments of the interconnection port for detecting this equipment, arranges described mutual The depositor of connection port is Ethernet message checking pattern, according to the Ethernet message checking mould of the depositor of the interconnection port The check information of formula generation mode handover request message, sends the pattern switching from equipment to described by the interconnection port The depositor of the interconnection port is set to Fabric patterns, and waits described from equipment return pattern switching by request message Response message;Wherein, the Ethernet payload segment of the mode switch request message carries Fabric headings, described Fabric headings are used to indicate corresponding interconnection port from equipment from Ethernet pattern switching to Fabric patterns;And, Receive after the pattern switching response message returned from equipment from the interconnection port, terminate equipment room port mode synchronization Flow process;
Described to be used for from equipment, the pattern switching for receiving the main equipment transmission by the interconnection port of Ethernet pattern please Message is sought, according to the Fabric headings carried in the mode switch request message, by the interconnection port from Ethernet mould Formula is switched to Fabric patterns, returns pattern switching response message to the main equipment by the interconnection port.
Compared with prior art, the above embodiment of the present invention has following Advantageous Effects:
The above embodiment of the present invention, connects in the interconnection port by two equipment, and by the interconnection of one of equipment After port is configured to Fabric patterns, interconnection port is configured to interconnect the equipment of Fabric patterns can be at the interconnection end of this equipment After the Fabric Model Establishments of mouth, please to the pattern switching that opposite equip. transmission carries Fabric headings by interconnection port Message is sought, to ask opposite equip. by its corresponding interconnection port from Ethernet pattern switching to Fabric patterns, so as to realize mutually Connection port mode synchronization, and then realize normally receiving and parsing for Fabric messages between InterWorking Equipment.
Description of the drawings
Fig. 1 is Fabric message format schematic diagrams in prior art;
Fig. 2 is that the synchronous signaling process schematic diagram of port mode is carried out between the network equipment provided in an embodiment of the present invention;
Fig. 3 is mode switch request message format schematic diagram in the embodiment of the present invention;
Pile system configuration diagrams of the Fig. 4 for embodiment of the present invention application;
Fig. 5 is one of network equipment infrastructure schematic diagram provided in an embodiment of the present invention;
Fig. 6 for network equipment infrastructure schematic diagram provided in an embodiment of the present invention two.
Specific embodiment
For the problems referred to above that prior art is present, a kind of equipment room port mode synchronization side is embodiments provided Case, by carrying the mode switch request message of Fabric headings, is sent to opposite end from the Fabric ports of equipment and sets It is standby, Fabric patterns are switched to the corresponding interconnection port for asking opposite equip., so as to realize equipment room interconnection port Fabric The synchronization of pattern, solves the automatic detection negotiation problem between Fabric ports and common Ethernet ports, improves forwarding The convenience of Fabric messages.
Below in conjunction with the accompanying drawings the embodiment of the present invention is described in detail.
Below by taking device A and equipment B as an example, with reference to Fig. 2, LA Management Room port mode synchronization scenario is described in detail.For The interconnection of equipment room is realized, in system configuration, interconnection port between equipment B and device A is connected by physical circuit, Under normal circumstances, each port of the network equipment is Ethernet pattern according to configuration of dispatching from the factory, i.e. default configuration.The flow process includes following Step:
Step 201, the interconnection port for configuring equipment B are Fabric patterns.
Specifically, the interconnection port of equipment B can be configured to by Fabric patterns by human configuration mode.
Step 202, equipment B are detected after the Fabric patterns of interconnection port are set up, generation mode handover request message, And device A is sent to by the interconnection port.
Specifically, equipment B detects the Fabric mode states of the interconnection port of this equipment, when equipment B detects this equipment Interconnection port Fabric patterns it is built immediately, the depositor of the interconnection port is set to into Ethernet message checking pattern, According to the check information of the Ethernet message checking schema creation mode switch request message of the depositor of the interconnection port, and Ethernet payload segment carries Fabric headings, generation mode handover request message.
By the interconnection port to device A sending mode handover request message.Cut when equipment B has sent pattern to device A After changing request message, then the depositor of the interconnection port is set to into Fabric message checking patterns, waits receiving device A to return Return pattern switching response message.
Mode switch request message is ether network packet, and its message format can be as shown in figure 3, take in Ethernet payload segment Band Fabric headings, Fabric headings can include:Message source port number, source chip number, destination slogan, purpose chip Number, the information such as message local first level, for indicating the receiving device of the message by the receiving port of the message from Ethernet mould Formula is switched to Fabric patterns.
Step 203, device A according to the mode switch request message for receiving, by this equipment corresponding interconnection port from Too net pattern switching is Fabric patterns.
Specifically, after the interconnection port of device A receives the mode switch request message of equipment B transmissions, according to the port Depositor indicated by Ethernet message checking pattern carry out CRC check to the mode switch request message, after verification passes through, Mode switch request message is reported into the CPU of this equipment, the mode switch request message is parsed by CPU, obtain Ethernet load Lotus part carry Fabric headings after, according to the Fabric headings by the receiving port of the mode switch request message from Ethernet pattern switching is to Fabric patterns.As mode switch request message is ether network packet, and the mode switch request The CRC check form of message is that Ethernet verifies form, and the receiving port of the mode switch request message is dispatching from the factory for acquiescence Configuration, as Ethernet pattern, the Ethernet message checking pattern indicated by its depositor, therefore, device A can be with normal verification The mode switch request message.But, the interconnection port of device A cannot parse the Ethernet load of mode switch request message The Fabric headings that part carries, need to report the CPU process of this equipment, parse the Fabric by software by CPU and report Literary head.By the Fabric headings, device A knows that the interconnection port of equipment B has been configured as Fabric patterns, now, if Itself corresponding interconnection port can be Fabric patterns from Ethernet pattern switching by standby A.
Step 204, device A switch response report to equipment B sending modes by the receiving port of mode switch request message Text, after equipment B receives the pattern switching response message, terminates equipment room port mode synchronization flow process.
Specifically, device A by the receiving port of mode switch request message from Ethernet pattern switching be Fabric patterns Afterwards, response message is switched to equipment B sending modes by the port, represents that the corresponding interconnection port of this equipment has been configured as Fabric patterns.Pattern switching response message is Fabric messages, as the state of the interconnection port depositor of equipment B has changed Fabric message checking patterns are returned, therefore, equipment B with normal verification and can parse the pattern switching response message.
In view of as connection is abnormal or other reasons, device A possibly cannot receive the pattern switching of equipment B transmissions please Message is sought, and after causing equipment B to send mode switch request message, possibly device A cannot be received in setting long-time The response message of return.For this abnormal conditions, in order to improve reliability, equipment room port provided in an embodiment of the present invention mould Formula synchronization flow process can also be comprised the following steps:
If equipment B is after to device A sending mode handover request message, device A is not received in setting long-time and returned The pattern switching response message for returning, then generation mode handover request message, and be sent to by the interconnection port being connected with device A Device A, otherwise, terminates equipment room port mode synchronization flow process.Generation mode handover request message by being connected with device A Interconnection port is sent to the specific implementation of device A referring to described in step 202, will not be described here.
Preferably, equipment B can start intervalometer after to device A sending mode handover request message, and equipment B is received After the pattern switching response message returned to device A, the intervalometer is deleted.If timer expiry, the equipment B of explanation fails fixed When device timing duration in receive the pattern switching response message of device A return, therefore device A whether success cannot be determined By corresponding interconnection port from Ethernet pattern switching be Fabric patterns, in such cases, equipment B again to device A send Mode switch request message, again ask device A by corresponding interconnection port from Ethernet pattern switching be Fabric patterns, with Guarantee that device A is synchronous with equipment B port modes.The duration of intervalometer can be cut to pattern according to equipment performance and application scenarios The requirement changed is different and arrange.
Can be seen that by above equipment room port mode synchronization scenario flow process and the interconnection port of equipment B is configured to Fabric patterns, and the mode switch request message of ethernet format is sent to device A, in the ether of mode switch request message Net payload segment carries Fabric headings, so that the Fabric headings that device A is carried according to the mode switch request message, Automatically by corresponding interconnection port from Ethernet pattern switching be Fabric patterns, solve Ethernet ports between distinct device And Fabric ports between cannot auto negotiation problem, so as to realize normally receiving and parsing for Fabric messages, improve The convenience of forwarding Fabric messages.
Equipment room port mode synchronization scenario provided in an embodiment of the present invention can apply to pile system, the pile system Multiple CB can be included(Controlling Bridge, control bridge)With multiple PE(Port Extender, port expander), Port default on CB equipment and PE equipment is Ethernet pattern.
PE equipment is connected with the interconnection port of CB equipment according to the annexation shown in Fig. 4, after forming pile system, On CB1, CB1 is connected into the interconnection port of PE1, CB1 and connects the interconnection port that the interconnection port of PE2, CB1 connect PE3, and will The interconnection port that CB1 equipment is connected with each PE equipment is configured to Fabric patterns;When CB1 detects the interconnection end being connected with PE1 After the Fabric patterns of mouth are set up, the depositor of the interconnection port is set to into Ethernet message checking pattern, is posted according to this The check information of the Ethernet message checking schema creation mode switch request message of storage, is sent out to PE1 by the interconnection port The Ethernet payload segment of mode switch request message, mode switch request message is sent to carry Fabric headings;PE1 is according to this The depositor of interconnection port is verified after passing through, by the mould according to Ethernet message checking modulo check mode switch request message Formula handover request message reports the CPU of this equipment, parses the Fabric headings of mode switch request message carrying by CPU Afterwards, PE1 equipment, is completed by the interconnection port from Ethernet pattern switching to Fabric patterns according to the Fabric headings Pattern synchronization flow process between CB1 and PE1 ports.
In the same manner, can be automatically performed port mode according to foregoing schemes synchronous for PE2, PE3 of CB1 and interconnection.
In the same manner, on CB2 and CB3, corresponding interconnection port is configured to into Fabric patterns, can be automatically performed this equipment with it is right The interconnection port pattern synchronization of end PE equipment.
In the case where equipment is more, by equipment room port mode synchronization scenario provided in an embodiment of the present invention, can be with User configuring operation is reduced, the scheme of plug and play dynamic stacking is realized.
The application scenarios of equipment room port mode synchronization scenario provided in an embodiment of the present invention including but not limited to stack system System, specific implementation are repeated no more.
Based on identical technology design, the embodiment of the present invention additionally provides a kind of network equipment, and structure is as shown in figure 5, bag Include:Detection module, control module, setup module and processing module;
Detection module 51, for this equipment is connected with the interconnection port of opposite equip., and by the interconnection end of this equipment After mouth is configured to interconnect Fabric patterns, the interconnection Fabric mode states of the interconnection port of this equipment are detected;
Control module 52, for the interconnection Fabric Model Establishments of the interconnection port of this equipment are detected in detection module 51 Afterwards, first is sent to setup module 53 to indicate, send second to processing module 54 and indicate, and in processing module 54 to opposite equip. After sending mode handover request message, the 3rd is sent to setup module 53 and indicated, and wait opposite equip. to return pattern switching Response message;And, after the pattern switching response message for opposite equip. return being received from interconnection port, terminate equipment room end Mouth pattern synchronization flow process;Wherein, pattern switching response message is opposite equip. according in the mode switch request message for receiving The Fabric headings of carrying, by itself corresponding interconnection port from Ethernet pattern switching to Fabric patterns after send;
Setup module 53, for the first instruction sent according to control module 52, the depositor of interconnection port is set to Ethernet message checking pattern;And according to the 3rd instruction that control module 52 sends, the depositor of interconnection port is set to Fabric patterns;
Processing module 54, for indicating according to the second of control module 52, according to the Ethernet of the depositor of interconnection port The check information of message checking schema creation mode switch request message, and cut to opposite equip. sending mode by interconnection port Change request message;Wherein, the Ethernet payload segment of mode switch request message carries Fabric headings, Fabric messages Head is used to indicate opposite equip. by corresponding interconnection port from Ethernet pattern switching to Fabric patterns.
Control module 52 is additionally operable to, when processing module 54 by interconnection port to opposite equip. sending mode handover request report Wen Hou, if this equipment does not receive the pattern switching response message of opposite equip. return in setting long-time from interconnection port, Then first is sent to setup module 53 to indicate, send second to processing module 54 and indicate, and in processing module 54 to opposite equip. After sending mode handover request message, the 3rd is sent to setup module 53 and indicated, and wait opposite equip. to return pattern switching Response message.
Based on identical technology design, the embodiment of the present invention additionally provides a kind of network equipment, and structure is as shown in fig. 6, bag Include:
Receiver module 61, for receiving the mode switch request that opposite equip. sends by the interconnection port of Ethernet pattern Message;The mode switch request message is that opposite equip. is interconnected with the interconnection port of this equipment, and at the interconnection end of opposite equip. What mouth was sent after being configured to interconnect Fabric patterns;
Processing module 62, for according to the Fabric headings carried in mode switch request message, by interconnection port from Ethernet pattern switching is to interconnection Fabric patterns;Wherein, mode switch request message is that opposite equip. detects corresponding interconnection What port was sent after setting up Fabric patterns, mode switch request message is ether network packet;
Sending module 63, for processing module 62 by interconnection port from Ethernet pattern switching to interconnection Fabric patterns Afterwards, pattern switching response message is returned to opposite equip. by interconnection port.
Processing module 62 is specifically for by the Ethernet message checking modulo check of the depositor of the interconnection port mould The mode switch request message, after verification passes through, is reported the CPU of this equipment, is solved by the CPU by formula handover request message After separating out the Fabric headings of Ethernet payload segment carrying of the mode switch request message, according to the Fabric messages Head, by the interconnection port from Ethernet pattern switching to Fabric patterns.
Based on identical technology design, the embodiment of the present invention additionally provides a kind of pile system, and the pile system includes master Equipment and connect from equipment, main equipment and from the interconnection port of equipment, the interconnection port of main equipment is configured to interconnect Fabric Pattern;
Main equipment is used for, and after the Fabric Model Establishments of the interconnection port for detecting this equipment, arranges the interconnection port Depositor be Ethernet message checking pattern, according to the Ethernet message checking schema creation mould of the depositor of the interconnection port The check information of formula handover request message, by the interconnection port to from equipment sending mode handover request message, this is interconnected The depositor of port is set to Fabric patterns, and waits from equipment return pattern switching response message;Wherein, pattern switching please The Ethernet payload segment of message is asked to carry Fabric headings, Fabric headings are used for instruction will be mutual accordingly from equipment Connection port is from Ethernet pattern switching to Fabric patterns;And, the pattern for returning is received from equipment from the interconnection port and is cut After changing response message, terminate equipment room port mode synchronization flow process;
It is used for from equipment, the mode switch request message that main equipment sends is received by the interconnection port of Ethernet pattern, According to the Fabric headings carried in mode switch request message, by the interconnection port from Ethernet pattern switching to Fabric Pattern, returns pattern switching response message to the main equipment by the interconnection port.
Main equipment is additionally operable to, if to from after equipment sending mode handover request message, not receiving in setting long-time To the pattern switching response message returned from equipment, then the depositor for arranging the interconnection port is Ethernet message checking pattern, According to the check information of the Ethernet message checking schema creation mode switch request message of the depositor of the interconnection port, pass through The depositor of the interconnection port is set to Fabric patterns to from equipment sending mode handover request message by the interconnection port, Wait from equipment and return pattern switching response message.
From equipment specifically for the pattern according to the Ethernet message checking modulo check of the depositor of its interconnection port Mode switch request message, after verification passes through, is reported the CPU of this equipment by handover request message;CPU parses pattern switching After the Fabric headings that the Ethernet payload segment of request message is carried, from equipment according to Fabric headings, this is interconnected Port is from Ethernet pattern switching to Fabric patterns.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of required general hardware platform to realize, naturally it is also possible to which by hardware, but the former is more in many cases Good embodiment.Based on such understanding, what technical scheme was substantially contributed to prior art in other words Part can be embodied in the form of software product, and the computer software product is stored in a storage medium, if including Dry instruction is used so that a station terminal equipment(Can be mobile phone, personal computer, server, or network equipment etc.)Perform sheet Invent the method described in each embodiment.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should Depending on protection scope of the present invention.

Claims (11)

1. a kind of equipment room port mode synchronous method, it is characterised in that the interconnection port of two equipment is connected, and will wherein After the interconnection port of one equipment is configured to interconnect Fabric patterns, methods described includes:
After interconnection port is configured to the Fabric Model Establishments of the interconnection port that the equipment of Fabric patterns detects this equipment, The depositor for arranging the interconnection port is Ethernet message checking pattern, according to the Ethernet of the depositor of the interconnection port The check information of message checking schema creation mode switch request message, sends described to opposite equip. by the interconnection port The depositor of the interconnection port is set to Fabric patterns, and waits the opposite equip. to return by mode switch request message Return pattern switching response message;Wherein, the Ethernet payload segment of the mode switch request message carries Fabric messages Head, the Fabric headings are used to indicate opposite equip. by corresponding interconnection port from Ethernet pattern switching to Fabric moulds Formula;
Return when the equipment that the interconnection port is configured to Fabric patterns receives the opposite equip. from the interconnection port After the pattern switching response message for returning, terminate equipment room port mode synchronization flow process;Wherein, the pattern switching response message is The opposite equip. is according to the Fabric headings carried in the mode switch request message for receiving, corresponding by itself Interconnection port from Ethernet pattern switching to Fabric patterns after send.
2. the method for claim 1, it is characterised in that the method also includes:
If the equipment that the interconnection port is configured to Fabric patterns is being asked to the opposite equip. transmission pattern switching After seeking message, the pattern switching response message that the opposite equip. is returned is not received in setting long-time, then arrange described The depositor of interconnection port is Ethernet message checking pattern, according to the Ethernet message checking of the depositor of the interconnection port The check information of schema creation mode switch request message, sends the pattern switching to opposite equip. by the interconnection port The depositor of the interconnection port is set to Fabric patterns by request message, waits the opposite equip. to return pattern switching Response message.
3. a kind of equipment room port mode synchronous method, it is characterised in that the interconnection port of two equipment is connected, and will wherein After the interconnection port pattern configurations of one equipment are for interconnection Fabric patterns, methods described includes:
Interconnection port is not configured as interconnecting the equipment of Fabric patterns and is set by the interconnection port reception opposite end of Ethernet pattern The mode switch request message that preparation is sent, according to the Fabric headings carried in the mode switch request message, will be described Interconnection port is from Ethernet pattern switching to Fabric patterns;Wherein, the mode switch request message is the opposite equip. Detect what is sent after corresponding interconnection port sets up Fabric patterns, the mode switch request message is ether network packet;
The interconnection port is not configured as the equipment of Fabric patterns and is returned to the opposite equip. by the interconnection port Pattern switching response message.
4. method as claimed in claim 3, it is characterised in that described according to carrying in the mode switch request message Fabric headings, by the interconnection port from Ethernet pattern switching to Fabric patterns, specially:
The interconnection port is not configured as the ether network packet of the equipment according to the depositor of its interconnection port of Fabric patterns Checking mode verifies the mode switch request message, after verification passes through, the mode switch request message is reported and is originally set Standby CPU;
The CPU parses the Fabric headings that the Ethernet payload segment of the mode switch request message is carried;
The interconnection port is not configured as the equipment of Fabric patterns according to the Fabric headings, by the interconnection port From Ethernet pattern switching to Fabric patterns.
5. a kind of network equipment, it is characterised in that the network equipment includes:Detection module, control module, setup module and place Reason module;
Detection module, for this equipment is connected with the interconnection port of opposite equip., and the interconnection port of this equipment is configured To interconnect after Fabric patterns, the Fabric mode states of the interconnection port of this equipment are detected;
Control module, for detecting in the detection module after the Fabric Model Establishments of the interconnection port of this equipment, to institute State setup module and send the first instruction, second is sent to the processing module and indicated, and in the processing module to opposite equip. After sending mode handover request message, the 3rd is sent to the setup module and indicated, and wait the opposite equip. to return mould Formula switches response message;And, the pattern switching response message that the opposite equip. is returned is being received from the interconnection port Afterwards, terminate equipment room port mode synchronization flow process;Wherein, the pattern switching response message is the opposite equip. according to reception To the mode switch request message in the Fabric headings that carry, by itself corresponding interconnection port from Ethernet pattern Send after being switched to Fabric patterns;
Setup module, for the first instruction sent according to the control module, the depositor of the interconnection port is set to Ethernet message checking pattern;And the 3rd instruction sent according to the control module, by the depositor of the interconnection port It is set to Fabric patterns;
Processing module, for indicating according to the second of the control module, according to the Ethernet of the depositor of the interconnection port The check information of message checking schema creation mode switch request message, and institute is sent to opposite equip. by the interconnection port State mode switch request message;Wherein, the Ethernet payload segment of the mode switch request message carries Fabric messages Head, the Fabric headings are used to indicate opposite equip. by corresponding interconnection port from Ethernet pattern switching to Fabric moulds Formula.
6. the network equipment as claimed in claim 5, it is characterised in that the control module is additionally operable to, when the processing module Sent after the mode switch request message to the opposite equip. by the interconnection port, if this equipment is in setting long-time Inside the pattern switching response message that the opposite equip. is returned is not received from the interconnection port, then send out to the setup module The first instruction is sent, and second is sent to the processing module and is indicated, and sends the pattern to opposite equip. in the processing module After handover request message, the 3rd is sent to the setup module and indicated, and wait the opposite equip. to return pattern switching answer Answer message.
7. a kind of network equipment, it is characterised in that the network equipment includes:
Receiver module, for receiving the mode switch request message that opposite equip. sends by the interconnection port of Ethernet pattern; The mode switch request message is that the opposite equip. is connected with the interconnection port of this equipment, and in the mutual of the opposite equip. What connection port was sent after being configured to interconnect Fabric patterns;
Processing module, for according to the Fabric headings carried in the mode switch request message, by the interconnection port From Ethernet pattern switching to interconnection Fabric patterns;Wherein, the mode switch request message is the opposite equip. detection Send after Fabric patterns are set up to corresponding interconnection port, the mode switch request message is ether network packet;
Sending module, for the processing module by the interconnection port from Ethernet pattern switching to Fabric patterns after, Pattern switching response message is returned to the opposite equip. by the interconnection port.
8. the network equipment as claimed in claim 7, it is characterised in that the processing module is specifically for by the interconnection Mode switch request message described in the Ethernet message checking modulo check of the depositor of port, after verification passes through, by the mould Formula handover request message reports the CPU of this equipment, and the Ethernet for parsing the mode switch request message by the CPU is carried After the Fabric headings that lotus part carries, according to the Fabric headings, the interconnection port is cut from Ethernet pattern Change to Fabric patterns.
9. a kind of pile system, it is characterised in that including main equipment and from equipment, the main equipment and the interconnection from equipment Port connects, and the interconnection port of the main equipment is configured to interconnect Fabric patterns;
The main equipment is used for, and after the Fabric Model Establishments of the interconnection port for detecting this equipment, arranges the interconnection end The depositor of mouth is Ethernet message checking pattern, according to the Ethernet message checking pattern life of the depositor of the interconnection port The check information of the handover request that becomes the mode message, sends the mode switch request from equipment to described by the interconnection port The depositor of the interconnection port is set to Fabric patterns, and waits described from equipment return pattern switching response by message Message;Wherein, the Ethernet payload segment of the mode switch request message carries Fabric headings, the Fabric reports Literary head is used to indicate corresponding interconnection port from equipment from Ethernet pattern switching to Fabric patterns;And, from it is described mutually After connection port receives the pattern switching response message returned from equipment, terminate equipment room port mode synchronization flow process;
It is described to be used for from equipment, the mode switch request report that the main equipment sends is received by the interconnection port of Ethernet pattern Text, according to the Fabric headings carried in the mode switch request message, the interconnection port is cut from Ethernet pattern Fabric patterns are changed to, pattern switching response message is returned to the main equipment by the interconnection port.
10. system as claimed in claim 9, it is characterised in that the main equipment is additionally operable to, if sending to described from equipment After the mode switch request message, the pattern switching response report returned from equipment is not received in setting long-time Text, the then depositor for arranging the interconnection port are Ethernet message checking pattern, according to the depositor of the interconnection port The check information of Ethernet message checking schema creation mode switch request message, by the interconnection port to described from equipment The mode switch request message is sent, the depositor of the interconnection port is set to into Fabric patterns, wait described from setting It is standby to return pattern switching response message.
11. systems as claimed in claim 9, it is characterised in that it is described from equipment specifically for posting according to its interconnection port Mode switch request message described in the Ethernet message checking modulo check of storage, after verification passes through, please by the pattern switching Message is asked to report the CPU of this equipment;The CPU parses the Ethernet payload segment of the mode switch request message and carries Fabric headings after, it is described from equipment according to the Fabric headings, the interconnection port is cut from Ethernet pattern Change to Fabric patterns.
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 CN103795557A (en) 2014-05-14
CN103795557B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107864094B (en) * 2017-11-15 2020-08-18 新华三技术有限公司 Traffic routing method, traffic routing device and machine-readable storage medium
CN110442096B (en) * 2019-07-29 2023-07-21 福建顺昌虹润精密仪器有限公司 Data acquisition control workstation and data transmission method thereof

Citations (5)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090296726A1 (en) * 2008-06-03 2009-12-03 Brocade Communications Systems, Inc. ACCESS CONTROL LIST MANAGEMENT IN AN FCoE ENVIRONMENT

Patent Citations (5)

* 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
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

Also Published As

Publication number Publication date
CN103795557A (en) 2014-05-14

Similar Documents

Publication Publication Date Title
CN103795518B (en) A kind of equipment room port mode synchronous method, equipment and system
CN102315975B (en) Fault processing method based on intelligent resilient framework (IRF) system and equipment thereof
CN101599909B (en) Method and device for forwarding flow rate
CN101984606A (en) Device-level redundancy protection method and system based on LACP
US9860931B2 (en) Method, system and terminal for realizing network access via Wi-Fi®
CN103152260A (en) Message forwarding system, method and device
CN101800774A (en) Environmental-friendly accessing method and environmental-friendly accessing network
CN102970157A (en) Link failure processing method, intelligent resilient framework (IRF) member device and data communication device
CN101989953A (en) Method and equipment for sending bidirectional forwarding detection message
CN101883117B (en) Interface business focuses on method and system
CN102404414A (en) Ethernet communication system and method based on multi-media card/security digital card (MMC/SD) interface
CN103795557B (en) Method, device, and system for synchronizing port modes between devices
US9467397B2 (en) Port mode synchronization between switches
CN108810889A (en) Communication means, apparatus and system
EP2760173A1 (en) Data transmission method, device and system
EP3843467B1 (en) Wireless connection method, device group, system, and storage medium
US11129119B2 (en) Data synchronization method, device and storage medium
CN108234308A (en) A kind of distributed apparatus intercom system and method
US9137195B2 (en) Method, network device and user equipment for switching media access control address
US9992767B2 (en) Data transmission method and device
CN201690608U (en) Network structure for bearing soft switch IP
CN111355561B (en) Data retransmission indicating and processing method and device
CN101394642A (en) Method, device and system for uploading link exception information
CN102307150B (en) IRF flow protection method and apparatus thereof
WO2013075336A1 (en) Communication system, method and device

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.