CN104486329A - Method and device for inhibiting registration messages of multiple virtual local area network registration protocols (MVRP) - Google Patents

Method and device for inhibiting registration messages of multiple virtual local area network registration protocols (MVRP) Download PDF

Info

Publication number
CN104486329A
CN104486329A CN201410763165.4A CN201410763165A CN104486329A CN 104486329 A CN104486329 A CN 104486329A CN 201410763165 A CN201410763165 A CN 201410763165A CN 104486329 A CN104486329 A CN 104486329A
Authority
CN
China
Prior art keywords
mvrp
switch
vlan
message
port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410763165.4A
Other languages
Chinese (zh)
Other versions
CN104486329B (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.)
Hangzhou H3C 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 CN201410763165.4A priority Critical patent/CN104486329B/en
Publication of CN104486329A publication Critical patent/CN104486329A/en
Application granted granted Critical
Publication of CN104486329B publication Critical patent/CN104486329B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • H04L49/253Routing or path finding in a switch fabric using establishment or release of connections between ports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/354Switches specially adapted for specific applications for supporting virtual local area networks [VLAN]

Abstract

The embodiment of the invention provides a method and device for inhibiting registration messages of multiple virtual local area network registration protocols (MVRP). The method applied to a first exchanger comprises the following steps: a first MVRP registration message which is transmitted by a second exchanger and carries a virtual local area network (VLAN) mark is received by a first link, wherein at least two VLAN ports corresponding to the VLAN mark which are added are arranged on the second exchanger, and the VLAN corresponding to the VLAN mark is not added into the port of the second exchanger, through which the first MVRP registration messages are transmitted on the first link; when the situations that the first exchanger is a leaf node and the first exchanger is not statically provided with the VLAN corresponding to the VLAN mark are judged, an inhibition message is transmitted to the second exchanger through the first link, and the inhibition message is used for instructing the port of the second exchanger on the first link to inhibit the transmission of the first MVRP registration message.

Description

A kind of method and apparatus suppressing many virtual local network log-on protocols registration message
Technical field
Embodiment of the present invention belongs to network communication technology field, particularly a kind of method and apparatus suppressing many virtual local network log-on protocols registration message.
Background technology
Multiattribute log-in protocol (Multiple Registration Protocol, MRP) can be used for propagation property message.Information exchange is completed by transmitting various MRP message between MRP entity.MRP message mainly comprises registration (Join) message, new (New) message, leaves (Leave) message and all leave (LeaveAll) message.Many virtual local network log-on protocols (Multiple VLAN RegistrationProtocol, MVRP) are the one application of MRP, issue and learn VLAN (VLAN) configuration information for inter-exchange.
In the prior art, the exchange opportunity as leaf node being configured with static VLAN in networking periodically sends the MVRP registration message carrying VLAN configuration information, accordingly, other switch in networking carries the MVRP registration message of VLAN configuration information by port meeting periodic receipt, dynamic learning also adds VLAN, and propagates this MVRP registration message by other port.The not yet two-way switch getting through VLAN passage, same meeting periodic receipt also processes MVRP registration message.But, the switch of the not yet two-way VLAN of getting through passage can not flow through vlan traffic, the switch of these the not yet two-way VLAN of getting through passages expending cpu resource in order to periodic receipt processes MVRP registration message and does not have meaning, and this just causes the cpu resource on these not yet two-way switches getting through VLAN passage to be wasted.
Summary of the invention
Embodiment of the present invention proposes a kind of method and apparatus suppressing MVRP registration message, thus economizes on resources.
The technical scheme of embodiment of the present invention is as follows:
The one side of embodiment of the present invention, provide a kind of method suppressing MVRP registration message, the method comprises:
A MVRP registration message that the second switch sends, that carry VLAN mark is received by the first link, wherein said second switch has the port that at least two have added the VLAN identified corresponding to described VLAN, and the port of described second switch on the first link does not add the VLAN identified corresponding to described VLAN;
When judge described first switch as leaf node and described first switch do not have static configuration correspond to described VLAN identify VLAN time,
Sent by described first chain road direction second switch and suppress message, described suppression message is used to indicate the described MVRP registration message of port suppression transmission that the second switch sends a described MVRP registration message on the first link.
The another aspect of embodiment of the present invention, provide a kind of method suppressing MVRP registration message, described method is applied to the second switch, and the method comprises:
Receive the MVRP registration message carrying VLAN mark;
A described MVRP registration message is sent by first switch of port as leaf node on first link at this port place not adding the VLAN identified corresponding to described VLAN;
The first switch is received receiving a described MVRP registration message and determine the suppression message that self non-static configuration sends when corresponding to the VLAN of described VLAN mark by the first link;
When described second switch of judgement having at least two and having added the port of the VLAN identified corresponding to described VLAN, suppress to send a described MVRP registration message according to the port of described suppression message on described first link.
The one side of embodiment of the present invention, proposes a kind of device suppressing MVRP registration message, and described application of installation is in the first switch, and this device comprises:
MVRP registration message receiver module, for being received a MVRP registration message that the second switch sends, that carry VLAN mark by the first link, wherein said second switch has the port that at least two have added the VLAN identified corresponding to described VLAN, and the port that described second switch sends a described MVRP registration message on the first link does not add the VLAN identified corresponding to described VLAN;
Suppress message transmission module, for when judge described first switch as leaf node and described first switch do not have static configuration correspond to described VLAN identify VLAN time, sent by described first chain road direction second switch and suppress message, described suppression message is used to indicate the port of the second switch on described first link and suppresses to send a described MVRP registration message.
The one side of embodiment of the present invention, proposes a kind of device suppressing MVRP registration message, and described application of installation is in the second switch, and this device comprises:
MVRP registration message receiver module, for receiving the MVRP registration message carrying VLAN mark;
MVRP registration message sending module, sends a described MVRP registration message for first switch of the port by not adding the VLAN identified corresponding to described VLAN as leaf node on first link at this port place;
Suppress message reception module, for being received described first switch by the first link receiving a described MVRP registration message and determine the suppression message that self non-static configuration sends when corresponding to the VLAN of described VLAN mark;
Suppress message processing module, for when described second switch of judgement having at least two and having added the port of the VLAN identified corresponding to described VLAN, suppress to send a described MVRP registration message according to the port of described suppression message on described first link.
In embodiments of the present invention, switch as leaf node has added the port corresponding to the VLAN of VLAN mark and the switch (being called source switch) that the port sending MVRP registration message does not add corresponding to the VLAN of VLAN mark receives this MVRP registration message from having at least two, when this leaf node judges self do not have static configuration to correspond to the VLAN of VLAN mark, send the suppression message for suppressing to send MVRP registration message to source switch, source switch suppresses to send MVRP registration message according to suppression message.Therefore, the frequency that switch (i.e. the switch of the not yet two-way VLAN of getting through passage) on first link receives MVRP registration message is lowered, without the need at substantial cpu resource to receive continually and to process MVRP registration message, thus improve these not yet two-way cpu resource utilances of getting through the switch of VLAN passage.
Accompanying drawing explanation
Fig. 1 is according to embodiment of the present invention, suppresses the method flow diagram of MVRP registration message;
Fig. 2 is according to embodiment of the present invention, suppresses the method flow diagram of MVRP registration message;
Fig. 3 is MVRP networking schematic diagram according to an embodiment of the present invention;
Fig. 4 is according to embodiment of the present invention, the method flow diagram of the suppression MVRP registration message of networking shown in Fig. 3;
Fig. 5 is according to embodiment of the present invention, suppresses the structure drawing of device of MVRP registration message;
Fig. 6 is according to embodiment of the present invention, suppresses the structure drawing of device of MVRP registration message.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail.
In embodiment of the present invention, if switch has the port that at least two have added the VLAN corresponding to VLAN mark, this switch is effective transmission node of VLAN; If switch does not have the port that at least two have added the VLAN corresponding to VLAN mark, then this switch is the failed transmission node of VLAN.
Fig. 1 is according to embodiment of the present invention, and suppress the method flow diagram of MVRP registration message, the method is applied to the first switch.
As shown in Figure 1, the method comprises:
Step 101: receive a MVRP registration message that the second switch sends, that carry VLAN mark by the first link, wherein the second switch has the port that at least two have added the VLAN identified corresponding to this VLAN, and the second switch port of sending a MVRP registration message on the first link does not add the VLAN corresponding to VLAN mark.
Second switch has the port that at least two have added the VLAN corresponding to VLAN mark, and therefore the second switch is effective transmission node of this VLAN.Second switch sends by the port added corresponding to the VLAN of VLAN mark the MVRP registration message carrying VLAN mark, and the second switch also sends by the port do not added corresponding to the VLAN of VLAN mark the MVRP registration message carrying VLAN mark.Wherein, the second switch does not add the port of the VLAN identified corresponding to VLAN on the first link.
Here, the first switch receives a MVRP registration message of the second switch transmission by the first link.The type of message of the one MVRP registration message is Join message.Particularly, Join message may be embodied as JoinEmpty message or JoinIn message.
Step 102: when judge the first switch as leaf node and the first switch do not have static configuration correspond to VLAN mark VLAN time, sent by the first chain road direction second switch and suppress message, suppression message is used to indicate port suppression transmission the one MVRP registration message that the second switch sends a MVRP registration message on the first link.
Here, when the first switch only having the enable MVRP port of, assert certainly as leaf node, and when the first switch not having static configuration correspond to the VLAN of VLAN mark, judge that the first switch needs suppressed by the first link from the MVRP registration message received by the second switch.Now, the first switch is sent by the first chain road direction second switch and suppresses message, and this suppression message is used to indicate port suppression transmission the one MVRP registration message that the second switch sends a MVRP registration message on the first link.
Preferably, the type of message suppressing message is that MVRP leaves (Leave) message, wherein has in the reserved field of MVRPLeave message for identifying the flag suppressing message.The priority being used for the flag identifying suppression message can be set to the priority lower than MVRP Leave message identifier position.If the switch in the network architecture does not support MVRP registration message inhibit feature proposed by the invention, so receive after suppressing message, also suppression message can be considered as common MVRP Leave message.
Such as, setting in the reserved field of MVRP Leave message for identifying the flag A suppressing message, when flag A value is 1, representing enable MVRP registration message inhibit feature; When flag A value is 0, represent disable MVRP registration message inhibit feature.In addition, there is in MVRP Leave message MVRP Leave message identifier position B, when flag B value is 1, represent enable Leave function; When flag B value is 0, represent disable Leave function; Wherein the priority of flag B is greater than the priority of flag A.
Particularly:
(1), when flag B value is 1, and when flag A value is 0, show that this MVRP Leave message is only for Leave function;
(2), when flag B value is 1, and when flag A value is 1, show that this MVRP Leave message is only for Leave function;
(3), when flag B value is 0, and when flag A value is 1, show that this MVRP Leave message is not used in Leave function, but for MVRP registration message inhibit feature;
(4), when flag B value is 0, and when flag A value is 0, shows that this MVRP Leave message had both been not used in Leave function, be also not used in MVRP registration message inhibit feature.
Second switch receives from the first switch and suppresses after message, the port that first link sends a MVRP registration message suppresses transmission the one MVRP registration message, and other ports not receiving suppression message remain unchanged, continue normal transmission the one MVRP registration message.
Particularly, the second switch can send the transmission cycle of port raising the one MVRP registration message of a MVRP registration message on the first link, suppresses transmission the one MVRP registration message with the port sending a MVRP registration message on the first link.Such as, the transmission cycle of MVRP registration message is generally 10s, and it is 1800s that a MVRP registration message of the port the first link sending a MVRP registration message can be sent period modulation by the second switch.
The exemplary method in the transmission cycle of adjustment the one MVRP registration message is described above with concrete numeral, those skilled in the art can recognize, based on embody rule environment and demand need not, the adjusted value in the transmission cycle of the one MVRP registration message also can change, and embodiment of the present invention does not limit this.
In one embodiment:
After the first switch sends suppression message by the first chain road direction second switch, if it is determined that static configuration corresponds to the VLAN of VLAN mark on the first switch, first switch sends the 2nd MVRP registration message carrying this VLAN and identify by the first chain road direction second switch, the 2nd MVRP registration message is used to indicate port derepression transmission the one MVRP registration message that the second switch sends a MVRP registration message on the first link.
Second switch is from after the first switch receives the 2nd MVRP registration message, and the port derepression that the first link sends a MVRP registration message sends a MVRP registration message.Second switch can send the transmission cycle of port reduction the one MVRP registration message of a MVRP registration message on the first link, to send a MVRP registration message at this port derepression.Such as, assuming that the MVRP registration message the first link sending the port of a MVRP registration message sends the cycle be adjusted to 1800s from 10s, after second switch receives the 2nd MVRP registration message, the cycle that the MVRP registration message sending this port can be sent is adjusted to 10s again by 1800s.
In one embodiment:
When the first switch judges self not as leaf node, send a MVRP registration message by the port except the port of reception the one MVRP registration message on the first link.Here, when the first switch having more than one enable MVRP port, assert self not to be leaf node, now the first switch does not need initiatively to send to source switch to suppress message, but by a MVRP registration message by the port except the port of reception the one MVRP registration message on the first link.
Fig. 2 is according to embodiment of the present invention, and suppress the method flow diagram of MVRP registration message, the method is applied to the second switch.
As shown in Figure 2, the method comprises:
Step 201: receive the MVRP registration message carrying VLAN mark.
Here, the second switch receives the MVRP registration message carrying VLAN mark from other switch.The type of message of the one MVRP registration message is Join message.Particularly, Join message may be embodied as JoinEmpty message or JoinIn message.
Step 202: send a MVRP registration message by first switch of port as leaf node on first link at this port place do not added corresponding to the VLAN of VLAN mark.
Second switch sends by the port added corresponding to the VLAN of VLAN mark the MVRP registration message carrying VLAN mark, and the second switch also sends by the port do not added corresponding to the VLAN of VLAN mark the MVRP registration message carrying VLAN mark.Here, do not add the port of the VLAN identified corresponding to VLAN on the first link, and the first switch is as the leaf node on the first link, namely the first switch does not have more than one enable MVRP port.
Step 203: receive the first switch receiving a described MVRP registration message and determine the suppression message that self non-static configuration sends when corresponding to the VLAN of described VLAN mark by the first link.
Here, when the first switch not having static configuration correspond to the VLAN of VLAN mark, judge the first switch from the MVRP registration message received by the second switch as the repressed MVRP registration message of needs.Now, the first switch is sent by the first chain road direction second switch and suppresses message.Preferably, the type of message suppressing message is that MVRP leaves (Leave) message, wherein has in the reserved field of MVRP Leave message for identifying the flag suppressing message.
Step 204: when judgement second switch having at least two and having added the port of the VLAN identified corresponding to VLAN, suppress transmission the one MVRP registration message according to the port suppressing message on the first link.
Here, after second switch receives the suppression message of the first switch transmission by the first link, when judgement second switch having at least two and having added the port of the VLAN identified corresponding to VLAN, assert that the second switch is effective transmission node of VLAN, according to suppressing the port of message on the first link to suppress transmission the one MVRP registration message, and other do not receive and suppress ports of message to remain unchanged transmission the one MVRP registration message.Such as, the second switch can send the transmission cycle of port raising the one MVRP registration message of a MVRP registration message on the first link, suppresses transmission the one MVRP registration message with the port sending a MVRP registration message on the first link.
In one embodiment:
During the port added corresponding to the VLAN of VLAN mark when judgement second switch only having, assert that the second switch is the failed transmission node of VLAN, now the second switch is sent by the port except receiving the port suppressing message on the first link and suppresses message, with the effective transmission node that will Message Transmission suppressed to VLAN, and suppress transmission the one MVRP registration message by this effective transmission node according to the port suppressing message at the first link.
In one embodiment:
After the port that first link sends suppresses transmission the one MVRP registration message, when the second switch by the first link receive that the first switch sends carry the 2nd MVRP registration message that this VLAN identifies time, port derepression on the first link sends a MVRP registration message.Such as, the second switch port on the first link can reduce transmission cycle of a MVRP registration message, to send a MVRP registration message at this port derepression.
Below in conjunction with concrete networking, embodiment of the present invention is described in more detail.Fig. 3 is MVRP networking schematic diagram according to an embodiment of the present invention.
In networking structure shown in Fig. 3, in order to get through VLAN 10 between switch C and switch F, to need on switch C and switch F static configuration VLAN 10 two-wayly between switch C and switch F get through VLAN 10 passage respectively, specifically comprising:
Static configuration VLAN 10 on switch C, so the port P1 that is connected with main frame 1 of switch C and the port P2 that is connected with switch b adds VLAN 10.The port P1 of MVRP registration message (Join message) to switch b of the mark of VLAN 10 is carried in the port P2 transmission of switch C.The port P1 of switch b receives this MVRP registration message, and the port P1 dynamic learning of switch b adds VLAN 10, and switch b also sends the port P1 of this MVRP registration message to switch A by port P2.The port P1 of switch A receives this MVRP registration message, and the port P1 dynamic learning of switch A adds VLAN 10, and switch A also sends the port P1 of this MVRP registration message to switch D by port P2.The port P1 of switch D receives this MVRP registration message, and the port P1 dynamic learning of switch D adds VLAN 10, and switch D also sends the port P1 of this MVRP registration message to switch F by port P2.Switch F, due to static configuration VLAN 10, does not process after therefore receiving MVRP registration message.
Static configuration VLAN 10 on switch F, so the port P2 that is connected with main frame 2 of switch F and the port P1 that is connected with switch D adds VLAN 10.The port P2 of MVRP registration message to switch D of the mark of VLAN 10 is carried in the port P1 transmission of switch F.The port P2 of switch D receives this MVRP registration message, and the port P2 dynamic learning of switch D adds VLAN 10, and switch D also sends the port P2 of this MVRP registration message to switch A by port P1.The port P2 of switch A receives this MVRP registration message, and the port P2 dynamic learning of switch A adds VLAN 10, and switch A also sends the port P2 of this MVRP registration message to switch b by port P1.The port P2 of switch b receives this MVRP registration message, and the port P2 dynamic learning of switch b adds VLAN 10, and switch b also sends the port P2 of this MVRP registration message to switch C by port P1.Switch C, due to static configuration VLAN 10, does not process after therefore receiving MVRP registration message.
Visible, as switch C and switch F difference static configuration VLAN 10, the port of the switch (switch b, switch A and switch D) between switch C and switch F can be learnt by MVRP protocol dynamic and add VLAN10, therefore two-wayly between switch C and switch F can get through VLAN 10 passage.
If switch G does not have static configuration VLAN 10, so switch G can not send the MVRP registration message of the mark of carrying VLAN10, so the P2 of the port P3 of switch D and the E of switch does not add in VLAN 10, VLAN 10 passage therefore between switch C (or switch F) and switch G is not two-way to be got through.But port P1 and P2 of switch D all adds VLAN10, the port P3 of switch D still periodically can send the MVRP registration message of the mark of carrying VLAN 10, and the P1 port of switch E and the P1 port of switch G all can add VLAN10.But for the link between switch D and switch G, this MVRP registration message is that needs are repressed.
In processing mode in the prior art, when switch E and switch G receives periodic MVRP registration message, these MVRP registration messages of respective cyclical process, owing to not getting through VLAN duplex channel between switch D and switch G, vlan traffic can not be flowed through between switch E and switch G, process these MVRP registration messages and do not have meaning, therefore cause unnecessary cpu resource waste.
Fig. 4 is according to embodiment of the present invention, the source suppressing method flow chart of networking shown in Fig. 3.
As shown in Figure 4, the method comprises:
Step 401: the port P1 of switch E receives from the port P3 of the switch D of the effective transmission node as VLAN10 the MVRP registration message carrying the mark of VLAN 10, the port P1 dynamic learning of switch E also adds VLAN 10.Switch E finds self to have more than one enable MVRP port (i.e. port P1 and P2), therefore judges self not as leaf node, and now a MVRP registration message is sent by port P2 by switch E.
Step 402: after the P1 port of switch G receives a MVRP registration message from the port P2 of switch E, the port P1 dynamic learning of switch G also adds VLAN 10.Switch G finds self to only have an enable MVRP port (i.e. port P1), therefore judges certainly as leaf node.And switch G finds self do not have static configuration VLAN 10, therefore judge that a MVRP registration message is that needs are repressed.Now, switch G is by the port P2 transmission suppression message of port P1 to switch E.
Step 403: the port P2 of switch E receives and suppresses message, find self to only have a port to add VLAN 10 (i.e. port P1), then assert that switch E is the failed transmission node of VLAN 10, therefore will be suppressed the port P3 of message transmission switch D by port P1.
Step 404: the port P3 of switch D receives from the port P1 of switch E and suppresses message, find that self there is the port (port PA and port P2) that two add VLAN 10, assert that switch D is effective transmission node of VLAN 10, therefore suppress transmission the one MVRP registration message according to suppression message at port P3, thus alleviate the burden of switch E and switch G.
Step 405: when on switch G during static configuration VLAN 10, switch G sends to the port P2 of switch E the 2nd MVRP registration message carrying the mark of VLAN 10 by port P1.
Step 406: the port P2 of switch E receives the 2nd MVRP registration message, and P2 port dynamically adds VLAN 10, and switch E is by the port P3 transmission two MVRP registration message of port P1 to switch D.
Step 407: the port P3 of switch D receives the 2nd MVRP registration message, and P3 port dynamically adds VLAN 10, and send a MVRP registration message at the port P3 derepression of switch D.
Based on above-mentioned analysis, Fig. 5 is according to embodiment of the present invention, and suppress the structure drawing of device of MVRP registration message, this device 500 is applied to the first switch.
As shown in Figure 5, this device 500 comprises:
MVRP registration message receiver module 501, for being received a MVRP registration message that the second switch sends, that carry VLAN mark by the first link, wherein said second switch has at least two ports of VLAN added corresponding to VLAN mark, and the port that the second switch sends a MVRP registration message on the first link does not add the VLAN identified corresponding to VLAN;
Suppress message transmission module 502, for when judge the first switch as leaf node and the first switch do not have static configuration correspond to VLAN mark VLAN time, sent by the first chain road direction second switch and suppress message, suppress message to be used to indicate the port of the second switch on the first link and suppress transmission the one MVRP registration message.
In one embodiment, this device 500 also comprises:
MVRP registration message sending module 503, for after sending suppression message by the first chain road direction second switch, when on judgement first switch, static configuration corresponds to the VLAN of VLAN mark, sent the 2nd MVRP registration message carrying this VLAN and identify by the first chain road direction second switch, the 2nd MVRP registration message is used to indicate the port derepression of the second switch on the first link and sends a MVRP registration message.
In one embodiment, the type of message suppressing message is MVRP Leave message, wherein has in the reserved field of MVRP Leave message for identifying the flag suppressing message.
In one embodiment, this device 500 also comprises:
MVRP registration message sending module 503, for when judging the first switch not as leaf node, sends a described MVRP registration message by the port except receiving the port of a described MVRP registration message on described first link.
Based on above-mentioned labor, Fig. 6 is according to embodiment of the present invention, and suppress the structure drawing of device of MVRP registration message, this device 600 is applied to the second switch.
As shown in Figure 6, this device 600 comprises:
MVRP registration message receiver module 601, for receiving the MVRP registration message carrying VLAN mark;
MVRP registration message sending module 602, for sending a MVRP registration message by first switch of port as leaf node on first link at this port place do not added corresponding to the VLAN of VLAN mark;
Suppress message reception module 603, for being received described first switch by the first link receiving a described MVRP registration message and determine the suppression message that self non-static configuration sends when corresponding to the VLAN of described VLAN mark;
Suppress message processing module 604, for when judgement second switch having at least two and having added the port of the VLAN identified corresponding to VLAN, suppress transmission the one MVRP registration message according to the port suppressing message on the first link.
In one embodiment, suppress message processing module 604, also when when port judgement second switch only having added corresponding to the VLAN of VLAN mark, send described suppression message by the port except receiving the port of described suppression message on described first link.
In one embodiment, suppress message processing module 604, after the port on the first link suppresses transmission the one MVRP registration message, when receiving from the first switch the 2nd MVRP registration message carrying VLAN mark by the first link, the port derepression on the first link sends a MVRP registration message.
In sum, in embodiments of the present invention, switch as leaf node has added the port corresponding to the VLAN of VLAN mark and the switch (being called source switch) that the port sending MVRP registration message does not add corresponding to the VLAN of VLAN mark receives this MVRP registration message from having at least two, when this leaf node judges self do not have static configuration to correspond to the VLAN of VLAN mark, the suppression message for suppressing to send MVRP registration message is sent to source switch, therefore comprise this leaf node and the switch not yet got through on the link of VLAN passage without the need to frequently receiving and processing MVRP registration message, thus the cpu resource utilance that improve on these switches not yet getting through VLAN passage.
In addition, after MVRP registration message is suppressed, if the cycle of transmission improves more than twice, the transmission quantity of message can also be reduced, thus also a saving link bandwidth.
In addition, embodiment of the present invention has increased suppression message newly, forms suppression message RM, compatible can not support the switch of MVRP source inhibit feature by Leave message type in conjunction with flag mechanism.
Also have, the present invention introduces leaf node judgment mechanism, being generated by leaf node suppresses message MVRP to suppress message, also introduce effective in VLAN path and failed transmission node judgment mechanism, wherein failed transmission node forwards and suppresses message, and effective transmission node change needs the transmission cycle of repressed MVRP registration message.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. suppress a method for many virtual local network log-on protocols MVRP registration message, it is characterized in that, described method is applied to the first switch, and the method comprises:
A MVRP registration message that the second switch sends, that carry virtual LAN VLAN mark is received by the first link, wherein said second switch has the port that at least two have added the VLAN identified corresponding to described VLAN, and the port that described second switch sends a described MVRP registration message on the first link does not add the VLAN identified corresponding to described VLAN;
When judge described first switch as leaf node and described first switch do not have static configuration correspond to described VLAN identify VLAN time, sent by described first chain road direction second switch and suppress message, described suppression message is used to indicate the port of the second switch on described first link and suppresses to send a described MVRP registration message.
2. method according to claim 1, is characterized in that, also comprises:
After sending suppression message by described first chain road direction second switch, when judging that on described first switch, static configuration corresponds to the VLAN of described VLAN mark, sent the 2nd MVRP registration message carrying this VLAN and identify by the first chain road direction second switch, described 2nd MVRP registration message is used to indicate the port derepression of the second switch on described first link and sends a described MVRP registration message.
3. method according to claim 1, is characterized in that, the type of message of described suppression message is that MVRP leaves Leave message, wherein has in the reserved field of described MVRP Leave message for identifying the flag suppressing message.
4. method according to claim 1, it is characterized in that, when judging described first switch not as leaf node, send a described MVRP registration message by the port except receiving the port of a described MVRP registration message on described first link.
5. suppress a method for many virtual local network log-on protocols MVRP registration message, it is characterized in that, described method is applied to the second switch, and the method comprises:
Receive the MVRP registration message carrying VLAN mark;
A described MVRP registration message is sent by first switch of port as leaf node on first link at this port place not adding the VLAN identified corresponding to described VLAN;
Described first switch is received receiving a described MVRP registration message and determine the suppression message that self non-static configuration sends when corresponding to the VLAN of described VLAN mark by the first link;
When described second switch of judgement having at least two and having added the port of the VLAN identified corresponding to described VLAN, suppress to send a described MVRP registration message according to the port of described suppression message on described first link.
6. method according to claim 5, is characterized in that, also comprises:
When judging that described second switch only has one to add the port of the VLAN identified corresponding to described VLAN, send described suppression message by the port except receiving the port of described suppression message on described first link.
7. method according to claim 5, is characterized in that, also comprises:
After port on described first link suppresses to send a described MVRP registration message, when received by the first link that described first switch sends carry the 2nd MVRP registration message that this VLAN identifies time, port derepression on described first link sends a described MVRP registration message.
8. suppress a device for many virtual local network log-on protocols MVRP registration message, it is characterized in that, described application of installation is in the first switch, and this device comprises:
MVRP registration message receiver module, for being received a MVRP registration message that the second switch sends, that carry VLAN mark by the first link, wherein said second switch has the port that at least two have added the VLAN identified corresponding to described VLAN, and the port that described second switch sends a described MVRP registration message on the first link does not add the VLAN identified corresponding to described VLAN;
Suppress message transmission module, for when judge described first switch as leaf node and described first switch do not have static configuration correspond to described VLAN identify VLAN time, sent by described first chain road direction second switch and suppress message, described suppression message is used to indicate the port of the second switch on described first link and suppresses to send a described MVRP registration message.
9. device according to claim 8, is characterized in that, also comprises:
MVRP registration message sending module, for after sending suppression message by described first chain road direction second switch, when judging that on described first switch, static configuration corresponds to the VLAN of described VLAN mark, sent the 2nd MVRP registration message carrying this VLAN and identify by the first chain road direction second switch, described 2nd MVRP registration message is used to indicate the port derepression of the second switch on the first link and sends a described MVRP registration message.
10. device according to claim 8, is characterized in that, the type of message of described suppression message is that MVRP leaves Leave message, wherein has in the reserved field of described MVRP Leave message for identifying the flag suppressing message.
11. devices according to claim 8, is characterized in that, also comprise:
MVRP registration message sending module, for when judging described first switch not as leaf node, sends a described MVRP registration message by the port except receiving the port of a described MVRP registration message on described first link.
The device of 12. 1 kinds of suppression many virtual local network log-on protocols MVRP registration messages, it is characterized in that, described application of installation is in the second switch, and this device comprises:
MVRP registration message receiver module, for receiving the MVRP registration message carrying VLAN mark;
MVRP registration message sending module, sends a described MVRP registration message for first switch of the port by not adding the VLAN identified corresponding to described VLAN as leaf node on first link at this port place;
Suppress message reception module, for being received described first switch by the first link receiving a described MVRP registration message and determine the suppression message that self non-static configuration sends when corresponding to the VLAN of described VLAN mark;
Suppress message processing module, for when described second switch of judgement having at least two and having added the port of the VLAN identified corresponding to described VLAN, send described suppression message by the port except receiving the port of described suppression message on described first link.
13. devices according to claim 12, is characterized in that,
Suppressing message processing module, also for when judging that described second switch only has one to add the port of the VLAN identified corresponding to described VLAN, described suppression message being sent to the down hop of described first link.
14. devices according to claim 12, is characterized in that,
Suppress message processing module, after port also for sending a described MVRP registration message on the first link suppresses to send a described MVRP registration message, when received by the first link that the first switch sends carry the 2nd MVRP registration message that this VLAN identifies time, port derepression on described first link sends a described MVRP registration message.
CN201410763165.4A 2014-12-11 2014-12-11 A kind of method and apparatus for suppressing more virtual local network log-on protocol registration messages Active CN104486329B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410763165.4A CN104486329B (en) 2014-12-11 2014-12-11 A kind of method and apparatus for suppressing more virtual local network log-on protocol registration messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410763165.4A CN104486329B (en) 2014-12-11 2014-12-11 A kind of method and apparatus for suppressing more virtual local network log-on protocol registration messages

Publications (2)

Publication Number Publication Date
CN104486329A true CN104486329A (en) 2015-04-01
CN104486329B CN104486329B (en) 2018-01-12

Family

ID=52760833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410763165.4A Active CN104486329B (en) 2014-12-11 2014-12-11 A kind of method and apparatus for suppressing more virtual local network log-on protocol registration messages

Country Status (1)

Country Link
CN (1) CN104486329B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107360076A (en) * 2016-05-10 2017-11-17 中兴通讯股份有限公司 A kind of VLAN attribute logging methods and device
CN108092867A (en) * 2017-12-07 2018-05-29 新华三技术有限公司 A kind of VLAN register methods and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130912A (en) * 2011-03-09 2011-07-20 杭州华三通信技术有限公司 Rapid ring protection protocol (RRPP)-based multiple virtual local area network (VLAN) register protocol (MVRP) realization method and equipment
US20130024580A1 (en) * 2011-07-22 2013-01-24 Cisco Technology, Inc. Transient Unpruning for Faster Layer-Two Convergence
CN103354549A (en) * 2013-07-01 2013-10-16 杭州华三通信技术有限公司 Method and device for realizing CFD based on dynamic VLAN registration protocol
CN103825798A (en) * 2014-03-14 2014-05-28 杭州华三通信技术有限公司 Channel communicating method and equipment for virtual local area network
CN103944892A (en) * 2014-04-10 2014-07-23 杭州华三通信技术有限公司 Registration method and equipment for dynamic virtual local area network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130912A (en) * 2011-03-09 2011-07-20 杭州华三通信技术有限公司 Rapid ring protection protocol (RRPP)-based multiple virtual local area network (VLAN) register protocol (MVRP) realization method and equipment
US20130024580A1 (en) * 2011-07-22 2013-01-24 Cisco Technology, Inc. Transient Unpruning for Faster Layer-Two Convergence
CN103354549A (en) * 2013-07-01 2013-10-16 杭州华三通信技术有限公司 Method and device for realizing CFD based on dynamic VLAN registration protocol
CN103825798A (en) * 2014-03-14 2014-05-28 杭州华三通信技术有限公司 Channel communicating method and equipment for virtual local area network
CN103944892A (en) * 2014-04-10 2014-07-23 杭州华三通信技术有限公司 Registration method and equipment for dynamic virtual local area network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107360076A (en) * 2016-05-10 2017-11-17 中兴通讯股份有限公司 A kind of VLAN attribute logging methods and device
CN107360076B (en) * 2016-05-10 2021-06-15 中兴通讯股份有限公司 VLAN (virtual local area network) attribute registration method and device
CN108092867A (en) * 2017-12-07 2018-05-29 新华三技术有限公司 A kind of VLAN register methods and device
CN108092867B (en) * 2017-12-07 2020-11-06 新华三技术有限公司 VLAN registration method and device

Also Published As

Publication number Publication date
CN104486329B (en) 2018-01-12

Similar Documents

Publication Publication Date Title
EP3065342B1 (en) Update of mac routes in evpn single-active topology
KR101445470B1 (en) Communication available transport network bandwidth to l2 ethernet nodes
US9306838B2 (en) Method for avoiding a loop in a network
CN102571426B (en) Double-homing protection method and device
CN103269299B (en) Message forwarding method in SPBM network and device
EP2553870B1 (en) An operations, administrations and management proxy and a method for handling operations, administrations and management messages
CN102098202B (en) Virtual private topology control method, device and system
CN103078800B (en) Mac address information control method in EVI network and edge device
CN102932499A (en) Method and device for learning media access control (MAC) addresses in virtual private lan service (VPLS) networks
CN103200115B (en) Flow control methods in a kind of SPB network and equipment
CN101510882A (en) Method and apparatus for learning medium access control address
US20070064700A1 (en) Method and system for achieving spatial reuse over a resilient packet ring
CN103067278B (en) A kind of method for transmission processing of Frame, equipment and system
CN104202313A (en) Data forwarding method and gateway
KR20220160639A (en) Message interaction methods, devices, facilities and storage media
CN103795630A (en) Message transmitting method and device of label switching network
CN100496023C (en) Method for transmitting link-state information
JP4967664B2 (en) Network, node device, and LLDP frame transfer method used therefor
CN104486329A (en) Method and device for inhibiting registration messages of multiple virtual local area network registration protocols (MVRP)
CN102238040B (en) Method for monitoring CE (Customer Edge router) and routing device
CN102801618B (en) A kind of method and device determining three layer data paths in ethernet ring network
CN102739519B (en) Rooted multipoint service implementation method, device and system, and provider edge equipment
CN102857441B (en) End system address is avoided to distribute the method and route-bridge of information protocol message storm
CN104753820A (en) Asymmetric forwarding method and device for service stream in aggregated link and switch
WO2014162331A1 (en) Bridge, network system, air-conditioner outdoor unit, and air-conditioning network system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

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

Applicant after: Xinhua three Technology Co., Ltd.

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

Applicant before: Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant