CN104486329B - A kind of method and apparatus for suppressing more virtual local network log-on protocol registration messages - Google Patents

A kind of method and apparatus for suppressing more virtual local network log-on protocol registration messages Download PDF

Info

Publication number
CN104486329B
CN104486329B CN201410763165.4A CN201410763165A CN104486329B CN 104486329 B CN104486329 B CN 104486329B CN 201410763165 A CN201410763165 A CN 201410763165A CN 104486329 B CN104486329 B CN 104486329B
Authority
CN
China
Prior art keywords
mvrp
vlan
interchanger
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.)
Active
Application number
CN201410763165.4A
Other languages
Chinese (zh)
Other versions
CN104486329A (en
Inventor
李巧
顾雷雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Small-Scale Networks (AREA)

Abstract

Embodiment of the present invention proposes a kind of method and apparatus for suppressing more virtual local network log-on protocol (MVRP) registration messages.This method is applied to the first interchanger, including:The first MVRP registration messages that second switch is sent, carrying VLAN (VLAN) mark are received by the first link, in wherein described second switch have at least two added corresponding to the VLAN mark VLAN port, and the second switch sent on the first link the first MVRP registration messages port do not have add correspond to the VLAN identify VLAN;When judging that first interchanger does not have the VLAN that static configuration corresponds to VLAN marks for leaf node and first interchanger, sent by the first chain road direction second switch and suppress message, the message that suppresses is used to indicate that port of the second switch on the first link suppresses to send the first MVRP registration messages.

Description

A kind of method and apparatus for suppressing more virtual local network log-on protocol registration messages
Technical field
Embodiment of the present invention belongs to network communication technology field, particularly a kind of to suppress more virtual local network log-on protocols The method and apparatus of registration message.
Background technology
More attributes registration protocols (Multiple Registration Protocol, MRP) can disappear for propagation property Breath.Exchanged between MRP entities by transmitting various MRP message to complete information.MRP message mainly includes registration (Join) and disappeared Breath, new (New) message, leave (Leave) message and all leave (LeaveAll) message.More virtual local network log-on protocols (Multiple VLAN Registration Protocol, MVRP) is a kind of MRP application, for inter-exchange issue simultaneously Learn VLAN (VLAN) configuration information.
In the prior art, the periodically transmission of the exchange opportunity as leaf node that static VLAN is configured with networking is taken MVRP registration messages with VLAN configuration informations, accordingly, other interchangers in networking are taken by port meeting periodic receipt MVRP registration messages with VLAN configuration informations, dynamic learning simultaneously add VLAN, and propagate MVRP notes by other ports Volume message.The not yet two-way interchanger for getting through VLAN passages, equally meeting periodic receipt simultaneously handle MVRP registration messages.However, Vlan traffic is not flowed through on the not yet two-way interchanger for getting through VLAN passages, in these not yet two-way friendships for getting through VLAN passages Upper consuming cpu resource change planes to periodic receipt and handles that MVRP registration messages are not significant, and this results in these not yet Cpu resource on the two-way interchanger for getting through VLAN passages wastes.
The content of the invention
Embodiment of the present invention proposes a kind of method and apparatus of suppression MVRP registration messages, so as to economize on resources.
The technical scheme of embodiment of the present invention is as follows:
The one side of embodiment of the present invention, there is provided a kind of method of suppression MVRP registration messages, this method include:
The first MVRP registration messages that second switch is sent, carrying VLAN marks are received by the first link, wherein There are at least two ports for having added VLAN corresponding to VLAN marks in the second switch, and described second Port of the interchanger on the first link corresponds to the VLAN of VLAN marks without adding;
When judgement first interchanger does not have static configuration corresponding to described for leaf node and first interchanger During the VLAN of VLAN marks,
Sent by the first chain road direction second switch and suppress message, the suppression message is used to indicate that second exchanges The port that machine sends the first MVRP registration messages on the first link suppresses to send the first MVRP registration messages.
The another aspect of embodiment of the present invention, there is provided a kind of method of suppression MVRP registration messages, methods described should For second switch, this method includes:
Receive the first MVRP registration messages for carrying VLAN marks;
By no port for adding the VLAN for corresponding to VLAN marks to making on the first link where the port The first MVRP registration messages are sent for the first interchanger of leaf node;
The first interchanger is received by the first link receiving the first MVRP registration messages and determining that itself is not quiet State configuration corresponds to the suppression message sent during the VLAN of VLAN marks;
When the end for judging there are at least two VLAN added corresponding to VLAN marks in the second switch During mouth, suppress to send the first MVRP registration messages according to port of the suppression message on first link.
The one side of embodiment of the present invention, it is proposed that a kind of device of suppression MVRP registration messages, described device application In the first interchanger, the device includes:
MVRP registration message receiving modules, for receiving second switch is sent, carrying VLAN marks by the first link The first MVRP registration messages known, identified wherein having at least two to add in the second switch corresponding to the VLAN VLAN port, and the port that the second switch sends the first MVRP registration messages on the first link does not have Add the VLAN for corresponding to VLAN marks;
Suppress message transmission module, for not having when judgement first interchanger for leaf node and first interchanger When having the VLAN that static configuration corresponds to VLAN marks, suppression is sent by the first chain road direction second switch and disappeared Breath, the message that suppresses are used to indicate that port of the second switch on first link suppresses to send the first MVRP notes Volume message.
The one side of embodiment of the present invention, it is proposed that a kind of device of suppression MVRP registration messages, described device application In second switch, the device includes:
MVRP registration message receiving modules, the first MVRP registration messages of VLAN marks are carried for receiving;
MVRP registration message sending modules, for by it is no add correspond to the VLAN mark VLAN port to The first interchanger on the first link where the port as leaf node sends the first MVRP registration messages;
Suppress message reception module, described first is being received for receiving first interchanger by the first link MVRP registration messages and determine the suppression message that sends when itself non-static configuration corresponds to the VLAN of VLAN marks;
Suppress message processing module, judge have at least two to add corresponding to institute in the second switch for working as When stating the VLAN of VLAN marks port, suppress to send described the according to the port of the suppression message on first link One MVRP registration messages.
In embodiments of the present invention, the interchanger as leaf node has been added corresponding to VLAN from at least two The VLAN of mark port and the port of transmission MVRP registration messages correspond to the VLAN of VLAN marks interchanger without addition (being referred to as source interchanger) receives the MVRP registration messages, when the leaf node judges itself do not have static configuration to be marked corresponding to VLAN During the VLAN of knowledge, the suppression message for suppressing transmission MVRP registration messages is sent to source interchanger, source interchanger is according to suppression Message suppresses to send MVRP registration messages.Therefore, (the i.e. not yet two-way exchange for getting through VLAN passages of the interchanger on the first link Machine) frequency that receives MVRP registration messages is lowered, without expending a large amount of cpu resources continually to receive and handle MVRP notes Volume message, so as to improve the CPU resource utilization of these not yet two-way interchangers for getting through VLAN passages.
Brief description of the drawings
Fig. 1 is the method flow diagram for suppressing MVRP registration messages according to embodiment of the present invention;
Fig. 2 is the method flow diagram for suppressing MVRP registration messages according to embodiment of the present invention;
Fig. 3 is the MVRP networking schematic diagrams according to an embodiment of the present invention;
Fig. 4 is the method flow diagram of the suppression MVRP registration messages of networking shown in Fig. 3 according to embodiment of the present invention;
Fig. 5 is the structure drawing of device for suppressing MVRP registration messages according to embodiment of the present invention;
Fig. 6 is the structure drawing of device for suppressing MVRP registration messages according to embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, the present invention is made below in conjunction with the accompanying drawings further Detailed description.
In embodiment of the present invention, if interchanger has added the end of the VLAN corresponding to VLAN marks with least two Mouthful, the interchanger is VLAN effective transmission node;If interchanger has been added without at least two and identified corresponding to VLAN VLAN port, then the interchanger be VLAN failed transmission node.
Fig. 1 is the method flow diagram for suppressing MVRP registration messages according to embodiment of the present invention, and this method is applied to first Interchanger.
As shown in figure 1, this method includes:
Step 101:The first MVRP registrations that second switch is sent, carrying VLAN marks are received by the first link to disappear Breath, wherein in second switch have at least two added corresponding to the VLAN mark VLAN port, and second hand over The port that the first MVRP registration messages are sent on the first link change planes without the VLAN added corresponding to VLAN marks.
Second switch has added the port of the VLAN corresponding to VLAN marks, therefore second switch with least two For effective transmission node of the VLAN.Second switch is sent by the port added corresponding to the VLAN of VLAN marks and carried First MVRP registration messages of VLAN marks, and end of the second switch also by not adding the VLAN corresponding to VLAN marks Mouth sends the first MVRP registration messages for carrying VLAN marks.Wherein, do not added in second switch corresponding to VLAN marks VLAN port is on the first link.
Herein, the first interchanger receives the first MVRP registration messages of second switch transmission by the first link.Should The type of message of first MVRP registration messages is Join message.Specifically, Join message may be embodied as JoinEmpty message or JoinIn message.
Step 102:When the first interchanger of judgement does not have static configuration to correspond to VLAN for leaf node and the first interchanger During the VLAN of mark, sent by the first chain road direction second switch and suppress message, suppressed message and be used to indicate second switch The port that the first MVRP registration messages are sent on the first link suppresses to send the first MVRP registration messages.
Herein, when there was only the enabled MVRP ports of one on the first interchanger, assert itself to be leaf node, and When do not have on the first interchanger static configuration correspond to VLAN mark VLAN when, judge the first interchanger by the first link from The first MVRP registration messages received by second switch need to be suppressed.Now, the first interchanger passes through the first chain road direction Second switch, which is sent, suppresses message, and the suppression message is used to indicate that second switch sends the first MVRP notes on the first link The port of volume message suppresses to send the first MVRP registration messages.
Preferably, the type of message for suppressing message leaves (Leave) message for MVRP, wherein in MVRP Leave message Have in reserved field and be used to identify the flag for suppressing message.The priority for the flag for suppressing message can be will be used to identify that It is set below the priority of MVRP Leave message identifiers position.If the interchanger in the network architecture does not support that the present invention is carried Go out MVRP registration messages and suppress function, then receive after suppressing message, can also will suppress message and be considered as common MVRP Leave message.
For example the flag A for suppressing message for identifying is set in the reserved field of MVRP Leave message, work as mark When position A values are 1, represent that enabled MVRP registration messages suppress function;When flag A values are 0, non-enabled MVRP notes are represented Volume message suppresses function.In addition, there is MVRP Leave message identifiers position B in MVRP Leave message, when flag B values For 1 when, represent enabled Leave functions;When flag B values are 0, non-enabled Leave functions are represented;Wherein flag B's Priority is more than flag A priority.
Specifically:
(1), when flag B values are 1, and flag A values are 0, show that the MVRP Leave message is served only for Leave functions;
(2), when flag B values are 1, and flag A values are 1, show that the MVRP Leave message is served only for Leave functions;
(3), when flag B values are 0, and flag A values are 1, show that the MVRP Leave message is not used in Leave functions, but suppress function for MVRP registration messages;
(4), when flag B values are 0, and flag A values are 0, show that the MVRP Leave message did not both have to In Leave functions, suppress function without in MVRP registration messages.
Second switch sends the first MVRP registrations after the first interchanger receives suppression message on the first link The port of message suppresses to send the first MVRP registration messages, and other ports for not receiving suppression message keep constant, continue just Often send the first MVRP registration messages.
Specifically, second switch can send the port raising first of the first MVRP registration messages on the first link In the transmission cycle of MVRP registration messages, suppress to send first to send the port of the first MVRP registration messages on the first link MVRP registration messages.For example the transmission cycle of MVRP registration messages is usually 10s, second switch can be by the first link The first MVRP registration messages transmission period modulation for sending the port of the first MVRP registration messages is 1800s.
The exemplary method in the transmission cycle of the first MVRP registration messages of adjustment, this area are described with specific numeral above Technical staff it is to be appreciated that do not had to based on concrete application environment and demand, the transmission cycle of the first MVRP registration messages Adjusted value can also be changed, and embodiment of the present invention is not limited this.
In one embodiment:
After the first interchanger sends suppression message by the first chain road direction second switch, if it is decided that first exchanges Static configuration corresponds to the VLAN of VLAN marks on machine, and the first interchanger is sent by the first chain road direction second switch and taken The 2nd MVRP registration messages with VLAN marks, the 2nd MVRP registration messages are used to indicate second switch in the first link The port derepression for sending the first MVRP registration messages sends the first MVRP registration messages.
Second switch sends first after the first interchanger receives the 2nd MVRP registration messages on the first link The port derepression of MVRP registration messages sends the first MVRP registration messages.Second switch can be sent on the first link The ports of first MVRP registration messages reduces the transmission cycle of the first MVRP registration messages, to send the in the port derepression One MVRP registration messages.Such as, it is assumed that the first MVRP registrations that the port of the first MVRP registration messages is sent on the first link disappear The breath transmission cycle is adjusted to 1800s from 10s, after second switch receives the 2nd MVRP registration messages, will can send The first MVRP registration messages transmission cycle of the port is adjusted to 10s again by 1800s.
In one embodiment:
When it is not leaf node that the first interchanger, which judges itself, the first MVRP notes are received by removing on the first link Port outside the port of volume message sends the first MVRP registration messages.Herein, it is more than one when having on the first interchanger Enabled MVRP ports when, assert itself not to be leaf node, now the first interchanger need not actively to source interchanger send Suppress message, but the first MVRP registration messages are received to the port of the first MVRP registration messages by removing on the first link Outside port.
Fig. 2 is the method flow diagram for suppressing MVRP registration messages according to embodiment of the present invention, and this method is applied to second Interchanger.
As shown in Fig. 2 this method includes:
Step 201:Receive the first MVRP registration messages for carrying VLAN marks.
Herein, second switch receives the first MVRP registration messages for carrying VLAN marks from other interchangers.This The type of message of one MVRP registration messages is Join message.Specifically, Join message may be embodied as JoinEmpty message or JoinIn message.
Step 202:By no port for adding the VLAN for corresponding to VLAN marks to the first link where the port On as leaf node the first interchanger send the first MVRP registration messages.
Second switch is sent by the port added corresponding to the VLAN of VLAN marks and carries the first of VLAN marks MVRP registration messages, and second switch is also sent by no port for adding the VLAN for corresponding to VLAN marks and carried First MVRP registration messages of VLAN marks.Herein, the port corresponding to the VLAN of VLAN marks is not added in the first chain Lu Shang, and the first interchanger enables as the leaf node on the first link that is, on the first interchanger without more than one MVRP ports.
Step 203:First interchanger is received by the first link and is receiving the first MVRP registration messages and determination Itself non-static configuration corresponds to the suppression message sent during the VLAN of VLAN marks.
Herein, when there is no static configuration to correspond to the VLAN that VLAN is identified on the first interchanger, judge that first exchanges The first MVRP registration messages received by machine from second switch are the repressed MVRP registration messages of needs.Now, first Interchanger is sent by the first chain road direction second switch suppresses message.Preferably, suppress the type of message of message for MVRP from (Leave) message is opened, is used to identify the flag for suppressing message wherein in the reserved field of MVRP Leave message having.
Step 204:When the end for judging there are at least two VLAN added corresponding to VLAN marks in second switch During mouth, suppress to send the first MVRP registration messages according to port of the message on the first link is suppressed.
Herein, after second switch receives the suppression message that the first interchanger is sent by the first link, when sentencing When determining to have added the port corresponding to the VLAN of VLAN marks with least two in second switch, assert that second switch is VLAN effective transmission node, suppress to send the first MVRP registration messages according to port of the message on the first link is suppressed, and Other do not receive port holding the first MVRP registration messages of constant transmission for suppressing message.For example second switch can be The transmission cycle of the first MVRP registration messages is improved in the port that the first MVRP registration messages are sent on one link, with the first link The upper port for sending the first MVRP registration messages suppresses to send the first MVRP registration messages.
In one embodiment:
When judging to only have in second switch a port added corresponding to the VLAN of VLAN marks, second is assert Interchanger is VLAN failed transmission node, and now second switch receives the end for suppressing message by removing on the first link Port outside mouthful, which is sent, suppresses message, will suppress effective transmission node of the message transmission to VLAN, and by effective transmission Node suppresses the first MVRP registration messages of transmission in the port of the first link according to message is suppressed.
In one embodiment:
The port that is sent on the first link suppresses after sending the first MVRP registration messages, when second switch passes through the When one link receives the 2nd MVRP registration messages of the carrying of the first interchanger transmission VLAN marks, on the first link Port derepression sends the first MVRP registration messages.For example second switch can reduce by the in the port on the first link The transmission cycle of one MVRP registration messages, to send the first MVRP registration messages in the port derepression.
Embodiment of the present invention is described in more detail with reference to specific networking.Fig. 3 is to be implemented according to the present invention one The MVRP networking schematic diagrams of mode.
In networking structure shown in Fig. 3, in order to get through VLAN 10 between interchanger C and interchanger F, it is necessary to exchange On machine C and interchanger F respectively static configuration VLAN 10 and it is two-way between interchanger C and interchanger F get through the passages of VLAN 10, Specifically include:
The static configuration VLAN 10 on interchanger C, then the port P1 and and interchanger that interchanger C is connected with main frame 1 Port P2 connected B adds VLAN 10.Interchanger C port P2 sends the MVRP registration messages for the mark for carrying VLAN 10 (Join message) arrives the port P1 of switch b.The port P1 of switch b receives the MVRP registration messages, and the end of switch b Mouth P1 dynamic learnings add VLAN 10, and switch b also sends the MVRP registration messages to the port of switch A by port P2 P1.The port P1 of switch A receives the MVRP registration messages, and the port P1 dynamic learnings of switch A add VLAN 10, Switch A also sends the MVRP registration messages to interchanger D port P1 by port P2.Interchanger D port P1 is received should MVRP registration messages, and interchanger D port P1 dynamic learnings add VLAN 10, and interchanger D is also sent by port P2 should Port P1 of the MVRP registration messages to interchanger F.Interchanger F is due to static configuration VLAN 10, therefore receive MVRP notes Do not processed after volume message.
The static configuration VLAN 10 on interchanger F, then the port P2 and and interchanger that interchanger F is connected with main frame 2 Port P1 connected D adds VLAN 10.Interchanger F port P1 sends the MVRP registration messages for the mark for carrying VLAN 10 To interchanger D port P2.Interchanger D port P2 receives the MVRP registration messages, and interchanger D port P2 dynamics Practise and add VLAN 10, interchanger D also sends the MVRP registration messages to the port P2 of switch A by port P1.Switch A Port P2 receive the MVRP registration messages, and the port P2 dynamic learnings of switch A add VLAN 10, and switch A is also logical Cross port P1 and send the MVRP registration messages to the port P2 of switch b.The port P2 of switch b receives MVRP registrations and disappeared Breath, and the port P2 dynamic learnings of switch b add VLAN 10, and switch b also sends MVRP registrations by port P1 and disappeared Cease interchanger C port P2.Interchanger C is due to static configuration VLAN 10, therefore after receiving MVRP registration messages Do not process.
It can be seen that as interchanger C and interchanger F difference static configuration VLAN 10, the friendship between interchanger C and interchanger F The change planes port of (switch b, switch A and interchanger D) can be learnt by MVRP protocol dynamics and add VLAN10, therefore Two-way between interchanger C and interchanger F it can get through the passages of VLAN 10.
If interchanger G does not have static configuration VLAN 10, then interchanger G will not send carrying VLAN10 mark MVRP registration messages, so the E of interchanger D port P3 and interchanger P2 is not added in VLAN 10, therefore interchanger C The passages of VLAN 10 between (or interchanger F) and interchanger G do not have two-way get through.However, interchanger D port P1 and P2 adds VLAN10, and the MVRP registrations that interchanger D port P3 still can periodically send carrying VLAN 10 mark disappear Breath, and interchanger E P1 ports and interchanger G P1 ports can all add VLAN10.However, for interchanger D and exchange For link between machine G, the MVRP registration messages are that needs are repressed.
In processing mode in the prior art, when interchanger E and interchanger G receives periodic MVRP registration messages When, these MVRP registration messages of respective cyclical process are two-way due to not getting through VLAN between interchanger D and interchanger G Passage, vlan traffic is not flowed through between interchanger E and interchanger G, it is not significant to handle these MVRP registration messages, therefore Unnecessary cpu resource is caused to waste.
Fig. 4 is the source suppressing method flow chart of networking shown in Fig. 3 according to embodiment of the present invention.
As shown in figure 4, this method includes:
Step 401:Interchanger E port P1 from the interchanger D of effective transmission node as VLAN10 port P3 connect The first MVRP registration messages of the mark for carrying VLAN 10 are received, interchanger E port P1 dynamic learnings simultaneously add VLAN 10.Hand over The E that changes planes has found itself there is more than one enabled MVRP ports (i.e. port P1 and P2), therefore, it is determined that itself is not leaf section Point, now interchanger E the first MVRP registration messages are sent by port P2.
Step 402:After interchanger G P1 ports receive the first MVRP registration messages from interchanger E port P2, hand over Change planes G port P1 dynamic learnings and add VLAN 10.Interchanger G has found itself there was only an enabled MVRP port (i.e. port P1), therefore, it is determined that itself is leaf node.Moreover, interchanger G has found itself do not have static configuration VLAN 10, therefore, it is determined that the One MVRP registration messages are that needs are repressed.Now, interchanger G is sent to interchanger E port P2 by port P1 and suppressed Message.
Step 403:Interchanger E port P2, which is received, suppresses message, finds itself only have a port to add VLAN 10 (i.e. port P1), then assert the failed transmission node that interchanger E is VLAN 10, therefore message will be suppressed by port P1 and sent Interchanger D port P3.
Step 404:Interchanger D port P3 receives from interchanger E port P1 suppresses message, it is found that itself has two VLAN 10 port (port P1 and port P2) is added, assert effective transmission node that interchanger D is VLAN 10, therefore basis Suppress message to suppress to send the first MVRP registration messages in port P3, so as to mitigate interchanger E and interchanger G burden.
Step 405:When in static configuration VLAN 10 on interchanger G, interchanger G is by port P1 to interchanger E end Mouth P2 sends the 2nd MVRP registration messages of the mark for carrying VLAN 10.
Step 406:Interchanger E port P2 receives the 2nd MVRP registration messages, and P2 ports are dynamically added VLAN 10, and And interchanger E sends the 2nd MVRP registration messages by port P1 to interchanger D port P3.
Step 407:Interchanger D port P3 receives the 2nd MVRP registration messages, and P3 ports are dynamically added VLAN 10, and And send the first MVRP registration messages in interchanger D port P3 derepressions.
Based on above-mentioned analysis, Fig. 5 is the structure drawing of device for suppressing MVRP registration messages according to embodiment of the present invention, should Device 500 is applied to the first interchanger.
As shown in figure 5, the device 500 includes:
MVRP registration messages receiving module 501, for receiving second switch is sent, carrying VLAN by the first link First MVRP registration messages of mark, wherein having at least two to add corresponding to VLAN marks in the second switch VLAN port, and the port that second switch sends the first MVRP registration messages on the first link does not have addition to correspond to The VLAN of VLAN marks;
Suppress message transmission module 502, for when judge the first interchanger for leaf node and the first interchanger it is not quiet When state configuration corresponds to the VLAN of VLAN marks, sent by the first chain road direction second switch and suppress message, suppressed message and use Suppress to send the first MVRP registration messages in port of the instruction second switch on the first link.
In one embodiment, the device 500 also includes:
MVRP registration messages sending module 503, for by the first chain road direction second switch send suppress message it Afterwards, when judging that static configuration corresponds to the VLAN of VLAN marks on the first interchanger, handed over by the first chain road direction second Change planes to send and carry the 2nd MVRP registration messages that the VLAN is identified, the 2nd MVRP registration messages are used to indicate that second switch exists Port derepression on first link sends the first MVRP registration messages.
In one embodiment, the type of message for suppressing message is MVRP Leave message, wherein in MVRP Leave Have in the reserved field of message and be used to identify the flag for suppressing message.
In one embodiment, the device 500 also includes:
MVRP registration messages sending module 503, for when judge the first interchanger be not leaf node when, by described The port in addition to the port for receiving the first MVRP registration messages on first link sends the first MVRP registrations and disappeared Breath.
Based on above-mentioned labor, Fig. 6 is the apparatus structure for suppressing MVRP registration messages according to embodiment of the present invention Figure, the device 600 are applied to second switch.
As shown in fig. 6, the device 600 includes:
MVRP registration messages receiving module 601, the first MVRP registration messages of VLAN marks are carried for receiving;
MVRP registration messages sending module 602, for by it is no add correspond to VLAN mark VLAN port to The first interchanger on the first link where the port as leaf node sends the first MVRP registration messages;
Suppress message reception module 603, described the is being received for receiving first interchanger by the first link One MVRP registration messages and determine the suppression message that sends when itself non-static configuration corresponds to the VLAN of VLAN marks;
Suppress message processing module 604, judge that having at least two to add in second switch corresponds to for working as During the VLAN of VLAN marks port, suppress to send the first MVRP and register to disappear according to port of the message on the first link is suppressed Breath.
In one embodiment, suppress message processing module 604, be additionally operable to when only one in judgement second switch When having added the port corresponding to the VLAN of VLAN marks, by suppressing message except reception is described on first link Port outside port sends the suppression message.
In one embodiment, suppress message processing module 604, suppress to send for the port on the first link After one MVRP registration messages, when the 2nd MVRP for receiving carrying VLAN marks from the first interchanger by the first link is registered During message, the port derepression on the first link sends the first MVRP registration messages.
In summary, in embodiments of the present invention, the interchanger as leaf node has added from at least two The port of port and transmission MVRP registration messages corresponding to the VLAN of VLAN marks, which does not have to add, corresponds to VLAN marks VLAN interchanger (being referred to as source interchanger) receives the MVRP registration messages, when the leaf node judges that itself does not have static configuration Corresponding to VLAN mark VLAN when, to source interchanger send for suppress send MVRP registration messages suppression message, therefore The interchanger got through comprising the leaf node and not yet on the link of VLAN passages disappears without frequently receiving and handling MVRP registrations Breath, so as to improve the CPU resource utilization on the interchanger that these not yet get through VLAN passages.
In addition, after MVRP registration messages are suppressed, are improved more than twice if sending the cycle, the biography of message can also be reduced Throughput rate, so as to also a saving link bandwidth.
In addition, embodiment of the present invention has increased suppression message newly, pass through Leave message type combination flag mechanism Formed and suppress message identification method, compatible can not support MVRP sources to suppress the interchanger of function.
Further, present invention introduces leaf node judgment mechanism, generated by leaf node and suppress message MVRP suppression message, Also introduce in VLAN paths and effectively suppress message with failed transmission node judgment mechanism, wherein failed transmission node forwarding, have Imitating transmission node change needs the transmission cycle of repressed MVRP registration messages.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.It is all Within the spirit and principles in the present invention, any modification, equivalent substitution and improvements made etc., the protection of the present invention should be included in Within the scope of.

Claims (14)

  1. A kind of 1. method for suppressing more virtual local network log-on protocol MVRP registration messages, it is characterised in that methods described application In the first interchanger, this method includes:
    The first MVRP registrations that second switch is sent, carrying virtual LAN VLAN mark are received by the first link to disappear Breath, wherein in the second switch have at least two added corresponding to the VLAN mark VLAN port, and The port that the second switch sends the first MVRP registration messages on the first link is not added corresponding to described The VLAN of VLAN marks;
    When judgement first interchanger does not have static configuration to correspond to the VLAN for leaf node and first interchanger During the VLAN of mark, sent by the first chain road direction second switch and suppress message, the suppression message is used to indicate the Port of two interchangers on first link suppresses to send the first MVRP registration messages, wherein when on the first interchanger During the only enabled MVRP ports of one, the first interchanger is leaf node.
  2. 2. according to the method for claim 1, it is characterised in that also include:
    After being sent by the first chain road direction second switch and suppressing message, when judging on first interchanger When static configuration corresponds to the VLAN of VLAN marks, sent by the first chain road direction second switch and carry VLAN marks The 2nd MVRP registration messages, the 2nd MVRP registration messages be used for indicate end of the second switch on first link Mouth derepression sends the first MVRP registration messages.
  3. 3. according to the method for claim 1, it is characterised in that the type of message for suppressing message leaves for MVRP Leave message, it is used to identify the flag for suppressing message wherein in the reserved field of the MVRP Leave message having.
  4. 4. according to the method for claim 1, it is characterised in that when it is not leaf node to judge first interchanger, Described first is sent by the port in addition to the port for receiving the first MVRP registration messages on first link MVRP registration messages, wherein when having more than one enabled MVRP ports on the first interchanger, the first interchanger is not leaf Child node.
  5. A kind of 5. method for suppressing more virtual local network log-on protocol MVRP registration messages, it is characterised in that methods described application In second switch, this method includes:
    Receive the first MVRP registration messages for carrying VLAN marks;
    By no port for adding the VLAN for corresponding to VLAN marks to being used as leaf on the first link where the port First interchanger of child node sends the first MVRP registration messages, wherein when there was only one enabled on the first interchanger During MVRP ports, the first interchanger is leaf node;
    First interchanger is received by the first link receiving the first MVRP registration messages and determining that itself is not quiet State configuration corresponds to the suppression message sent during the VLAN of VLAN marks;
    When judging to have added the port corresponding to the VLAN of VLAN marks with least two in the second switch, Suppress to send the first MVRP registration messages according to port of the suppression message on first link.
  6. 6. according to the method for claim 5, it is characterised in that also include:
    When judging to only have in the second switch port added corresponding to the VLAN of VLAN marks, pass through The port in addition to the port for suppressing message is received on first link sends the suppression message.
  7. 7. according to the method for claim 5, it is characterised in that also include:
    Port on first link suppresses after sending the first MVRP registration messages, is received when by the first link During the 2nd MVRP registration messages of the carrying VLAN marks sent to first interchanger, the end on first link Mouth derepression sends the first MVRP registration messages.
  8. A kind of 8. device for suppressing more virtual local network log-on protocol MVRP registration messages, it is characterised in that described device application In the first interchanger, the device includes:
    MVRP registration message receiving modules, it is that second switch is sent, carrying VLAN marks for being received by the first link First MVRP registration messages, wherein having at least two to add corresponding to VLAN marks in the second switch VLAN port, and the port that the second switch sends the first MVRP registration messages on the first link does not have to add Enter to correspond to the VLAN of VLAN marks;
    Suppress message transmission module, for when judge first interchanger for leaf node and first interchanger it is not quiet When state configuration corresponds to the VLAN of VLAN marks, sent by the first chain road direction second switch and suppress message, institute State and suppress message for indicating that port of the second switch on first link suppresses to send the first MVRP and register to disappear Breath, wherein when there was only the enabled MVRP ports of one on the first interchanger, the first interchanger is leaf node.
  9. 9. device according to claim 8, it is characterised in that also include:
    MVRP registration message sending modules, for by the first chain road direction second switch send suppress message after, When judging that static configuration corresponds to the VLAN of VLAN marks on first interchanger, pass through the first chain road direction the Two interchangers send the 2nd MVRP registration messages for carrying VLAN marks, and the 2nd MVRP registration messages are used to indicate second Port derepression of the interchanger on the first link sends the first MVRP registration messages.
  10. 10. device according to claim 8, it is characterised in that the type of message for suppressing message leaves for MVRP Leave message, it is used to identify the flag for suppressing message wherein in the reserved field of the MVRP Leave message having.
  11. 11. device according to claim 8, it is characterised in that also include:
    MVRP registration message sending modules, for when it is not leaf node to judge first interchanger, by described the The port in addition to the port for receiving the first MVRP registration messages on one link sends the first MVRP registration messages, Wherein when having more than one enabled MVRP ports on the first interchanger, the first interchanger is not leaf node.
  12. A kind of 12. device for suppressing more virtual local network log-on protocol MVRP registration messages, it is characterised in that described device application In second switch, the device includes:
    MVRP registration message receiving modules, the first MVRP registration messages of VLAN marks are carried for receiving;
    MVRP registration message sending modules, for by no port for adding the VLAN for corresponding to VLAN marks to the end The first interchanger on the first link where mouthful as leaf node sends the first MVRP registration messages, wherein when first When there was only the enabled MVRP ports of one on interchanger, the first interchanger is leaf node;
    Suppress message reception module, the first MVRP notes are being received for receiving first interchanger by the first link Volume message and determine the suppression message that sends when itself non-static configuration corresponds to the VLAN of VLAN marks;
    Suppress message processing module, judge have at least two to add corresponding to described in the second switch for working as During the VLAN of VLAN marks port, pass through the end in addition to the port for suppressing message is received on first link Mouth sends the suppression message.
  13. 13. device according to claim 12, it is characterised in that
    Suppress message processing module, be additionally operable to when only one has added corresponding to the VLAN in the judgement second switch During the VLAN of mark port, the suppression message is sent to the next-hop of first link.
  14. 14. device according to claim 12, it is characterised in that
    Suppress message processing module, the port for being additionally operable to send the first MVRP registration messages on the first link suppresses to send After the first MVRP registration messages, when receiving what the carryings VLAN that the first interchanger sends was identified by the first link During the 2nd MVRP registration messages, the port derepression on first link sends the first MVRP registration messages.
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 CN104486329A (en) 2015-04-01
CN104486329B true 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)

Families Citing this family (2)

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

Citations (4)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8812708B2 (en) * 2011-07-22 2014-08-19 Cisco Technology, Inc. Transient unpruning for faster layer-two convergence

Patent Citations (4)

* 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
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

Also Published As

Publication number Publication date
CN104486329A (en) 2015-04-01

Similar Documents

Publication Publication Date Title
CN103986651B (en) A kind of software defined network controller and its control method
CN104243270B (en) A kind of method and apparatus for establishing tunnel
US8953621B2 (en) Specifying priority on a virtual station interface discovery and configuration protocol response
US20160234097A1 (en) Packet forwarding in software defined networking
CN105099921B (en) A kind of fastext processing method and device based on user
CN107204867A (en) A kind of information transferring method, device and system
CN103259721B (en) Message forwarding method in SPBM network and device
CN103259728A (en) OFS in-band communication method and OFS
CN109729019B (en) Speed limiting method and device for special line service in EVPN (Ethernet virtual private network) networking
CN104092595A (en) Message processing method and device based on 802.1 BR virtualization system
CN104065571B (en) A kind of broadcasting packet processing method, apparatus and system
CN105634857A (en) Link connectivity detecting method and device
CN102075438A (en) Unicast data frame transmission method and device
CN105991441B (en) The method and apparatus that route forwarding table is issued to BGP Route Selection
CN104486226B (en) A kind of message processing method and device
CN102882784A (en) LSP (Layered Service Provider) information flooding method and equipment in SPBM (Shortest Path Bridging MAC)
CN106961400A (en) A kind of method and system for realizing cloud platform virtual port mirror image
CN104486329B (en) A kind of method and apparatus for suppressing more virtual local network log-on protocol registration messages
CN105471742B (en) A kind of message processing method and equipment
CN102769567B (en) A kind of retransmission method of multilink transparent internet Frame and device
CN106789437B (en) Message processing method, forwarding method, related device and packet loss rate measuring method
CN104243303B (en) The method and apparatus for updating message are sent in a kind of autonomous system loop networking
CN102546409A (en) Method and RB (route bridge) for processing message based on TRILL (Transparent Interconnection of Lots of Links) network
CN106034071A (en) Data message transmission method and edge routing bridge equipment
CN102932229B (en) A kind of method of packet being carried out to encryption and decryption process

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
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.

GR01 Patent grant
GR01 Patent grant