CN103354549B - A kind of CFD implementation method and equipment based on dynamic vlan log-in protocol - Google Patents

A kind of CFD implementation method and equipment based on dynamic vlan log-in protocol Download PDF

Info

Publication number
CN103354549B
CN103354549B CN201310276053.1A CN201310276053A CN103354549B CN 103354549 B CN103354549 B CN 103354549B CN 201310276053 A CN201310276053 A CN 201310276053A CN 103354549 B CN103354549 B CN 103354549B
Authority
CN
China
Prior art keywords
equipment
cfd
message
passivespeaker
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310276053.1A
Other languages
Chinese (zh)
Other versions
CN103354549A (en
Inventor
顾雷雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Information Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201310276053.1A priority Critical patent/CN103354549B/en
Publication of CN103354549A publication Critical patent/CN103354549A/en
Application granted granted Critical
Publication of CN103354549B publication Critical patent/CN103354549B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of CFD implementation method and equipment based on dynamic vlan log-in protocol, does the method comprise: Active? does Speaker equipment pass through Passive equipment to Passive? Speaker equipment sends Join message, in this Join message, has carried CFD configuration parameter; Passive equipment holds the first row CFD configuration of described CFD configuration parameter from Join message relay, from described Join message, delete the first row CFD configuration of described CFD configuration parameter, and continue to Passive? Speaker equipment sends Join message; By that analogy, until described Join message sends to described Passive? Speaker equipment, the first row CFD that holds described CFD configuration parameter from described Join message relay by described PassiveSpeaker equipment configures; Described Active? the implicit expression CCM message that Speaker equipment utilization is received carries out CFD detection. In the embodiment of the present invention, can by dynamic vlan by CFD configuration distributing to each equipment.

Description

A kind of CFD implementation method and equipment based on dynamic vlan log-in protocol
Technical field
The present invention relates to communication technical field, particularly related to a kind of based on dynamic vlan (VirtualLocalAreaNetwork, VLAN) CFD(ConnectivityFault of log-in protocolDetection, is communicated with wrong detection) implementation method and equipment.
Background technology
CFD is the end-to-end OAM(Operations based on VLAN in double layer network, AdministrationAndMaintenance, Operations, Administration and Maintenance) mechanism, be mainly used in detecting link in double layer networkConnective, to confirm fault, also definite fault generation position. In CFD network, MD(MaintenanceDomain, maintenance field) refer to network being communicated with that wrong detection covers or a part for network,The concept of having introduced rank (level) in MD, MD is divided into eight grades, represents with integer 0~7,Numeral more large level is higher, and the scope of MD is just larger; Can be adjacent or nested between different MD,But can not intersect, and can only be nested to low level MD by high-level MD when nested.
As shown in Figure 1, be CFD network diagram, maintenance field MD_A and maintenance field MD_B are embeddingsCover, if find that link is obstructed on border, MD_A territory, show that MD_A territory internal unit breaks down,Fault may appear on these five equipment of DeviceA~DeviceE; If sent out on border, MD_B territoryExisting link is obstructed, and the scope that fault is possible narrows down on these three equipment of DeviceB~DeviceD;If the equipment in MD_B territory is working properly, at least can determine DeviceC be do not have out of order.
In prior art, CFD is based on VLAN application, but CFD notes for dynamic vlanVolume agreement does not provide support; In addition, CFD configuration is extremely complicated, as territory and MEP(MaintenanceAssociationEndPoint, maintaining end point) quantity is when more, need to arrive on each equipment, carry out moreConfiguration, configuration effort amount is very large, and implements extremely dumb.
Summary of the invention
The invention provides a kind of CFD implementation method and equipment based on dynamic vlan log-in protocol, with baseIn GVRP process implementation CFD function, and can CFD configuration distributing be arrived each by dynamic vlanOn equipment, reduce configuration effort amount.
In order to achieve the above object, the embodiment of the present invention provides a kind of based on dynamic virtual LAN VLANThe connection wrong detection CFD implementation method of log-in protocol, the method comprises the following steps:
Initiatively promoter ActiveSpeaker equipment passes through passive Passive equipment to passive promoterPassiveSpeaker equipment sends and adds Join message, in described Join message, carries CFD configuration parameter;The Passive equipment of receiving described Join message holds described CFD configuration parameter from described Join message relayThe first row CFD configuration, from described Join message, delete the first row CFD of described CFD configuration parameterConfiguration, and continue to send Join message to described PassiveSpeaker equipment; By that analogy, until instituteState Join message and send to described PassiveSpeaker equipment, by described PassiveSpeaker equipment fromDescribed Join message relay holds the first row CFD configuration of described CFD configuration parameter;
Described ActiveSpeaker equipment receives described Passive equipment and described PassiveSpeakerThe implicit continuous that equipment sends after the first row CFD configuration of inheriting described CFD configuration parameter detects reportAfter literary composition CCM message, activate the above Passive equipment of described ActiveSpeaker equipment and described inThe CFD that PassiveSpeaker equipment is inherited configures corresponding CFD configuration;
Implicit expression CCM message on described this ActiveSpeaker of ActiveSpeaker equipment utilization equipmentReception condition is carried out CFD detection; Implicit expression CCM message is described Passive equipment and described PassiveSpeaker equipment periodically sends after the first row CFD configuration of inheriting described CFD configuration parameter.
The above Passive equipment of ActiveSpeaker equipment described in described ActiveSpeaker device activationAfter configuring corresponding CFD configuration with the CFD of described PassiveSpeaker equipment succession, described sideMethod also comprises:
On described this ActiveSpeaker of ActiveSpeaker equipment utilization equipment, show CCM messageReception condition is carried out GVRP detection; Show that CCM message is described Passive equipment and described PassiveSpeaker equipment periodically sends after the first row CFD configuration of inheriting described CFD configuration parameter.
The CFD configuration parameter carrying in the Join message that described ActiveSpeaker equipment sends includes8 row CFD configurations, the first row CFD configuration to the 8th row CFD configuration is respectively maintenance field MD rank0 CFD configures the CFD configuration to MD rank 7, and the CFD configuration of each MD rank comprises thisMD information, maintenance collection MA information and the maintaining end point list MEPList information of MD rank; Wherein,Described MEPList information comprises two MEP, and receive described Join message Passive equipment andPassiveSpeaker equipment is only inherited second in the first row CFD configuration of described CFD configuration parameterMEP。
Implicit expression CCM message on described this ActiveSpeaker of ActiveSpeaker equipment utilization equipmentReception condition is carried out CFD detection, specifically comprises:
Described ActiveSpeaker equipment on this ActiveSpeaker equipment, receive Passive equipment and/Or described PassiveSpeaker equipment send implicit expression CCM message time, determine that corresponding CFD detectsResult is normal, otherwise, determine that corresponding CFD testing result is unsuccessfully;
On described this ActiveSpeaker of ActiveSpeaker equipment utilization equipment, show CCM messageReception condition is carried out GVRP detection, specifically comprises:
Described ActiveSpeaker equipment on this ActiveSpeaker equipment, receive Passive equipment and/Or described PassiveSpeaker equipment send demonstration CCM message time, determine that corresponding GVRP detectsResult is normal, otherwise, determine that corresponding GVRP testing result is unsuccessfully;
Wherein, described ActiveSpeaker equipment determines that corresponding CFD testing result is failure and/or phaseThe GVRP testing result of answering be unsuccessfully after, all CFD testing results and/or GVRP are detected to knotFruit record is for the link failure judgement of whole link.
In described demonstration CCM message, carry the label Tag of particular vlan; Described implicit expression CCM reportIn literary composition, do not carry the Tag of particular vlan, but carry the attribute of described particular vlan; Wherein,In described implicit expression CCM message, be provided with flag bit P, in the time that flag bit P is the first mark, described in expressionImplicit expression CCM message is that Passive equipment sends, and in the time that flag bit P is the second mark, represents described hiddenFormula CCM message is that PassiveSpeaker equipment sends;
Described ActiveSpeaker equipment receives that for the first time flag bit P is the implicit expression CCM of the second markWhen message, confirm that the CFD configuration in described network has been disposed, and determine to carry out and utilize thisOn ActiveSpeaker equipment, the reception condition of implicit expression CCM message is carried out CFD detection and utilizes thisOn ActiveSpeaker equipment, show that the reception condition of CCM message carries out the step of GVRP detection.
Implicit expression CCM message on described this ActiveSpeaker of ActiveSpeaker equipment utilization equipmentReception condition is carried out CFD detection, specifically comprises:
Described ActiveSpeaker equipment on this ActiveSpeaker equipment, receive Passive equipment and/Or PassiveSpeaker equipment send implicit expression CCM message time, from implicit expression CCM message, obtain send outSend the device identification of Passive equipment or the PassiveSpeaker equipment of described implicit expression CCM message, andDetermine that the CFD testing result corresponding to device identification of carrying in described implicit expression CCM message is normal, no, determine that the CFD testing result corresponding to device identification of carrying in described implicit expression CCM message is unsuccessfully;
On described this ActiveSpeaker of ActiveSpeaker equipment utilization equipment, show CCM messageReception condition is carried out GVRP detection, specifically comprises:
Described ActiveSpeaker equipment on this ActiveSpeaker equipment, receive Passive equipment and/Or PassiveSpeaker equipment send demonstration CCM message time, from show CCM message, obtain and send outSend the Passive equipment of described demonstration CCM message or the device identification of PassiveSpeaker equipment, andDetermine that the GVRP testing result corresponding to device identification of carrying in described demonstration CCM message is normal, no, determine that the GVRP testing result corresponding to device identification of carrying in described demonstration CCM message is unsuccessfully.
Described method also comprises: when cancelling Passive equipment and described PassiveSpeaker equipmentWhen CFD configuration, described ActiveSpeaker equipment passes through Passive equipment to described PassiveSpeakerEquipment sends and leaves Leave message, carries to be used to indicate and delete CFD configuration in described Leave messageDistinctive mark position; Receive described Leave message this Passive of Passive unit deletion equipment inheritCFD configuration, and continue to send Leave message to described PassiveSpeaker equipment; By that analogy,Until described Leave message sends to described PassiveSpeaker equipment, by described PassiveSpeakerThe CFD configuration that this PassiveSpeaker of unit deletion equipment is inherited.
The embodiment of the present invention provides a kind of connection mistake based on dynamic virtual LAN VLAN log-in protocolDetect CFD and realize equipment, initiatively promoter ActiveSpeaker equipment of conduct in network, described ActiveSpeaker equipment, specifically comprises:
Sending module, for passing through passive Passive equipment to passive promoter PassiveSpeaker equipmentTransmission adds Join message, in described Join message, has carried CFD configuration parameter; Receive described JoinThe Passive equipment of message holds the first row CFD of described CFD configuration parameter from described Join message relayConfiguration is deleted the first row CFD configuration of described CFD configuration parameter, and is continued from described Join messageContinue to described PassiveSpeaker equipment and send Join message; By that analogy, until described Join messageSend to described PassiveSpeaker equipment, reported from described Join by described PassiveSpeaker equipmentIn literary composition, inherit the first row CFD configuration of described CFD configuration parameter;
Processing module, for receiving described Passive equipment and described PassiveSpeaker equipment is continuingHold the implicit continuous detection messages CCM sending after the first row CFD configuration of described CFD configuration parameterAfter message, activate the above Passive equipment of this ActiveSpeaker equipment and described PassiveSpeakerThe CFD that equipment is inherited configures corresponding CFD configuration;
Detection module, for utilizing the reception condition of implicit expression CCM message on this ActiveSpeaker equipmentCarry out CFD detection; Implicit expression CCM message is that described Passive equipment and described PassiveSpeaker establishAfter the standby the first row CFD configuration inheriting described CFD configuration parameter, periodically send.
Described detection module, also shows connecing of CCM message for utilizing on this ActiveSpeaker equipmentReceipts situation is carried out GVRP detection; Show that CCM message is described Passive equipment and described PassiveSpeaker equipment periodically sends after the first row CFD configuration of inheriting described CFD configuration parameter.
The CFD configuration parameter carrying in the Join message that this ActiveSpeaker equipment sends includes 8Row CFD configuration, the first row CFD configuration to the 8th row CFD configuration is respectively maintenance field MD rank 0CFD configure the CFD configuration to MD rank 7, the CFD configuration of each MD rank comprises this MDMD information, maintenance collection MA information and the maintaining end point list MEPList information of rank; Wherein, instituteState MEPList information and comprise two MEP, and receive Passive equipment and the Passive of described Join messageSpeaker equipment is only inherited second MEP in the first row CFD configuration of described CFD configuration parameter.
Described detection module, specifically on this ActiveSpeaker equipment, receive Passive equipment and/Or described PassiveSpeaker equipment send implicit expression CCM message time, determine that corresponding CFD detectsResult is normal, otherwise, determine that corresponding CFD testing result is unsuccessfully; And,
On this ActiveSpeaker equipment, receive that Passive equipment and/or described PassiveSpeaker establishWhen demonstration CCM message that preparation is sent, determine that corresponding GVRP testing result is for normal, otherwise, determineCorresponding GVRP testing result is unsuccessfully;
Wherein, this ActiveSpeaker equipment determines that corresponding CFD testing result is failed and/or correspondingGVRP testing result be unsuccessfully after, by all CFD testing results and/or GVRP testing resultRecord is for the link failure judgement of whole link.
In described demonstration CCM message, carry the label Tag of particular vlan; Described implicit expression CCM reportIn literary composition, do not carry the Tag of particular vlan, but carry the attribute of described particular vlan; Wherein,In described implicit expression CCM message, be provided with flag bit P, in the time that flag bit P is the first mark, described in expressionImplicit expression CCM message is that Passive equipment sends, and in the time that flag bit P is the second mark, represents described hiddenFormula CCM message is that PassiveSpeaker equipment sends;
Described detection module, specifically for receiving that for the first time flag bit P is the implicit expression CCM of the second markWhen message, confirm that the CFD configuration in described network has been disposed, and determine to carry out and utilize thisOn ActiveSpeaker equipment, the reception condition of implicit expression CCM message is carried out CFD detection and utilizes thisOn ActiveSpeaker equipment, show that the reception condition of CCM message carries out the step of GVRP detection.
Described detection module, specifically on this ActiveSpeaker equipment, receive Passive equipment and/Or PassiveSpeaker equipment send implicit expression CCM message time, from implicit expression CCM message, obtain send outSend the device identification of Passive equipment or the PassiveSpeaker equipment of described implicit expression CCM message, andDetermine that the CFD testing result corresponding to device identification of carrying in described implicit expression CCM message is normal, no, determine that the CFD testing result corresponding to device identification of carrying in described implicit expression CCM message is unsuccessfully;
On this ActiveSpeaker equipment, receive that Passive equipment and/or PassiveSpeaker equipment sends outSend demonstration CCM message time, from show CCM message, obtain and send described demonstration CCM messageThe device identification of Passive equipment or PassiveSpeaker equipment, and determine described demonstration CCM messageIn GVRP testing result corresponding to the device identification of carrying for normal, otherwise, determine described demonstration CCMThe GVRP testing result corresponding to device identification of carrying in message is unsuccessfully.
Described sending module, also for when cancelling Passive equipment and described PassiveSpeaker establishesWhen standby CFD configures, send and leave Leave to described PassiveSpeaker equipment by Passive equipmentMessage, carries in described Leave message and is used to indicate the distinctive mark position of deleting CFD configuration; Receive instituteState the CFD configuration that this Passive of Passive unit deletion equipment of Leave message is inherited, and continue toDescribed PassiveSpeaker equipment sends Leave message; By that analogy, until described Leave message send outDeliver to described PassiveSpeaker equipment, by described this Passive of PassiveSpeaker unit deletionThe CFD configuration that Speaker equipment is inherited.
The embodiment of the present invention provides a kind of connection mistake based on dynamic virtual LAN VLAN log-in protocolDetect CFD realize equipment, in network as passive Passive equipment, described Passive equipment, toolBody comprises:
Receiver module, for receive initiatively promoter ActiveSpeaker equipment by Passive equipment toWhat passive promoter PassiveSpeaker equipment sent adds Join message, in described Join message, carriesCFD configuration parameter;
Processing module, for holding the first row CFD of described CFD configuration parameter from described Join message relayConfiguration, and the first row CFD configuration of deleting described CFD configuration parameter from described Join message;
Sending module, sends Join message for continuing to PassiveSpeaker equipment, by that analogy,Until described Join message sends to described PassiveSpeaker equipment, by described PassiveSpeakerEquipment holds the first row CFD configuration of described CFD configuration parameter from described Join message relay; And,
After the first row CFD configuration of inheriting described CFD configuration parameter, periodically to ActiveSpeakerEquipment sends implicit continuous detection messages CCM message; Receiving implicit expression by ActiveSpeaker equipmentAfter CCM message, activate the CFD configuration institute that on this ActiveSpeaker equipment, Passive equipment is inheritedCorresponding CFD configuration; And by implicit expression on this ActiveSpeaker of ActiveSpeaker equipment utilization equipmentThe reception condition of CCM message is carried out CFD detection.
Described sending module, also for after the first row CFD configuration inheriting described CFD configuration parameter,Periodically send and show CCM message to ActiveSpeaker equipment, by ActiveSpeaker equipment profitCarry out GVRP detection by the reception condition that shows CCM message on this ActiveSpeaker equipment.
The CFD configuration parameter carrying in the Join message that described ActiveSpeaker equipment sends includes8 row CFD configurations, the first row CFD configuration to the 8th row CFD configuration is respectively maintenance field MD rank0 CFD configures the CFD configuration to MD rank 7, and the CFD configuration of each MD rank comprises thisMD information, maintenance collection MA information and the maintaining end point list MEPList information of MD rank; Wherein,Described MEPList information comprises two MEP, and receive described Join message Passive equipment andPassiveSpeaker equipment is only inherited second in the first row CFD configuration of described CFD configuration parameterMEP;
In described demonstration CCM message, carry the label Tag of particular virtual local area network VLAN; Described hiddenIn formula CCM message, do not carry the Tag of particular vlan, but carry the genus of described particular vlanProperty; Wherein, in described implicit expression CCM message, be provided with flag bit P, in the time that flag bit P is the first mark,Represent that described implicit expression CCM message is that Passive equipment sends, in the time that flag bit P is the second mark, tableShow that described implicit expression CCM message is that PassiveSpeaker equipment sends.
Described receiver module, also for when cancelling Passive equipment and described PassiveSpeaker establishesWhen standby CFD configures, receive described ActiveSpeaker equipment and pass through this Passive equipment to describedWhat PassiveSpeaker equipment sent leaves Leave message, and carries and be used in reference in described Leave messageShow that this Passive equipment is to the distinctive mark position of deleting CFD configuration;
Described processing module, also for deleting the CFD configuration of inheriting on this Passive equipment;
Described sending module, also sends Leave message for continuing to described PassiveSpeaker equipment;By that analogy, until described Leave message sends to described PassiveSpeaker equipment, by describedThe CFD configuration that this PassiveSpeaker of PassiveSpeaker unit deletion equipment is inherited.
Compared with prior art, the embodiment of the present invention at least has the following advantages: in the embodiment of the present invention,By carry CFD configuration parameter in the Join of GVRP message, and configured by each equipment succession CFDCFD configuration in parameter, thereby based on GVRP process implementation CFD function, and can be by dynamicVLAN to each equipment, can configure CFD automatic deployment whole by CFD configuration distributing thenIn double layer network, and carry out according to this link failure and the GVRP protocol malfunctions in Sampling network.
Brief description of the drawings
Fig. 1 is CFD network diagram in prior art;
Fig. 2 is GVRP network diagram in prior art;
Fig. 3 is a kind of CFD realization side based on dynamic vlan log-in protocol that the embodiment of the present invention proposesMethod flow chart;
Fig. 4, Fig. 5 and Fig. 6 are CFD testing process schematic diagrames in the embodiment of the present invention;
Fig. 7 is a kind of ActiveSpeaker device structure schematic diagram that the embodiment of the present invention proposes;
Fig. 8 is a kind of Passive device structure schematic diagram that the embodiment of the present invention proposes.
Detailed description of the invention
GVRP(GARP(GenericAttributeRegistrationProtocol, general-purpose attribute logging associationView) VLANRegistrationProtocol, GARP VLAN Registration Protocol) for registration and unregistrationVLAN attribute. As shown in Figure 2, be the application scenarios schematic diagram of GVRP network, its dynamic vlanThe process of getting through in fact comprise following process:
Static configuration VLAN100 in device A, adds VLAN100 by P1 port, by P1 portThe Join(that VLAN100 is carried in transmission adds) message; The P2 port of equipment B is received after Join messageLearning dynamics VLAN100, adds VLAN100 by P2 port, is sent and is carried by P1 portThe Join message of VLAN100; The P2 port of equipment C is learnt dynamic vlan 100 after receiving Join message,P2 port is added to VLAN100, send the Join message that carries VLAN100 by P1 port; IfAfter the P2 port of standby D is received Join message, learn dynamic vlan 100, P2 port added to VLAN100,Send the Join message that carries VLAN100 by P1 port; The P2 port of equipment E is received Join reportWen Hou, due to the upper static configuration VLAN100 of equipment E, therefore finishes Join message transmission flow.
The upper static configuration VLAN100 of equipment E, adds VLAN100 by P2 port, by P2 portThe Join message of VLAN100 is carried in transmission; The P1 port of equipment D is received learning dynamics after Join messageVLAN100, adds VLAN100 by P1 port, sends the Join that carries VLAN100 by P2 portMessage; The P1 port of equipment C is learnt dynamic vlan 100 after receiving Join message, and P1 port is addedEnter VLAN100, send the Join message that carries VLAN100 by P2 port; The P1 end of equipment BAfter mouth is received Join message, learn dynamic vlan 100, P1 port is added to VLAN100, pass through P2Port sends the Join message that carries VLAN100; The P1 port of device A receives after Join message, byStatic configuration VLAN100 in device A, therefore finishes Join message transmission flow.
By said process, all of the port between device A~equipment E all allows VLAN100 to pass through,Unique difference VLAN100 that has been the upper static configuration of device A and equipment E, but equipment B, equipment C,Between equipment D, be to have learnt dynamic vlan 100, and corresponding port is added to dynamic vlan 100.
GVRP process based on current, for problems of the prior art, the embodiment of the present invention is carriedGo out a kind of CFD implementation method based on dynamic vlan log-in protocol, the method is applied to and comprises ActiveInitiatively promoter of Speaker() equipment, the passive promoter of PassiveSpeaker() equipment and PassiveIn the network of (passive) equipment (Passive equipment can be multiple).
Wherein, dynamic vlan log-in protocol can be GVRP or MVRP(MultipleVLANRegistrationProtocol, multi-VLAN log-in protocol), for convenience of description, follow-up taking GVRP asExample describes, and the processing of MVRP is similar with it, follow-up repeating no more.
With reference to Fig. 2, GVRP network comprises device A, equipment B, equipment C, equipment D and equipment E.Between each equipment, on connected port, (the P1 port on each equipment as shown in Figure 1 and P2 port) allEnable GVRP. On this basis, in the embodiment of the present invention, GVRP function is expanded,Configuration GVRP increases a new optional parameters when function, and this optional parameters is CFD configuration parameter; AsFruit interface configuration CFD configuration parameter, represent that this interface support carries out CFD configuration automatically, to pass throughGVRP function by CFD configuration distributing to relevant device.
Suppose that user wishes dynamic learning VLAN100, static configuration VLAN100 in device A,P1 port is added to VLAN100, and the upper static configuration VLAN100 of equipment E, adds P2 portVLAN100. On this basis, in the embodiment of the present invention, in the time of configuring static VLAN100, increaseCFD configuration parameter. Wherein, in each equipment, only need an equipment static configuration CFD configuration parameter; FalseWhile being located in device A configuring static VLAN100, associated CFD, is called ActiveSpeaker by device AEquipment (initiatively initiate CFD configuration equipment), be about to configure static VLAN associated CFD,And when the corresponding interface enables GVRP, the equipment of associated CFD is called ActiveSpeaker equipment; In addition,Static VLAN will be configured but not associated CFD and the corresponding interface associated CFD while enabling GVRPEquipment is called PassiveSpeaker equipment; In addition, other does not have configuring static VLAN and corresponding connecingWhen mouth enables GVRP, the equipment of associated CFD is called Passive equipment.
Under the application scenarios shown in Fig. 2, suppose that device A is ActiveSpeaker equipment, equipment B,Equipment C and equipment D are Passive equipment, and equipment E is PassiveSpeaker equipment.
Based on above-mentioned scene, in the time that dynamic vlan configures, the upper static configuration VLAN100 of equipment E,P2 port is added to VLAN100, send the Join message that carries VLAN100 by P2 port; IfAfter the P1 port of standby D is received Join message, learn dynamic vlan 100, P1 port added to VLAN100,Send the Join message that carries VLAN100 by P2 port; The P1 port of equipment C is received Join reportAfter literary composition, study dynamic vlan 100, adds VLAN100 by P1 port, is sent and is carried by P2 portThe Join message of VLAN100; The P1 port of equipment B is learnt dynamic vlan 100 after receiving Join message,P1 port is added to VLAN100, send the Join message that carries VLAN100 by P2 port; IfThe P1 port of standby A is received after Join message, due to static configuration VLAN100 in device A, therefore tiesBundle Join message transmission flow; The process that said process and existing equipment E send Join message is similar,This repeats no more.
In the embodiment of the present invention, the process that device A is sent to Join message is improved, below in conjunction withThe CFD implementation method flow process based on GVRP shown in Fig. 3 is elaborated to this.
Step 301, ActiveSpeaker equipment (device A) passes through Passive equipment to PassiveSpeakerEquipment (equipment E) sends Join message, in this Join message, has carried CFD configuration parameter.
Wherein, static configuration VLAN100 in device A, adds VLAN100 by the P1 port of device A,And send by the P1 port of device A the Join message that carries VLAN100; On this basis, thisIn bright embodiment, in this Join message, carry CFD configuration parameter.
In a kind of preferred embodiment of the embodiment of the present invention, default a set of on ActiveSpeaker equipmentCFD configuration parameter, this CFD configuration parameter includes 8 row CFD configurations, and the first row CFD configures extremelyThe 8th row CFD configuration is respectively MD(maintenance field) CFD of rank 0 configures to MD rank 7CFD configuration, the CFD configuration of each MD rank comprises MD information, the MA of this MD rank(MaintenanceAssociation safeguards collection) information and MEPList information (list), and eachIn MEPList information, can comprise two MEP marks, as the mark between the communication node of two ends.
As shown in table 1, be a kind of example of CFD configuration parameter, and device A to equipment B sendThe CFD configuration parameter carrying in Join message can be as shown in table 1. Concrete, when joining in device AWhile putting the associated CFD of static VLAN100, device A becomes ActiveSpeaker equipment, is passing through P1Port sends while carrying the Join message of VLAN100, in this Join message, carries the CFD shown in table 1Configuration parameter, any CFD configuration of the now P1 port un-activation of device A.
Table 1
MD information MA information MEP List information
MD_0 MA_0 8001,8002
MD_1 MA_1 8011,8012
MD_2 MA_2 8021,8022
MD_3 MA_3 8031,8032
MD_4 MA_4 8041,8042
MD_5 MA_5 8051,8052
MD_6 MA_6 8061,8062
MD_7 MA_7 8071,8072
Step 302, receives that the Passive equipment of Join message holds CFD configuration ginseng from Join message relayThe first row CFD configuration of number, the first row CFD configuration of deleting CFD configuration parameter from Join message,And continue to send Join message to PassiveSpeaker equipment (equipment E), by that analogy, untilJoin message is sent to PassiveSpeaker equipment.
One preferred embodiment in, receive that the Passive equipment of Join message is inherited CFD configurationSecond MEP of MEPList information in the first row CFD configuration of parameter.
The P2 port of equipment B is learnt dynamic vlan 100 after receiving Join message, and P2 port is addedVLAN100, and the first row CFD configuration of holding CFD configuration parameter from Join message relay, equipment BThe CFD configuration parameter carrying in the Join message of receiving is as shown in table 1, the CFD that therefore equipment B is inheritedBe configured to MD_0, MA_0, MEP8002, now the P2 port of equipment B is export-oriented MEP.
Further, equipment B is deleted the first row CFD configuration of CFD configuration parameter from Join message,And sent and carried the Join message of VLAN100 by P1 port, and equipment B sends to equipment CThe CFD configuration parameter carrying in Join message can be as shown in table 2.
Table 2
MD information MA information MEP List information
MD_1 MA_1 8011,8012
MD_2 MA_2 8021,8022
MD_3 MA_3 8031,8032
MD_4 MA_4 8041,8042
MD_5 MA_5 8051,8052
MD_6 MA_6 8061,8062
MD_7 MA_7 8071,8072
The P2 port of equipment C is learnt dynamic vlan 100 after receiving Join message, and P2 port is addedVLAN100, and the first row CFD configuration of holding CFD configuration parameter from Join message relay, equipment CThe CFD configuration parameter carrying in the Join message of receiving is as shown in table 2, the CFD that therefore equipment C inheritsBe configured to MD_1, MA_1, MEP8012, now the P2 port of equipment C is export-oriented MEP.
Further, equipment C deletes the first row CFD configuration of CFD configuration parameter from Join message,And sent and carried the Join message of VLAN100 by P1 port, and equipment C sends to equipment DThe CFD configuration parameter carrying in Join message can be as shown in table 3.
Table 3
MD information MA information MEP List information
MD_2 MA_2 8021,8022
MD_3 MA_3 8031,8032
MD_4 MA_4 8041,8042
MD_5 MA_5 8051,8052
MD_6 MA_6 8061,8062
MD_7 MA_7 8071,8072
The P2 port of equipment D is learnt dynamic vlan 100 after receiving Join message, and P2 port is addedVLAN100, and the first row CFD configuration of holding CFD configuration parameter from Join message relay, equipment DThe CFD configuration parameter carrying in the Join message of receiving is as shown in table 3, the CFD that therefore equipment D inheritsBe configured to MD_2, MA_2, MEP8022, now the P2 port of equipment D is export-oriented MEP.
Further, equipment D deletes the first row CFD configuration of CFD configuration parameter from Join message,And sent and carried the Join message of VLAN100 by P1 port, and equipment D sends to equipment EThe CFD configuration parameter carrying in Join message can be as shown in table 4.
Table 4
MD information MA information MEP List information
MD_3 MA_3 8031,8032
MD_4 MA_4 8041,8042
MD_5 MA_5 8051,8052
MD_6 MA_6 8061,8062
MD_7 MA_7 8071,8072
Step 303, PassiveSpeaker equipment (equipment E) holds CFD configuration from Join message relayThe first row CFD configuration of parameter; One preferred embodiment in, PassiveSpeaker equipment continuesHold second MEP of MEPList information in the first row CFD configuration of CFD configuration parameter.
The P2 port of equipment E receives after Join message, due to the upper static configuration VLAN100 of equipment E,Therefore do not need learning dynamics VLAN100, finish Join message transmission flow; Further, equipment EThe first row CFD configuration that can directly hold CFD configuration parameter from Join message relay, equipment E receivesJoin message in the CFD configuration parameter that carries as shown in table 4, the CFD that therefore equipment E inherits joinsBe set to MD_3, MA_3, MEP8032, now the P2 port of equipment E is export-oriented MEP.
Step 304, Passive equipment and PassiveSpeaker equipment are being inherited the of CFD configuration parameterAfter a line CFD configuration, periodically send and show CCM(ContinuityCheckMessage, continuityDetection messages) message and implicit expression CCM message. Wherein, this demonstration CCM message is used for carrying out GVRPDetect, and in this demonstration CCM message, to carry particular vlan (be static configuration and dynamic learningVLAN, as VLAN100) Tag(label); This implicit expression CCM message is used for carrying out CFD detection,And in this implicit expression CCM message, do not carry the Tag of particular vlan, but carry particular vlanAttribute (as VLAN100). Further, in implicit expression CCM message, be provided with flag bit P, work as flag bitWhen P is the first mark (as 0), represent that implicit expression CCM message is that Passive equipment sends, and works as flag bitWhen P is the second mark (as 1), represent that implicit expression CCM message is that PassiveSpeaker equipment sends.
Step 305, ActiveSpeaker equipment is being received Passive equipment and PassiveSpeaker equipmentAfter the implicit expression CCM message sending, activate respectively on ActiveSpeaker equipment with Passive equipment andThe CFD that PassiveSpeaker equipment is inherited configures corresponding CFD configuration.
The P2 port of equipment B after the CFD configuration of having inherited MD_0, MA_0, MEP8002,Can generate the export-oriented MEP that the Level based on VLAN100 is 0 at P2 port, and periodically to equipmentThe implicit expression CCM message that the demonstration CCM message that A transmission Level is 0 and Level are 0 detects.Wherein, this demonstration CCM message is the CCM message of stamping VLAN100Tag, this implicit expression CCM reportLiterary composition is not to be with VLAN100Tag, but carries VLAN100 attribute; Further, this implicit expression CCMIn message, be provided with flag bit P, and this flag bit P is set to 0, wherein, this flag bit P is set to 0Time what represent to send implicit expression CCM message is Passive equipment.
Because the P1 port of device A and the P2 port of equipment B have all joined VLAN100, thereforeDevice A can be received demonstration CCM message and the implicit expression CCM message that equipment B sends.
Further, after device A receives that Level is 0 implicit expression CCM message, activate correspondingCFD configuration, activates CFD configuration MD_0, MA_0, MEP8001, and generates based on VLAN100The Level export-oriented MEP that is 0, device A can detect and the Link State of equipment B thus.
The P2 port of equipment C after the CFD configuration of having inherited MD_1, MA_1, MEP8012,Can generate the export-oriented MEP that the Level based on VLAN100 is 1 at P2 port, and periodically to equipmentThe implicit expression CCM message that the demonstration CCM message that A transmission Level is 1 and Level are 1 detects.Wherein, this demonstration CCM message is the CCM message of stamping VLAN100Tag, this implicit expression CCM reportLiterary composition is not to be with VLAN100Tag, but carries VLAN100 attribute; Further, this implicit expression CCMIn message, be provided with flag bit P, and this flag bit P is set to 0, wherein, this flag bit P is set to 0Time what represent to send implicit expression CCM message is Passive equipment.
The implicit expression CCM report that the demonstration CCM message that the Level that equipment C sends is 1 and Level are 1Literary composition, before arriving device A, first arrives the P1 port of equipment B, because the P1 port of equipment B can addEnter to dynamic vlan 100, therefore the P1 port of equipment B allows to show CCM message and implicit expression CCMMessage passes through, and device A can be received demonstration CCM message and the implicit expression CCM message that equipment C sends.
Further, after device A receives that Level is 1 implicit expression CCM message, activate correspondingCFD configuration, activates CFD configuration MD_1, MA_1, MEP8011, and generates based on VLAN100The Level export-oriented MEP that is 1, device A can detect and the Link State of equipment C thus.
The P2 port of equipment D after the CFD configuration of having inherited MD_2, MA_2, MEP8022,Can generate the export-oriented MEP that the Level based on VLAN100 is 2 at P2 port, and periodically to equipmentThe implicit expression CCM message that the demonstration CCM message that A transmission Level is 2 and Level are 2 detects.Wherein, this demonstration CCM message is the CCM message of stamping VLAN100Tag, this implicit expression CCM reportLiterary composition is not to be with VLAN100Tag, but carries VLAN100 attribute; Further, this implicit expression CCMIn message, be provided with flag bit P, and this flag bit P is set to 0, wherein, this flag bit P is set to 0Time what represent to send implicit expression CCM message is Passive equipment.
The implicit expression CCM report that the demonstration CCM message that the Level that equipment D sends is 2 and Level are 2Literary composition, before arriving device A, first arrives the P1 port of equipment C and the P1 port of equipment B, owing to establishingThe standby P1 port of C and the P1 port of equipment B can join dynamic vlan 100, therefore equipment CThe P1 port of P1 port and equipment B allows to show that CCM message and implicit expression CCM message pass through, and establishesStandby A can receive demonstration CCM message and the implicit expression CCM message that equipment D sends.
Further, after device A receives that Level is 2 implicit expression CCM message, activate correspondingCFD configuration, activates CFD configuration MD_2, MA_2, MEP8021, and generates based on VLAN100The Level export-oriented MEP that is 2, device A can detect and the Link State of equipment D thus.
The P2 port of equipment E after the CFD configuration of having inherited MD_3, MA_3, MEP8032, meetingGenerate at P2 port the export-oriented MEP that the Level based on VLAN100 is 3, and periodically to device AThe implicit expression CCM message that the demonstration CCM message that transmission Level is 3 and Level are 3 detects.Wherein, this demonstration CCM message is the CCM message of stamping VLAN100Tag, this implicit expression CCM reportLiterary composition is not to be with VLAN100Tag, but carries VLAN100 attribute; Further, this implicit expression CCMIn message, be provided with flag bit P, and this flag bit P is set to 1, wherein, this flag bit P is set to 1Time what represent to send implicit expression CCM message is PassiveSpeaker equipment.
The implicit expression CCM report that the demonstration CCM message that the Level that equipment E sends is 3 and Level are 3Literary composition, before arriving device A, first arrives the P1 port of equipment D, P1 port and the equipment B of equipment CP1 port, due to P1 port, the P1 port of equipment C and the P1 port meeting of equipment B of equipment DJoin dynamic vlan 100, therefore P1 port and the equipment B of the P1 port of equipment D, equipment CP1 port allow to show that CCM message and implicit expression CCM message pass through, device A can be received and establishDemonstration CCM message and implicit expression CCM message that standby D sends.
Further, after device A receives that Level is 3 implicit expression CCM message, activate correspondingCFD configuration, activates CFD configuration MD_3, MA_3, MEP8031, and generates based on VLAN100The Level export-oriented MEP that is 3, device A can detect and the Link State of equipment E thus.
In a kind of specific implementation of the embodiment of the present invention, ActiveSpeaker equipment (device A)Do not need periodically to send and show CCM message and implicit expression CCM message, receive only and processes and displays CCMMessage and implicit expression CCM message; In addition Passive equipment (equipment B, equipment C and equipment D),Do not need to receive and processes and displays CCM message and implicit expression CCM message, only need periodically to send and showCCM message and implicit expression CCM message; In addition, PassiveSpeaker equipment (equipment E) does not needReceive and processes and displays CCM message and implicit expression CCM message, only need periodically transmission to show CCMMessage and implicit expression CCM message.
Step 306, implicit expression CCM report on this ActiveSpeaker of ActiveSpeaker equipment utilization equipmentThe reception condition of literary composition is carried out CFD detection; Wherein, implicit expression CCM message is Passive equipment and/or PassiveSpeaker equipment periodically sends after the first row CFD configuration of inheriting CFD configuration parameter.
In a kind of preferred embodiment of the embodiment of the present invention, ActiveSpeaker equipment utilization originallyThe reception condition that shows CCM message on ActiveSpeaker equipment is carried out GVRP detection; Wherein, aobviousShow that CCM message is that Passive equipment and/or PassiveSpeaker equipment are being inherited CFD configuration parameterThe first row CFD configuration after periodically send.
In the embodiment of the present invention, ActiveSpeaker equipment receives that for the first time flag bit P is the second markImplicit expression CCM message (receiving the implicit expression CCM message from PassiveSpeaker equipment) time,CFD configuration in confirmation GVRP network has been disposed, and determines to carry out and utilize this ActiveOn Speaker equipment, the reception condition of implicit expression CCM message is carried out CFD detection and utilizes this ActiveOn Speaker equipment, show that the reception condition of CCM message carries out the step of GVRP detection.
In the embodiment of the present invention, in concrete testing process, ActiveSpeaker equipment is at this ActiveOn Speaker equipment, receive the demonstration CCM report that Passive equipment and/or PassiveSpeaker equipment sendWen Shi, determines that corresponding GVRP testing result is for normal, otherwise, determine that corresponding GVRP detects knotFruit is unsuccessfully; And ActiveSpeaker equipment is received Passive on this ActiveSpeaker equipmentWhen implicit expression CCM message that equipment and/or PassiveSpeaker equipment send, determine corresponding CFD inspectionIt is normal surveying result, otherwise, determine that corresponding CFD testing result is unsuccessfully.
Further, ActiveSpeaker equipment determines that corresponding CFD testing result is failure and/or phaseThe GVRP testing result of answering be unsuccessfully after, can also be by all CFD testing result and/or GVRPTesting result is for the link failure judgement of whole link, and concrete judgment mode is set forth in subsequent process.
Below in conjunction with concrete application scenarios, this testing process is elaborated.
(1) when equipment GVRP abnormal (as abnormal in the GVRP protocol processes of equipment D), network linkWhen normal, can cause the situation shown in Fig. 4 to occur. Now, the P1 port of equipment B, equipment CThe P1 port of P1 port, equipment D, the P2 port of equipment D all can be due to the GVRP associations of equipment DView is processed abnormal and is caused dynamic vlan 100 to be canceled, and therefore device A is determined corresponding GVRP inspectionSurveying result and CFD testing result is unsuccessfully, as shown in table 5.
Table 5
Level rank Opposite end MEP GVRP detects CFD detects
0 8002 Normally Normally
1 8012 Failure Normally
2 8022 Failure Failure
3 8032 Failure Normally
Concrete, in the time that the GVRP of equipment D protocol processes is abnormal, P1 port and the equipment of equipment DThe P2 port of D can cause dynamic vlan 100 quilts extremely due to the GVRP protocol processes of this equipment DNullify; In addition, in the time that the GVRP of equipment D protocol processes is abnormal, equipment E send Join message withoutMethod sends in equipment C, equipment B, and therefore the P1 port of equipment B and the P1 port of equipment C is movingState VLAN100 also can be because the GVRP protocol processes of equipment D causes being canceled extremely.
Because the link between equipment E and device A does not have fault, therefore equipment E sends out by port P2The implicit expression CCM message sending can send in device A, device A can receive Level be 3 hiddenFormula CCM message, and confirm that corresponding CFD testing result (between device A and equipment E) is for normal.Because the dynamic vlan 100 of the P1 port of equipment D is canceled, therefore equipment E sends out by port P2The demonstration CCM message sending can not send in device A, and device A can not receive that Level is 3Demonstration CCM message, and confirm corresponding GVRP testing result (between device A and equipment E)For failure.
Because the GVRP protocol processes of equipment D is abnormal, therefore equipment D can not send implicit expression CCM reportLiterary composition and demonstration CCM message. Further, due to device A, can not to receive Level be 2 implicit expressionCCM message, therefore confirms that corresponding CFD testing result (between device A and equipment D) is unsuccessfully.Can not receive Level due to device A is 2 demonstration CCM message, therefore confirms corresponding GVRPTesting result (between device A and equipment D) is unsuccessfully.
Because the link between equipment C and device A does not have fault, therefore equipment C sends out by port P2The implicit expression CCM message sending can send in device A, device A can receive Level be 1 hiddenFormula CCM message, and confirm that corresponding CFD testing result (between device A and equipment C) is for normal.Because the dynamic vlan 100 of the P1 port of equipment B is canceled, therefore equipment C sends out by port P2The demonstration CCM message sending can not send in device A, and device A can not receive that Level is 1Demonstration CCM message, and confirm corresponding GVRP testing result (between device A and equipment C)For failure.
Because the link between equipment B and device A does not have fault, therefore equipment B is sent out by port P2The implicit expression CCM message sending can send in device A, device A can receive Level be 0 hiddenFormula CCM message, and confirm that corresponding CFD testing result (between device A and equipment B) is for normal.In addition, the demonstration CCM message that equipment B sends by port P2 can send in device A, equipmentA can receive that Level is 0 demonstration CCM message, and confirms that corresponding GVRP testing result (establishesBetween standby A and equipment B) be normal.
Based on above-mentioned analytic process, device A can obtain the testing result shown in table 5.
Further, utilize the testing result shown in table 5, can analyze as follows:
The CFD testing result that is 3 based on Level, can show that device A arrives the link between equipment ENormally, and because device A is normal to the link between equipment E, illustrate that the whole link of network does not haveOccur extremely, now prove to have the GVRP agreement of equipment to occur abnormal. Further, based on LevelBe 2 CFD testing result, can show that device A arrives link between equipment D and occurs extremely, this is differentOften because not sending implicit expression CCM message, equipment D causes; The CFD that is 1 based on Level detectsAs a result, can show that device A arrives link between equipment C normal; The CFD that is 0 based on Level inspectionSurvey result, can show that device A is normal to the link between equipment B. In addition be 3 based on Level,GVRP testing result, can show that GVRP agreement occurs abnormal; The GVRP that is 2 based on LevelTesting result, can show that GVRP agreement occurs abnormal; The GVRP that is 1 based on Level detects knotReally, can show that GVRP agreement occurs abnormal. Further, the CFD that is 2 based on Level detectsResult and Level are 2 GVRP testing result, and can reach a conclusion is: the GVRP on equipment DAgreement occurs abnormal, causes port cannot register dynamic vlan 100, then causes the CFD of other LevelTesting result is that link is normal, but GVRP testing result is abnormal.
(2) when equipment GVRP(is for detection of GVRP agreement) normal, when network link is abnormal, vacationIf the link between equipment C and equipment D disconnects, can cause the situation shown in Fig. 5 to occur. Now, establishThe P2 port of the P1 port of standby B, the P1 port of equipment C, equipment D all can be because link disconnectsCause dynamic vlan 100 to be canceled, therefore device A is determined corresponding GVRP testing result and CFDTesting result is unsuccessfully, as shown in table 6.
Table 6
Level rank Opposite end MEP GVRP detects CFD detects
0 8002 Normally Normally
1 8012 Failure Normally
2 8022 Failure Failure
3 8032 Failure Failure
Concrete, when the link between equipment C and equipment D disconnects, the Join message that equipment E sendsCannot send in equipment C and equipment B, the P1 port of equipment B and the P1 port of equipment C can be due toLink disconnects and causes dynamic vlan 100 to be canceled; In addition, device A send Join message also withoutIt is upper that method sends to equipment D, causes the P2 port of equipment D to cause dynamically because link disconnectsVLAN100 is canceled.
Because the link between equipment E and device A breaks down, therefore equipment E sends out by port P2The implicit expression CCM message sending can not send in device A, and device A can not receive that Level is 3Implicit expression CCM message, and confirm that corresponding CFD testing result (between device A and equipment E) isFailure. Because the dynamic vlan 100 of the P2 port of equipment D is canceled, therefore equipment E passes through portThe demonstration CCM message that P2 sends can not send in device A, and device A can not be received LevelBe 3 demonstration CCM message, and confirm corresponding GVRP testing result (device A and equipment E itBetween) be unsuccessfully.
Because the link between equipment D and device A breaks down, therefore equipment D sends out by port P2The implicit expression CCM message sending can not send in device A, and device A can not receive that Level is 2Implicit expression CCM message, and confirm that corresponding CFD testing result (between device A and equipment D) isFailure. Because the dynamic vlan 100 of the P2 port of equipment D is canceled, therefore equipment D can not pass throughPort P2 sends demonstration CCM message, and device A can not receive that Level is 2 demonstration CCM reportLiterary composition, and confirm that corresponding GVRP testing result (between device A and equipment D) is unsuccessfully.
Because the link between equipment C and device A does not have fault, therefore equipment C sends out by port P2The implicit expression CCM message sending can send in device A, device A can receive Level be 1 hiddenFormula CCM message, and confirm that corresponding CFD testing result (between device A and equipment C) is for normal.Because the dynamic vlan 100 of the P1 port of equipment B is canceled, therefore equipment C sends out by port P2The demonstration CCM message sending can not send in device A, and device A can not receive that Level is 1Demonstration CCM message, and confirm corresponding GVRP testing result (between device A and equipment C)For failure.
Because the link between equipment B and device A does not have fault, therefore equipment B is sent out by port P2The implicit expression CCM message sending can send in device A, device A can receive Level be 0 hiddenFormula CCM message, and confirm that corresponding CFD testing result (between device A and equipment B) is for normal.In addition, the demonstration CCM message that equipment B sends by port P2 can send in device A, equipmentA can receive that Level is 0 demonstration CCM message, and confirms that corresponding GVRP testing result (establishesBetween standby A and equipment B) be normal.
Based on above-mentioned analytic process, device A can obtain the testing result shown in table 6.
Further, utilize the testing result shown in table 6, can analyze as follows:
The CFD testing result that is 3 based on Level, because CFD testing result is unsuccessfully, and equipment EFor PassiveSpeaker equipment (can not exist P2 port not send out the situation of implicit expression CCM message), byThis can judge is that link between equipment occurs abnormal. Further, the CFD that is 1 based on LevelTesting result and Level are 2 CFD testing result, can judge device A and arrive between equipment CLink does not occur extremely; Therefore reach a conclusion is that equipment C occurs extremely to the link between equipment D.
In the embodiment of the present invention, consider multiple interface enable GVRP and the associated CFD of Passive equipmentThe situation of configuration parameter, PassiveSpeaker equipment as multiple in Passive equipment connection or PassiveThe application scenarios such as the multiple Passive equipment of equipment connection, two of Passive equipment connections as shown in Figure 6The application scenarios schematic diagram of PassiveSpeaker equipment. Under this application scenarios, in concrete CFD inspectionIn survey process, owing to only needing Passive equipment and PassiveSpeaker equipment to ActiveSpeakerDevice transmission shows CCM message and implicit expression CCM message, therefore can allow same MEP by manyIndividual equipment uses, therefore can be by increasing device identification with the different Passive to Passive equipment connectionSpeaker equipment is distinguished. Wherein, device identification includes but not limited to the MAC(Media of equipmentAccessControl, medium access control) address etc., follow-up equipment identifies taking MAC Address as example.
In the case, Passive equipment and PassiveSpeaker equipment are sent out to ActiveSpeaker equipmentIn the demonstration CCM message sending, also carry the Passive equipment or the Passive that send this demonstration CCM messageThe device identification of Speaker equipment. ActiveSpeaker equipment is received on this ActiveSpeaker equipmentWhen demonstration CCM message that Passive equipment and/or PassiveSpeaker equipment send, from showing CCMIn message, obtain to send and show the Passive equipment of CCM message or the equipment of PassiveSpeaker equipmentMark, and determine that the GVRP testing result corresponding to device identification of carrying in demonstration CCM message is normal,Otherwise, determine and show that the GVRP testing result corresponding to device identification of carrying in CCM message is unsuccessfully;And, the implicit expression that Passive equipment and PassiveSpeaker equipment send to ActiveSpeaker equipmentIn CCM message, also carry the Passive equipment or the PassiveSpeaker that send this implicit expression CCM messageThe device identification of equipment. ActiveSpeaker equipment is received Passive on this ActiveSpeaker equipmentWhen implicit expression CCM message that equipment and/or PassiveSpeaker equipment send, from implicit expression CCM messageObtain and send the Passive equipment of this implicit expression CCM message or the device identification of PassiveSpeaker equipment,And CFD testing result corresponding to the device identification of carrying in definite implicit expression CCM message be for normal, otherwise,Determine that the CFD testing result corresponding to device identification of carrying in implicit expression CCM message is unsuccessfully.
For the application scenarios shown in Fig. 6, as shown in table 7, for network link is normal and equipment GVRPWhen normal, show GVRP testing result and CFD inspection that CCM message and implicit expression CCM message are correspondingSurvey the form of expression example of result.
Table 7
Level rank Opposite end MEP MAC Address GVRP detects CFD and detects
0 8002 Equipment B MAC Normal
1 8012 Equipment C MAC Normal
2 8022 Equipment D MAC Normal
3 8032 Equipment E MAC Normal
3 8032 Equipment F MAC Normal
Testing result shown in the table 7 of safeguarding on ActiveSpeaker equipment, equipment D connect twoPassiveSpeaker equipment (being respectively equipment E and equipment F), its Level rank is 3, and MEPBe 8032; For this reason, in concrete CFD testing process, owing to only needing Passive equipment and PassiveSpeaker equipment shows CCM message and implicit expression CCM message to ActiveSpeaker device transmission, because ofThis can allow same MEP to be used by multiple equipment, therefore on ActiveSpeaker equipment, passes throughThe different MAC Address of service equipment E and equipment F in testing result, to distinguish equipment E and equipment FTesting result.
In the embodiment of the present invention, when cancelling the CFD of Passive equipment and PassiveSpeaker equipmentConfiguration (as: when user has deleted static VLAN100, can be by the CFD function of VLAN100 associationGo to enable, now need to cancel the CFD configuration of Passive equipment and PassiveSpeaker equipment) time,ActiveSpeaker equipment sends Leave(by Passive equipment to PassiveSpeaker equipment and leaves)Message, carries in this Leave message and is used to indicate the distinctive mark position of deleting CFD configuration (as worked as this spyDifferent flag bit is 1 o'clock, is used to indicate in the VLAN100 nullifying on interface, also needs to delete to connectThe CFD configuration of inheriting on mouth); This Passive of Passive unit deletion equipment of receiving Leave message continuesThe CFD configuration of holding, and continue to send Leave message to PassiveSpeaker equipment; By that analogy,Until Leave message sends to PassiveSpeaker equipment, by PassiveSpeaker unit deletion originallyThe CFD configuration that PassiveSpeaker equipment is inherited.
In addition, because GVRP agreement goes wrong or link down causes interface can not register dynamic vlanTime, because CFD operates based on VLAN, if therefore because interface abnormal cause causes not correspondingDynamic vlan, CFD configuration is cancelled state in puppet, and now CFD function can not be worked.
In sum, in the embodiment of the present invention, by carry CFD configuration in the Join of GVRP messageParameter, and inherit CFD configuration parameter by each equipment (Passive equipment and PassiveSpeaker equipment)In CFD configuration, thereby based on GVRP process implementation CFD function, and can pass through dynamic vlanTechnology to each equipment, can configure CFD automatic deployment whole by CFD configuration distributing thenIn double layer network, and detect according to this link failure and the GVRP protocol malfunctions in GVRP network.
Based on the inventive concept same with said method, the invention allows for a kind of based on dynamic virtual officeThe connection wrong detection CFD of territory net VLAN log-in protocol realizes equipment, as active promoter ActiveSpeaker equipment is applied to and comprises described ActiveSpeaker equipment, passive promoter PassiveSpeakerIn the network of equipment and passive Passive equipment, as shown in Figure 7, described ActiveSpeaker equipment,Specifically comprise:
Sending module 11, for establishing to passive promoter PassiveSpeaker by passive Passive equipmentPreparation is sent and is added Join message, in described Join message, has carried CFD configuration parameter; Receive described JoinThe Passive equipment of message holds the first row CFD of described CFD configuration parameter from described Join message relayConfiguration is deleted the first row CFD configuration of described CFD configuration parameter, and is continued from described Join messageContinue to described PassiveSpeaker equipment and send Join message; By that analogy, until described Join messageSend to described PassiveSpeaker equipment, reported from described Join by described PassiveSpeaker equipmentIn literary composition, inherit the first row CFD configuration of described CFD configuration parameter;
Processing module 12, for receiving described Passive equipment and described PassiveSpeaker equipment existsInherit the implicit continuous detection messages sending after the first row CFD configuration of described CFD configuration parameterAfter CCM message, activate the above Passive equipment of this ActiveSpeaker equipment and described PassiveThe CFD that Speaker equipment is inherited configures corresponding CFD configuration;
Detection module 13, for utilizing the reception feelings of implicit expression CCM message on this ActiveSpeaker equipmentCondition is carried out CFD detection; Implicit expression CCM message is described Passive equipment and described PassiveSpeakerEquipment periodically sends after the first row CFD configuration of inheriting described CFD configuration parameter.
Described detection module 13, also shows CCM message for utilizing on this ActiveSpeaker equipmentReception condition is carried out GVRP detection; Show that CCM message is described Passive equipment and described PassiveSpeaker equipment periodically sends after the first row CFD configuration of inheriting described CFD configuration parameter.
In the embodiment of the present invention, the CFD carrying in the Join message that this ActiveSpeaker equipment sendsConfiguration parameter includes 8 row CFD configurations, and the first row CFD configuration to the 8th row CFD configuration is respectivelyThe CFD of maintenance field MD rank 0 configures the CFD configuration to MD rank 7, the CFD of each MD rankConfiguration comprises MD information, maintenance collection MA information and the maintaining end point list MEPList of this MD rankInformation; Wherein, described MEPList information comprises two MEP, and receives the Passive of described Join messageEquipment and PassiveSpeaker equipment are only inherited in the first row CFD configuration of described CFD configuration parameterSecond MEP.
Described detection module 13, specifically for receiving Passive equipment on this ActiveSpeaker equipmentAnd/or described PassiveSpeaker equipment send implicit expression CCM message time, determine corresponding CFD inspectionIt is normal surveying result, otherwise, determine that corresponding CFD testing result is unsuccessfully; And,
On this ActiveSpeaker equipment, receive that Passive equipment and/or described PassiveSpeaker establishWhen demonstration CCM message that preparation is sent, determine that corresponding GVRP testing result is for normal, otherwise, determineCorresponding GVRP testing result is unsuccessfully;
Wherein, this ActiveSpeaker equipment determines that corresponding CFD testing result is failed and/or correspondingGVRP testing result be unsuccessfully after, by all CFD testing results and/or GVRP testing resultRecord is for the link failure judgement of whole link.
In described demonstration CCM message, carry the label Tag of particular vlan; Described implicit expression CCM reportIn literary composition, do not carry the Tag of particular vlan, but carry the attribute of described particular vlan; Wherein,In described implicit expression CCM message, be provided with flag bit P, in the time that flag bit P is the first mark, described in expressionImplicit expression CCM message is that Passive equipment sends, and in the time that flag bit P is the second mark, represents described hiddenFormula CCM message is that PassiveSpeaker equipment sends;
Described detection module 13, specifically for receiving that for the first time flag bit P is the implicit expression of the second markWhen CCM message, confirm that the CFD configuration in described network has been disposed, and determine and can carry outUtilize the reception condition of implicit expression CCM message on this ActiveSpeaker equipment carry out CFD detection andUtilize and on this ActiveSpeaker equipment, show that the reception condition of CCM message carries out the step of GVRP detectionSuddenly.
Described detection module 13, specifically for receiving Passive equipment on this ActiveSpeaker equipmentAnd/or PassiveSpeaker equipment send implicit expression CCM message time, from implicit expression CCM message, obtainSend the device identification of Passive equipment or the PassiveSpeaker equipment of described implicit expression CCM message,And determine that the CFD testing result corresponding to device identification of carrying in described implicit expression CCM message is normal,Otherwise, determine that the CFD testing result corresponding to device identification of carrying in described implicit expression CCM message is mistakeLose;
On this ActiveSpeaker equipment, receive that Passive equipment and/or PassiveSpeaker equipment sends outSend demonstration CCM message time, from show CCM message, obtain and send described demonstration CCM messageThe device identification of Passive equipment or PassiveSpeaker equipment, and determine described demonstration CCM messageIn GVRP testing result corresponding to the device identification of carrying for normal, otherwise, determine described demonstration CCMThe GVRP testing result corresponding to device identification of carrying in message is unsuccessfully.
Described sending module 11, also need to cancel Passive equipment and described PassiveSpeaker for working asWhen the CFD of equipment configures, send and leave to described PassiveSpeaker equipment by Passive equipmentLeave message, carries in described Leave message and is used to indicate the distinctive mark position of deleting CFD configuration;Receive the CFD configuration of this Passive of Passive unit deletion equipment succession of described Leave message, andContinue to send Leave message to described PassiveSpeaker equipment; By that analogy, until described LeaveMessage sends to described PassiveSpeaker equipment, by described PassiveSpeaker unit deletion originallyThe CFD configuration that PassiveSpeaker equipment is inherited.
Wherein, the modules of apparatus of the present invention can be integrated in one, and also can separate deployment. Above-mentionedModule can be merged into a module, also can further split into multiple submodules.
Based on the inventive concept same with said method, the invention allows for a kind of based on dynamic vlanThe connection wrong detection CFD of log-in protocol realizes equipment, is applied to and comprises as passive Passive equipmentInitiatively promoter ActiveSpeaker equipment, passive promoter PassiveSpeaker equipment and described inIn the network of Passive equipment, as shown in Figure 8, described Passive equipment, specifically comprises:
Receiver module 21, passes through Passive equipment for receiving initiatively promoter ActiveSpeaker equipmentWhat send to passive promoter PassiveSpeaker equipment adds Join message, in described Join message, takesBe with CFD configuration parameter;
Processing module 22, for the first row of holding described CFD configuration parameter from described Join message relayCFD configuration, and the first row CFD configuration of deleting described CFD configuration parameter from described Join message;
Sending module 23, sends Join message for continuing to PassiveSpeaker equipment, by that analogy,Until described Join message sends to described PassiveSpeaker equipment, by described PassiveSpeakerEquipment holds the first row CFD configuration of described CFD configuration parameter from described Join message relay; And,
After the first row CFD configuration of inheriting described CFD configuration parameter, periodically to ActiveSpeakerEquipment sends implicit continuous detection messages CCM message; Receiving implicit expression by ActiveSpeaker equipmentAfter CCM message, activate the CFD configuration institute that on this ActiveSpeaker equipment, Passive equipment is inheritedCorresponding CFD configuration; And by implicit expression on this ActiveSpeaker of ActiveSpeaker equipment utilization equipmentThe reception condition of CCM message is carried out CFD detection.
Described sending module 23, also for inheriting the first row CFD configuration of described CFD configuration parameterAfter, periodically send and show CCM message to ActiveSpeaker equipment, established by ActiveSpeakerFor utilizing the reception condition that shows CCM message on this ActiveSpeaker equipment to carry out GVRP detection.
In the embodiment of the present invention, the CFD carrying in the Join message that described ActiveSpeaker equipment sendsConfiguration parameter includes 8 row CFD configurations, and the first row CFD configuration to the 8th row CFD configuration is respectivelyThe CFD of maintenance field MD rank 0 configures the CFD configuration to MD rank 7, the CFD of each MD rankConfiguration comprises MD information, maintenance collection MA information and the maintaining end point list MEPList of this MD rankInformation; Wherein, described MEPList information comprises two MEP, and receives the Passive of described Join messageEquipment and PassiveSpeaker equipment are only inherited in the first row CFD configuration of described CFD configuration parameterSecond MEP;
In described demonstration CCM message, carry the label Tag of particular virtual local area network VLAN; Described hiddenIn formula CCM message, do not carry the Tag of particular vlan, but carry the genus of described particular vlanProperty; Wherein, in described implicit expression CCM message, be provided with flag bit P, in the time that flag bit P is the first mark,Represent that described implicit expression CCM message is that Passive equipment sends, in the time that flag bit P is the second mark, tableShow that described implicit expression CCM message is that PassiveSpeaker equipment sends.
Described receiver module 21, also need to cancel Passive equipment and described PassiveSpeaker for working asWhen the CFD of equipment configures, receive described ActiveSpeaker equipment and pass through this Passive equipment to describedWhat PassiveSpeaker equipment sent leaves Leave message, and carries and be used in reference in described Leave messageShow that this Passive equipment is to the distinctive mark position of deleting CFD configuration;
Described processing module 22, also for deleting the CFD configuration of inheriting on this Passive equipment;
Described sending module 23, also sends Leave report for continuing to described PassiveSpeaker equipmentLiterary composition; By that analogy, until described Leave message sends to described PassiveSpeaker equipment, by instituteState the CFD configuration that this PassiveSpeaker of PassiveSpeaker unit deletion equipment is inherited.
Wherein, the modules of apparatus of the present invention can be integrated in one, and also can separate deployment. Above-mentionedModule can be merged into a module, also can further split into multiple submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to thisBright can realization by hardware, the mode that also can add necessary general hardware platform by software realizes.Based on such understanding, technical scheme of the present invention can embody with the form of software product, and this is softPart product can be stored in a non-volatile memory medium, and (can be CD-ROM, USB flash disk, moves hardDish etc.) in, comprise that some instructions are in order to make a computer equipment (can be personal computer, takeBusiness device, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, in accompanying drawingModule or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can describe according to embodimentBe distributed in the device of embodiment, also can carry out respective change and be positioned at and be different from one of the present embodimentIn individual or multiple devices. The module of above-described embodiment can be merged into a module, also can further tear openBe divided into multiple submodules.
The invention described above sequence number, just to describing, does not represent the quality of embodiment.
Disclosed is above only several specific embodiment of the present invention, and still, the present invention is not limited thereto,The changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (18)

1. the connection wrong detection CFD implementation method based on dynamic virtual LAN VLAN log-in protocol, is characterized in that, the method comprises the following steps:
Initiatively promoter ActiveSpeaker equipment is sent and adds Join message to passive promoter PassiveSpeaker equipment by passive Passive equipment, in described Join message, carries CFD configuration parameter; Receive that the Passive equipment of described Join message holds the first row CFD configuration of described CFD configuration parameter from described Join message relay, from described Join message, delete the first row CFD configuration of described CFD configuration parameter, and continue to send Join message to described PassiveSpeaker equipment; By that analogy, until described Join message sends to described PassiveSpeaker equipment, the first row CFD that holds described CFD configuration parameter from described Join message relay by described PassiveSpeaker equipment configures;
Described ActiveSpeaker equipment receives after the implicit continuous detection messages CCM message of described Passive equipment and the transmission after the first row CFD configuration of inheriting described CFD configuration parameter of described PassiveSpeaker equipment, and the CFD that activates the above Passive equipment of described ActiveSpeaker equipment and the succession of described PassiveSpeaker equipment configures corresponding CFD configuration;
On described this ActiveSpeaker of ActiveSpeaker equipment utilization equipment, the reception condition of implicit expression CCM message is carried out CFD detection; Implicit expression CCM message is that described Passive equipment and described PassiveSpeaker equipment periodically send after the first row CFD configuration of inheriting described CFD configuration parameter;
Wherein, described ActiveSpeaker equipment is the equipment of configuring static VLAN associated CFD and the corresponding interface associated CFD while enabling Generic Attribute Registration Protocol VLAN log-in protocol GVRP; Described PassiveSpeaker equipment is to have configured static VLAN but the equipment of not associated CFD and the corresponding interface associated CFD while enabling GVRP; Described Passive equipment is the equipment of associated CFD while not having configuring static VLAN and the corresponding interface to enable GVRP.
2. the method for claim 1, it is characterized in that, after the CFD that described in described ActiveSpeaker device activation, the above Passive equipment of ActiveSpeaker equipment and described PassiveSpeaker equipment are inherited configures corresponding CFD configuration, described method also comprises:
On described this ActiveSpeaker of ActiveSpeaker equipment utilization equipment, show that the reception condition of CCM message carries out GVRP detection; Show that CCM message is that described Passive equipment and described PassiveSpeaker equipment periodically send after the first row CFD configuration of inheriting described CFD configuration parameter.
3. method as claimed in claim 2, it is characterized in that, the CFD configuration parameter carrying in the Join message that described ActiveSpeaker equipment sends includes 8 row CFD configurations, the CFD that the first row CFD configuration to the 8th row CFD configuration is respectively maintenance field MD rank 0 configures the CFD configuration to MD rank 7, and the CFD configuration of each MD rank comprises MD information, maintenance collection MA information and the maintaining end point list MEPList information of this MD rank; Wherein, described MEPList information comprises two MEP, and receives that the Passive equipment of described Join message and PassiveSpeaker equipment only inherits second MEP in the first row CFD configuration of described CFD configuration parameter.
4. method as claimed in claim 2, is characterized in that,
On described this ActiveSpeaker of ActiveSpeaker equipment utilization equipment, the reception condition of implicit expression CCM message is carried out CFD detection, specifically comprises:
When described ActiveSpeaker equipment is received the implicit expression CCM message of Passive equipment and/or the transmission of described PassiveSpeaker equipment on this ActiveSpeaker equipment, determine that corresponding CFD testing result is for normal, otherwise, determine that corresponding CFD testing result is unsuccessfully;
On described this ActiveSpeaker of ActiveSpeaker equipment utilization equipment, show that the reception condition of CCM message carries out GVRP detection, specifically comprise:
When described ActiveSpeaker equipment is received the demonstration CCM message of Passive equipment and/or the transmission of described PassiveSpeaker equipment on this ActiveSpeaker equipment, determine that corresponding GVRP testing result is for normal, otherwise, determine that corresponding GVRP testing result is unsuccessfully;
Wherein, described ActiveSpeaker equipment determine corresponding CFD testing result be unsuccessfully and/or corresponding GVRP testing result be unsuccessfully after, all CFD testing results and/or GVRP testing result are recorded for the link failure of whole link and are judged.
5. the method as described in claim 2 or 4, is characterized in that,
In described demonstration CCM message, carry the label Tag of particular vlan; In described implicit expression CCM message, do not carry the Tag of particular vlan, but carry the attribute of described particular vlan; Wherein, in described implicit expression CCM message, be provided with flag bit P, in the time that flag bit P is the first mark, represent that described implicit expression CCM message is that Passive equipment sends, in the time that flag bit P is the second mark, represent that described implicit expression CCM message is that PassiveSpeaker equipment sends;
Described ActiveSpeaker equipment is in the time receiving that flag bit P is the implicit expression CCM message of the second mark for the first time, confirm that CFD in described network configuration disposed, and determine to carry out and utilize the reception condition of implicit expression CCM message on this ActiveSpeaker equipment to carry out CFD detection and utilize on this ActiveSpeaker equipment, showing that the reception condition of CCM message carries out the step of GVRP detection.
6. method as claimed in claim 2, is characterized in that,
On described this ActiveSpeaker of ActiveSpeaker equipment utilization equipment, the reception condition of implicit expression CCM message is carried out CFD detection, specifically comprises:
When described ActiveSpeaker equipment is received the implicit expression CCM message of Passive equipment and/or the transmission of PassiveSpeaker equipment on this ActiveSpeaker equipment, from implicit expression CCM message, obtain and send the Passive equipment of described implicit expression CCM message or the device identification of PassiveSpeaker equipment, and determine that the CFD testing result corresponding to device identification of carrying in described implicit expression CCM message is normal, otherwise, determine that the CFD testing result corresponding to device identification of carrying in described implicit expression CCM message is unsuccessfully;
On described this ActiveSpeaker of ActiveSpeaker equipment utilization equipment, show that the reception condition of CCM message carries out GVRP detection, specifically comprise:
When described ActiveSpeaker equipment is received the demonstration CCM message of Passive equipment and/or the transmission of PassiveSpeaker equipment on this ActiveSpeaker equipment, from show CCM message, obtain and send the Passive equipment of described demonstration CCM message or the device identification of PassiveSpeaker equipment, and determine that the GVRP testing result corresponding to device identification of carrying in described demonstration CCM message is normal, otherwise, determine that the GVRP testing result corresponding to device identification of carrying in described demonstration CCM message is unsuccessfully.
7. method as claimed in claim 2, is characterized in that, described method also comprises:
In the time need to cancelling the CFD configuration of Passive equipment and described PassiveSpeaker equipment, described ActiveSpeaker equipment is sent and leaves Leave message to described PassiveSpeaker equipment by Passive equipment, carries and be used to indicate the distinctive mark position of deleting CFD configuration in described Leave message; Receive the CFD configuration of this Passive of Passive unit deletion equipment succession of described Leave message, and continue to send Leave message to described PassiveSpeaker equipment; By that analogy, until described Leave message sends to described PassiveSpeaker equipment, the CFD being inherited by described this PassiveSpeaker of PassiveSpeaker unit deletion equipment configures.
8. the connection wrong detection CFD based on dynamic virtual LAN VLAN log-in protocol realizes an equipment, in network, as active promoter ActiveSpeaker equipment, it is characterized in that, described ActiveSpeaker equipment, specifically comprises:
Sending module, for being sent and add Join message to passive promoter PassiveSpeaker equipment by passive Passive equipment, has carried CFD configuration parameter in described Join message; Receive that the Passive equipment of described Join message holds the first row CFD configuration of described CFD configuration parameter from described Join message relay, from described Join message, delete the first row CFD configuration of described CFD configuration parameter, and continue to send Join message to described PassiveSpeaker equipment; By that analogy, until described Join message sends to described PassiveSpeaker equipment, the first row CFD that holds described CFD configuration parameter from described Join message relay by described PassiveSpeaker equipment configures;
Processing module, be used for receiving after the implicit continuous detection messages CCM message of described Passive equipment and the transmission after the first row CFD configuration of inheriting described CFD configuration parameter of described PassiveSpeaker equipment, the CFD that activates the above Passive equipment of this ActiveSpeaker equipment and the succession of described PassiveSpeaker equipment configures corresponding CFD configuration;
Detection module, carries out CFD detection for the reception condition of utilizing implicit expression CCM message on this ActiveSpeaker equipment; Implicit expression CCM message is that described Passive equipment and described PassiveSpeaker equipment periodically send after the first row CFD configuration of inheriting described CFD configuration parameter;
Wherein, described ActiveSpeaker equipment is the equipment of configuring static VLAN associated CFD and the corresponding interface associated CFD while enabling Generic Attribute Registration Protocol VLAN log-in protocol GVRP; Described PassiveSpeaker equipment is to have configured static VLAN but the equipment of not associated CFD and the corresponding interface associated CFD while enabling GVRP; Described Passive equipment is the equipment of associated CFD while not having configuring static VLAN and the corresponding interface to enable GVRP.
9. equipment as claimed in claim 8, is characterized in that,
Described detection module, also shows on this ActiveSpeaker equipment for utilizing that the reception condition of CCM message is carried out GVRP detection; Show that CCM message is that described Passive equipment and described PassiveSpeaker equipment periodically send after the first row CFD configuration of inheriting described CFD configuration parameter.
10. equipment as claimed in claim 9, it is characterized in that, the CFD configuration parameter carrying in the Join message that this ActiveSpeaker equipment sends includes 8 row CFD configurations, the CFD that the first row CFD configuration to the 8th row CFD configuration is respectively maintenance field MD rank 0 configures the CFD configuration to MD rank 7, and the CFD configuration of each MD rank comprises MD information, maintenance collection MA information and the maintaining end point list MEPList information of this MD rank; Wherein, described MEPList information comprises two MEP, and receives that the Passive equipment of described Join message and PassiveSpeaker equipment only inherits second MEP in the first row CFD configuration of described CFD configuration parameter.
11. equipment as claimed in claim 9, is characterized in that,
Described detection module, specifically for receive the implicit expression CCM message that Passive equipment and/or described PassiveSpeaker equipment sends on this ActiveSpeaker equipment time, determine that corresponding CFD testing result is for normal, otherwise, determine that corresponding CFD testing result is unsuccessfully; And,
Receive the demonstration CCM message of Passive equipment and/or the transmission of described PassiveSpeaker equipment on this ActiveSpeaker equipment time, determine that corresponding GVRP testing result is for normal, otherwise, determine that corresponding GVRP testing result is unsuccessfully;
Wherein, this ActiveSpeaker equipment determine corresponding CFD testing result be unsuccessfully and/or corresponding GVRP testing result be unsuccessfully after, all CFD testing results and/or GVRP testing result are recorded for the link failure of whole link and are judged.
12. equipment as described in claim 9 or 11, is characterized in that,
In described demonstration CCM message, carry the label Tag of particular vlan; In described implicit expression CCM message, do not carry the Tag of particular vlan, but carry the attribute of described particular vlan; Wherein, in described implicit expression CCM message, be provided with flag bit P, in the time that flag bit P is the first mark, represent that described implicit expression CCM message is that Passive equipment sends, in the time that flag bit P is the second mark, represent that described implicit expression CCM message is that PassiveSpeaker equipment sends;
Described detection module, specifically in the time receiving that flag bit P is the implicit expression CCM message of the second mark for the first time, confirm that CFD in described network configuration disposed, and determine to carry out and utilize the reception condition of implicit expression CCM message on this ActiveSpeaker equipment to carry out CFD detection and utilize on this ActiveSpeaker equipment, showing that the reception condition of CCM message carries out the step of GVRP detection.
13. equipment as claimed in claim 9, is characterized in that,
Described detection module, specifically for receive the implicit expression CCM message that Passive equipment and/or PassiveSpeaker equipment sends on this ActiveSpeaker equipment time, from implicit expression CCM message, obtain and send the Passive equipment of described implicit expression CCM message or the device identification of PassiveSpeaker equipment, and determine that the CFD testing result corresponding to device identification of carrying in described implicit expression CCM message is normal, otherwise, determine that the CFD testing result corresponding to device identification of carrying in described implicit expression CCM message is unsuccessfully;
Receive the demonstration CCM message of Passive equipment and/or the transmission of PassiveSpeaker equipment on this ActiveSpeaker equipment time, from show CCM message, obtain and send the Passive equipment of described demonstration CCM message or the device identification of PassiveSpeaker equipment, and determine that the GVRP testing result corresponding to device identification of carrying in described demonstration CCM message is normal, otherwise, determine that the GVRP testing result corresponding to device identification of carrying in described demonstration CCM message is unsuccessfully.
14. equipment as claimed in claim 9, is characterized in that,
Described sending module, also in the time need to cancelling the CFD configuration of Passive equipment and described PassiveSpeaker equipment, send and leave Leave message to described PassiveSpeaker equipment by Passive equipment, in described Leave message, carry and be used to indicate the distinctive mark position of deleting CFD configuration; Receive the CFD configuration of this Passive of Passive unit deletion equipment succession of described Leave message, and continue to send Leave message to described PassiveSpeaker equipment; By that analogy, until described Leave message sends to described PassiveSpeaker equipment, the CFD being inherited by described this PassiveSpeaker of PassiveSpeaker unit deletion equipment configures.
15. 1 kinds of connection wrong detection CFD based on dynamic virtual LAN VLAN log-in protocol realize equipment, in network, as passive Passive equipment, it is characterized in that, described Passive equipment, specifically comprises:
Receiver module, adds Join message for what receive that promoter ActiveSpeaker equipment initiatively sends to passive promoter PassiveSpeaker equipment by Passive equipment, in described Join message, has carried CFD configuration parameter;
Processing module for hold the first row CFD configuration of described CFD configuration parameter from described Join message relay, and is deleted the first row CFD configuration of described CFD configuration parameter from described Join message;
Sending module, send Join message for continuing to PassiveSpeaker equipment, by that analogy, until described Join message sends to described PassiveSpeaker equipment, the first row CFD that holds described CFD configuration parameter from described Join message relay by described PassiveSpeaker equipment configures; And,
After the first row CFD configuration of inheriting described CFD configuration parameter, periodically send implicit continuous detection messages CCM message to ActiveSpeaker equipment; Received after implicit expression CCM message by ActiveSpeaker equipment, activating the CFD that on this ActiveSpeaker equipment, Passive equipment is inherited and configure corresponding CFD configuration; And carry out CFD detection by the reception condition of implicit expression CCM message on this ActiveSpeaker of ActiveSpeaker equipment utilization equipment;
Wherein, described ActiveSpeaker equipment is the equipment of configuring static VLAN associated CFD and the corresponding interface associated CFD while enabling Generic Attribute Registration Protocol VLAN log-in protocol GVRP; Described PassiveSpeaker equipment is to have configured static VLAN but the equipment of not associated CFD and the corresponding interface associated CFD while enabling GVRP; Described Passive equipment is the equipment of associated CFD while not having configuring static VLAN and the corresponding interface to enable GVRP.
16. equipment as claimed in claim 15, is characterized in that,
Described sending module, also for after the first row CFD configuration inheriting described CFD configuration parameter, periodically send and show CCM message to ActiveSpeaker equipment, by showing on this ActiveSpeaker of ActiveSpeaker equipment utilization equipment that the reception condition of CCM message carries out GVRP detection.
17. equipment as claimed in claim 16, it is characterized in that, the CFD configuration parameter carrying in the Join message that described ActiveSpeaker equipment sends includes 8 row CFD configurations, the CFD that the first row CFD configuration to the 8th row CFD configuration is respectively maintenance field MD rank 0 configures the CFD configuration to MD rank 7, and the CFD configuration of each MD rank comprises MD information, maintenance collection MA information and the maintaining end point list MEPList information of this MD rank; Wherein, described MEPList information comprises two MEP, and receives that the Passive equipment of described Join message and PassiveSpeaker equipment only inherits second MEP in the first row CFD configuration of described CFD configuration parameter;
In described demonstration CCM message, carry the label Tag of particular virtual local area network VLAN; In described implicit expression CCM message, do not carry the Tag of particular vlan, but carry the attribute of described particular vlan; Wherein, in described implicit expression CCM message, be provided with flag bit P, in the time that flag bit P is the first mark, represent that described implicit expression CCM message is that Passive equipment sends, in the time that flag bit P is the second mark, represent that described implicit expression CCM message is that PassiveSpeaker equipment sends.
18. equipment as claimed in claim 16, is characterized in that,
Described receiver module, also in the time need to cancelling the CFD configuration of Passive equipment and described PassiveSpeaker equipment, what receive that described ActiveSpeaker equipment sends to described PassiveSpeaker equipment by this Passive equipment leaves Leave message, and in described Leave message, carries and be used to indicate this Passive equipment to the distinctive mark position of deleting CFD configuration;
Described processing module, also for deleting the CFD configuration of inheriting on this Passive equipment;
Described sending module, also sends Leave message for continuing to described PassiveSpeaker equipment; By that analogy, until described Leave message sends to described PassiveSpeaker equipment, the CFD being inherited by described this PassiveSpeaker of PassiveSpeaker unit deletion equipment configures.
CN201310276053.1A 2013-07-01 2013-07-01 A kind of CFD implementation method and equipment based on dynamic vlan log-in protocol Active CN103354549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310276053.1A CN103354549B (en) 2013-07-01 2013-07-01 A kind of CFD implementation method and equipment based on dynamic vlan log-in protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310276053.1A CN103354549B (en) 2013-07-01 2013-07-01 A kind of CFD implementation method and equipment based on dynamic vlan log-in protocol

Publications (2)

Publication Number Publication Date
CN103354549A CN103354549A (en) 2013-10-16
CN103354549B true CN103354549B (en) 2016-05-04

Family

ID=49310856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310276053.1A Active CN103354549B (en) 2013-07-01 2013-07-01 A kind of CFD implementation method and equipment based on dynamic vlan log-in protocol

Country Status (1)

Country Link
CN (1) CN103354549B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486329B (en) * 2014-12-11 2018-01-12 新华三技术有限公司 A kind of method and apparatus for suppressing more virtual local network log-on protocol registration messages
CN107360076B (en) * 2016-05-10 2021-06-15 中兴通讯股份有限公司 VLAN (virtual local area network) attribute registration method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130790A (en) * 2010-01-20 2011-07-20 中兴通讯股份有限公司 Method and system for detecting Ethernet tunnel faults
CN102215130A (en) * 2011-06-16 2011-10-12 杭州华三通信技术有限公司 CFD (connectivity fault detection) protocol configuration method and device thereof
CN103036793A (en) * 2012-12-17 2013-04-10 杭州华三通信技术有限公司 Delivery method of connectivity fault detection protocol messages and forwarding equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130790A (en) * 2010-01-20 2011-07-20 中兴通讯股份有限公司 Method and system for detecting Ethernet tunnel faults
CN102215130A (en) * 2011-06-16 2011-10-12 杭州华三通信技术有限公司 CFD (connectivity fault detection) protocol configuration method and device thereof
CN103036793A (en) * 2012-12-17 2013-04-10 杭州华三通信技术有限公司 Delivery method of connectivity fault detection protocol messages and forwarding equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
IEEE802.1ag-2007;IEEE Computer Society;《IEEE》;20071217;137-207 *
网络连通性快速检测系统的实现;裴广超、叶兵;《电子科技》;20110215;第24卷(第2期);全文 *

Also Published As

Publication number Publication date
CN103354549A (en) 2013-10-16

Similar Documents

Publication Publication Date Title
CN103095521B (en) The control method of flow detection, system, device, controller and checkout equipment
CN104113443A (en) Network equipment detection method, device and cloud detection system
CN106452921B (en) Stacking system splitting detection method and device
CN104158701A (en) Gateway function testing method and device
CN103825766A (en) Device and method for detecting BFD links
CN102215130B (en) CFD (connectivity fault detection) protocol configuration method and device thereof
CN103354549B (en) A kind of CFD implementation method and equipment based on dynamic vlan log-in protocol
CN104468368A (en) Method and device for allocating BGP neighbors
CN104796306A (en) Port mode negotiation method and device
CN101820359A (en) Fault processing method and equipment for network equipment
CN104518936A (en) Method and device for link dynamic aggregation
CN104144130A (en) Virtual machine system interconnection method and system and access switch
CN101631060A (en) Method and device for managing edge port
CN102739445A (en) Method and system for rapidly positioning faults of looped network
CN105515970B (en) A kind of method and apparatus being used for transmission message
CN104301131A (en) Fault management method and device
US9817740B2 (en) Remote monitoring system for handheld electronic devices
CN103441934B (en) A kind of learning method of stacking topology and device
CN104168121A (en) Port protection method of PSE and PSE
CN103885441B (en) A kind of adaptive failure diagnostic method of controller local area network
CN106789407A (en) A kind of method that cloud platform checks virtual machine connection status
CN105873234A (en) Method and device for building connection between virtualized network function (VNF) and element management system (EMS)
CN103763210A (en) Flow load sharing method and device based on link aggregation
US10116491B1 (en) Network cabling verification
CN104283758A (en) Method and equipment for correlating main ring and sub-ring through data VLANs

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: NEW H3C TECHNOLOGIES Co.,Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230609

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.