CN101404594A - Hot backup performance test method and apparatus, communication equipment - Google Patents

Hot backup performance test method and apparatus, communication equipment Download PDF

Info

Publication number
CN101404594A
CN101404594A CNA2008101164728A CN200810116472A CN101404594A CN 101404594 A CN101404594 A CN 101404594A CN A2008101164728 A CNA2008101164728 A CN A2008101164728A CN 200810116472 A CN200810116472 A CN 200810116472A CN 101404594 A CN101404594 A CN 101404594A
Authority
CN
China
Prior art keywords
message
communicator
administrative
management board
response message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2008101164728A
Other languages
Chinese (zh)
Other versions
CN101404594B (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.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN2008101164728A priority Critical patent/CN101404594B/en
Publication of CN101404594A publication Critical patent/CN101404594A/en
Application granted granted Critical
Publication of CN101404594B publication Critical patent/CN101404594B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for testing hot standby performance and a device thereof and a communication device, wherein, the testing method comprises the steps as follows: a management message is sent to the communication device at preset speed V, and a response message returned by the communication device towards the management message is received; during the process of sending the management message, the communication device is processed for active standby management board switching; after the active standby management board is switched, the quantity M of the management messages sent to the communication device and the quantity N of the response messages returned by the communication device towards the management messages are obtained; M is integer more than zero; N is the integer more than or equal to zero; and the interruption interval that the communication device can not respond to the management message is calculated according to (M-N)/V. the invention can test the control plane and management plane performance of the communication device during the process of hot standby switching, so as to know the comprehensive hot standby performance of the communication device completely.

Description

The method of testing of hot backup performance and device, communication equipment
Technical field
The present invention relates to the communication technology, especially a kind of method of testing of hot backup performance and device, communication equipment.
Background technology
In existing cabinet formula communicator such as router, switch, can provide redundant communicator all to adopt structure usually based on cabinet+ply-yarn drill+management engine, also have key components such as fan, power supply simultaneously.Wherein, cabinet is used for inserting ply-yarn drill and management engine.Management engine is also referred to as management board, supervisior engine or master control borad, be whole communicator management and the convergent point of controlling, be mainly used in ply-yarn drill is carried out various operations, and the operation variety of protocol, in a single day it lost efficacy, and whole communicator is with unavailable.Ports having socket on the ply-yarn drill mainly is to be used to connect other communicator to carry out forwarding of data.
Cabinet formula communicator mostly is in server or converges the position, for fear of causing whole net or subnetwork normally to use because cabinet formula communicator loses efficacy, usually adopt the management board redundant technique, on cabinet formula communicator, be inserted with two management boards simultaneously.Management board lost efficacy or when maintained, took over whole communicator rapidly by an other management board therein.
The management board redundant technique is divided into " cold standby " technology and " Hot Spare " technology.In " cold standby " technology, only when the main management plate loses efficacy, to take over the work of main management plate from management board, and in taking over job, need communicator to restart, this will cause the service disconnection of a few minutes; After taking over communicator from management board, the variety of protocol in the communicator need relearn and announce.Therefore, though with respect to single tube reason board communications device, " cold standby " technology has reduced the time that communicator goes wrong and causes network to interrupt,, " cold standby " technology causes time of service interruption longer.
And in " Hot Spare " technology, the institute's protocols having and the state machine that move on the mainboard are synchronized to from management board in real time.After the main management plate breaks down, can take over the work of main management plate rapidly from management board, do not need communicator to restart, in principal and subordinate's handoff procedure, the state that variety of protocol is kept before switching normally moves, and does not need to recomputate.Therefore, in the process that principal and subordinate's management board switches, only in blink, occur, and interruption is sent out in circulation to data, compares with " cold standby " technology, has shortened service outage duration greatly variety of protocol message handling interrupt.
In " Hot Spare " technology,, be called the hot backup performance of management board to variety of protocol message handling interrupt time and considering of a break period that data are circulated.
There are three planes simultaneously in the communicator of a standard: control plane, management plane and datum plane.Wherein, control plane is used to control and manage the operation of all procotols, it makes this communicator accurately understand the network equipment in the whole network environment, connect link and interaction protocol by procotol, and in time adjusts the normal operation with maintaining network when network operation changed condition.Control plane provides the datum plane data forwarding necessary various network information and forwarding-table item.
Management plane is used for using Telnet Telnet, World Wide Web (WWW) WEB, Secure Shell (Secure Shell for the network management personnel, hereinafter to be referred as: SSH) agreement, Simple Network Management Protocol (SimpleNetwork Management Protocol, hereinafter to be referred as: SNMP) etc. mode is come management communication apparatus, and supports, understands and carry out the be provided with order of administrative staff for the required talk various network protocols of the network equipment.Management plane provides the prerequisite of the normal operation of control plane, and management plane must pre-set the relevant parameter of variety of protocol in the control plane, and is supported in the necessary moment operation of control plane intervened.In control plane, management plane and datum plane, the required device resource of management plane is minimum, all pass through at present the equipment central processing unit (Central Processing Unit, hereinafter to be referred as: CPU) realize.
Datum plane is used to carry out the processing and the forwarding of various data, comprise to two layer message, three-tier message, Access Control List (ACL) (Access Control List, hereinafter to be referred as: forwarding ACL) is handled.Two layer message, (Media Access Control is hereinafter to be referred as the MAC) message transmitted of address information according to medium access control to be meant communicator.Three-tier message is meant the message that equipment is transmitted according to the IP address of message.
In the prior art, by packet drop to communicator message forwarding in the Hot Spare handoff procedure, to testing the break period that the break period and the three-tier message of two layer message forwarding are transmitted, add up communicator forwarding break period to data flow in the Hot Spare handoff procedure in view of the above, realized hot backup performance test the data plane.
But, prior art not to control plane and management plane the performance in communicator Hot Spare handoff procedure test, the hot backup performance of datum plane only can embody the portion of hot backup performance of communicator, to communicator self other function in active and standby management board handoff procedure, for example: address learning function, whether performance does not accomplish normally that test covers, the comprehensive hot backup performance of communicator can't be known comprehensively, the operating state of communicator in the Hot Spare handoff procedure can not be reflected comprehensively.
For example: the user is access network when communicator active and standby management board takes place switches, at this moment, there is an address resolution protocol (Address Resolution Protocol, hereinafter to be referred as: the ARP) learning process of address, this process need control plane participates in, and this is just relevant with the operating state of control plane when active and standby management board switches.If in active and standby management board switched, tested communicator was being searched for a long time less than destination host, the user will think that network speed is very slow, thereby the network that influences the user is experienced.
Summary of the invention
The purpose of the embodiment of the invention is: control plane and the management plane performance of communicator in the Hot Spare handoff procedure tested, thereby can know the comprehensive hot backup performance of communicator comprehensively.
For achieving the above object, the method for testing of a kind of hot backup performance that the embodiment of the invention provides comprises:
Send the different message of source MAC with default speed V to communicator;
In the process of transmitting of message, described communicator is carried out active and standby management board switch;
Active and standby management board switch finish after, obtain the message amount M that sends to described communicator, with the MAC Address quantity N that the central processing unit of described communicator gets access to, M be the integer greater than zero, N is more than or equal to zero integer;
Calculate the break period that the central processing unit of described communicator obtains MAC address learning according to (M-N)/V.
The method of testing of the another kind of hot backup performance that the embodiment of the invention provides comprises:
Send administrative message with default speed V to the central processing unit of communicator, and receive the response message that described communicator returns at this administrative message;
In the process of transmitting of described administrative message, described communicator is carried out active and standby management board switch;
After active and standby management board switching is finished, obtain the administrative message quantity M that sends to described communicator, with the response message quantity N that described communicator returns at described administrative message, M is the integer greater than zero, N is the integer more than or equal to zero;
Calculate the break period that described communicator can't respond described administrative message according to (M-N)/V.
The testing apparatus of a kind of hot backup performance that the embodiment of the invention provides comprises:
First control module is used to control testing equipment and sends the different message of source MAC with default speed V to communicator;
The switching controls module is used for the process of transmitting at message, controls described communicator and carries out active and standby management board switching;
First acquisition module, be used for active and standby management board switch finish after, obtain the message amount M that sends to described communicator, the MAC Address quantity N that gets access to the central processing unit of described communicator;
First computing module is used for calculating the break period that the central processing unit of described communicator obtains MAC address learning according to (M-N)/V.
The testing apparatus of the another kind of hot backup performance that the embodiment of the invention provides comprises:
Second control module is used to control testing equipment and sends administrative message with default speed V to the central processing unit of communicator;
The switching controls module is used for the process of transmitting at administrative message, controls described communicator and carries out active and standby management board switching;
Second acquisition module, be used for active and standby management board switch finish after, obtain the administrative message quantity M that the central processing unit to described communicator sends, the response message quantity N that returns at described administrative message with described communicator;
Second computing module is used for calculating the break period that described communicator can't respond described administrative message according to (M-N)/V.
A kind of communication equipment that the embodiment of the invention provides comprises the testing apparatus of the hot backup performance that the present invention such as above-mentioned any embodiment provide.
The method of testing of the hot backup performance that the above embodiment of the present invention provides, device and communication equipment, can test the MAC address learning function of communicator in the Hot Spare handoff procedure and response condition the administrative message that mails to central processing unit, thereby obtain the performance of this communicator control plane and management plane in the Hot Spare handoff procedure, can know the comprehensive hot backup performance of communicator, for the comprehensive hot backup performance of communicator provides more accurate and effective, estimates intuitively comprehensively.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Fig. 1 is the flow chart of an embodiment of method of testing of hot backup performance of the present invention;
Fig. 2 is the flow chart of another embodiment of method of testing of hot backup performance of the present invention;
Fig. 3 is the flow chart of another embodiment of method of testing of hot backup performance of the present invention;
Fig. 4 is the flow chart of another embodiment of method of testing of hot backup performance of the present invention;
Fig. 5 is the structural representation of an embodiment of testing apparatus of hot backup performance of the present invention;
Fig. 6 is the structural representation of another embodiment of testing apparatus of hot backup performance of the present invention;
Fig. 7 is a theory diagram of the test of hot backup performance of the present invention.
Embodiment
The method of testing of a kind of hot backup performance that the embodiment of the invention provides comprises: send the different message of source MAC with default speed V to communicator; In the process of transmitting of message, communicator is carried out active and standby management board switch; Active and standby management board switch finish after, obtain the message amount M that sends to communicator, with the MAC Address quantity N that the central processing unit of communicator gets access to, M be the integer greater than zero, N is more than or equal to zero integer; Calculate the break period that the central processing unit of described communicator obtains MAC address learning according to (M-N)/V.Particularly, the different message of this source MAC can be the message that source MAC increases progressively successively.
As shown in Figure 1, be the flow chart of the embodiment of method of testing of hot backup performance of the present invention, it realizes that by the test to the MAC address learning function this embodiment may further comprise the steps to the test of the control plane hot backup performance of communicator:
Step 101, control testing equipment are with the speed of 100pps, and to a message that port transmission source MAC increases progressively successively of communicator to be tested, plan sends 8000.After management board on the communicator receives this message, can carry out MAC address learning according to this message, and after learning MAC Address, the CPU of communicator obtains the MAC Address that management board is learnt.
For example: source MAC from 0000.0000.00001 increase progressively successively, target MAC (Media Access Control) address is the broadcasting packet of ffffffff ffff, the source MAC of 8000 messages is incremented to 0000.0000.1F40.
Step 102, in the process of transmitting of message, by Command Line Interface (command-lineinterface, hereinafter to be referred as: CLI) order control is treated testing of communications apparatus and is carried out active and standby management board and switch.
Step 103 is switched at active and standby management board and to be finished, and after 8000 messages all are sent completely, and inquires about the MAC Address quantity N that the central processing unit of communicator to be tested gets access to, and N be more than or equal to zero integer.
Step 104, according to formula (8000-N)/100, the central processing unit that calculates communicator obtains the break period that management board can't be learnt MAC Address, that is: the break period of MAC address learning.
In the active and standby management board handoff procedure of communicator, if study is less than the source MAC of the message of main frame transmission, the message that then mails to these main frames is not well-known address frame type, the message of this not well-known address frame can be replicated and propagate in whole network, if this situation appears in a large amount of main frames, ample resources can be consumed by useless message in the whole network, thereby influences user's regular traffic.Suppose that tested communicator has communicator A and communicator B, be 0 the MAC address learning break period that calculates communicator A according to step 104, that is: all MAC Address is all learnt by communicator A, be 20 seconds MAC address learning break period that calculates communicator B, that is: communicator B can't learn MAC Address in 20 seconds.Then the active and standby management board that carries out on the communicator A switches to seamless switching, no matter be communicator A carry out active and standby management board switch before access network the user or in active and standby management board handoff procedure the user of access network, in active and standby management board handoff procedure, can not experience the variation of network, to user's professional normal process.And for communicator B, the message that the user of access network sends in active and standby management board handoff procedure is broadcast to whole network.If at 20 seconds MAC address learnings the user of a large amount of access networks was arranged in break period, then whole network will be full of by not well-known message, take a large amount of network bandwidths, influences the normal transmission of file, and the speed of video traffic slows down even is interrupted.
By the method for testing embodiment of hot backup performance shown in Figure 1, can test the function of MAC address learning, know the hot backup performance of control plane when active and standby management board switches of communicator.
The method of testing of the another kind of hot backup performance that the embodiment of the invention provides comprises: send administrative message with default speed V to the central processing unit of communicator, and the response message that returns at this administrative message of received communication device; In the process of transmitting of administrative message, communicator is carried out active and standby management board switch; After active and standby management board switching is finished, obtain administrative message quantity M to the central processing unit transmission of communicator, with the response message quantity N that communicator returns at this administrative message, M is the integer greater than zero, N is the integer more than or equal to zero; Calculate the break period that communicator can't the response management message according to (M-N)/V.Administrative message wherein returns corresponding response message after handling by the central processing unit of communicator.
Particularly, described administrative message can be the different ARP request message of source IP address, and corresponding, response message is the arp response message.Further, the different ARP request message of source IP address can be the ARP request message that source IP address increases progressively successively; Perhaps, described administrative message is the ping message, and corresponding, response message is the ping response message; Perhaps, described administrative message be transmission control protocol (Transmission Control Protocol, hereinafter to be referred as: TCP) syn (synchronize, that is: first bag of connecting of TCP) message, corresponding, response message is a tcp syn response message.
As shown in Figure 2, be the flow chart of another embodiment of method of testing of hot backup performance of the present invention, it realizes that by the test to the ARP address learning function this embodiment may further comprise the steps to the test of the control plane hot backup performance of communicator:
Step 201, the control testing equipment is with the speed of 10pps, by being arranged to a port of three layer interfaces on the communicator to be tested, send the ARP request message that source IP address increases progressively successively to the central processing unit of this communicator to be tested, plan sends 200 ARP request messages.
Step 202 on the another one port of communicator to be tested, is caught the arp response message that tested communicator sends out at the ARP request message of importing before.
A port in another port in the step 202 and the step 201 can lay respectively at two VLANs (Virtual Local Area Network, hereinafter to be referred as: VLAN), be configured to two virtual switch interfaces respectively, the network interface address is respectively 192.168.1.1 and 192.168.2.1, in the step 201, the message that sends to tested communication equipment gateway MAC Address is following IP message: target MAC (Media Access Control) address is the gateway MAC Address, source MAC is 0000.0000.0001, purpose IP address is 192.168.2.2, and source IP address is 192.168.1.2.
Step 203 in the process of transmitting of ARP request message, is treated testing of communications apparatus by CLI order control and is carried out active and standby management board switching.
Step 204 is switched at active and standby management board and to be finished, and after 200 ARP request messages all are sent completely, the arp response count off amount N that statistics is caught.
Step 205 according to formula (200-N)/10, is calculated the break period that tested communicator can't respond the ARP request message.
The user is in the process of using network, carry out network browsing, video request program etc. when professional, always do not carve and sending new request to new address, for example: when the user clicks a new webpage, just sent an IP message that leads to new destination address to network, if communicator can not find the physical address of this IP message in arp cache, will produce a new request.In case these requests can't be responded, will produce new webpage can't open, and phenomenons such as the visit interruption of subnetwork are used Network thereby influence the user.Suppose that tested communicator has communicator A and communicator B, calculating the break period that communicator A can't respond the ARP request message according to step 205 is 1 second, be 20 seconds the break period that communicator B can't respond the ARP request message, for communicator A, be in up to ten thousand users in the network, no matter be before the active and standby management board of communicator A switches or in the process, the request of the new IP address that Any user is initiated, all can normal response, 1 time in second almost ignored for user's objective impression.For communicator B, be in up to ten thousand users in the network, if there are each second 50 users to send new request, just have 1000 request stackings so 20 seconds at least on communicator B, wait for after the active and standby management board switching of communicator B is finished and recover again to send.Like this, a large amount of user's requests are just piled up, and the direct influence that user side is brought is exactly: click and open a webpage, for a long time all can not get responding.
By the method for testing embodiment of hot backup performance shown in Figure 2, can test the function of ARP address learning, know the hot backup performance of control plane when active and standby management board switches of communicator.
By the method for testing embodiment of Fig. 1 and hot backup performance shown in Figure 2, comprehensive, effective, accurately test have been realized to control plane hot backup performance when active and standby management board switches of communicator.
As shown in Figure 3, be the flow chart of another embodiment of method of testing of hot backup performance of the present invention, it realizes that by the test to the ping message response this embodiment may further comprise the steps to the test of the management plane hot backup performance of communicator:
Step 301, a port that is provided with on the communication equipment to be tested is three layer interfaces, it is 192.168.1.1 that its IP address is set, and the ARP address of learning with the port on the testing equipment that this port is connected is 192.168.1.2, and source MAC is 0000.0000.0001.
Step 302, the control testing equipment is with the speed of 10pps, be arranged to the port of three layer interfaces on the ping communicator to be tested, promptly the central processing unit to this communicator to be tested sends the ping message, plan sends 1000 ping messages, also promptly: Internet Control Message Protocol (Internet Control MessageProtocol, hereinafter to be referred as: ICMP) message.The target MAC (Media Access Control) address of this message is the gateway MAC Address, and purpose IP address is 192.168.1.1, and source MAC is 0000.0000.0001, and source IP address is 192.168.1.2.
Step 303 on the another one port of communicator to be tested, is intercepted and captured the ping response message that tested communicator returns at the ping that imports before, also promptly: ICMP Echo message.
Step 304 in the process of transmitting of ping message, is treated testing of communications apparatus by CLI order control and is carried out active and standby management board switching.
Step 305 is switched at active and standby management board and to be finished, and after 1000 ping messages all are sent completely, the ping response message amount N that statistics is caught.
Step 306 according to formula (1000-N)/10, is calculated the break period that tested communicator can't respond the ping message.
In network management, use ping to order the connectedness of confirming network usually.In centralized network management, if ping is obstructed for a long time in active and standby management board handoff procedure, management software will be confirmed as and network equipment failure occur, thereby sends the warning of " highest level ", and in fact tested communicator can normally move.Suppose that tested communicator has communicator A and communicator B, the communicator device A does not have response to 2 icmp packets, communicator B does not have response to 300 icmp packets, the time-out time of supposing the icmp packet response again is 1 second, the ICMP time-out time can be considered as the interval that the ping message sends, if do not receive the ICMP response message promptly 1 second: ICMP is overtime, think that then ping fails, so send next ping message at once.This ICMP time-out time is equivalent to a benchmark, is 10 seconds if communicator can't respond the time of ping message, is 2 seconds ping test with the ICMP time-out time, can't respond 5 ping messages exactly; With the ICMP time-out time is 1 second ping test, can't respond 10 ping messages exactly.It is overtime that communicator A produces 2 ICMPping, and each ICMP time-out time is 1 second, illustrates that communicator can't respond icmp packet in the time in 2 seconds.This time is very short, the probability of being found " inefficacy " by webmastering software is very little, even the webmastering software first ping is obstructed, can carries out secondary ping and confirm, this time, equipment was just finished active and standby management board switching and recovery, just can not send false alarm.And communicator B loses 30 ping messages, illustrates that in the time in 30 seconds, communicator B can't respond icmp packet.Webmastering software uses ICMP that the network equipment is scanned and detection of connectivity, if communicator B is scanned by webmastering software in active and standby management board handoff procedure, and ICMP can't respond, webmastering software will send " alarm of highest level " so, show that core network device lost efficacy, thereby produce wrong report.
By the method for testing embodiment of hot backup performance shown in Figure 3, can test ping message response function, know the hot backup performance of management plane when active and standby management board switches of communicator.
As shown in Figure 4, be the flow chart of another embodiment of method of testing of hot backup performance of the present invention, it realizes that by the test to tcp syn message response this embodiment may further comprise the steps to the test of the management plane hot backup performance of communicator:
Step 401, a port that is provided with on the communication equipment to be tested is three layer interfaces, it is 192.168.1.1 that its IP address is set, and the ARP address of learning with the port on the testing equipment that this port is connected is 192.168.1.2, and source MAC is 0000.0000.0001.
Step 402, control testing equipment are with the speed of 10pps, and by being arranged to the port of three layer interfaces on the communicator to be tested, to the central processing unit transmission tcp of this communicator to be tested syn message, plan sends 1000 tcp syn messages.
The target MAC (Media Access Control) address of this message is the gateway MAC Address, and purpose IP address is 192.168.1.1, and source MAC is 0000.0000.0001, and source IP address is 192.168.1.2.
Step 403 is intercepted and captured the tcpsyn response message that tested communicator returns at the tcp syn message of importing before.
Step 404 in the process of transmitting of tcp syn message, is treated testing of communications apparatus by CLI order control and is carried out active and standby management board switching.
Step 405 is switched at active and standby management board and to be finished, and after 1000 tcp syn messages all are sent completely, the tcp syn response count off amount N that statistics is caught.
Step 406 according to formula (1000-N)/10, is calculated the break period that tested communicator can't respond tcp syn message.
Using remote access instrument telnet to carry out Long-distance Control is the network management form of using always.If communicator after active and standby management board switches for a long time in can't telnet, at this moment, the keeper just can't change the configuration on this communicator, also just can't manage communicator.By the method for testing embodiment of hot backup performance shown in Figure 4, can test the response function of tcp syn message, know the hot backup performance of management plane when active and standby management board switches of communicator.
By the method for testing embodiment of Fig. 3 and hot backup performance shown in Figure 4, comprehensive, effective, accurately test have been realized to management plane hot backup performance when active and standby management board switches of communicator.
As shown in Figure 5, structural representation for the embodiment of testing apparatus of hot backup performance of the present invention, the testing apparatus of the hot backup performance of this embodiment can be realized the flow process as the method for testing embodiment of above-mentioned hot backup performance shown in Figure 1, and it comprises first control module 501, switching controls module 502, first acquisition module 503 and first computing module 504.Wherein, first control module 501 is used to control testing equipment to preset speed V to the different message of communicator transmission source MAC to be tested.After management board on the communication equipment receives this message, can carry out MAC address learning according to this message, after learning MAC Address, the CPU of communicator obtains the MAC Address that management board is learnt; Switching controls module 502 is used for sending in testing equipment the process of message, and the control communicator carries out active and standby management board and switches; First acquisition module 503 be used for active and standby management board at communicator switch finish after, obtain the message amount M that sends to communicator, the MAC Address quantity N that gets access to the central processing unit of communicator; First computing module 504 is used for the result that obtains according to first acquisition module 503, calculates the break period that the central processing unit of described communicator obtains MAC address learning by (M-N)/V.Wherein, M is the integer greater than zero, and N is the integer more than or equal to zero.
As shown in Figure 6, structural representation for another embodiment of testing apparatus of hot backup performance of the present invention, the testing apparatus of the hot backup performance of this embodiment can be realized the method for testing flow process of hot backup performance shown in above-mentioned Fig. 2 to Fig. 4 any embodiment, and it comprises second control module 601, switching controls module 502, second acquisition module 602 and second computing module 603.Wherein, second control module 601 is used to control testing equipment with the central processing unit transmission administrative message of default speed V to communicator to be tested.This administrative message can return corresponding response message to testing equipment after handling by the central processing unit of communicator; Switching controls module 502 is used for sending in testing equipment the process of administrative message, and the control communicator carries out active and standby management board and switches; Second acquisition module 602 be used for active and standby management board at communicator switch finish after, obtain the administrative message quantity M that the central processing unit to communicator sends, the response message quantity N that returns at this administrative message with communicator; Second computing module 603 is used for the result that obtains according to second acquisition module 602, calculates the break period that communicator can't the response management message by (M-N)/V.Wherein, M is the integer greater than zero, and N is the integer more than or equal to zero.
In the testing apparatus embodiment of hot backup performance shown in Figure 6, described administrative message can be the different ARP request message of source IP address, and corresponding, response message is the arp response message.The ARP request message that the different ARP request message of source IP address further can increase progressively successively for source IP address; Perhaps, described administrative message is the ping message, and corresponding, response message is the ping response message; Perhaps, described administrative message is a tcp syn message, and corresponding, response message is a tcp syn response message.
As shown in Figure 7, be a theory diagram of the test of hot backup performance of the present invention, it comprises the testing apparatus of communicator to be tested, testing equipment and hot backup performance.
In addition, the embodiment of the invention also provides a kind of communication equipment, and the testing apparatus of the hot backup performance that provides as the above-mentioned arbitrary embodiment of the present invention can be provided this communication equipment.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
The method of testing of the hot backup performance that the embodiment of the invention provides, device and communication equipment, can test the MAC address learning function of communicator in the Hot Spare handoff procedure and response condition the message that mails to central processing unit, thereby obtain the performance of this communicator control plane and management plane in the Hot Spare handoff procedure, can know the comprehensive hot backup performance of communicator, for the comprehensive hot backup performance of communicator provides more accurate and effective, estimates intuitively comprehensively.
It should be noted last that: above embodiment is only in order to illustrating technical scheme of the present invention, but not the present invention is made restrictive sense.Although the present invention is had been described in detail with reference to above-mentioned preferred embodiment, those of ordinary skill in the art is to be understood that: it still can make amendment or be equal to replacement technical scheme of the present invention, and this modification or be equal to the spirit and scope that replacement does not break away from technical solution of the present invention.

Claims (10)

1, a kind of method of testing of hot backup performance is characterized in that, comprising:
Send the different message of source MAC with default speed V to communicator;
In the process of transmitting of message, described communicator is carried out active and standby management board switch;
Active and standby management board switch finish after, obtain the message amount M that sends to described communicator, with the MAC Address quantity N that the central processing unit of described communicator gets access to, M be the integer greater than zero, N is more than or equal to zero integer;
Calculate the break period that the central processing unit of described communicator obtains MAC address learning according to (M-N)/V.
2, method according to claim 1 is characterized in that, the different message of described source MAC is specially the message that source MAC increases progressively successively.
3, a kind of method of testing of hot backup performance is characterized in that, comprising:
Send administrative message with default speed V to the central processing unit of communicator, and receive the response message that described communicator returns at this administrative message;
In the process of transmitting of described administrative message, described communicator is carried out active and standby management board switch;
After active and standby management board switching is finished, obtain administrative message quantity M to the central processing unit transmission of described communicator, with the response message quantity N that described communicator returns at described administrative message, M is the integer greater than zero, and N is the integer more than or equal to zero;
Calculate the break period that described communicator can't respond described administrative message according to (M-N)/V.
4, method according to claim 3 is characterized in that, described administrative message is the different ARP request message of source IP address, and described response message is the arp response message; Perhaps
Described administrative message is the ping message, and described response message is the ping response message; Perhaps
Described administrative message is a tcp syn message, and described response message is a tcp syn response message.
5, method according to claim 4 is characterized in that, the different ARP request message of described source IP address is specially the ARP request message that source IP address increases progressively successively.
6, a kind of testing apparatus of hot backup performance is characterized in that, comprising:
First control module is used to control testing equipment and sends the different message of source MAC with default speed V to communicator;
The switching controls module is used for the process of transmitting at message, controls described communicator and carries out active and standby management board switching;
First acquisition module, be used for active and standby management board switch finish after, obtain the message amount M that sends to described communicator, the MAC Address quantity N that gets access to the central processing unit of described communicator;
First computing module is used for calculating the break period that the central processing unit of described communicator obtains MAC address learning according to (M-N)/V.
7, a kind of testing apparatus of hot backup performance is characterized in that, comprising:
Second control module is used to control testing equipment and sends administrative message with default speed V to the central processing unit of communicator;
The switching controls module is used for the process of transmitting at administrative message, controls described communicator and carries out active and standby management board switching;
Second acquisition module, be used for active and standby management board switch finish after, obtain the administrative message quantity M that the central processing unit to described communicator sends, the response message quantity N that returns at described administrative message with described communicator;
Second computing module is used for calculating the break period that described communicator can't respond described administrative message according to (M-N)/V.
8, device according to claim 7 is characterized in that, described administrative message is the different ARP request message of source IP address, and described response message is the arp response message; Perhaps
Described administrative message is the ping message, and described response message is the ping response message; Perhaps
Described administrative message is a tcp syn message, and described response message is a tcp syn response message.
9, device according to claim 8 is characterized in that, the different ARP request message of described source IP address is specially the ARP request message that source IP address increases progressively successively.
10, a kind of communication equipment is characterized in that, comprises the testing apparatus as any described hot backup performance of claim 6 to 9.
CN2008101164728A 2008-07-10 2008-07-10 Hot backup performance test method and apparatus, communication equipment Expired - Fee Related CN101404594B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101164728A CN101404594B (en) 2008-07-10 2008-07-10 Hot backup performance test method and apparatus, communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101164728A CN101404594B (en) 2008-07-10 2008-07-10 Hot backup performance test method and apparatus, communication equipment

Publications (2)

Publication Number Publication Date
CN101404594A true CN101404594A (en) 2009-04-08
CN101404594B CN101404594B (en) 2010-12-15

Family

ID=40538472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101164728A Expired - Fee Related CN101404594B (en) 2008-07-10 2008-07-10 Hot backup performance test method and apparatus, communication equipment

Country Status (1)

Country Link
CN (1) CN101404594B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873236A (en) * 2010-06-13 2010-10-27 中兴通讯股份有限公司 Method and system for testing message
CN102143019A (en) * 2010-12-30 2011-08-03 华为数字技术有限公司 Network detection method and system
CN102316038A (en) * 2011-09-09 2012-01-11 福建星网锐捷网络有限公司 Method for determining hot backup main /standby switching time, apparatus and system thereof
CN104539469A (en) * 2014-11-27 2015-04-22 盛科网络(苏州)有限公司 Method and device of testing master-slave switching time based on test messages
CN104639385A (en) * 2013-11-13 2015-05-20 中兴通讯股份有限公司 Method and equipment for detecting connectivity of L2VPN (layer 2 virtual private network) user node interface
CN109766221A (en) * 2019-01-09 2019-05-17 郑州云海信息技术有限公司 A kind of BMC mirror image switch method and apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100413261C (en) * 2006-01-04 2008-08-20 华为技术有限公司 Method and system of data recovering
CN101192960A (en) * 2006-11-28 2008-06-04 中兴通讯股份有限公司 Main/slave switching detection and control device and method in distributed system
US7843821B2 (en) * 2006-12-21 2010-11-30 Oracle America, Inc. Method, apparatus and program product to use factory-defined multiple MAC addresses for virtual NICS

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873236A (en) * 2010-06-13 2010-10-27 中兴通讯股份有限公司 Method and system for testing message
CN101873236B (en) * 2010-06-13 2014-04-30 中兴通讯股份有限公司 Method and system for testing message
CN102143019A (en) * 2010-12-30 2011-08-03 华为数字技术有限公司 Network detection method and system
CN102316038A (en) * 2011-09-09 2012-01-11 福建星网锐捷网络有限公司 Method for determining hot backup main /standby switching time, apparatus and system thereof
CN102316038B (en) * 2011-09-09 2014-06-04 福建星网锐捷网络有限公司 Method for determining hot backup main /standby switching time, apparatus and system thereof
CN104639385A (en) * 2013-11-13 2015-05-20 中兴通讯股份有限公司 Method and equipment for detecting connectivity of L2VPN (layer 2 virtual private network) user node interface
CN104639385B (en) * 2013-11-13 2019-02-12 中兴通讯股份有限公司 Detect the method and apparatus of L2VPN network user's side interface connectivity
CN104539469A (en) * 2014-11-27 2015-04-22 盛科网络(苏州)有限公司 Method and device of testing master-slave switching time based on test messages
CN109766221A (en) * 2019-01-09 2019-05-17 郑州云海信息技术有限公司 A kind of BMC mirror image switch method and apparatus

Also Published As

Publication number Publication date
CN101404594B (en) 2010-12-15

Similar Documents

Publication Publication Date Title
EP1919138B1 (en) A method for implementing backup of the uplink
WO2013115177A1 (en) Network system and topology management method
CN101651691B (en) Network system, access equipment and application layer service assess method
CN100571191C (en) Keep the VRRP technology of VR confidentiality
JPH1127320A (en) Packet relay control method, packet repeater and program storage medium
US10454809B2 (en) Automatic network topology detection for merging two isolated networks
CN103997414A (en) Configuration information generation method and network control unit
CN101404594B (en) Hot backup performance test method and apparatus, communication equipment
CN101785283B (en) Methods and devices for communicating diagnosis data in a real time communication network
CN108259215B (en) Equipment management method and device
CN101447895A (en) Collocation method for synchronizing network management and network element and device thereof
CN101277214A (en) Method and system for managing blade type server
CN101895437A (en) Method and equipment of distributed bidirectional forwarding detection (BFD)
CN101562576B (en) Route distribution method and equipment thereof
CN101431428A (en) Security monitoring service recovery method and system
CN111371625A (en) Method for realizing dual-computer hot standby
EP3917086B1 (en) Network topology discovery method, device, and system
CN104506339A (en) Industrial Ethernet network topology management implementation method based on PROFINET
JPWO2014132954A1 (en) COMMUNICATION SYSTEM, CONTROL DEVICE, COMMUNICATION METHOD, AND PROGRAM
KR100889753B1 (en) Method of protection switching for link aggregation group and Apparatus thereof
CN111988439B (en) ARP request suppression system, method, equipment and storage medium
CN101102231B (en) An automatic discovery method and device of PPP link routing device
JP5304200B2 (en) Network management system, network management method, manager and agent
KR102092015B1 (en) Method, apparatus and computer program for recognizing network equipment in a software defined network
Cisco Managing Your Switches

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101215

Termination date: 20140710

EXPY Termination of patent right or utility model