CN110505090A - A kind of IRF port controlling method and device - Google Patents

A kind of IRF port controlling method and device Download PDF

Info

Publication number
CN110505090A
CN110505090A CN201910775757.0A CN201910775757A CN110505090A CN 110505090 A CN110505090 A CN 110505090A CN 201910775757 A CN201910775757 A CN 201910775757A CN 110505090 A CN110505090 A CN 110505090A
Authority
CN
China
Prior art keywords
port
irf
strategy
state
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910775757.0A
Other languages
Chinese (zh)
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 Big Data Technologies Co Ltd
Original Assignee
New H3C Big Data 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 Big Data Technologies Co Ltd filed Critical New H3C Big Data Technologies Co Ltd
Priority to CN201910775757.0A priority Critical patent/CN110505090A/en
Publication of CN110505090A publication Critical patent/CN110505090A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • 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/0893Assignment of logical groups to network elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a kind of IRF port controlling method and device, and the member device in IPR can be made when configuring the port IRF for the physical port of this equipment, and the port Xiang Suoshu IRF issues port and inhibits strategy;Then the state for checking the port IRF records the port status switching time when port IRF is switched to normal condition from abnormality every time;The port status switching time of the preset times recorded according to the port IRF determines whether the state switching of the port IRF meets the port and inhibit strategy, if so, inhibiting strategy to close the port function of the port IRF according to the port.Therefore IRF link is unstable caused by the application can be solved the problems, such as by issuing port inhibition strategy because of IRF port status frequent switching.

Description

A kind of IRF port controlling method and device
Technical field
This application involves field of communication technology more particularly to a kind of IRF port controlling method and devices.
Background technique
IRF (Intelligent Resilient Framework, intelligent elastic framework) is a kind of software virtualization skill Art.Its core concept is that more physical equipments link together, and progress is necessary with postponing, and is virtualized into a logic and sets Standby, physical equipment therein is known as IPR member device, passes through IPR link connection, the both ends of IPR link between IPR member device The port IPR on two difference IPR member devices is connected, the IRF link between two IRF member devices can be a physics Link is also possible to be polymerized by a plurality of physical link.
In IRF system, the message all across IRF member device all passes through IRF link and is forwarded.If IRF link On the port IRF because hardware fault leads to port status frequent switching, such as port status it is normal between exception repeatedly The case where switching, just influences whether the stability of IRF link, will lead to packet loss or even stacking system division, seriously affects network Availability.
Summary of the invention
In view of this, the application provides a kind of IRF port controlling method and device, IRF port status frequent switching is avoided The unstable problem of caused IRF link.
Specifically, the application is achieved by the following technical solution:
The application provides a kind of IRF port controlling method, and the method is applied to the member device in IPR, the method Include:
When configuring the port IRF for the physical port of this equipment, the port Xiang Suoshu IRF issues port and inhibits strategy;
The state for checking the port IRF records when the port IRF is switched to normal condition from abnormality every time Port status switching time;
The port status switching time of the preset times recorded according to the port IRF determines the shape of the port IRF Whether state switching, which meets the port, inhibits strategy, if so, inhibiting the tactful end for closing the port IRF according to the port Mouth function.
As one embodiment, the port function for inhibiting strategy to close the port IRF according to the port, packet It includes:
Close the function of the port IRF report and alarm message when state switches;
And/or
Close the function that the port IRF receives service message.
As one embodiment, after the port Xiang Suoshu IRF issues port inhibition strategy, the method also includes:
Port derepression strategy is issued to the port IRF;
After inhibiting strategy to close the port function of the port IRF according to the port, the method also includes:
The state for checking the port IRF, when the duration of the port IRF maintains normal condition is greater than preset duration, It determines that the state of the port IRF meets the port derepression strategy, is then released according to the port derepression strategy Port function according to the port IRF that the port inhibits strategy to close.
It is described to inhibit strategy to close the port function of the port IRF according to the port as one embodiment, also wrap It includes:
The port IRF is powered off.
As one embodiment, the port status switching time of the preset times recorded according to the port IRF It determines whether the state switching of the port IRF meets the port and inhibit strategy, specifically includes:
Calculate the time of the switching time of port status for the first time recorded with the last port status switching time recorded Difference;
Judge that the time difference is no less than or equal to preset duration;If so, described in the state switching satisfaction of the port IRF Port inhibits strategy;If not, it is determined that the state switching of the port IRF is unsatisfactory for the port and inhibits strategy.
As one embodiment, the method also includes:
The change configuration-direct of user's input is received, the change configuration-direct includes new preset times and preset duration;
According to the new preset times and preset duration, the port for updating the port IRF inhibits default secondary in strategy Several and preset duration.
Based on identical design, the application also provides a kind of IRF port controlling device, and described device is applied in IPR Member device, described device include:
Issuance unit, for when configuring the port IRF for the physical port of this equipment, Xiang Suoshu IRF to start under port Mouth inhibits strategy;
Inspection unit records the port IRF and switches every time from abnormality for checking the state of the port IRF Port status switching time when for normal condition;
The port status switching time of control unit, the preset times for having recorded according to the port IRF determines institute Whether the state switching for stating the port IRF, which meets the port, inhibits strategy, if so, inhibiting strategy to close institute according to the port State the port function of the port IRF.
As one embodiment, described control unit, specifically for close the port IRF when state switches on Report the function of alarm information;And/or close the function that the port IRF receives service message.
As one embodiment, the issuing unit is also used to issue to the port IRF after port inhibits strategy, Port derepression strategy is issued to the port IRF;
Described device further include:
Lifting unit, for checking after inhibiting strategy to close the port function of the port IRF according to the port The state of the port IRF determines the end IRF when the duration of the port IRF maintains normal condition is greater than preset duration The state of mouth meets the port derepression strategy, then releases according to the port derepression strategy and press down according to the port The port function for the port IRF that system strategy is closed.
As one embodiment, described control unit is also used to power off the port IRF.
As one embodiment, described control unit, specifically for calculating the port status switching time for the first time recorded With the time difference of the last port status switching time recorded;Judge that the time difference is no less than or equal to preset duration;If so, Then the state switching of the port IRF meets the port inhibition strategy;If not, it is determined that the state of the port IRF switches It is unsatisfactory for the port and inhibits strategy.
As one embodiment, described device further include:
Changing unit, for receiving the change configuration-direct of user's input, the change configuration-direct includes new default time Several and preset duration;According to the new preset times and preset duration, the port for updating the port IRF inhibits pre- in strategy If number and preset duration.
Based on identical design, the application also provides a kind of computer readable storage medium, the computer-readable storage Dielectric memory contains computer program, and the computer program realizes above-mentioned IRF port controlling method when being executed by processor Either step.
Based on identical design, the application also provides a kind of network equipment, and the network equipment includes memory, processing Device, communication interface and communication bus;Wherein, the memory, processor, communication interface carry out phase by the communication bus Communication between mutually;
The memory, for storing computer program;
The processor, for executing the computer program stored on the memory, described in the processor executes The either step of above-mentioned IRF port controlling method is realized when computer program.
It can be seen that the application can make the member device in IPR configure the port IRF for the physical port of this equipment When, the port Xiang Suoshu IRF issues port and inhibits strategy;Then it is every to record the port IRF for the state for checking the port IRF Secondary port status switching time when being switched to normal condition from abnormality;Default time recorded according to the port IRF Several port status switching times determines whether the state switching of the port IRF meets the port and inhibit strategy, if so, Inhibit the port function of the strategy closing port IRF according to the port.Therefore the application can be inhibited by issuing port Strategy is unstable come IRF link caused by solving the problems, such as because of IRF port status frequent switching, so that it is steady to promote IRF system It is qualitative.
Detailed description of the invention
Fig. 1 is that a kind of one of illustrative embodiments of the application IRF stacks networking structure schematic diagram;
Fig. 2 is a kind of process flow diagram of one of illustrative embodiments of the application IRF port controlling method;
Fig. 3 is that the network equipment in a kind of illustrative embodiments of the application inhibits IRF member port state frequently to change Process flow diagram;
The building-block of logic of IRF port controlling device in a kind of illustrative embodiments of Fig. 4 the application;
A kind of hardware structure diagram of one of illustrative embodiments of Fig. 5 the application network equipment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application. It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
It referring to Figure 1, is that a kind of one of illustrative embodiments of the application IRF stacks networking structure schematic diagram, Middle network equipment A and network equipment B stacks the IRF stack equipment to be formed, i.e. IRF equipment, and network equipment A and network equipment B are then For the member device in IRF.The IRF link established between network equipment A and network equipment B be polymerize by a plurality of physical link and At, wherein multiple physical ports on network equipment A (such as 3 physical ports, it is set including physical port a) and network (such as 3 physical ports are configured as the IRF of IRF chain road including physical port b) to multiple physical ports on standby B Port, for realizing the intercommunication of IRF link, and other ports on network equipment A and network equipment B can be used as business end Mouthful, it is used to transmission services message.
The physical port b on physical port a and network equipment B on network equipment A usual port shape under normal circumstances State is normal (such as UP) state, when hardware occurs for the physical port b on the physical port a or network equipment B on network equipment A When failure or software fault, the port status that will lead to physical port is switched to abnormal (such as DOWN) state, if instead It breaks down again, then will lead to physical port state and switch repeatedly between UP and DOWN, to influence the stabilization of IRF link Property.
Of the existing technology in order to solve the problems, such as, the application provides a kind of IRF port controlling method and device, can make Member device in IPR, the port IRF newly configured to this equipment issue port and inhibit strategy and check the state of the port IRF, When the state for checking the port IRF reverts to normal condition from abnormality, current time is recorded as port status switching Time, then the port status switching time according to the port IRF recorded checks that the state switching of the port IRF is It is no to meet the port inhibition strategy, if so, inhibiting strategy to carry out at port controlling the port IRF according to the port Reason.Therefore IRF chain caused by the application can be solved by issuing port inhibition strategy because of IRF port status frequent switching The unstable problem in road, to promote IRF system stability.
Referring to FIG. 2, being a kind of process flow of one of illustrative embodiments of the application IRF port controlling method Figure, the method are applied to the member device in IRF, which comprises
Step 201, when configuring the port IRF for the physical port of this equipment, the port Xiang Suoshu IRF issue port inhibition Strategy;
In the present embodiment, when multiple network equipments are aggregated into IRF stack equipment, these network equipments are then IRF In member device.By configuring the specified physical port on member device to the port IRF of IRF link, so as to logical It crosses the port IRF and establishes IRF link between member device.In the application, member device is configured to by the physical port of itself When the port IRF of IRF link, port can be issued to the port IRF of this equipment and inhibits strategy.
Step 202, the state for checking the port IRF, record the port IRF and are switched to normally from abnormality every time Port status switching time when state;
In the present embodiment, it is established between member device after IRF link, can respectively monitor and be configured to IRF on itself The port status situation of change of the port IRF of link, such as the state of real-time monitoring port is normal condition (i.e. UP state), also It is that abnormality (i.e. DOWN state) can recorde the IRF when the port IRF is switched to normal condition from abnormality Port status switching time when port is switched to normal condition from abnormality every time.
Step 203, the preset times recorded according to the port IRF port status switching time determine the IRF Whether the state switching of port, which meets the port, inhibits strategy, if so, inhibiting strategy to close the IRF according to the port The port function of port.
In the present embodiment, if the port the IRF experience preset times of member device are switched to normal shape by abnormality After the state switching of state, this member device can be according to described in the determination of the port shape state switching time of the preset times recorded Whether the state of port, which meets the port formerly issued for the port IRF, inhibits strategy.
Specifically, the last end that member device can calculate the switching time of port status for the first time recorded and record Then the time difference of mouth state switching time judges that the time difference is no less than or equal to preset duration;If so, the end IRF The state switching of mouth meets the port and inhibits strategy;If not, it is determined that the state switching of the port IRF is unsatisfactory for the end Mouth inhibits strategy.Wherein preset times and preset duration are the parameter during the port inhibits tactful, can be according to practical need Depending on asking.
For example, the port status of the port IRF of itself can be continuously monitored in member device, records each port from different Normal state is switched to the port status switching time of normal condition, it is assumed that and the port status switching time of first time is denoted as t1, the Secondary port state switching time is denoted as t2, and so on.If it is 5 times that port, which inhibits the preset times in strategy, preset duration For 10s, then continuous five times port status switching times of the port IRF, respectively t1, t2, t3, t4, t5 are obtained, it is calculated In port status switching time t1 and last port status switching time t5 for the first time time difference, i.e. t5-t1, then described in judgement Time difference is no less than or equal to preset duration (i.e. 10s);If so, the state switching of the port IRF meets the port and inhibits Strategy;If not, it is determined that the state switching of the port IRF is unsatisfactory for the port and inhibits strategy.If being unsatisfactory for port suppression System strategy, member device can delete port status first time, t1 switching time from the port status switching time recorded It removes, then t2 was postponed for the port status switching time for the first time recorded, when the 6th port status switching occurs for the port IRF When, the 6th port status switching time t6 is recorded, the switching time of the port status for the first time t2 recorded and last port are calculated The time difference of state switching time t6, i.e. t6-t2, to judge whether the state switching of present port meets according to the time difference Port inhibits strategy, and so on.
In the present embodiment, however, it is determined that the state switching of the port IRF meets the port and inhibits strategy, then according to institute Stating port inhibits strategy to close the port function of the port IRF, and the port function of the port IRF may include the upper electric work of port Can, the function of the transmitting-receiving message of port, the port function of alarm function of port etc., the closing port IRF specifically can be pass Close one or more of the port function.
As one embodiment, the port function for inhibiting strategy to close the port IRF according to the port, specifically It include: the port function for closing the port IRF report and alarm message when state switches;Specifically, member device Enabling event can be issued to the port IRF and inhibits dampening instruction, occurred for closing the port IRF in state The function of report and alarm message when switching, but the physical connection of the port IRF still retains, can be with sending and receiving data cannot The alarm of uploaded state switching.
The program can be when system stability requires being not very high, through the alarm for closing the state handover event Function, to avoid because alarm excessively frequently results in operation maintenance personnel and repairs to the port IRF, so as to cause the port IRF The problem of can not work normally, in this way processing can not exclusively stop the work of the port IRF, without for configuration newly The port IRF reduces human configuration operation.
In addition, member device can also close the function that the port IRF receives service message.Specifically, Cheng Yuanshe It is standby that obstruction block instruction can be issued to the port IRF, the function of service message is received for closing the port IRF, is made Service message is switched to the processing of other ports IRF in aggregation port.This method can be by the port IRF of obstruction failure, this The service message of the port IRF is switched to the processing of other ports IRF, to will not influence business forwarding, can also avoid port shape The unstable problem of IRF link caused by state changes repeatedly.
It based on the above embodiment, may further be to this after issuing port to the port IRF of this equipment and inhibiting strategy The port IRF issues port derepression strategy;According to the port inhibit strategy close the port IRF port function it Afterwards, this equipment can further check the state of the port IRF, when the duration of the port IRF maintains normal condition is greater than It when preset duration, determines that the state of the port IRF meets the port derepression strategy, then releases and press down according to the port System strategy releases the port function for the port IRF for inhibiting strategy to close according to the port.
For example, this equipment is further supervised after executing the control processing that the port inhibits in strategy to the port IRF The state switching scenario of the port IRF is surveyed, if the duration of the port IRF maintains normal condition is more than 5 minutes, then it is assumed that current The port IRF is stablized, to release the port function closed to the physical port, restores the normal work of the port IRF.
As one embodiment, this equipment inhibits the tactful port function for closing the port IRF according to the port Concrete operations, which can also be, powers off the port IRF.Such as close port shutdown instruction is issued, for this The port IRF is powered down, the port IRF can not transmitting and receiving service message and alarm that the state of the port IRF will not be reported to switch, from And the port IRF is made not work again.The program can be applied when more demanding to system stability, by frequent The power operation of the port IRF of state switching, the stability of the IRF link can be influenced to avoid the port IRF, can be matched later It sets the new port IRF and realizes its corresponding function instead of the current port IRF.
As one embodiment, this equipment can receive the change configuration-direct of user's input, the change configuration-direct Including new preset times and preset duration;The port IRF can be updated according to the new preset times and preset duration later Port inhibit strategy in preset times and preset duration.When this equipment is restarted, if the physical port remains as the end IRF Mouthful, then the physical port, which can continue to use the modified port, inhibits strategy, after thereby may be ensured that equipment is restarted, The port of user configuration inhibits strategy not change on physical port.
For example, the port issued on the physical port inhibits in strategy, it is assumed that preset times are 5 times, preset duration For 10s, then it represents that port the 5th time from the abnormal time for being switched to normal state switching time and the first next state switches Difference be less than or equal to 10 seconds when, determine port status switching meet port inhibit strategy.User, which can according to need, adjusts the end Mouth inhibits strategy, and being such as changed to preset times is 10 times, and preset duration is 60s etc..If having letter to the quality of IRF member port The heart can also send instructions down and delete port inhibition strategy.
Updated port inhibits strategy that can be stored in local nonvolatile memory.Port inhibits strategy only in object Reason mouth issues when IRF link being added for the first time, when user saves with postponing restarting equipment, then the port after restarting inhibit strategy with The port of family configuration inhibits no longer to issue default policy subject to strategy.Therefore available chain after IRF link is added in physical port Road inhibits protection, and link rejection condition can also be altered as desired in user, makes link inhibit function more flexible, applicability is more By force.
For the objects, technical solutions and advantages of the application are more clearly understood, below with reference to Fig. 3 to the scheme of the application It is described in further detail.
Assuming that configuring IRF for the physical port b on the physical port a and network equipment B on the network equipment A in Fig. 1 When the IRF member port of link, configuration process is described in detail by taking the physical port a on network equipment A as an example.
Referring to FIG. 3, being the processing stream of another IRF port controlling method in a kind of illustrative embodiments of the application Cheng Tu, including:
Step 301, configuration physical port a are the port IRF;
The detailed process of configuration physical port a includes but is not limited to:
1) shutdown physical port a is closed;
2) it configures physical port a and stacking opening is added as IRF member port;
3) undo shutdown physical port a is opened;
After above-mentioned configuration operation, it can configure physical port a between network equipment A and network equipment B The port IRF of IRF chain road.
Step 302 issues inhibition strategy in port for physical port a;
Port is issued for physical port a and inhibits strategy, and the port inhibits the corresponding port controlling processing of strategy to issue It is illustrated for the shutdown instruction powered off to the port IRF, it is 5 that port, which inhibits the prediction number in strategy, Secondary, preset duration 10s, processing movement is that shutdown instruction is executed to the physical port.
When step 303, the switching of physical port a generating state, each port status switching time is recorded;
When physical port a is switched to UP state from DOWN state for the first time, port status switching time t1 can recorde, When being switched to UP state from DOWN state second of physical port a, port status switching time t2 can recorde, successively class It pushes away.
Step 304 obtains the port IRF in the port status switching time of preset times, judges port status for the first time The time difference of switching time and last port status switching time are no less than or equal to preset duration, if so, going to step 305;If It is no, then go to step 303;
When the 5th port status switching occurs for the port IRF, port status switching time t5 is obtained, calculates the 5th Time difference before secondary port status switching time t5 and port status first time, t1 switching time, i.e. t5-t1 judge the time difference Whether being less than or equal to preset duration is 10s;If so, the state switching of the physical port a meets the port and inhibits strategy; If not, it is determined that the state switching of the physical port a is unsatisfactory for the port and inhibits strategy.If the time difference of t5-t1 is big In preset duration, then the 6th port status switching time t6 and second can be calculated when the 6th port status switches Whether the time difference (t6-t2) of port status switching time t2 is less than or equal to 10s, whether to meet port suppression to physical port a Strategy processed judged, and so on.
Step 305 inhibits strategy to close the port function of the physical port a, and terminates according to the port.
Inhibit strategy to close the port function of physical port a according to the port, such as strategy can be inhibited according to port Shutdown instruction is issued to physical port a, thus to physical port a power down process.
The application can for IRF port default issue port inhibit strategy, can IRF member port occur repeatedly UP, When DOWN triggers port inhibition strategy, corresponding control processing can be carried out to the port IRF, so that isolated fault member, mentions Rise the stability of IRF link.
Based on identical design, the application also provides a kind of IRF port controlling device, which can pass through software reality It is existing, it can also be realized by way of hardware or software and hardware combining.Taking software implementation as an example, the IRF port controlling of the application Device is by the CPU of device where it by computer program corresponding in memory as the device on a logical meaning Instruction is run after reading.
Referring to FIG. 4, being one of a kind of illustrative embodiments of the application IRF port controlling device 40, the dress The member device being applied in IPR is set, from logic level, the logical construction of the device 40 includes:
Issuance unit 401, for when configuring the port IRF for the physical port of this equipment, the port Xiang Suoshu IRF to be issued Port inhibits strategy;
Inspection unit 402 records the port IRF and cuts every time from abnormality for checking the state of the port IRF It is changed to port status switching time when normal condition;
The port status switching time of control unit 403, the preset times for having recorded according to the port IRF determines Whether the state switching of the port IRF, which meets the port, inhibits strategy, if so, inhibiting strategy to close according to the port The port function of the port IRF.
As one embodiment, described control unit 403 switches specifically for closing the port IRF in state When report and alarm message function;And/or close the function that the port IRF receives service message.
As one embodiment, the issuing unit 401 is also used to issue port to the port IRF and inhibits strategy Afterwards, the port Xiang Suoshu IRF issues port derepression strategy;
Described device further include:
Lifting unit 404, for after inhibiting strategy to close the port function of the port IRF according to the port, The state for checking the port IRF, when the duration of the port IRF maintains normal condition is greater than preset duration, described in determination The state of the port IRF meets the port derepression strategy, then releases according to described according to the port derepression strategy The port function for the port IRF that port inhibits strategy to close.
As one embodiment, described control unit 403 is also used to power off the port IRF.
As one embodiment, described control unit 403, when switching specifically for calculating the port status for the first time recorded Between with time difference of last port status switching time for having recorded;Judge that the time difference is no less than or equal to preset duration;If It is that then the state switching of the port IRF meets the port inhibition strategy;If not, it is determined that the state of the port IRF is cut It changes and is unsatisfactory for the port inhibition strategy.
As one embodiment, described device further include:
Changing unit 405, for receiving the change configuration-direct of user's input, the change configuration-direct includes new default Number and preset duration;According to the new preset times and preset duration, the port for updating the port IRF inhibits in strategy Preset times and preset duration.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
Based on identical design, the application also provides a kind of network equipment, as shown in figure 5, the network equipment includes depositing Reservoir 51, processor 52, communication interface 53 and communication bus 54;Wherein, the memory 51, processor 52, communication interface 53 carry out mutual communication by the communication bus 54;
The memory 51, for storing computer program;
The processor 52, for executing the computer program stored on the memory 51, the processor 52 is held The either step of IRF port controlling method provided by the embodiments of the present application is realized when the row computer program.
The application also provides a kind of computer readable storage medium, which is characterized in that the computer readable storage medium It is inside stored with computer program, the computer program realizes the port IRF provided by the embodiments of the present application when being executed by processor The either step of control method.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.It is set especially for network For standby and computer readable storage medium embodiment, since it is substantially similar to the method embodiment, so the comparison of description Simply, the relevent part can refer to the partial explaination of embodiments of method.
In conclusion the application can make the member device in IPR configure the port IRF for the physical port of this equipment When, the port Xiang Suoshu IRF issues port and inhibits strategy;Then it is every to record the port IRF for the state for checking the port IRF Secondary port status switching time when being switched to normal condition from abnormality;Default time recorded according to the port IRF Several port status switching times determines whether the state switching of the port IRF meets the port and inhibit strategy, if so, Inhibit the port function of the strategy closing port IRF according to the port.Therefore the application can be inhibited by issuing port Strategy is unstable come IRF link caused by solving the problems, such as because of IRF port status frequent switching, so that it is steady to promote IRF system It is qualitative.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (12)

1. a kind of intelligent elastic framework IRF port controlling method, which is characterized in that the member that the method is applied in IPR sets It is standby, which comprises
When configuring the port IRF for the physical port of this equipment, the port Xiang Suoshu IRF issues port and inhibits strategy;
The state for checking the port IRF records the port when port IRF is switched to normal condition from abnormality every time State switching time;
The port status switching time of the preset times recorded according to the port IRF determines that the state of the port IRF is cut It changes and whether meets the port inhibition strategy, if so, inhibiting the port function of the strategy closing port IRF according to the port Energy.
2. the method according to claim 1, wherein described inhibit strategy to close the IRF according to the port The port function of port, comprising:
Close the function of the port IRF report and alarm message when state switches;
And/or
Close the function that the port IRF receives service message.
3. according to the method described in claim 2, it is characterized in that, to the port IRF issue port inhibit strategy after, institute State method further include:
Port derepression strategy is issued to the port IRF;
After inhibiting strategy to close the port function of the port IRF according to the port, the method also includes:
The state for checking the port IRF is determined when the duration of the port IRF maintains normal condition is greater than preset duration The state of the port IRF meets the port derepression strategy, then releases foundation according to the port derepression strategy The port function for the port IRF that the port inhibits strategy to close.
4. the method according to claim 1, wherein described inhibit strategy to close the IRF according to the port The port function of port, further includes:
The port IRF is powered off.
5. according to claim 1 to any method in 4, which is characterized in that described to have been recorded according to the port IRF Port status switching times of preset times determine whether the state switching of the port IRF meets the port and inhibit plan Slightly, it specifically includes:
Calculate the time difference of the switching time of port status for the first time recorded with the last port status switching time recorded;
Judge that the time difference is no less than or equal to preset duration;If so, the state switching of the port IRF meets the port Inhibit strategy;If not, it is determined that the state switching of the port IRF is unsatisfactory for the port and inhibits strategy.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
The change configuration-direct of user's input is received, the change configuration-direct includes new preset times and preset duration;
According to the new preset times and preset duration, update the port IRF port inhibit preset times in strategy and Preset duration.
7. a kind of IRF port controlling device, which is characterized in that described device is applied to the member device in IPR, described device packet It includes:
Issuance unit, for when configuring the port IRF for the physical port of this equipment, the port Xiang Suoshu IRF to issue port suppression System strategy;
Inspection unit records the port IRF and is positive every time from abnormality switching for checking the state of the port IRF Port status switching time when normal state;
The port status switching time of control unit, the preset times for having recorded according to the port IRF determines the IRF Whether the state switching of port, which meets the port, inhibits strategy, if so, inhibiting strategy to close the IRF according to the port The port function of port.
8. device according to claim 7, which is characterized in that
Described control unit, specifically for closing the function of the port IRF report and alarm message when state switches; And/or close the function that the port IRF receives service message.
9. device according to claim 8, which is characterized in that
The issuing unit, after being also used to issue inhibition strategy in port to the port IRF, Xiang Suoshu IRF starts under port Mouth derepression strategy;
Described device further include:
Lifting unit, for after inhibiting strategy to close the port function of the port IRF according to the port, described in inspection The state of the port IRF determines the port IRF when the duration of the port IRF maintains normal condition is greater than preset duration State meets the port derepression strategy, then releases according to the port derepression strategy and inhibit plan according to the port The port function for the port IRF slightly closed.
10. device according to claim 7, which is characterized in that
Described control unit is also used to power off the port IRF.
11. according to any device in claim 7 to 10, which is characterized in that
Described control unit, specifically for the last port shape for calculating the switching time of port status for the first time recorded with having recorded The time difference of state switching time;Judge that the time difference is no less than or equal to preset duration;If so, the state of the port IRF Switching meets the port and inhibits strategy;If not, it is determined that the state switching of the port IRF is unsatisfactory for the port and inhibits plan Slightly.
12. device according to claim 11, which is characterized in that described device further include:
Changing unit, for receiving the change configuration-direct of user's input, the change configuration-direct include new preset times with Preset duration;According to the new preset times and preset duration, the port for updating the port IRF inhibits default secondary in strategy Several and preset duration.
CN201910775757.0A 2019-08-21 2019-08-21 A kind of IRF port controlling method and device Pending CN110505090A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910775757.0A CN110505090A (en) 2019-08-21 2019-08-21 A kind of IRF port controlling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910775757.0A CN110505090A (en) 2019-08-21 2019-08-21 A kind of IRF port controlling method and device

Publications (1)

Publication Number Publication Date
CN110505090A true CN110505090A (en) 2019-11-26

Family

ID=68588469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910775757.0A Pending CN110505090A (en) 2019-08-21 2019-08-21 A kind of IRF port controlling method and device

Country Status (1)

Country Link
CN (1) CN110505090A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483500A (en) * 2009-02-13 2009-07-15 杭州华三通信技术有限公司 Processing method and apparatus for member port status changing in stacking system
CN101867502A (en) * 2010-06-02 2010-10-20 中兴通讯股份有限公司 Method and device for inhibiting port oscillation
CN102970157A (en) * 2012-10-31 2013-03-13 杭州华三通信技术有限公司 Link failure processing method, intelligent resilient framework (IRF) member device and data communication device
CN104539461A (en) * 2015-01-09 2015-04-22 烽火通信科技股份有限公司 Device and method for inhibitory protocol port oscillation reporting
WO2016146022A1 (en) * 2015-03-13 2016-09-22 Hangzhou H3C Technologies Co., Ltd. Preventing multiple conflicting stacks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483500A (en) * 2009-02-13 2009-07-15 杭州华三通信技术有限公司 Processing method and apparatus for member port status changing in stacking system
CN101867502A (en) * 2010-06-02 2010-10-20 中兴通讯股份有限公司 Method and device for inhibiting port oscillation
CN102970157A (en) * 2012-10-31 2013-03-13 杭州华三通信技术有限公司 Link failure processing method, intelligent resilient framework (IRF) member device and data communication device
CN104539461A (en) * 2015-01-09 2015-04-22 烽火通信科技股份有限公司 Device and method for inhibitory protocol port oscillation reporting
WO2016146022A1 (en) * 2015-03-13 2016-09-22 Hangzhou H3C Technologies Co., Ltd. Preventing multiple conflicting stacks

Similar Documents

Publication Publication Date Title
CN101554002B (en) Method and system for monitoring link aggregation links
US8977886B2 (en) Method and apparatus for rapid disaster recovery preparation in a cloud network
CN101072125B (en) Cluster structure and its control unit
CN104113428B (en) A kind of equipment management device and method
CN109088794A (en) A kind of fault monitoring method and device of node
CN105656645B (en) The decision-making technique and device of the troubleshooting of stacking system
CN102223258B (en) Method and device for preventing BFD (bidirectional forwarding detection) conversation interruption
CN106533736B (en) Network equipment restarting method and device
CN109474466A (en) The method of dual redundant network interface card switching is realized on DDS middleware
CN108989352A (en) Method of realizing fireproof wall, device, computer equipment and storage medium
CN103152210A (en) Method for repairing spanning tree protocol (STP) forwarding state abnormalities and stacking equipment
CN104283780A (en) Method and device for establishing data transmission route
CN106302146A (en) The convergence method of link aggregation and device
CN110213798A (en) A kind of shunt method and device based on Femto gateway
CN105743565A (en) Optical transport network protection switching method and device
CN102263678B (en) Method and device for predicting stack division
CN107948000B (en) Method, device and system for switching main channel and standby channel
CN110505090A (en) A kind of IRF port controlling method and device
CN106972973A (en) A kind of control method, controller and interchanger
CN107911229A (en) Based reminding method, device, electronic equipment and the storage medium that operating status changes
CN108667640A (en) Communication means and equipment, network access system
CN109951334A (en) A kind of switch upgrades method, apparatus, network controller and readable storage medium storing program for executing
CN106921532A (en) A kind of performance management method, the device of business catenary system
CN109617716A (en) Data center's abnormality eliminating method and device
CN115484208A (en) Distributed drainage system and method based on cloud security resource pool

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191126