CN106921527A - The processing method and processing device of stacking conflict - Google Patents

The processing method and processing device of stacking conflict Download PDF

Info

Publication number
CN106921527A
CN106921527A CN201710289104.2A CN201710289104A CN106921527A CN 106921527 A CN106921527 A CN 106921527A CN 201710289104 A CN201710289104 A CN 201710289104A CN 106921527 A CN106921527 A CN 106921527A
Authority
CN
China
Prior art keywords
vrrp
stacking
notification packets
priority
equipment
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
CN201710289104.2A
Other languages
Chinese (zh)
Other versions
CN106921527B (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
New 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201710289104.2A priority Critical patent/CN106921527B/en
Publication of CN106921527A publication Critical patent/CN106921527A/en
Application granted granted Critical
Publication of CN106921527B publication Critical patent/CN106921527B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • H04L43/062Generation of reports related to network traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0604Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time
    • H04L41/0609Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time based on severity or priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0866Checking the configuration
    • H04L41/0873Checking configuration conflicts between network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Mining & Analysis (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This disclosure relates to a kind of processing method and processing device of stacking conflict, the method is applied to the main equipment in the son stacking formed after stacking splitting, and the equipment in stacking enables VRRP agreements, and the method includes:When a VRRP notification packets are received, the stacking splitting is determined;The VRRP states of itself are determined according to a VRRP notification packets;When it is determined that the VRRP states of itself are main state, the 2nd VRRP notification packets are sent;When it is determined that the VRRP states of itself are standby state, the business interface of itself residing stacking is closed.Thus, it is possible to detect stacking splitting using the VRRP interfaces of itself, link is detected without configuring a special stacking splitting, save the port resource of equipment.

Description

The processing method and processing device of stacking conflict
Technical field
This disclosure relates to communication technical field, more particularly to a kind of processing method and processing device of stacking conflict.
Background technology
Intelligent elastic framework (English:Intelligent Resilient Framework, abbreviation:IRF it is) a kind of virtual Change technology, its core concept is to connect multiple devices by stacking opening to form stacking link, so as to this multiple devices are virtual Turn to a stack equipment, referred to as one stacking, wherein every equipment is referred to as member device.
When the stacking link between member device disconnects in a stack, stacking splitting can be caused.Meeting after one stacking splitting One stacking of each self-forming, divides the configuration that the stacking for being formed can inherit original stacking, so, two can be formed in a network Individual configuration identical stacking, so as to configuration conflict occur.
In order to be detected to stacking splitting and be processed, in the prior art, (English is detected by many activation:Multi- Active Detection, referred to as:MAD) realize, for example, two-way converting detection (English:Bidirectional Forwarding Detection, referred to as:BFD MAD) is realized, however, BFD MAD need to configure special detection chain Road, wastes the port resource of equipment.
The content of the invention
In view of this, the present disclosure proposes a kind of processing method and processing device of stacking conflict.
According to the one side of the disclosure, there is provided a kind of processing method of stacking conflict, formed after being applied to stacking splitting Son stacking in main equipment, equipment in the stacking enables VRRP agreements, and the method includes:
When a VRRP notification packets are received, the stacking splitting is determined;
The VRRP states of itself are determined according to a VRRP notification packets;
When it is determined that the VRRP states of itself are main state, the 2nd VRRP notification packets are sent;When it is determined that the VRRP of itself When state is standby state, the business interface of itself institute virgin stacking is closed.
In a kind of possible implementation, VRRP priority is carried in VRRP notification packets;
It is described that the VRRP states of itself are determined according to a VRRP notification packets, including:
Obtain the VRRP priority in a VRRP notification packets;
Compare a VRRP priority and the 2nd VRRP priority of itself, wherein, VRRP priority equipment high VRRP states be main state, the VRRP states of the low equipment of VRRP priority are standby state.
In a kind of possible implementation, the VRRP obtained in a VRRP notification packets is preferential Level, including:
Obtain the first authentication password carried in a VRRP notification packets;
When first authentication password is consistent with the second authentication password that itself is stored, the VRRP notices are obtained A VRRP priority in message;When the second authentication password of first authentication password and itself storage is inconsistent, lose Abandon a VRRP notification packets.
In a kind of possible implementation, the up business interface of equipment in the stacking and descending business connect VRRP agreements are enabled on mouth respectively.
According to another aspect of the present disclosure, there is provided a kind of processing unit of stacking conflict, shape after stacking splitting is applied to Into son stacking in main equipment, equipment in the stacking enables VRRP agreements, and the processing unit includes:
Detection module, for when a VRRP notification packets are received, determining the stacking splitting;
State determining module, the VRRP states for determining the main equipment according to a VRRP notification packets;
Control module, for when the state determining module determines that VRRP states are main state, sending the 2nd VRRP Notification packet;When it is standby state that the state determining module determines VRRP states, the main equipment institute virgin stacking is closed Business interface.
In a kind of possible implementation, VRRP priority is carried in VRRP notification packets;
The state determining module specifically for:
Obtain the VRRP priority in a VRRP notification packets;
Compare the 2nd VRRP priority of a VRRP priority and the main equipment, wherein, VRRP priority is high The VRRP states of equipment be main state, the VRRP states of the low equipment of VRRP priority are standby state.
In a kind of possible implementation, the state determining module is in a VRRP notification packets are obtained During first VRRP priority, specifically for:
Obtain the first authentication password carried in a VRRP notification packets;
When first authentication password is consistent with the second authentication password that the main equipment is stored, described first is obtained A VRRP priority in VRRP notification packets;When the second certification that first authentication password and the main equipment are stored is close When code is inconsistent, a VRRP notification packets are abandoned.
In a kind of possible implementation, the up business interface of equipment in the stacking and descending business connect VRRP agreements are enabled on mouth respectively.
The disclosure can with by whether receive VRRP notification packets detect stacking whether divide, without configure one specially The stacking splitting detection link of door, can save the port resource of equipment.
Also, the disclosure is in the case of stacking splitting, the VRRP of itself that can be determined according to VRRP notification packets State, to reduce the possibility of stacking conflict, improves network reliability come the business interface for determining whether to be stacked residing for closing itself.
In a kind of possible implementation, the disclosure is by the up business interface of equipment in a stack and descending VRRP agreements are enabled on business interface respectively, the reliability of the treatment of stacking conflict can be strengthened.
In a kind of possible implementation, the disclosure can prevent the influence that other VRRP protocol massages are caused, or Erroneous judgement caused by infected information.
In a kind of possible implementation, the disclosure can determine the VRRP of itself according to the comparing of VRRP priority State.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, the further feature and aspect of the disclosure will become It is clear.
Brief description of the drawings
Comprising in the description and accompanying drawing and the specification of the part that constitutes specification together illustrates the disclosure Exemplary embodiment, feature and aspect, and for explaining the principle of the disclosure.
Fig. 1 is the schematic diagram of the stacking networking in the embodiment of the present disclosure.
Fig. 2 is a kind of flow chart of the processing method of the stacking conflict according to an exemplary embodiment.
Fig. 3 is an a kind of flow for example of the processing method of the stacking conflict according to an exemplary embodiment Figure.
Fig. 4 is a kind of structured flowchart of the processing unit of the stacking conflict according to an exemplary embodiment.
Specific embodiment
Describe various exemplary embodiments, feature and the aspect of the disclosure in detail below with reference to accompanying drawing.It is identical in accompanying drawing Reference represent the same or analogous element of function.Although the various aspects of embodiment are shown in the drawings, remove Non-specifically is pointed out, it is not necessary to accompanying drawing drawn to scale.
Special word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary " Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the disclosure, numerous details are given in specific embodiment below. It will be appreciated by those skilled in the art that without some details, the disclosure can equally be implemented.In some instances, for Method well known to those skilled in the art, means, element and circuit are not described in detail, in order to highlight the purport of the disclosure.
Fig. 1 is the schematic diagram of the stacking networking in the embodiment of the present disclosure.As shown in figure 1, the stacking networking includes being located at together Member device A, member device B, member device C and member device D in one stacking 1, stacking 1 can be with outside equipment Such as interchanger E (Fig. 1 is not shown) communication message.Wherein, member device A is the main equipment of the stacking 1, member device B, member Equipment C and the slave unit that member device D is the stacking 1, and member device A to member device D this four member devices can be with Enable Virtual Router Redundancy Protocol (English:Virtual Router Redundancy Protocol, referred to as:VRRP).Separately Outward, interchanger E may be located at the upstream or downstream of stacking 1.
When 1 formation is stacked, the respective physical interfaces of member device A to member device D can associate a business interface, should Business interface is logic interfacing, and VRRP virtual IP address is configured with the business interface, and each physical interface has one therewith Corresponding service priority, after multiple physical interface associated services interfaces, by the comparing of service priority, makes business preferential Level highest physical interface is active, and the relatively low physical interface of other service priority is then in unactivated state, And service message can be sent by the effective physical interface.If the member device A in Fig. 1 is used as the master for stacking 1 Equipment, then, the service priority of the service priority higher than other member devices of member device A, the physics of member device A connects Mouth is active and other member device physical interfaces are in unactivated state.Wherein, the interface of member device is (for example Business interface) on configure VRRP virtual IP address, just can be understood as enabling VRRP agreements over that interface, the interface can also It is referred to as VRRP interfaces.
The business interface can be ethernet redundancy interface (English:Redundant Ethernet, referred to as:RETH connects Mouthful), aggregation interface or VLAN interface etc..
Due to member device A to member device D, this four member devices are in same stacking, therefore this four members set Stacking is formed by IRF links between standby, member device A is connected with member device B, and member device B is connected with member device C, Member device C is connected with member device D.Certainly, the generation type of stacking 1 is not limited to chain type, it is also possible to ring type etc..
Before the division of stacking 1, it is a stack equipment that this four member devices of member device A to member device D are virtual, 1 is stacked, the stacking 1 is the major state of VRRP, the main equipment of the stacking 1 can send VRRP notification packets to interchanger E. Interchanger E is received after the VRRP notification packets transmitted by the main equipment of the stacking 1, and interchanger E can externally forward this VRRP notification packets.
After the VRRP notification packets transmitted by interchanger E receives the stacking 1, interchanger E can externally multicast or Broadcast the VRRP notification packets.Wherein, interchanger E multicasts or the VRRP notification packets are broadcasted can include:If interchanger E exists MAC Address cannot be matched in forwarding-table item, then interchanger E is in other in addition to the interface for receiving the VRRP notification packets Interface forwards the VRRP notification packets, because when stacking 1 does not divide, stacking 1 is considered as same equipment by interchanger E, therefore hands over The VRRP notification packets will not be forwarded to the stacking 1 by the E that changes planes, and the main equipment in stacking 1 would not also receive VRRP notices Message.
In four member devices in Fig. 1, when the IRF links between member device disconnect, stacking 1 can be caused to divide. Assuming that the connection between member device B and member device C disconnects, then stack 1 and split into sub- stacking 2 and son stacking 3, wherein, son Stacking 2 includes member device A and member device B, and sub- stacking 3 includes member device C and member device D.Divide in stacking 1 When forming two son stackings, per height, stacking can respectively elect the main equipment of itself, such as the main equipment in son stacking 2 is into Member's device A, the main equipment in sub- stacking 3 is member device C.
Now, because each member device all enables VRRP agreements, then, the main equipment of two son stackings all can be by industry Business interface (i.e. VRRP interfaces) is sent out VRRP notification packets.The main equipment of son stacking 2 and the main equipment of son stacking 3 are to exchange Machine E sends VRRP notification packets, then interchanger E can forward the VRRP notification packets for receiving.In other words, 1 division is being stacked Afterwards, sub- stacking 2 and son stacking 3 can receive the VRRP notification packets of other side's transmission.
For ease of more clearly describing the disclosure, the embodiment of the present disclosure is entered by taking the stacking networking shown in Fig. 1 as an example below Row is elaborated.
Fig. 2 is a kind of flow chart of the processing method of the stacking conflict according to an exemplary embodiment, the treatment side Method can apply to the main equipment in the son stacking formed after stacking splitting, and the equipment in stacking enables VRRP agreements, for example, should Processing method can apply to the member device A in Fig. 1, and the included member device A to member device D of stacking can be enabled VRRP agreements.As shown in Fig. 2 the processing method may include steps of.
In step S210, when a VRRP notification packets are received, stacking splitting is determined.
As described above, before the division of stacking 1, stacking 1 will not receive VRRP notification packets, and stack 1 division Afterwards, stacking 1 is split into two son stackings, i.e. son stacking 2 and son stacking 3, and now son stacking 2 and son stacking 3 all can be by itself Business interface be sent out VRRP notification packets, then, the two will receive the VRRP notification packets transmitted by other side, because This, sub- stacking 2 and son stacking 3 can be with according to whether receive VRRP notification packets (the i.e. VRRP notices transmitted by other side Message) determine whether stacking 1 divides.
If member device A will not receive any VRRP notification packets as the main equipment of stacking 1, and if Stacking 1 divides, and member device A can then inherit the main equipment of the son stacking 2 being configured as where it of stacking 1, and split off Another height stacking 3 then can again select main equipment of the member device therein as the sub- stacking 3, such as member sets Standby C as sub- stacking 3 main equipment.
After stacking splitting, many height stacking that division is obtained inherits the configuration of stacking, now occurs that multiple is matched somebody with somebody Identical son stacking is put, so as to cause stacking conflict, the forwarding of service message is influenceed, so in order to avoid there is stacking conflict Situation is, it is necessary to carry out the treatment of stacking conflict to suppress influence.
In step S230, the VRRP states of itself are determined according to an above-mentioned VRRP notification packets.
Multiple member devices are each configured with VRRP and compare parameter, and the comparing parameter is carried in VRRP notification packets, is connect The equipment for receiving VRRP notification packets can be by the comparing parameter carried in the VRRP notification packets and itself being configured Compare parameter to be compared, so that it is determined that the VRRP states of itself.
Before stacking splitting, this is stacked as a VRRP equipment, and based on the VRRP states of the main equipment of the stacking (master) state.After the stacking splitting, each height in many height stacking that division is obtained stacks to form one VRRP equipment.
Due to there is multiple VRRP equipment after stacking splitting, can there is activestandby state, multiple VRRP in multiple VRRP equipment Equipment can according to a received VRRP notification packets re-elect out VRRP equipment that VRRP states are main state and VRRP states are the VRRP equipment of standby (backup) state.
In the stacking 1 shown in Fig. 1, in member device A to member device D, the service priority of member device A is most Height, so main equipments of the member device A as stacking 1, stacks 1 and send service message by the physical interface of member device A.
Before the division of stacking 1, stacking 1 is a VRRP equipment, when stacking 1 splits into sub- stacking 2 and son stacking 3, Son stacking 2 forms a VRRP equipment, and sub- stacking 3 forms another VRRP equipment.
Preferably, the comparing parameter can be VRRP priority.The VRRP priority is original in VRRP notification packets Compare parameter.By the VRRP priority, multiple equipment for enabling VRRP agreements can be made to pass through the interaction of VRRP notification packets, Negotiate the equipment that a VRRP state is main state.The treatment foundation of stacking conflict is carried out by the VRRP priority, can be with The form of original VRRP notification packets is not changed, such that it is able to enable this programme to be fitted in the case where VRRP agreements are not changed With the scope of application of lifting this programme.
In step s 250, when it is determined that the VRRP states of itself are main state, the 2nd VRRP notification packets are sent;When true When the fixed VRRP states of itself are standby state, the business interface of itself institute virgin stacking is closed.
The main equipment of group stacking is when determining that the VRRP states of itself are main state, then can continue to be sent out VRRP to lead to Message is accused, to proceed division detection, and the folded business forwarding capability of initial pile is inherited;The main equipment of group stacking determines itself VRRP states when being standby state, in order to avoid the stacking conflict in network, close the business interface of itself, make only to be deposited in network Worked in a stacking.
In the stacking 1 shown in Fig. 1, sub- stacking 2 and son stacking 3 are split into stacking 1, wherein, the main equipment of sub- stacking 2 For the main equipment of member device A and son stacking 3 is member device C.If member device A is according to the son stacking 3 for receiving VRRP notification packets transmitted by member device C, and determine that the VPPR states of the son stacking 2 residing for itself are main state, then Member device A continues to be sent out VRRP notification packets.If member device C is received transmitted by the member device A of sub- stacking 2 VRRP notification packets, and determine that the VPPR states of the son stacking 3 residing for itself are standby state, then member device C closes son The business interface of stacking 3.
Therefore, the disclosure can detect whether stacking divides by the way that whether VRRP interfaces receive VRRP notification packets, This causes that a special stacking splitting detection link need not be configured, and saves the interface resource of equipment.Also, the disclosure is in stacking In the case of division, the VRRP states of itself that can be determined according to VRRP notification packets determine whether close itself residing for The business interface of son stacking, to reduce the possibility of stacking conflict, improves network reliability.
In a kind of possible implementation, equipment in above-mentioned stacking up business interface and descending business interface It is upper to enable VRRP agreements respectively.It is empty different VRRP to be configured in the up business interface of VRRP equipment or descending business interface IP address.
Thus, assisted by enabling VRRP on the up business interface of equipment in a stack and descending business interface respectively View, can strengthen the reliability of the treatment of stacking conflict.
Fig. 3 is an a kind of flow for example of the processing method of the stacking conflict according to an exemplary embodiment Figure.In a kind of possible implementation, VRRP priority is carried in VRRP notification packets, also, as shown in figure 3, at this Reason method may include steps of.
In step S310, when by VRRP interfaces to a VRRP notification packets, stacking splitting is determined.Specifically Description may refer to the explanation of above-mentioned steps S210, will not be repeated here.
In step S330, the VRRP priority in a VRRP notification packets is obtained.
Before a VRRP notification packets are parsed, entrained certification in a VRRP notification packets can be first obtained close Code.When the second authentication password that the first authentication password got from a VRRP notification packets is stored with itself is consistent When, can further parse a VRRP notification packets;When the first authentication password and inconsistent the second authentication password, abandon First VRRP notification packets, so as to avoid the malicious attack in network, lift the reliability of network.
By after cipher authentication, obtaining the VRRP priority in a VRRP notification packets.First VRRP is excellent First level is the VRRP priority of the stacking for sending a VRRP notification packets.The VRRP priority of one stacking is the stacking The VRRP priority of main equipment.The span of VRRP priority is 0 to 255, and numerical value is bigger, shows that VRRP priority is higher. VRRP priority can be set by keeper, and the VRRP priority of each stacking is different.
In the stacking 1 shown in Fig. 1, after stacking 1 splits into sub- stacking 2 and son stacking 3, the main equipment of sub- stacking 2 I.e. member's device A receives the VRRP notification packets that the i.e. stack member apparatus C of main equipment of sub- stacking 3 sends, and member device A can To parse the VRRP notification packets, so as to get the VRRP priority of the member device C entrained by the VRRP notification packets.
In step S350, compare a VRRP priority and the 2nd VRRP priority of itself, wherein, VRRP priority The VRRP states of equipment high are main state, and the VRRP states of the low equipment of VRRP priority are standby state.
After the VRRP priority that member device A gets member device C, member device A can compare member device C VRRP priority and member device A itself VRRP priority.If the VRRP priority and member device A of member device C VRRP priority be respectively 135 and 235, then son stacking 2 VRRP states be main state and son stacking 3 VRRP states be Standby state.
In step S370, when it is determined that the VRRP states of itself are main state, the 2nd VRRP is sent by VRRP interfaces Notification packet;When it is determined that the VRRP states of itself are standby state, the business interface of itself residing stacking is closed.Specific descriptions can Referring to the explanation of above-mentioned steps S250, will not be repeated here.
Thus, the disclosure can determine the VRRP states of itself according to the comparing of VRRP priority.
Optionally, the transmission cycle of VRRP notification packets can be reduced, such that it is able to accelerate the detection speed of stacking splitting.
Fig. 4 is a kind of structured flowchart of the processing unit 400 of the stacking conflict according to an exemplary embodiment.At this Reason device 400 can apply to the main equipment in the son stacking formed after stacking splitting, and the equipment in the stacking enables VRRP associations View, the processing unit 400 can include detection module 410, state determining module 430 and control module 450.
Wherein, detection module 410 is used to, when a VRRP notification packets are received, determine stacking splitting.
State determining module 430, the VRRP states for determining main equipment according to a VRRP notification packets.
Control module 450, for when state determining module 430 determines that VRRP states are main state, sending second VRRP notification packets;When it is standby state that state determining module 430 determines VRRP states, the residing stacking of main equipment is closed Business interface.
In a kind of possible implementation, VRRP priority is carried in VRRP notification packets;Above-mentioned state determines mould Block 430 specifically for:Obtain the VRRP priority in a VRRP notification packets;Compare a VRRP priority and master sets The 2nd standby VRRP priority, wherein, the VRRP states of VRRP priority equipment high are main state, and VRRP priority is low to be set Standby VRRP states are standby state.
In a kind of possible implementation, above-mentioned state determining module 430 is in a VRRP notification packets are obtained During first VRRP priority specifically for:Obtain the first authentication password carried in a VRRP notification packets;When When one authentication password is consistent with the second authentication password that main equipment is stored, the VRRP obtained in a VRRP notification packets is excellent First level;When the second authentication password of the first authentication password and main equipment storage is inconsistent, a VRRP notification packets are abandoned.
In a kind of possible implementation, the up business interface of the equipment in a stack of processing unit 400 is with VRRP agreements are enabled on capable business interface respectively.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
It is described above the presently disclosed embodiments, described above is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.In the case of without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport Best explaining principle, practical application or the technological improvement to the technology in market of each embodiment, or lead this technology Other those of ordinary skill in domain are understood that each embodiment disclosed herein.

Claims (8)

1. a kind of processing method of stacking conflict, is applied to the main equipment in the son stacking formed after stacking splitting, the stacking In equipment enable VRRP agreements, it is characterised in that the treating method comprises:
When a VRRP notification packets are received, the stacking splitting is determined;
The VRRP states of itself are determined according to a VRRP notification packets;
When it is determined that the VRRP states of itself are main state, the 2nd VRRP notification packets are sent;When it is determined that the VRRP states of itself When being standby state, the business interface of itself institute virgin stacking is closed.
2. method according to claim 1, it is characterised in that VRRP priority is carried in VRRP notification packets;
It is described that the VRRP states of itself are determined according to a VRRP notification packets, including:
Obtain the VRRP priority in a VRRP notification packets;
Compare a VRRP priority and the 2nd VRRP priority of itself, wherein, VRRP priority equipment high VRRP states are main state, and the VRRP states of the low equipment of VRRP priority are standby state.
3. method according to claim 2, it is characterised in that in acquisition the first VRRP notification packets first VRRP priority, including:
Obtain the first authentication password carried in a VRRP notification packets;
When first authentication password is consistent with the second authentication password that itself is stored, a VRRP notification packets are obtained In a VRRP priority;When the second authentication password of first authentication password and itself storage is inconsistent, institute is abandoned State a VRRP notification packets.
4. according to the method in any one of claims 1 to 3, it is characterised in that the equipment in the stacking is up VRRP agreements are enabled respectively on business interface and descending business interface.
5. a kind of processing unit of stacking conflict, is applied to the main equipment in the son stacking formed after stacking splitting, the stacking In equipment enable VRRP agreements, it is characterised in that the processing unit includes:
Detection module, for when a VRRP notification packets are received, determining the stacking splitting;
State determining module, for determining the VRRP states of itself according to a VRRP notification packets;
Control module, for when the state determining module determines that VRRP states are main state, sending the 2nd VRRP notices Message;When it is standby state that the state determining module determines VRRP states, the industry of the main equipment institute virgin stacking is closed Business interface.
6. device according to claim 5, it is characterised in that VRRP priority is carried in VRRP notification packets;
The state determining module specifically for:
Obtain the VRRP priority in a VRRP notification packets;
Compare the 2nd VRRP priority of a VRRP priority and the main equipment, wherein, VRRP priority is high to be set Standby VRRP states are main state, and the VRRP states of the low equipment of VRRP priority are standby state.
7. device according to claim 6, it is characterised in that the state determining module leads to obtaining a VRRP During accusing the VRRP priority in message, specifically for:
Obtain the first authentication password carried in a VRRP notification packets;
When first authentication password is consistent with the second authentication password that the main equipment is stored, obtains a VRRP and lead to Accuse the VRRP priority in message;When the second authentication password that first authentication password is stored with the main equipment differs During cause, a VRRP notification packets are abandoned.
8. the device according to any one of claim 5 to 7, it is characterised in that the equipment in the stacking is up VRRP agreements are enabled respectively on business interface and descending business interface.
CN201710289104.2A 2017-04-27 2017-04-27 The processing method and processing device of stacking conflict Active CN106921527B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710289104.2A CN106921527B (en) 2017-04-27 2017-04-27 The processing method and processing device of stacking conflict

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710289104.2A CN106921527B (en) 2017-04-27 2017-04-27 The processing method and processing device of stacking conflict

Publications (2)

Publication Number Publication Date
CN106921527A true CN106921527A (en) 2017-07-04
CN106921527B CN106921527B (en) 2019-08-06

Family

ID=59568853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710289104.2A Active CN106921527B (en) 2017-04-27 2017-04-27 The processing method and processing device of stacking conflict

Country Status (1)

Country Link
CN (1) CN106921527B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108173691A (en) * 2017-12-27 2018-06-15 杭州迪普科技股份有限公司 A kind of method and device of cross-equipment aggregation
CN109802863A (en) * 2019-03-26 2019-05-24 新华三技术有限公司 A kind of processing method and processing device of agreement concussion
CN112437007A (en) * 2020-11-20 2021-03-02 深圳前海微众银行股份有限公司 Message authentication method, device, equipment and storage medium
CN112910734A (en) * 2021-01-29 2021-06-04 新华三技术有限公司 Method and system for switching link aggregation group
CN115396385A (en) * 2021-05-19 2022-11-25 中国移动通信集团浙江有限公司 Method and device for rapidly recovering service of stack switch and computing equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040085965A1 (en) * 2002-10-31 2004-05-06 Shivi Fotedar Redundant router network
CN101610182A (en) * 2009-06-26 2009-12-23 杭州华三通信技术有限公司 Multi-primary apparatus conflict detection method and stack member apparatus in piling up
CN101841462A (en) * 2010-03-02 2010-09-22 北京星网锐捷网络技术有限公司 Method, device and system for informing VRRP state information
CN101917287A (en) * 2010-08-04 2010-12-15 杭州华三通信技术有限公司 Fault processing method and fault detecting system of IRF (Intelligent Resilient Framework)
CN102231682A (en) * 2011-07-25 2011-11-02 杭州华三通信技术有限公司 Stacking conflict processing method and equipment
CN102347867A (en) * 2011-11-14 2012-02-08 杭州华三通信技术有限公司 Processing method and equipment for stacking splitting detection
CN103457766A (en) * 2013-08-23 2013-12-18 福建星网锐捷网络有限公司 Method and device for managing equipment in stacking split
CN104158706A (en) * 2014-08-26 2014-11-19 杭州华三通信技术有限公司 Method and device of loopback detection
CN105281951A (en) * 2015-09-29 2016-01-27 北京星网锐捷网络技术有限公司 Double-main-device conflict detection method for VSU system, and network equipment
CN105323170A (en) * 2014-06-24 2016-02-10 中兴通讯股份有限公司 Path selecting method and apparatus of ring topology stacking system, and master apparatus of ring topology stacking system
CN106034038A (en) * 2015-03-13 2016-10-19 杭州华三通信技术有限公司 Method and device for preventing multi-conflict stacking

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040085965A1 (en) * 2002-10-31 2004-05-06 Shivi Fotedar Redundant router network
CN101610182A (en) * 2009-06-26 2009-12-23 杭州华三通信技术有限公司 Multi-primary apparatus conflict detection method and stack member apparatus in piling up
CN101841462A (en) * 2010-03-02 2010-09-22 北京星网锐捷网络技术有限公司 Method, device and system for informing VRRP state information
CN101917287A (en) * 2010-08-04 2010-12-15 杭州华三通信技术有限公司 Fault processing method and fault detecting system of IRF (Intelligent Resilient Framework)
CN102231682A (en) * 2011-07-25 2011-11-02 杭州华三通信技术有限公司 Stacking conflict processing method and equipment
CN102347867A (en) * 2011-11-14 2012-02-08 杭州华三通信技术有限公司 Processing method and equipment for stacking splitting detection
CN103457766A (en) * 2013-08-23 2013-12-18 福建星网锐捷网络有限公司 Method and device for managing equipment in stacking split
CN105323170A (en) * 2014-06-24 2016-02-10 中兴通讯股份有限公司 Path selecting method and apparatus of ring topology stacking system, and master apparatus of ring topology stacking system
CN104158706A (en) * 2014-08-26 2014-11-19 杭州华三通信技术有限公司 Method and device of loopback detection
CN106034038A (en) * 2015-03-13 2016-10-19 杭州华三通信技术有限公司 Method and device for preventing multi-conflict stacking
CN105281951A (en) * 2015-09-29 2016-01-27 北京星网锐捷网络技术有限公司 Double-main-device conflict detection method for VSU system, and network equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108173691A (en) * 2017-12-27 2018-06-15 杭州迪普科技股份有限公司 A kind of method and device of cross-equipment aggregation
CN108173691B (en) * 2017-12-27 2021-05-28 杭州迪普科技股份有限公司 Cross-device aggregation method and device
CN109802863A (en) * 2019-03-26 2019-05-24 新华三技术有限公司 A kind of processing method and processing device of agreement concussion
CN109802863B (en) * 2019-03-26 2021-09-21 新华三技术有限公司 Protocol oscillation processing method and device
CN112437007A (en) * 2020-11-20 2021-03-02 深圳前海微众银行股份有限公司 Message authentication method, device, equipment and storage medium
CN112910734A (en) * 2021-01-29 2021-06-04 新华三技术有限公司 Method and system for switching link aggregation group
CN112910734B (en) * 2021-01-29 2022-07-12 新华三技术有限公司 Method and system for switching link aggregation group
CN115396385A (en) * 2021-05-19 2022-11-25 中国移动通信集团浙江有限公司 Method and device for rapidly recovering service of stack switch and computing equipment
CN115396385B (en) * 2021-05-19 2023-07-21 中国移动通信集团浙江有限公司 Method and device for quickly recovering service of stack switch and computing equipment

Also Published As

Publication number Publication date
CN106921527B (en) 2019-08-06

Similar Documents

Publication Publication Date Title
CN106921527B (en) The processing method and processing device of stacking conflict
CN110166356B (en) Method and network equipment for sending message
US9548919B2 (en) Transparent network service header path proxies
CN102823205B (en) Aggregating data traffic from access domains
US20160255018A1 (en) Protection switching over a virtual link aggregation
US20150117266A1 (en) Spanning-tree based loop detection for an ethernet fabric switch
US9007958B2 (en) External loop detection for an ethernet fabric switch
EP2911355B1 (en) Method and device for flow path negotiation in link aggregation group
US10075394B2 (en) Virtual link aggregations across multiple fabric switches
WO2015057404A1 (en) Configurable service proxy mapping
CN105340228A (en) Dynamic service association and on-demand service provisioning
WO2005020022A2 (en) Self-healing tree network
WO2009036705A1 (en) Method for detecting interface failure and network node equipment
CN104125088A (en) Method of interaction information between systems in same terminal of DRNI and system thereof
CN104660449B (en) The method and apparatus for preventing the more main equipment Master of stacking splitting
CN102447639B (en) A kind of policy routing method and device
EP2798800A1 (en) Expanding member ports of a link aggregation group between clusters
CN102158422B (en) Message forwarding method and equipment for layer 2 ring network
US7525974B2 (en) Method and apparatus for capability based addressing in a communications network
CN101150478B (en) A method, system and router for establishing master/slave link
US20230269186A1 (en) Packet Sending Method, Device, and System
WO2015032203A1 (en) Network element and method for ring network protection
WO2012142923A1 (en) Method and device for preventing loop formation
CN102255817B (en) Accelerate the method for looped network known mass flow convergence rate
Cisco Bridging and IBM Networking Configuration Guide Cisco IOS Release 11.3

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
GR01 Patent grant
GR01 Patent grant