CN107566143A - A kind of vertical stack finds method and apparatus - Google Patents

A kind of vertical stack finds method and apparatus Download PDF

Info

Publication number
CN107566143A
CN107566143A CN201610512630.6A CN201610512630A CN107566143A CN 107566143 A CN107566143 A CN 107566143A CN 201610512630 A CN201610512630 A CN 201610512630A CN 107566143 A CN107566143 A CN 107566143A
Authority
CN
China
Prior art keywords
ports
equipment
information
extending equipment
unique
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
CN201610512630.6A
Other languages
Chinese (zh)
Other versions
CN107566143B (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.)
Shenzhen ZTE Technical Service Co.,Ltd.
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201610512630.6A priority Critical patent/CN107566143B/en
Publication of CN107566143A publication Critical patent/CN107566143A/en
Application granted granted Critical
Publication of CN107566143B publication Critical patent/CN107566143B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks

Abstract

The embodiment of the present invention provides a kind of vertical stack and finds method and apparatus, and unique identification information is encapsulated into link layer discovery protocol message by ports-Extending equipment by obtaining the unique identification information of the port expansion equipment;Link layer discovery protocol message timing cycle is sent to control bridge, so that control bridge monitors the presence of the ports-Extending equipment according to the unique identification information, its MAC Address is sent to control bridge compared to ports-Extending equipment in the prior art, control bridge is by way of whether the MAC Address of ports-Extending equipment changes and judge PE presence, so that management of the system to port expansion equipment is more reasonable, the stability of system is improved.

Description

A kind of vertical stack finds method and apparatus
Technical field
The present invention relates to the communications field, more particularly to a kind of vertical stack to find method and apparatus.
Background technology
With the development of cloud computing, virtual machine surges, and the data center of enterprise also inevitably produces some management Problem, the development of network technology must adapt to new virtualization technology trend.Therefore IEEE harpoons are virtual to data center The new technologies such as machine migration propose a series of 802.1 new standards, including 802.1Qau (congestion notification), 802.1Qaz (enhancings Type transmission selection), 802.1Qbb (the stream control based on priority), 802.1Qbg (edge virtual bridge), 802.1BR it is (virtual bridged Mouth extension) etc..Vertical stack technology is based on 802.1BR standard implementations.As shown in figure 1, vertical stack generally comprises 2 weights The part CB (Controlling Bridge, controlling bridge) and PE (Port Extended, ports-Extending equipment) wanted.Longitudinal direction Stack by can remote interaction interchanger be deployed as CB, entity access switch or software virtual switch are deployed as PE, logical Cross and set CB cascade port and PE up going port to establish multiple E-Channel between CB and PE and (Extended Channel, expand Exhibition passage) realize interaction between CB and PE.And vertical stack uses LLDP (Link Layer according to 802.1BR standards Discovery Protocol, Link Layer Discovery Protocol) mutual discovery of the message for CB and PE;CB passes through PE CSP (Port Extender Control and Status Protocol, control and status protocol) message finds PE ports, corresponding to establishment BEP mouths, so as to set up vertical stack network.In pile system, 200 to 400 PE can be linked under each CB, ECP Extended Capabilities Port can Up to more than ten thousand, thus for device attribute check and the operation such as ECP Extended Capabilities Port configuration just need to rely on it is stable open up it is general Network structure.But in the prior art, because application 802.1BR agreements are that PE equipment is identified using MAC Address, if After PE user reconfigures MAC Address, open up general network and will be considered that it is that former PE equipment is offline, new PE equipment is reached the standard grade, and this will be Management is made troubles;And PE presence is modified so that CB-PFU shakes port, can cause under this port All PE equipment constantly reach the standard grade it is offline so that system is unstable.
The content of the invention
Vertical stack provided in an embodiment of the present invention finds method and apparatus, mainly solving the technical problems that prior art In the way to manage that is managed to PE equipment it is unreasonable so that the problem of system is unstable.
In order to solve the above technical problems, the embodiment of the present invention, which provides a kind of vertical stack, finds method, including:
The unique identification information of the port expansion equipment is obtained, and unique identification information is encapsulated into Link Layer Discovery Protocol In message;
Link layer discovery protocol message timing cycle is sent to control bridge.
The embodiment of the present invention also provides a kind of vertical stack and finds method, including:
The link layer discovery protocol message with its unique identifying information that each ports-Extending equipment of timing receipt is sent, and Unique identifying information in parsing, acquisition message;
The current of each ports-Extending equipment is determined according to the situation of change of the unique identifying information received in each timing cycle State.
The embodiment of the present invention also provides a kind of vertical stack and finds device, including:
Unique identification information processing module, for obtaining the unique identification information of the port expansion equipment, and will uniquely it mark Information encapsulation is known into link layer discovery protocol message;
Sending module, for link layer discovery protocol message timing cycle to be sent into control bridge.
The embodiment of the present invention also provides a kind of vertical stack and finds device, including:
Message processing module (MPM), the link with its unique identifying information sent for each ports-Extending equipment of timing receipt Layer finds protocol massages, and parses, obtains unique identifying information in message;
State setting module, for determining each end according to the situation of change of the unique identifying information received in each timing cycle The current state of mouth expansion equipment.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and computer is stored with computer-readable storage medium to be held Row instruction, the vertical stack that computer executable instructions are used to perform foregoing any one find method.
The beneficial effects of the invention are as follows:
The vertical stack provided according to embodiments of the present invention finds method, apparatus and computer-readable storage medium, and port is expanded Unique identification information is encapsulated into link layer and finds association by exhibition equipment by obtaining the unique identification information of the port expansion equipment Discuss in message;Link layer discovery protocol message timing cycle is sent to control bridge so that control bridge is according to unique mark Know the presence of the information monitoring ports-Extending equipment, its MAC Address is sent to CB compared to PE in the prior art, CB leads to Whether the MAC Address for crossing PE equipment changes and judges PE presence, can not accurately be known by this way to manage The actual presence of PE equipment so that the management carried out to PE is unreasonable, and system is unstable, the vertical stack hair of the present embodiment Existing method make it that management of the system to port expansion equipment is more reasonable, improves the stability of system.
Brief description of the drawings
Fig. 1 is the vertical stack topological diagram of any embodiment of the present invention;
Fig. 2 is that the vertical stack of the embodiment of the present invention one finds method flow diagram;
Fig. 3 is the LLDP message schematic diagrames of the embodiment of the present invention one;
Fig. 4 is that the vertical stack of the embodiment of the present invention two finds method flow diagram;
Fig. 5 is that the vertical stack of the embodiment of the present invention three finds schematic device;
Fig. 6 is that the vertical stack of the embodiment of the present invention four finds schematic device;
Fig. 7 is that the vertical stack of the embodiment of the present invention five finds method schematic diagram.
Embodiment
The embodiment of the present invention is described in further detail below by embodiment combination accompanying drawing.
Embodiment one:
The present embodiment provides a kind of vertical stack and finds method, refers to Fig. 2, specifically includes:
Step S201, obtains the unique identification information of the port expansion equipment, and unique identification information is encapsulated into link Layer is found in protocol massages.
Specifically, for guarantee can accurately opposite end mouth expansion equipment PE be managed, CB needs acquisition can be with unique mark The unique identification information of the PE, then judge that PE is online or offline by the unique identification information.So PE need to CB reports its unique identification information.PE is specifically to obtain its unique identification information from bottom, and the unique identification information is encapsulated in In LLDP messages, then establish and communicate with CB, the LLDP messages are occurred to CB.
Further, the unique identification information is the sequence number information being solidificated in ports-Extending equipment PE;To uniquely it mark Know Information encapsulation includes to link layer discovery protocol message:The unique mark end defined in Link Layer Discovery Protocol LLDP messages The field name of the attribute information of mouth expansion equipment, and be stored in sequence number information as value in link layer discovery protocol message.
Specifically, in actual applications, PE unique identification information can be PE sequence number information, the sequence number information Just it is being solidificated in the PE after PE dispatches from the factory, for one PE equipment of unique mark.Its sequence number information is encapsulated in LLDP reports by PE Wen Zhong, specifically needs the field name of the unique mark PE attribute informations defined in LLDP messages, and the new field is entitled Subtype, and be stored in using sequence number information as value in the Value fields in LLDP messages.The form of the LLDP messages please join As shown in Figure 3, specifically include:TLV type:Value is fixed as 127 (hexadecimal FE), is expressed as tissue and defines TLV (Type Length Value, type lengths values).Length:TLV information string length, i.e., from OUI (Organizationally unique identifier, organization unique identifier) starts to the value character strings terminated Length.OUI:Value is fixed as 00-19-0C (hexadecimal).Subtype:Organizationally defined subtype, , can be with the field of the sequence number of one equipment of unique mark for storage in identification message for 8 No. subtype newly defined. Value:The attribute information of one piece of PE equipment of unique mark is deposited, such as the sequence number of the PE equipment, such as foregoing sequences number: 18446744073709551615.TLV type and TLV information string in the LLDP messages belong to the LLDP The TLV header parts of message, OUI, Subtype and Value belong to the TLV information string of the LLDP messages Part.
Step S202, link layer discovery protocol message timing cycle is sent to control bridge.
Specifically, after the unique identification information of the PE is encapsulated in above-mentioned LLDP messages, the LLDP messages are sent To CB, and in order that CB can include the LLDP messages of PE unique identification informations by this, the presence of the PE, the PE are judged Need periodically to send the LLDP messages to CB, keep-alive is carried out by the LLDP messages.
It is to be appreciated that PE unique identification information can also be in addition to PE sequence number information in the present embodiment Other can be with the unique mark PE, and the information that will not change with external factor, the present embodiment are not especially limited to this. In addition, while PE sends its unique identification information by the LLDP messages, can also be other by it by the LLDP messages Some attribute informations are sent to CB.
In the vertical stack discovery method that the present embodiment provides, ports-Extending equipment is by obtaining the port expansion equipment Unique identification information, and unique identification information is encapsulated into link layer discovery protocol message;By link layer discovery protocol message Timing cycle is sent to control bridge so that control bridge monitors the online of the ports-Extending equipment according to the unique identification information State, and carry out the management of corresponding topological network, compared to being identified in the prior art using MAC Address to PE equipment, CB Judge PE presence by the way that whether the MAC Address of PE equipment changes, can not accurately be obtained by this way to manage Know the actual presence of PE equipment so that the management carried out to PE is unreasonable, and system is unstable, the vertical stack of the present embodiment It was found that method make it that management of the system to port expansion equipment is more reasonable, the stability of system is improved.
Embodiment two:
The present embodiment provides a kind of vertical stack and finds method, refers to Fig. 4, specifically includes:
Step S401, the link layer with its unique identifying information that each ports-Extending equipment of timing receipt is sent find association Message is discussed, and parses, obtain unique identifying information in message.
Communicated specifically, CB establishes with PE, the LLDP messages of the reception PE device periodically transmission of timing, then, from this Parsing obtains the unique identification information for the PE equipment being stored in LLDP messages in LLDP messages.Can be specifically that CB is received on PE The LLDP messages of report, know from Subtype fields deposit the unique identification information field, then from according to the field from The unique identification information of storage is read out in Value.The unique identification information can be specifically PE sequence number information, can also Other can be used for unique mark PE identification information.
Further, in the vertical stack discovery method that the present embodiment provides, in addition to:It is online according to current state The attribute information and unique identification information of each ports-Extending equipment are established and Dynamic Maintenance ports-Extending equipment topological network.
Specifically, CB is established and safeguarded between PE after the LLDP messages that PE is reported are received, according to the LLDP messages Topological network, the LLDP messages include PE attribute information and unique identification information, and CB is according to the attribute information and unique Identification information is established and Dynamic Maintenance current state is online PE topological network, is specifically included:If the CB is to connect for the first time The LLDP messages for including PE unique identification informations of the PE equipment received, then need the unique identification information of the PE and other Attribute information is saved in topological network;If CB, which is second or X time, receives the PE, the LLDP received according to it is reported Text to the status information of the PE in the topological network and other be adjusted.
Step S402, determine that each ports-Extending is set according to the situation of change of the unique identifying information received in each timing cycle Standby current state.
Specifically, CB ties up according to current state for the attribute information and unique identification information of online each ports-Extending equipment PE topological networks are protected, including:Each ports-Extending is determined according to the situation of change of the unique identifying information received in each timing cycle The current state of equipment, it is specifically included:, will when the unique identifying information received is not in ports-Extending equipment topological network The current state of ports-Extending equipment is arranged to online corresponding to the unique identifying information, and by the attribute of the ports-Extending equipment In information and unique identification information deposit ports-Extending equipment topological network;When the unique identifying information received is in ports-Extending When in equipment topological network, the current state for judging ports-Extending equipment corresponding to the unique identifying information is online;For end Unique identifying information in mouthful expansion equipment topological network, when its current period and before continuous N number of cycle in all do not have When being received, the current state of ports-Extending equipment corresponding to the unique identifying information is judged to be offline, and this is unique The attribute information of identification information and its corresponding ports-Extending equipment is deleted from ports-Extending equipment topological network, and N is big In the positive integer equal to 0.I.e. after CB receives the LLDP messages comprising PE unique identification informations of PE transmissions for the first time, if this When CB perceive PE and reached the standard grade, be online by the PE device identifications, and No. subtype extraction PE being specified according to LLDP messages Unique identification information, by unique identification information storage to opening up in general network structure, and other attribute informations of the PE are also deposited Store up in topological network.Then the LLDP messages that periodic receipt PE is sent, PE unique mark is extracted from the LLDP messages Information, the unique identification information and storage are contrasted to the unique identification information opened up in general network structure, if the two is consistent, It is online then to judge the PE, keeps it to identify online constant.Furthermore it is also possible to one is set to be used to judge the not online thresholds of PE Value, if the number that the CB does not receive the LLDP messages that PE is reported continuously reaches the threshold value, judging should be not online for PE veneers, if Determine that PE veneers are offline, then carry out corresponding offline processing, the offline processing is that the PE of storage is deleted from topological network Other attribute informations such as the relevant information of veneer, including unique identification information, information in place.The threshold value be specially current period and The sum in continuous N number of cycle before it, wherein N can be 0 or 1 grade other positive integers.
In the vertical stack discovery method that the present embodiment provides, what each ports-Extending equipment of CB timing receipts was sent carries it The link layer discovery protocol message of unique identifying information, and parse, obtain unique identifying information in message;According to each timing week The situation of change of the unique identifying information received in phase determines the current state of each ports-Extending equipment so that control bridge according to The unique identification information monitors the presence of the ports-Extending equipment, and carries out the management of corresponding topological network, compared to existing Have in technology and PE equipment is identified using MAC Address, CB judges PE's by the way that whether the MAC Address of PE equipment changes Presence, the actual presence of PE equipment can not be accurately known by this way to manage so that the pipe carried out to PE Manage unreasonable, system is unstable, and the vertical stack of the present embodiment finds that method causes management of the system to port expansion equipment more Adduction is managed, and improves the stability of system.
Embodiment three:
The present embodiment provides a kind of vertical stack and finds device, refers to Fig. 5, and the vertical stack finds that device 5 specifically wraps Include:Unique identification information processing module 51 and sending module 52, wherein unique identification information processing module 51 are used to obtain local terminal The unique identification information of mouth expansion equipment, and unique identification information is encapsulated into link layer discovery protocol message;Sending module 52 are used to link layer discovery protocol message timing cycle being sent to control bridge.
Specifically, to ensure that CB can accurately be managed to port expansion equipment PE, it is necessary to which obtain can be with unique mark The unique identification information of the PE, then judge that PE is online or offline by the unique identification information.So PE need to CB reports its unique identification information.PE has found the unique identification information processing module 51 in device 5 particular by vertical stack Its unique identification information is obtained from bottom, and the unique identification information is encapsulated in LLDP messages, then establishes and communicates with CB, The LLDP messages are occurred to CB.
Further, unique identification information processing module 51 is additionally operable to:It is unique defined in link layer discovery protocol message The field name of the attribute information of identification port expansion equipment, and it is stored in link layer discovery protocol message using sequence number information as value In.I.e. the unique identification information of the PE is stored in LLDP messages by unique identification information processing module 51, specifically new The storage location of unique identification information in the LLDP messages is stored in subtype fields, then using unique identification information as value It is stored in the Value fields in LLDP messages.
Further, the unique identification information in the present embodiment is specifically as follows the sequence number information being solidificated in PE, Can be that other can be not especially limited with the unique mark PE other identification informations, the present embodiment to this.In addition, this implementation The vertical stack that example provides finds that device can be specifically arranged in PE, for obtaining the unique identification information and attribute letter of the PE Breath reports CB.
LLDP message timing cycles are sent to control bridge by sending module 52, are specifically included:By the unique mark of the PE After Information encapsulation is in above-mentioned LLDP messages, the LLDP messages are sent to CB, and in order that CB can include PE by this The LLDP messages of unique identification information, judging the presence of the PE, the PE needs periodically to send the LLDP messages to CB, Keep-alive is carried out by the LLDP messages.
The vertical stack that the present embodiment provides finds device, is believed by the unique mark of ports-Extending equipment where obtaining it Breath, and unique identification information is encapsulated into link layer discovery protocol message;Link layer discovery protocol message timing cycle is sent out Give control bridge so that control bridge monitors the presence of the ports-Extending equipment according to the unique identification information, goes forward side by side The management of the corresponding topological network of row so that management of the system to port expansion equipment is more reasonable, improves the stability of system.
Example IV:
The present embodiment provides a kind of vertical stack and finds device, refers to Fig. 6, and the vertical stack finds that device 6 specifically wraps Include:Message processing module (MPM) 61 and state setting module 62, wherein, message processing module (MPM) 61 is set for each ports-Extending of timing receipt The link layer discovery protocol message with its unique identifying information that preparation is sent, and parse, obtain in message unique identification letter Breath;State setting module 62 is used to determine that each port is expanded according to the situation of change of the unique identifying information received in each timing cycle Open up the current state of equipment.The vertical stack finds that device 6 is specifically located in CB.
Communicated specifically, CB establishes with PE, connecing for the timing of message processing module (MPM) 61 in device 6 is found by vertical stack The LLDP messages that PE device periodically is sent are received, then, is parsed from the LLDP messages and obtains the PE being stored in LLDP messages The unique identification information of equipment.It can be specifically that CB receives the LLDP messages that PE is reported, know that storage should from Subtype fields The field of unique identification information, then from the unique identification information for reading out storage from Value according to the field.This is uniquely marked Know the sequence number information that information can be specifically PE, can also other can be used for unique mark PE identification information.
Fig. 6 is referred to, the vertical stack that the present embodiment provides finds that device 6 also includes topological network maintenance module 63, opened up Network maintenance module 63 of rushing the net is used to for the attribute information and unique mark of online each ports-Extending equipment be believed according to current state Breath is established and Dynamic Maintenance ports-Extending equipment topological network.
Specifically, CB is safeguarded after the LLDP messages that PE is reported are received by message processing module (MPM) 61 by topological network Module 63 is established according to the LLDP messages and safeguards the topological network between PE, and the LLDP messages include PE attribute information And unique identification information, CB is established according to the attribute information and unique identification information and Dynamic Maintenance current state is online PE Topological network, specifically include:If the CB is the LLDP for including PE unique identification informations of the PE equipment received for the first time Message, then need the unique identification information of the PE and other attribute informations being saved in topological network;If CB be second or X time receives the PE, then the LLDP messages received according to it to the status information of the PE in the topological network and other enter Row adjustment.
The state setting module 62 that the present embodiment provides is additionally operable to:When the unique identifying information received is not in ports-Extending During equipment topological network, the current state of ports-Extending equipment corresponding to the unique identifying information is arranged to online, and should In attribute information and unique identification information the deposit ports-Extending equipment topological network of ports-Extending equipment;It is unique when what is received When identification information is in ports-Extending equipment topological network, the current of ports-Extending equipment corresponding to the unique identifying information is judged State is online;For the unique identifying information in ports-Extending equipment topological network, when its current period and before When not all being received in continuous N number of cycle, the current state of ports-Extending equipment corresponding to the unique identifying information is judged To be offline, and the unique identifying information and the attribute information of its corresponding ports-Extending equipment is topological from ports-Extending equipment Deleted in network, N is the positive integer more than or equal to 0.The bag sent when the first time of message processing module (MPM) 61 by receiving PE After the LLDP messages of the unique identification information containing PE, if now CB perceives PE and reached the standard grade, state setting module 62 judges should PE equipment is online, and then the PE device identifications are presence by CB, and No. subtype extraction specified according to LLDP messages PE unique identification information, by unique identification information storage to opening up in general network structure, and by other attribute informations of the PE It is also stored into topological network.Then the LLDP messages that the periodic receipt PE of message processing module (MPM) 61 is sent, from the LLDP messages Middle extraction PE unique identification information, by state setting module 62 by the unique identification information and storage to opening up in general network structure Unique identification information contrasted, if the two is consistent, it is online to judge the PE, keeps it to identify online constant.In addition, also One can be set to be used to judge the not online threshold values of PE, if the number that the CB does not receive the LLDP messages that PE is reported continuously reaches The threshold value, then it is that PE veneers were not online that state setting module 62, which judges to be somebody's turn to do, however, it is determined that PE veneers are offline, then carry out corresponding offline The relevant information of the PE veneers of storage, including unique identification information are as deleted in processing, the offline processing from topological network, Other attribute informations such as information in place.The threshold value is specially the sum in current period and continuous N number of cycle before it, and wherein N can To be 0 or 1 grade other positive integers.
The vertical stack that the present embodiment provides finds device, is arranged on CB so that each ports-Extending of CB timing receipts is set The link layer discovery protocol message with its unique identifying information that preparation is sent, and parse, obtain in message unique identification letter Breath;The current state of each ports-Extending equipment is determined according to the situation of change of the unique identifying information received in each timing cycle. So that control bridge monitors the presence of the ports-Extending equipment according to the unique identification information, and carry out corresponding topological network Management so that management of the system to port expansion equipment is more reasonable, improves the stability of system.
Embodiment five:
The present embodiment manages irrational problem for topological network present in prior art, there is provided a kind of vertical stack It was found that method, refers to Fig. 7, it is specifically included:
Step S701, establish PE and CB vertical stack network.
Specifically, being used for CB and PE mutual discovery between PE and CB by using LLDP messages, then CB passes through PE's CSP messages find the port of the PE, BEP ports corresponding to establishment, and so as to set up vertical stack network, PE and CB can be by the two Between extended channel interact.
Step S702, PE obtains its sequence number information, and is sent to CB.
Specifically, PE obtains its sequence number information from bottom, the sequence number information is encapsulated in LLDP messages, then will The LLDP messages occur to CB.PE sequence number information is a kind of unique mark of the PE, and the sequence number information specifically can be with It is the sequence number of PE equipment, the sequence number is the numerical value of one 64, and equipment is just solidificated in after dispatching from the factory in the PE equipment, for only One one piece of PE of mark, the sequence number is for example:18446744073709551615.After PE gets the sequence number, by what is got Sequence number is encapsulated in LLDP messages.
Further, in the present embodiment, the LLDP messages comprising its sequence number information are sent to CB by PE, are periodic It is transmitted, i.e. PE periodically sends its sequence number information to CB and carries out keep-alive.
The LLDP messages that the present embodiment provides are, it is necessary to which a new subtype defined in LLDP messages, adds for depositing The sequence-number field added.The form of the LLDP messages after redefining is as shown in embodiment one, wherein subtype identification messages Middle storage can deposit the sequence number of one piece of PE equipment of unique mark with the field of the sequence number of one equipment of unique mark, Value Information, such as foregoing sequences number:18446744073709551615.
Step S703, CB receive the PE sequence number informations that PE is sent, and PE state is judged according to the sequence number information.
Specifically, after CB receives the LLDP messages comprising PE sequence number informations of PE transmissions for the first time, if now CB Perceive PE to have reached the standard grade, be online by the PE device identifications, and No. subtype extraction PE specified according to LLDP messages sequence Number information, by sequence number information storage into topology network architecture.Then the LLDP messages that periodic receipt PE is sent, from this PE sequence number information is extracted in LLDP messages, by the sequence number information and is stored to the sequence number information in topology network architecture Contrasted, if the two is consistent, it is online to judge the PE, keeps it to identify online constant.Furthermore it is also possible to a use is set In judging the not online threshold values of PE, if the number that the CB does not receive the LLDP messages that PE is reported continuously reaches the threshold value, judge Should be not online for PE veneers, however, it is determined that PE veneers are offline, then carry out corresponding offline processing.The threshold value can be specifically 3 or 5 etc. Any positive integer more than or equal to 1.
Step S704, perform corresponding offline processing for the PE in down status and operate.
Specifically, after original is offline in the PE of line, corresponding offline processing is performed to the PE, is as deleted from topological network The relevant information of the PE veneers of storage, including veneer sequence number information, information in place etc..
In the vertical stack discovery method that the present embodiment provides, in addition to:Provide the user webmaster query interface, Yong Huke It is systematic difference with the PE or the correlation attribute information of ECP Extended Capabilities Port inquired about by the webmaster query interface in topological network Bring convenience.And foregoing threshold value can be adjusted as the case may be by user.
The vertical stack that the present embodiment provides finds method, and CB is sentenced by detecting whether to receive the unique mark of PE equipment The presence for the PE equipment of breaking, relative in the prior art, by the MAC Address of PE equipment judge the PE equipment in wire State, it can more accurately know the presence of the PE equipment so that management of the system to PE equipment is more convenient, reasonable; And avoid when the MAC Address change of PE equipment, the status information of PE equipment constantly changes so that CB-PFU ports occur Concussion, causes all PE equipment under this port constantly to reach the standard grade offline, asking for influence is brought on the stability of system topological network Topic, improve the stability of system.
Obviously, those skilled in the art should be understood that each module of the embodiments of the present invention or each step can be used General computing device realizes that they can be concentrated on single computing device, or be distributed in multiple computing device institutes On the network of composition, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to by they It is stored in computer-readable storage medium (ROM/RAM, magnetic disc, CD) and is performed by computing device, and in some cases, can With to perform shown or described step different from order herein, or they are fabricated to each integrated circuit die respectively Block, or the multiple modules or step in them are fabricated to single integrated circuit module to realize.So the present invention does not limit Combined in any specific hardware and software.
Above content is to combine the further description that specific embodiment is made to the embodiment of the present invention, it is impossible to is recognized The specific implementation of the fixed present invention is confined to these explanations.For general technical staff of the technical field of the invention, Without departing from the inventive concept of the premise, some simple deduction or replace can also be made, should all be considered as belonging to the present invention Protection domain.

Claims (10)

1. a kind of vertical stack finds method, including:
The unique identification information of the port expansion equipment is obtained, and the unique identification information is encapsulated into Link Layer Discovery Protocol In message;
The link layer discovery protocol message timing cycle is sent to control bridge.
2. vertical stack according to claim 1 finds method, it is characterised in that the unique identification information is to be solidificated in Sequence number information in ports-Extending equipment;The described unique identification information is encapsulated into link layer discovery protocol message is wrapped Include:The field name of the attribute information of unique mark ports-Extending equipment defined in link layer discovery protocol message, and by described in Sequence number information is stored in the link layer discovery protocol message as value.
3. a kind of vertical stack finds method, including:
The link layer discovery protocol message with its unique identifying information that each ports-Extending equipment of timing receipt is sent, and solve Unique identifying information in analysis, acquisition message;
The current of each ports-Extending equipment is determined according to the situation of change of the unique identifying information received in each timing cycle State.
4. vertical stack according to claim 3 finds method, it is characterised in that also includes:According to current state be The attribute information and unique identification information of each ports-Extending equipment of line are established and Dynamic Maintenance ports-Extending equipment topological network.
5. vertical stack according to claim 4 finds method, it is characterised in that described according to being received in each timing cycle The situation of change of the unique identifying information determine that the current state of each ports-Extending equipment includes:
It is when the unique identifying information received is not in the ports-Extending equipment topological network, the unique identifying information is corresponding The current state of ports-Extending equipment be arranged to online, and by the attribute information and unique identification information of the ports-Extending equipment It is stored in the ports-Extending equipment topological network;
When the unique identifying information received is in the ports-Extending equipment topological network, the unique identifying information pair is judged The current state for the ports-Extending equipment answered is online;
For the unique identifying information in the ports-Extending equipment topological network, when its current period and before it is continuous When not all being received in N number of cycle, under the current state that judges ports-Extending equipment corresponding to the unique identifying information is Line, and the unique identifying information and the attribute information of its corresponding ports-Extending equipment is topological from the ports-Extending equipment Deleted in network, N is the positive integer more than or equal to 0.
6. a kind of vertical stack finds device, including:
Unique identification information processing module, uniquely marked for obtaining the unique identification information of the port expansion equipment, and by described Information encapsulation is known into link layer discovery protocol message;
Sending module, for the link layer discovery protocol message timing cycle to be sent into control bridge.
7. vertical stack according to claim 6 finds device, it is characterised in that the unique identification information is to be solidificated in Sequence number information in ports-Extending equipment;
The unique identification information processing module is additionally operable to:The unique mark ports-Extending defined in link layer discovery protocol message The field name of the attribute information of equipment, and be stored in the sequence number information as value in the link layer discovery protocol message.
8. a kind of vertical stack finds device, including:
Message processing module (MPM), the hair of the link layer with its unique identifying information sent for each ports-Extending equipment of timing receipt Existing protocol massages, and parse, obtain unique identifying information in message;
State setting module, for determining each end according to the situation of change of the unique identifying information received in each timing cycle The current state of mouth expansion equipment.
9. vertical stack according to claim 8 finds device, it is characterised in that also includes:Topological network maintenance module, It is the attribute information of online each ports-Extending equipment and unique mark that the topological network maintenance module, which is used for according to current state, Know information and establish simultaneously Dynamic Maintenance ports-Extending equipment topological network.
10. vertical stack according to claim 9 finds device, it is characterised in that the state setting module is additionally operable to:
It is when the unique identifying information received is not in the ports-Extending equipment topological network, the unique identifying information is corresponding The current state of ports-Extending equipment be arranged to online, and by the attribute information and unique identification information of the ports-Extending equipment It is stored in the ports-Extending equipment topological network;
When the unique identifying information received is in the ports-Extending equipment topological network, the unique identifying information pair is judged The current state for the ports-Extending equipment answered is online;
For the unique identifying information in the ports-Extending equipment topological network, when its current period and before it is continuous When not all being received in N number of cycle, under the current state that judges ports-Extending equipment corresponding to the unique identifying information is Line, and the unique identifying information and the attribute information of its corresponding ports-Extending equipment is topological from the ports-Extending equipment Deleted in network, N is the positive integer more than or equal to 0.
CN201610512630.6A 2016-06-30 2016-06-30 Longitudinal stacking discovery method and device Active CN107566143B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610512630.6A CN107566143B (en) 2016-06-30 2016-06-30 Longitudinal stacking discovery method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610512630.6A CN107566143B (en) 2016-06-30 2016-06-30 Longitudinal stacking discovery method and device

Publications (2)

Publication Number Publication Date
CN107566143A true CN107566143A (en) 2018-01-09
CN107566143B CN107566143B (en) 2022-02-25

Family

ID=60969950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610512630.6A Active CN107566143B (en) 2016-06-30 2016-06-30 Longitudinal stacking discovery method and device

Country Status (1)

Country Link
CN (1) CN107566143B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110531630A (en) * 2019-08-26 2019-12-03 青岛海信智慧家居***股份有限公司 A kind of method and device controlling controlled device
CN114520793A (en) * 2022-01-20 2022-05-20 浪潮思科网络科技有限公司 Management method, equipment and medium for switch stacking system
CN114827003A (en) * 2022-03-21 2022-07-29 浪潮思科网络科技有限公司 Topology election method, device, equipment and medium of distributed system
CN114827003B (en) * 2022-03-21 2024-05-14 浪潮思科网络科技有限公司 Topology election method, device, equipment and medium of distributed system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102377679A (en) * 2011-12-06 2012-03-14 烽火通信科技股份有限公司 Method for realizing link discovery and management in FTTX access system
CN102769558A (en) * 2011-05-06 2012-11-07 中兴通讯股份有限公司 Method, system and controlling bridge for acquiring port extension topology information
US20130176900A1 (en) * 2012-01-05 2013-07-11 Entropic Communications, Inc. Discovery in MoCA Networks
CN103780389A (en) * 2012-10-26 2014-05-07 华为技术有限公司 Port based authentication method and network device
CN103858388A (en) * 2013-10-08 2014-06-11 华为技术有限公司 Loop detection method and apparatus
CN104618147A (en) * 2015-01-06 2015-05-13 杭州华三通信技术有限公司 Longitudinally stacked system management method and system
CN104935509A (en) * 2015-04-30 2015-09-23 杭州华三通信技术有限公司 Method and apparatus of avoiding loop generation in vertical stack system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769558A (en) * 2011-05-06 2012-11-07 中兴通讯股份有限公司 Method, system and controlling bridge for acquiring port extension topology information
US20140086098A1 (en) * 2011-05-06 2014-03-27 Zte Corporation Method, System and Controlling Bridge for Obtaining Port Extension Topology Information
CN102377679A (en) * 2011-12-06 2012-03-14 烽火通信科技股份有限公司 Method for realizing link discovery and management in FTTX access system
US20130176900A1 (en) * 2012-01-05 2013-07-11 Entropic Communications, Inc. Discovery in MoCA Networks
CN103780389A (en) * 2012-10-26 2014-05-07 华为技术有限公司 Port based authentication method and network device
CN103858388A (en) * 2013-10-08 2014-06-11 华为技术有限公司 Loop detection method and apparatus
CN104618147A (en) * 2015-01-06 2015-05-13 杭州华三通信技术有限公司 Longitudinally stacked system management method and system
CN104935509A (en) * 2015-04-30 2015-09-23 杭州华三通信技术有限公司 Method and apparatus of avoiding loop generation in vertical stack system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110531630A (en) * 2019-08-26 2019-12-03 青岛海信智慧家居***股份有限公司 A kind of method and device controlling controlled device
CN114520793A (en) * 2022-01-20 2022-05-20 浪潮思科网络科技有限公司 Management method, equipment and medium for switch stacking system
CN114827003A (en) * 2022-03-21 2022-07-29 浪潮思科网络科技有限公司 Topology election method, device, equipment and medium of distributed system
CN114827003B (en) * 2022-03-21 2024-05-14 浪潮思科网络科技有限公司 Topology election method, device, equipment and medium of distributed system

Also Published As

Publication number Publication date
CN107566143B (en) 2022-02-25

Similar Documents

Publication Publication Date Title
CN100382517C (en) Network QoS test method and system
US11012261B2 (en) Associating VXLANs with tunnels
CN108512760A (en) The method for routing of QoS of survice is ensured based on SDN
CN100558037C (en) A kind of method for transmission processing of Frame
CN1996925A (en) Sending and receiving method and system for link aggregation method, device and MAC frame
CN105024985A (en) Message processing method and apparatus
WO2012088910A1 (en) Method and system for detecting connectivity fault
CN109728967A (en) Communication quality detection method, communication equipment and system
CN106803811A (en) The acquisition methods and device of a kind of routing iinformation
CN100518094C (en) A method for searching network element device and establishing topology connection in network management system
CN103188120A (en) Detection method for packet loss of multicast business and device thereof
CN107566143A (en) A kind of vertical stack finds method and apparatus
CN111327527B (en) Flow forwarding method and system, SDN controller and computer readable storage medium
CN107277652A (en) Across the disk LACP link aggregation methods and device of PON access systems
CN101227479B (en) Method and apparatus of topology linkage
CN109104376A (en) A kind of retransmission method of data, device, stack equipment and computer-readable medium
CN112887312B (en) Slow protocol message processing method and related device
CN112583736A (en) Signaling message distribution method, device, equipment and medium
CN107547444A (en) A kind of flow statistical method and switching equipment
Cisco T
Cisco T
Cisco T
US8542701B2 (en) Method and device for determining timeslot configuration in TDM transmission
CN102164114B (en) Processing method for medium access control layer protocol data unit and machine terminal
CN110233713A (en) A kind of multi link communications method and system based on LLDP message

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200629

Address after: 518057 Zhongxing building, A3-01, A3-02, Nanshan District hi tech Industrial Park, Shenzhen, Guangdong

Applicant after: Shenzhen ZTE Technical Service Co.,Ltd.

Address before: 518057 Nanshan District science and Technology Industrial Park, Guangdong high tech Industrial Park, ZTE building

Applicant before: ZTE Corp.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant