CN103825798B - Channel communicating method and equipment for virtual local area network - Google Patents

Channel communicating method and equipment for virtual local area network Download PDF

Info

Publication number
CN103825798B
CN103825798B CN201410094892.6A CN201410094892A CN103825798B CN 103825798 B CN103825798 B CN 103825798B CN 201410094892 A CN201410094892 A CN 201410094892A CN 103825798 B CN103825798 B CN 103825798B
Authority
CN
China
Prior art keywords
vlan
mvrp
bandwidth
equipment
join message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410094892.6A
Other languages
Chinese (zh)
Other versions
CN103825798A (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
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 CN201410094892.6A priority Critical patent/CN103825798B/en
Publication of CN103825798A publication Critical patent/CN103825798A/en
Application granted granted Critical
Publication of CN103825798B publication Critical patent/CN103825798B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a channel communicating method for a virtual local area network. The method comprises the steps of enlarging an MVRP (multiple VLAN registration protocol) bandwidth and adding MVRP priority parameter information by expanding an MVRP when a VLAN (virtual local area network) channel is communicated in a dynamic state, and flexibly controlling a registration process of the dynamic VLAN. Based on the same invention concept, the invention also provides equipment; therefore, service flow can be planned, and the different dynamic VLAN can be treated according to different priority levels and subjected to bandwidth guarantee, so that the utilization rate of network resources is increased.

Description

A kind of channel connection method and apparatus of VLAN
Technical field
The present invention relates to communication technical field, the channel connection method and apparatus of more particularly to a kind of VLAN.
Background technology
Many virtual local network log-on protocols (Multiple VLAN Registration Protocol, MVRP), are many category One kind application of property log-in protocol (Multiple Registration Protocol, MRP), issues for equipment room and learns VLAN configures message.
After equipment starts MVRP, local VLAN (VLAN) is configured message and is passed to other equipment by equipment Broadcast, while can also receive that message is configured from the VLAN of other equipment, and dynamic updates local VLAN configuration informations, so as to The vlan information for making all devices is all reached an agreement, and greatly alleviates the VLAN configuration works of network manager.
After network topology changes, MVRP can also again be issued according to new topology and be learnt VLAN, accomplish VLAN Configuration information in real time with network topology synchronized update.MRP and MVRP are respectively Generic Attribute Registration Protocol (Generic Attribute Registration Protocol, GARP) and GARP VLAN log-in protocols (GARP VLAN Registration Protocol, GVRP) upgraded version, for substituting GARP and GVRP agreements.GVRP is compared, MVRP is propped up Hold Multiple Spanning Tree Instance (Multiple Spanning Tree Instance, MSTI), so as to can be difference VLAN redundancy chain Road calculates and load balancing is realized providing facility;MVRP can effectively reduce the message number in the vlan information amount as much of transmission Amount, so as to improve attribute declaration efficiency.
Referring to Fig. 1, Fig. 1 is MVRP networking schematic diagrams in existing realization.It is with device A and equipment D static configurations VLAN100 Example, realizes the connection of dynamic vlan 100.
After static VLAN100 is configured with device A, the P1 ports of device A send the Join messages for carrying VLAN100, if Dynamic vlan 100 is arrived in study after the P2 ports of standby B receive, and P2 is added into VLAN100, while sent by P1 carrying The Join messages of VLAN100, equipment C is registered after receiving in P2 ports, i.e., also dynamic vlan 100 is arrived in study, and P2 ports are added Enter VLAN100;When equipment D receives Join messages, during learning dynamics VLAN 100, find to configure the static VLAN on P2 100, the port is not added into dynamic vlan 100.
The connection of dynamic vlan must be two-way, so also static configuration VLAN100 on equipment D, the P2 ends on equipment D Mouth actually adds static state VLAN100, and sends the Join messages for carrying VLAN100, after equipment C is received, by P1 ports Dynamic vlan 100 is added, and Join messages is sent by P2 ports, P1 ports are added dynamic vlan 100 by equipment B after receiving, And Join messages are sent by P2 ports, so far, all of the port between device A~D all allows VLAN100 to pass through, uniquely It is to have learnt dynamic vlan 100 between VLAN100, but equipment B, C that it has been static configuration on device A and equipment D that difference is exactly, and Port is added into dynamic vlan 100.
When new VLAN passages are connected on network and new business is run, without the planning of rational flow, it is impossible to supervise in real time The flow of control network and the load of NE, it is impossible to dynamic adjustment traffic management parameters, resource constraint parameter, network operation shape Whether state is preferable also unknowable, and Internet usage may be caused unreasonable, and network congestion.
The content of the invention
In view of this, the present invention provides a kind of channel connection method and apparatus of VLAN, enables to Business Stream Planning is measured, Different Dynamic VLAN can obtain different preferential treatments and Bandwidth guaranteed, so as to improve the profit of Internet resources With rate.
To solve above-mentioned technical problem, the technical scheme is that what is be achieved in that:
A kind of channel connection method of virtual LAN VLAN, is applied to enable on any appliance in the network of MVRP, The equipment accesses the MVRP abilities that enable on the port of the network, and methods described includes:
When the equipment is as the equipment for configuring arbitrary static VLAN, send the VLAN's by enabling the port of MVRP abilities Join message, and the parameter information of the VLAN is carried in the Join message;Wherein, the parameter information includes MVRP priority With MVRP bandwidth;
The equipment is as the equipment for configuring the static VLAN or does not configure the equipment of the static VLAN, and receives other and set During the Join message that preparation is sent, the parameter information of the VLAN carried according to the Join message, and the end for receiving the Join message The remaining bandwidth of the reserved bandwidth of MVRP on mouth determines whether to connect the passage of the VLAN, if allowing connection, records The parameter information of the VLAN, and update the remaining bandwidth of the reserved bandwidth of MVRP;Otherwise, sent out by receiving the port of the Join message The revocation message of the VLAN is given, while sending the MVRP error messages of the passage that can not connect the VLAN, makes the transmission Join disappear The equipment of breath knows that the passage of the VLAN can not be connected.
A kind of equipment, in being applied to the network for enabling MVRP, the equipment is accessed and enable on the port of the network MVRP energy Power, the equipment includes:Recording unit, Transmit-Receive Unit and determining unit;
The recording unit, the reserved bandwidth of MVRP of the port configuration of the network is accessed for record in this equipment;When When the determining unit determines the passage for allowing connection VLAN, the parameter information of the VLAN is recorded, and update the reserved bandwidth of MVRP Remaining bandwidth;
The Transmit-Receive Unit, during for this equipment as the equipment for configuring arbitrary static VLAN, by enabling MVRP abilities Port send the Join message of the VLAN, and the parameter information of the VLAN is carried in the Join message;Wherein, the parameter Information includes MVRP priority and MVRP bandwidth;This equipment is as the equipment for configuring the static VLAN or does not configure the static VLAN Equipment when, for receive other equipment transmission Join message;Do not allow to connect the VLAN's when the determining unit determines During passage, the revocation message of the VLAN is sent by receiving the port of the Join message, while send can not connect the VLAN's The MVRP error messages of passage, the equipment for preventing the transmission Join message knows the passage of the VLAN from connecting;
The determining unit, when receiving the Join message of other equipment transmission for the Transmit-Receive Unit, according to this The parameter information of the VLAN that Join message is carried, and receive the tape remaining of the reserved bandwidth of MVRP on the port of the Join message Width determines whether the passage for connecting the VLAN.
In sum, in dynamic connection VLAN passages, by extending, MVRP increases MVRP bandwidth to the present invention and MVRP is excellent First level parameter information, flexibly the registration process of control dynamic vlan, enables to service traffics and is planned, Different Dynamic VLAN Different preferential treatments and Bandwidth guaranteed can be obtained, so as to improve the utilization rate of Internet resources.
Description of the drawings
Fig. 1 is MVRP networking schematic diagrams in existing realization;
Fig. 2 is point-to-point networking schematic diagram in the embodiment of the present invention;
Fig. 3 is the channel connection method flow schematic diagram of VLAN in the embodiment of the present invention one;
Fig. 4 is the schematic flow sheet of the passage that VLAN is connected in the embodiment of the present invention two;
Fig. 5 is the schematic flow sheet of the passage that VLAN is connected in the embodiment of the present invention three;
Fig. 6 is point-to-multipoint networking schematic diagram in the specific embodiment of the invention;
Fig. 7 is the structural representation of the equipment that above-mentioned technology is applied in the specific embodiment of the invention;
Fig. 8 is the hardware structure composition schematic diagram of the device of the channel connection of VLAN in the embodiment of the present invention.
Specific embodiment
To make the objects, technical solutions and advantages of the present invention become more apparent, develop simultaneously referring to the drawings embodiment, right Scheme of the present invention is described in further detail.
A kind of channel connection method of VLAN is proposed in the embodiment of the present invention, is applied to arbitrary in the network for enabling MVRP On equipment, the equipment accesses the MVRP abilities that enable on the port of the network.In dynamic connection VLAN passages, by extension MVRP increases MVRP bandwidth and MVRP priority parameters information, and flexibly the registration process of control dynamic vlan, enables to business Flow is planned that Different Dynamic VLAN can obtain different preferential treatments and Bandwidth guaranteed, so as to improve Internet resources Utilization rate.
Referring to Fig. 2, Fig. 2 is point-to-point networking schematic diagram in the embodiment of the present invention.Constitute in device A to equipment D in Fig. 2 Network-enabled MVRP, and access enable MVRP abilities, the such as P1 of device A, equipment B, equipment C on the port of the network in each equipment P1 and P2, the P2 of equipment D.
When the present invention is implemented, in addition it is also necessary to the reserved bandwidth of MVRP, such as 400M are configured on these ports.
The reserved bandwidth of the MVRP is preferentially used for the VLAN of configuration MVRP priority and/or MVRP bandwidth.
When not configuring, bandwidth shared by the VLAN of MVRP priority is not enough, and the reserved bandwidth of the MVRP for configuring also has residue When, can also take remaining bandwidth.Even dynamic vlan is configured without MVRP bandwidth demands, and the MVRP priority requirements of VLAN When, the reserved bandwidth of MVRP can be that dynamic vlan and other service traffics (e.g., the service traffics in static VLAN) share.
Also need to configure MVRP registration modes on each port simultaneously, the registration mode configured in the embodiment of the present invention with As a example by normal patterns.
In the specific embodiment of the invention when VLAN is stated, the parameter information of VLAN, the ginseng are carried when sending Join message Number information includes the MVRP priority and MVRP bandwidth of the VLAN.
For each VLAN is when its corresponding Join message is sent, MVRP priority and MVRP bandwidth in parameter information Occurrence, is determined by the configuration in advance to the VLAN.
MVRP priority, and MVRP bandwidth are configured with if the VLAN, are then sending the VLAN that Join message is carried Parameter information in carry the occurrence of MVRP priority and MVRP bandwidth;
If the VLAN is configured with MVRP priority, and does not configure MVRP bandwidth, that is, there is no MVRP bandwidth requirements, then sending out When giving the Join message of the VLAN, in the parameter information of the VLAN of carrying, the occurrence of MVRP priority is filled to the value of configuration, The occurrence of MVRP bandwidth is filled to sky, such as NULL.
If the VLAN does not configure MVRP priority, and configures MVRP bandwidth, i.e., without priority requirement, then sending In the parameter information of the VLAN that Join message is carried, the occurrence of MVRP priority is filled to default value, can when implementing To be defaulted as 0;The value of the occurrence filling configuration of MVRP bandwidth.
If the VLAN does not configure MVRP priority, and does not configure MVRP bandwidth, that is, there is no MVRP priority requirements, do not have yet There are MVRP bandwidth requirements, then the occurrence that MVRP priority is carried in the parameter information for sending the VLAN that Join message is carried is filled out Fill for default value, 0 can be defaulted as when implementing;The occurrence of MVRP bandwidth is filled to sky, such as NULL.
When implementing, the configuration scope of MVRP priority is 0-255 to the present invention, and the bigger priority of parameter is bigger, if Do not configure and be defaulted as default value 0, i.e., be consistent with the priority of Common VLAN.
Here MVRP priority is to increase preferential concept for VLAN, such as 2 dynamic vlans 10 and VLAN20, has all run industry Business flow, if arranging the MVRP priority 10 of VLAN10, VLAN20 is configured without MVRP priority, then assume port congestion When, the business in VLAN10 is preferentially run, the business in VLAN20 then probably due to congestion and abandon.
Explanation is needed exist for, here it doesn't matter with two layers of priority for the MVRP priority of VLAN, two layers of priority The 802.1p priority in VLAN Tag is referred to, even if the 802.1p priority entrained by the service traffics in VLAN20 is higher than The 802.1p priority of the service traffics in VLAN10, also still because MVRP of the MVRP priority of VLAN20 less than VLAN10 Priority and be dropped.
Embodiment one
Referring to Fig. 3, Fig. 3 is the channel connection method flow schematic diagram of VLAN in the embodiment of the present invention one.Concretely comprise the following steps:
Step 301, equipment of the equipment as static arbitrary VLAN is configured should by enabling the port transmission of MVRP abilities The Join message of VLAN, and the parameter information of the VLAN is carried in the Join message.
Equipment in the network for enabling MVRP, for same VLAN will not simultaneously have the port for registering the dynamic vlan With the port for adding the static VLAN, therefore, the equipment in network is included into two classes, a class is to configure the static VLAN to set Standby, such as device A and equipment D, a class is the equipment for not configuring the static VLAN, such as equipment B and equipment C.
After the device configuration one static state VLAN, the port for enabling MVRP abilities is added into the static VLAN, and by the end Mouth sends the Join message of the VLAN, to reach the company with the passage that the VLAN is carried out between the equipment for configuring the static VLAN It is logical.
Step 302, the equipment works as reception as the equipment for configuring the static VLAN or the equipment for not configuring the static VLAN During the Join message sent to other equipment, the parameter information of the VLAN carried according to the Join message, and receive the Join The remaining bandwidth of the reserved bandwidth of MVRP on the port of message determines whether to connect the passage of the VLAN, if it is, performing Step 303;Otherwise, execution step 304.
Step 303, the equipment records the parameter information of the VLAN, and updates the remaining bandwidth that MVRP reserves bandwidth, terminates This flow process.
Equipment of the equipment as the static VLAN is configured, when it is determined that allowing to connect the passage of the VLAN, it is not necessary to note The volume dynamic vlan, directly records the parameter information of the VLAN, and updates the remaining bandwidth of the reserved bandwidth of MVRP.
The remaining bandwidth of the reserved bandwidth of MVRP is that the reserved bandwidth of current MVRP deducts the MVRP bandwidth for distributing to the VLAN Remaining bandwidth afterwards.The reserved bandwidth of the reserved MVRP with a width of configuration of current MVRP is deducted to distribute to and connected on that port Remaining bandwidth after the MVRP bandwidth of logical VLAN.
Equipment of the equipment as the static VLAN is not configured, when it is determined that allowing to connect the passage of the VLAN, except note The parameter information of the VLAN is recorded, and is updated outside the remaining bandwidth of the reserved bandwidth of MVRP, need to also be at the end for receiving the Join message The VLAN is registered on mouthful, and the Join message of the VLAN is sent by the port of the enable MVRP abilities outside the port.
Step 304, the equipment sends the revocation message of the VLAN by receiving the port of the Join message, while sending not The MVRP error messages of the passage of the VLAN can be connected, the equipment for preventing the transmission Join message knows the passage of the VLAN from even It is logical.
Due in the specific embodiment of the invention, if allow the passage for connecting the VLAN to need to be newly increased in view of the present invention VLAN parameter information and the reserved bandwidth of MVRP, accordingly, there exist the possibility of the passage that can not connect the VLAN, do not permitting When connecting the passage of VLAN perhaps, the process that the passage of the VLAN can not be connected is carried out on this equipment, and notify to send the Join The equipment of message carries out respective handling.
The equipment can also record the MVRP error message tables of the VLAN when it is determined that the passage of the VLAN can not be connected , error message is pointed out, so that keeper determines the equipment of mistake generation and port.
MVRP error messages list item includes VLAN ID, type of error and port numbers etc..Wherein error message type is VLAN Passage can not connect, such as with 1 this type of error of mark;Port numbers are the port of the port of the passage that can not connect the VLAN Number.
This step equipment sends the revocation message of the VLAN by receiving the port of the Join message, and the revocation of transmission disappears Compared with realization, in such as Fig. 2, when equipment C can not connect the VLAN on P2, but since equipment C receives this to breath by P2 The Join message of VLAN, illustrates that equipment B also received the Join message of the VLAN by P2, and is registered, therefore, The revocation message that the VLAN is sent by receiving the port of Join message is needed, so that equipment B and device A are removed on corresponding ports Sell the VLAN.
In the specific embodiment of the invention, when the VLAN is cancelled, while the parameter of the VLAN of deletion record, if this VLAN is assigned with MVRP bandwidth, it is also desirable to reclaim the MVRP bandwidth of distribution.
Equipment is sending the MVRP error messages of the passage that can not connect the VLAN by receiving the port of the Join message When, VLAN ID and type of error are carried, the equipment for preventing the transmission Join message knows the passage of the VLAN from connecting, so as to Processed accordingly.
By above it is recognised that whether the MVRP priority and MVRP bandwidth in the parameter information of certain VLAN requires, Whether configure, whether the passage for affecting the VLAN can be connected, described respectively with three embodiments both required MVRP below Priority and MVRP bandwidth is required, require nothing more than MVRP priority and require nothing more than three kinds of situations of MVRP bandwidth and be described.
The situation that MVRP priority and MVRP bandwidth are not all required, the i.e. ginseng of VLAN are there is likely to be in implementing MVRP priority in number information is default value, and the value of MVRP bandwidth is sky, when processing such Join message, equivalent to MVRP Priority and the irrespective situation of MVRP bandwidth, then compared with process, such VLAN directly allows connection.
Embodiment two
In the embodiment with configure the static VLAN when, MVRP priority is configured with to the VLAN and bandwidth priority is Example come describe in detail connect the VLAN passage process.
The equipment for configuring the static VLAN sends the Join message of the VLAN by enabling the port of MVRP abilities.Sending Join message in carry the parameter information of the VLAN:MVRP priority and MVRP bandwidth, and for MVRP priority and MVRP bands The occurrence of width filling configuration.
Referring to Fig. 4, Fig. 4 is the schematic flow sheet of the passage that VLAN is connected in the embodiment of the present invention two.Concretely comprise the following steps:
Step 401, equipment receives Join message.
Equipment in this step can be the equipment of the arbitrary static VLAN of configuration, or do not configure the static VLAN's Equipment.
Whether step 402, the equipment determine the remaining bandwidth of the reserved bandwidth of MVRP on the port for receiving the Join message Not less than the value of the MVRP bandwidth carried in the Join message, if it is, execution step 407;Otherwise, execution step 403.
Step 403, the equipment compares to be taken in the MVRP priority of the VLAN for having connected on that port and the Join message The size of the value of the MVRP priority of band.
Step 404, the equipment determines that on that port the VLAN intermediate values of communicating passage are less than Join message carrying The VLAN of MVRP priority, and be the MVRP bands of the VLAN distribution of MVRP priority of the value less than Join message carrying Width, and remaining bandwidth and less than carrying in the Join message the MVRP bandwidth with the reserved bandwidth of current MVRP on the port Value when, the revocation message of the corresponding VLAN of Join message for receiving is sent by the port, while sending, this can not be connected The MVRP error messages of the passage of VLAN, the equipment for preventing the transmission Join message knows that the passage of the VLAN, from connecting, terminates This flow process.
The equipment is determined on that port in the MVRP priority of the VLAN of communicating passage less than Join message carrying MVRP priority value, and for the MVRP bandwidth of each VLAN distribution, and the tape remaining with the reserved bandwidth of current MVRP , at this moment there are two kinds of situations in value wide and less than the MVRP bandwidth carried in the Join message:
One kind is that on that port the MVRP priority of the VLAN of communicating passage is carried not less than in the Join message MVRP priority value.Such case illustrates the Join that MVRP priority is all received than this time in the VLAN of communicating passage The MVRP priority carried in message is big, and the corresponding VLAN of the Join message can not be seized as these VLAN distribution for having connected Bandwidth.
One kind is that on that port the MVRP priority of the VLAN of communicating passage is present less than carrying in the Join message MVRP priority value, and for the MVRP bandwidth of each VLAN distribution, and the tape remaining with the reserved bandwidth of current MVRP Value wide and less than the MVRP bandwidth carried in the Join message.Such case illustrates the MVRP in the VLAN of communicating passage The MVRP priority that priority has carrying in the Join message received than this time is little, and distribution bandwidth, but, it is these The sum of the remaining bandwidth of the reserved bandwidth of MVRP bandwidth and current MVRP of VLAN distribution, still can not meet what this time was received The MVRP bandwidth that Join message is carried, then need not reclaim allocated bandwidth, and determine the corresponding VLAN of the Join message not Can be connected on the port for receiving the Join message.
Both of which can not connect the passage of the VLAN, be now somebody's turn to do by receiving the port transmission of the Join message During the revocation message of VLAN, the MVRP error message list items of the passage that can not connect the VLAN can also be locally recorded, be pointed out wrong Message is missed, so that manager can know in real time the equipment for making a mistake, and port, so as to follow-up process.
Error message list item includes:VLAN ID, error message type and port numbers etc..
The revocation message of the VLAN that the equipment sends, and the equipment for receiving the revocation message, to the revocation message Process compared with realization.
When realizing in the specific embodiment of the invention, when the VLAN is cancelled, the parameter information for deleting the VLAN is also needed, and returned Receive the MVRP bandwidth for the VLAN distribution.
As the equipment of the static VLAN is not configured, if the MVRP mistakes for receiving the passage that can not connect the VLAN disappear Breath, by receiving the error message outside enable MVRP abilities port forward the error message;
As the equipment of the static VLAN is configured, if receiving the passage that can not connect the VLAN of other equipment transmission MVRP error messages, can stop the transmission of the Join message of the VLAN, or extend the Join message for sending the VLAN Time interval.
When this receives error message as the equipment for configuring the static VLAN, the error message of the VLAN can also be recorded List item, and point out error message.
It can be seen that the MVRP error messages of the passage that can not connect the VLAN of transmission are for notifying to send the Join message Equipment knows that the passage of the VLAN can not be connected.
For the realization for extending the time interval for sending, by realization described below, but can be not limited to described below:
The time interval of the transmission Join message of such as system configuration is 30 seconds;It is 60 seconds to extend time interval now;Such as Fruit or failure, are changed to 120 seconds send, if or failure, it is maintained at 120 seconds transmission cycles.
The condition for judging failure is to have sent receive within a certain period of time after Join message the corresponding MVRP mistakes of the VLAN The error message record sheet table of the VLAN is removed in message, certain hour if the MVRP error messages of the VLAN are not received , and recover the Join message that normal time interval sends the VLAN.
Step 405, when determination, on that port the VLAN intermediate values of communicating passage have been carried the equipment less than the Join message MVRP priority VLAN, and be MVRP band of the value less than the VLAN distribution of the MVRP priority that the Join message is carried Width, and reserve the remaining bandwidth of bandwidth and not less than the MVRP bandwidth carried in the Join message with the MVRP on the port Value when, then the reserved bandwidth of MVRP for reclaiming distribution by MVRP priority order from small to large, until the MVRP for reclaiming is reserved Bandwidth meets the MVRP bandwidth demands of the VLAN in the Join message.
For the bandwidth of each VLAN distribution, and can expire with the remaining bandwidth of the reserved bandwidth of MVRP on the port The requirement of the MVRP bandwidth of the sufficient VLAN, the bandwidth of as described each VLAN distribution, and reserve band with the MVRP on the port Wide remaining bandwidth and not less than the MVRP bandwidth carried in the Join message value.
When the MVRP bandwidth of the VLAN distribution on the port for receiving the Join message for communicating passage disclosure satisfy that this During the bandwidth requirement of VLAN, the MVRP bandwidth of distribution is reclaimed, the order when bandwidth is reclaimed by MVRP priority from small to large is entered Row is reclaimed, if the MVRP priority of certain VLAN is although little, but is not its distribution MVRP bandwidth, and the VLAN is not located Reason.
During the bandwidth of one VLAN of recovery, the remaining bandwidth of the reserved bandwidth of MVRP on the port is updated, until meeting band Width is required, i.e., when the bandwidth of previous VLAN is reclaimed, the remaining bandwidth of the reserved bandwidth of the MVRP on the port is less than should The value of the MVRP bandwidth carried in Join message;When the bandwidth of next VLAN is reclaimed, the MVRP on the port reserves bandwidth Remaining bandwidth not less than the MVRP bandwidth carried in the Join message value.
Step 406, the parameter information of described each VLAN of the equipment deletion record, and update the residue of the reserved bandwidth of MVRP Bandwidth;Meanwhile, the revocation message of VLAN of the contracture with the reserved bandwidth of MVRP is sent back by enabling the port of MVRP abilities, and lead to The port transmission for receiving the Join message is crossed due to the VLAN priority not enough MVRP error messages of the VLAN of revocation.
During the parameter information of described each VLAN of the equipment deletion record, the reserved bands of MVRP for reclaiming distribution can also be recorded The MVRP error message list items of wide VLAN, and error message is pointed out, to manage the position for knowing mistake generation.
The VLAN has been cancelled on that port, also needs that the revocation message of VLAN will be corresponded to by enabling the port of MVRP abilities Other equipment is sent to, when other equipment receives the revocation message of VLAN, compared with process, by the VLAN revocations.At this The parameter information for deleting the VLAN for having cancelled that each equipment is locally recorded also is needed in bright specific embodiment.
Due to this mistake be occur connected before the passage of these VLAN for cancelling in the case of, accordingly, it would be desirable to Revocation message is sent by the port of all enable MVRP abilities.
Still by taking Fig. 2 as an example, if device A has connected the passage of VLAN10 on equipment D in Fig. 2, afterwards equipment B is received The Join message of VLAN20, and because the VLAN is in registration, needs seize the MVRP bandwidth for distributing to VLAN10, then need Revocation message is sent by P2 and P1, because needing to cancel the VLAN on the P2 ports of equipment C and equipment D, in the P1 of device A On be also required to cancel the VLAN10.
The equipment sends the VLAN's not enough cancelled due to VLAN priority by receiving the port of the Join message MVRP error messages, the equipment for making the Join message of transmission these VLAN knows that these VLAN can not be connected.
During as the equipment for not configuring the static VLAN, if receiving the VLAN's not enough cancelled due to VLAN priority MVRP error messages, by receiving the error message outside enable MVRP abilities port forward the error message;
Equipment as the static VLAN is configured, when the VLAN's for receiving or not enough being cancelled due to VLAN priority MVRP error messages, can stop the transmission of the Join message of the VLAN, or extend the Join message for sending the VLAN Time interval.
Equipment as the static VLAN is configured, can also at this time record the error message list item of the VLAN, and point out Error message.
Error message type is divided into two classes in the specific embodiment of the invention:
One class is the Join message for receiving certain VLAN, because the bandwidth on the port for receiving Join message can not meet The MVRP bandwidth requirements of the VLAN, or the MVRP priority of the VLAN is also not high enough, it is impossible to rob and account for enough bandwidth, and lead When causing the VLAN to connect, it is defined as a class MVRP type of error;
One class is to connect on that port, because receiving the higher VLAN of MVRP priority again by the port Join message, the bandwidth of the VLAN for having connected is seized, from and the VLAN that connected to cancel, the MVRP at this time producing is wrong By mistake the type of message is defined as a class MVRP error message type.
Step 407, the equipment records the parameter information of the VLAN, and updates the remaining bandwidth of the reserved bandwidth of MVRP.
Equipment of the equipment as the static VLAN is not configured, in addition it is also necessary to which the connection on the port for receiving the Join message should VLAN, and the Join message of the VLAN is sent by the port of the enable MVRP abilities outside the port.
In step 402, it is determined that whether the remaining bandwidth for receiving the reserved bandwidth of MVRP on the port of the Join message is not little When the value of the MVRP bandwidth carried in the Join message, if the port for receiving the Join message has connected the VLAN, by The MVRP bandwidth for distributing to the VLAN counts the remaining bandwidth of the reserved bandwidth of MVRP, it is determined that receiving on the port of the Join message Whether the remaining bandwidth of the reserved bandwidth of MVRP is not less than the value of the MVRP bandwidth carried in the Join message.
The passage of same VLAN is not repeatedly connected in the specific embodiment of the invention, does not overlap distribution MVRP bandwidth.
By taking Fig. 2 as an example, it is assumed that registered VLAN on the P2 of equipment B, and for VLAN10 distribution MVRP with a width of 5M.This When, the Join message of VLAN10 is received again, and at this moment the MVRP for carrying, determines the reserved bandwidth of MVRP on P2 with a width of 10M The value of remaining bandwidth when whether meeting the requirement of the VLAN10, it is also that the 5M bandwidth for distributing to VLAN10 is pre- as MVRP Stay the remaining bandwidth of bandwidth to compare, the remaining bandwidth and allocated 5M bandwidth of the reserved bandwidth of MVRP that will currently on P2 With, with the Join message carry 10M compare size.
By the parameter information MVRP priority and MVRP bandwidth that increase VLAN in the specific embodiment of the invention, in connection It is that the MVRP bandwidth of each VLAN distribution is used by the flow of each VLAN after the passage of VLAN, other VLAN can not be seized and distributed to The MVRP bandwidth of the VLAN.
So can preferably distinguish user class, business and flow such that it is able to the use of resource of making rational planning for.
Embodiment three
When static state VLAN is configured, to the VLAN MVRP priority is not configured in the embodiment, band preference is configured with Describe the handshaking procedures of the VLAN passages as a example by level in detail.
The equipment for configuring the static VLAN sends the Join message of the VLAN by enabling the port of MVRP abilities.Sending Join message in carry the parameter information of the VLAN:MVRP priority and MVRP bandwidth, MVRP priority filling default value 0, The occurrence of MVRP bandwidth filling configuration.
Referring to Fig. 5, Fig. 5 is the schematic flow sheet of the passage that VLAN is connected in the embodiment of the present invention three.Concrete steps include:
Step 501, equipment receives Join message.
The equipment can be the equipment for configuring the static VLAN, or the equipment for not configuring the static VLAN.
Whether step 502, the equipment determine the remaining bandwidth of the reserved bandwidth of MVRP on the port for receiving the Join message Not less than the value of the MVRP bandwidth carried in the Join message, if it is, execution step 503;Otherwise, execution step 504.
Step 503, the equipment records the parameter information of the VLAN, and updates the remaining bandwidth that MVRP reserves bandwidth, terminates This flow process.
When the equipment is used as the equipment for not configuring the static VLAN, in addition it is also necessary to connect on the port for receiving the Join message Lead to the VLAN, and the Join message of the VLAN is sent by the port of the enable MVRP abilities outside the port.
It is 0 in the value of the MVRP priority for carrying in due to the Join message, that is, the equipment for sending the Join message is not The VLAN configuration MVRP priority requirements, therefore, it is determined that receiving the Join message, it is determined whether connect the logical of the VLAN During road, bandwidth is only considered.
If the port for receiving the Join message has connected the VLAN, the MVRP bandwidth that the VLAN is distributed to is counted The remaining bandwidth of the reserved bandwidth of MVRP, determines whether the MVRP bandwidth carried in the Join message is not more than the reserved bandwidth of MVRP The value of remaining bandwidth.
Step 504, the equipment sends the revocation message of the VLAN by receiving the port of the Join message, while sending not The MVRP error messages of the passage of the VLAN can be connected, the equipment for preventing the transmission Join message knows the passage of the VLAN from even It is logical.
The equipment is when connecting the passage of the VLAN, and the MVRP that can also record the passage that can not connect the VLAN is wrong Message list item is missed, and points out error message.
As the equipment of the static VLAN is not configured, if receiving the passage that can not connect the VLAN that the equipment sends MVRP error messages, by receiving the error message outside enable MVRP abilities port forward the error message;
As the equipment of the static VLAN is configured, if receiving the passage that can not connect the VLAN that the equipment sends MVRP error messages, the equipment can stop the transmission of the Join message of the VLAN, it is also possible to extend the Join for sending the VLAN The time interval of message.
The equipment can also record the error message list item of the VLAN when error message is received, and point out mistake to disappear Breath, so as to follow-up management.
Equipment for revocation message is received, realizes processing revocation message according to existing, and deletes the embodiment of the present invention In the parameter information of the VLAN that newly increases.
Example IV
When the value of the MVRP priority in the parameter information is not default value, and the value of MVRP bandwidth is space-time, comes detailed Describe bright VLAN handshaking procedures in detail.
The equipment for configuring the static VLAN sends the Join message of the VLAN by enabling the port of MVRP abilities.Sending Join message in carry the parameter information of the VLAN:MVRP priority and MVRP bandwidth, the tool of MVRP priority filling configuration Body value, MVRP bandwidth is filled to sky.
Equipment as the static VLAN is configured, or the equipment for not configuring the static VLAN, are receiving Join message When, directly determine the connection of the passage of the connection corresponding VLAN of the Join message, and record the parameter information of the VLAN.
When the equipment is the equipment that do not configure the static VLAN, then the VLAN is also registered in the end for receiving the Join message On mouth, and the Join message of the VLAN is sent by other ports for enabling MVRP abilities outside the port.
It is the same compared with realizing in the embodiment, be not in the situation of the passage for not connecting VLAN, but due to this MVRP priority is configured with for VLAN in the bright embodiment, in bandwidth-hogging, the high service traffics of MVRP priority preferentially turn Send out, and the MVRP priority is different from the priority of service traffics.
If the MVRP priority of VLAN10 is 20 for the MVRP priority of 30, VLAN20, when flow is seized, even if 802.1p priority entrained by the service traffics of VLAN20 higher than the service traffics in VLAN10 802.1p priority, also according to So can be dropped because the MVRP priority of VLAN20 is low.
Embodiment five
Embodiment two in example IV as the equipment for not configuring the static VLAN when, receiving Join message, with And process during MVRP error messages, it is point-to-point process, the present embodiment is described and does not configure setting for the static VLAN In standby point-to-multipoint environment, Join message, and processing procedure during MVRP error messages are being received.
Equipment of the equipment as the static VLAN is not configured, is directly connected to two or more and configures setting for the static VLAN It is standby, and it is described two more than when configuring the same static VLAN of device configuration of the static VLAN, if receiving arbitrary configuration The Join message of the VLAN that the equipment of the static VLAN sends, when it is determined that allow the passage for connecting the VLAN, and with other Configure when having connected the VLAN on the connected port of equipment of the static VLAN, it is determined that for should on the port for connecting the VLAN Whether the MVRP bandwidth of VLAN distribution is not less than the value of the MVRP bandwidth that the Join message being currently received is carried, if it is, only The Join message of the VLAN is sent by the port for having connected the VLAN;Otherwise, by receiving the port of the Join message Outside port send the Join message of the VLAN.
The VLAN is registered in the port for receiving Join message when it is determined that allowing to connect the passage of the VLAN for the equipment On, and the parameter information of VLAN is recorded, update the remaining bandwidth of the reserved bandwidth of MVRP on the port.
Referring to Fig. 6, Fig. 6 is point-to-multipoint networking schematic diagram in the specific embodiment of the invention.Device A in Fig. 6, equipment D and The static VLAN10 is configured on equipment E.The MVRP bandwidth of 10M is configured on equipment D for VLAN10, is matched somebody with somebody for VLAN10 on equipment E The MVRP bandwidth of 5M is put, then equipment C is the equipment for not configuring the static VLAN, be directly connected to two and configure setting for the static VLAN The equipment of standby (equipment D and equipment E).
When the Join message of the VLAN10 that equipment C receiving devices D sends, and determine that permission connects the logical of the VLAN on P1 During road, if registered VLAN10 on P3, and distribute band a width of 5M when, the Join for sending the VLAN10 by P2 and P3 disappears Breath.
When equipment C receives the Join message of the VLAN10 of equipment E transmissions, and determine that permission connects the VLAN's on P3 During passage, if registered VLAN10 on P1, and a width of 10M of band for distributing, then only the Join message of VLAN10 is sent by P1.
When the equipment receives the MVRP error messages of the passage that can not connect the VLAN, if receiving outside the error message The port of enable MVRP abilities also have registered the VLAN, and MVRP bands carried in the MVRP bandwidth ratios error message for distributing Wide value hour, abandons the error message.
It can be seen that, it is because the value of the MVRP bandwidth of VLAN is big and registered than the band that should receive error message The VLAN of wide hour, then not by error message continue on give.
If equipment B receives the Join message of the VLAN10 of equipment C transmissions, and the registered VLAN10 on P1, and distributes With a width of 5M, and the MVRP that the Join message that is currently received is carried is with a width of 10M, if the residue of the reserved bandwidth of the MVRP on P1 Bandwidth and 5M bandwidth and less than 10M, then send the MVRP error messages of the passage that can not connect the VLAN to equipment C, and take The MVRP of band is with a width of 10M.
Equipment C receives the error message, and when finding with a width of 10M, the passage of the VLAN can not be connected, and in P3 and The VLAN is all have registered on P1, the MVRP distributed on P3, less than 10M, does not at this moment pass through to give the mistake on P3 and P1 with a width of 5M By mistake message, directly carries out discard processing.After so processing, what the passage of the VLAN was still connected.
Embodiment six
The embodiment is still by taking Fig. 2 as an example.The client communication in client and LAN 4 in Fig. 2, in LAN 1 When service interaction is carried out by VLAN10, the multiple business in LAN 1 shares same VLAN10;Client in LAN 2 End with LAN 5 in client communication when service interaction is carried out by VLAN20, the multiple business in LAN 2 shares same Individual VLAN20;Interacted by VLAN30~34 during client communication in the client in LAN 3 and LAN 6, office Multiple business in domain net 3 does not share same VLAN.
Each equipment in network is configured as follows:
MVRP is disposed in the whole network, is accessed in each equipment and enable on the port for enabling MVRP networks MVRP abilities, i.e. device A P1, the P1 of equipment B and P2, the P1 and P2 of equipment C, and the P2 of equipment D, and configure MVRP connection models;Configuration MVRP is reserved Bandwidth, such as 400M, then when initial, the remaining bandwidth of the reserved bandwidth of MVRP of each port is 400M.
Wherein, the MVRP connection models of configuration configure normal patterns compared with realization;
Configuration MVRP is reserved with a width of newly-increased command functions, the reserved bandwidth of the MVRP for configuration MVRP priority and/or The VLAN of MVRP bandwidth is preferentially used.
When not configuring, bandwidth shared by the VLAN of MVRP priority is not enough, and the reserved bandwidth of the MVRP for configuring also has residue When, can also take remaining bandwidth.Even dynamic vlan is configured without MVRP bandwidth demands, and the MVRP priority requirements of VLAN When, the reserved bandwidth of MVRP can be that dynamic vlan and other service traffics (e.g., the service traffics in static VLAN) share.
The first situation, it is assumed that in each LAN client configuration business demand be:The business need of LAN 1 The MVRP highest priorities of VLAN10, such as 100, it is undesirable to which other service impacts want to obtain 200M's to it MVRP Bandwidth guaranteeds, the MVRP priority of business need VLAN20 of LAN 2 secondly, such as 50, it is desirable to obtain the bandwidth of 100M Ensure, the business of LAN 3 assumes there are 5 kinds, MVRP priority requirements are not configured to each VLAN, and be not each VLAN guarantee MVRP Bandwidth, business is seized according to service priority between each VLAN.
First, VLAN10 passages are connected between device A and equipment D, for the client in LAN 1 and LAN 4 The detailed process for carrying out the connection of VLAN passages is as follows:
Static state VLAN10 is configured in device A, due to enabling MVRP abilities on P1, automatically triggering P1 adds static state VLAN10, And the Join message of VLAN10 is sent to equipment B by P1, when Join message is sent, carry the parameter information MVRP of VLAN10 Priority and MVRP bandwidth.
The value of MVRP priority is filled to the value of 100, MVRP bandwidth and is filled to 200M.
When equipment B receives the Join message by P2, the remaining bandwidth for checking the reserved bandwidth of MVRP of P2 is 400M, full Foot require 200M bandwidth, then VLAN10 is communicated on P2, will P2 add dynamic vlan 10, while record VLAN10 ginseng Number information, and it is 200M to update the remaining bandwidth of the reserved bandwidth of MVRP.
Equipment B will send the Join message of VLAN10 by P1, and carry the parameter information of VLAN10.
When equipment C receives the Join message of VLAN10, processing procedure is not detailed herein with equipment B.
When equipment D receives the Join message of VLAN10, the remaining bandwidth for checking the reserved bandwidth of MVRP of P2 is 400M, full The 200M bandwidth that foot is required, but port P1 adds static VLAN10, therefore, not in the company of the enterprising Mobile state VLAN10 of P2 It is logical, only the remaining bandwidth of the reserved bandwidth of the MVRP is changed to into 200M, record the parameter information of VLAN10:MVRP priority 100 With MVRP bandwidth 200M.
Equally, static state VLAN10 is configured on equipment D, triggering enables the port P2 of MVRP abilities and is automatically added to static state VLAN10, and Join message is sent to equipment C by P2, reversely connect the passage of dynamic vlan 10.
VLAN10 is connected by equipment D to equipment D with device A to the process of the passage that VLAN10 is connected device A Passage process, no longer describe one by one here.
Secondly, VLAN20 passages are connected between device A and equipment D, for the client in LAN 2 and LAN 5 Communicated.
The remaining bandwidth of the reserved bandwidth of MVRP after the passage of connection VLAN10 is 200M, meets the MVRP bandwidth of VLAN20 The requirement of 100M, therefore, process is implemented with the passage process that VLAN10 is connected between device A and equipment D, it is no longer detailed here Thin description.
Finally, between device A and equipment D connect VLAN30-VLAN34 passage, due to VLAN30-VLAN34 be with The requirement of MVRP priority and MVRP bandwidth is put, therefore, when receiving the Join message of these VLAN, directly connect VLAN30- The passage of VLAN34, is communicated for the client in LAN 3 and LAN 6.
Now, GE ports are assumed to be on port, are removed outside reserved bandwidth 400M of the MVRP for retaining, also 600M bandwidth, that The available bandwidth of business in VLAN30-VLAN34 is exactly that 600M adds remaining bandwidth 100M, is 700M bandwidth.
If wishing, the dynamic vlan for creating does not ensure bandwidth and only uses the remaining bandwidth of the reserved bandwidth of MVRP, and does not include Other bandwidth not being configured on port in reserved bandwidth, then we can configure the MVRP of the VLAN when VLAN is configured Priority is default value, and the value of MVRP bandwidth is preset value, and when such as 0, the dynamic vlan just can only be reserved using MVRP on interface Remaining bandwidth in bandwidth, i.e., can only use 100M bandwidth, it is impossible to using other 700M bandwidth.
For the setting of MVRP priority and the occurrence of MVRP bandwidth, concrete configuration can be according to actual needs carried out, The concrete meaning of equipment two ends about definite value.
Second situation, it is assumed that the business demand of the client in each LAN is:Business need VLAN10 of LAN 1 MVRP highest priorities, such as 100, it is undesirable to which other service impacts want to obtain the Bandwidth guaranteed of 200M to it, The MVRP priority of business need VLAN20 of LAN 2 secondly, such as 50, it is desirable to obtain the Bandwidth guaranteed of 300M.
First, the passage of VLAN10 is connected between device A and equipment D, for the client in LAN 1 and LAN 4 End is communicated.Detailed process with VLAN10 passages in the first situation connection.
Secondly, the passage of VLAN20 is connected between device A and equipment D, for the client in LAN 2 and LAN 5 End is communicated.
Device A sends Join message by P1, carries the priority 50 of VLAN20, demand bandwidth 300M.
When equipment B receives the Join message by P2, the remaining bandwidth for checking the reserved bandwidth of MVRP of P2 is 200M, no The 300M bandwidth of VLAN20 requirements can be met, and MVRP of the MVRP priority of registered VLAN10 higher than VLAN20 is preferential Level, then do not register on P2 VLAN20, i.e., P2 is not added into dynamic vlan 20.
Equipment B records can not register the MVRP error message list items of VLAN20, point out error message, and should by receiving The port P2 of Join message, by P2 the revocation message of VLAN20 is sent to device A, and is sent to device A by P2 and can not be noted The MVRP error messages of volume VLAN20.
Equipment B is in locally created MVRP error messages list item, including type of error, VLAN ID and port numbers etc..
Type of error can be the type that the value that user is pre-configured with identifies the error message, such as 1;VLAN ID are filled For 20, port numbers are filled to 2.
Here prompting error message, will VLAN20 can not register prompting in the port, so that keeper determines MVRP The position that mistake occurs, is further processed.
When device A receives the revocation message of VLAN20, if having connected the passage of VLAN20 on P1, deletion record The parameter information of VLAN20, and the MVRP bandwidth for distributing to VLAN20 is reclaimed, update remaining for the reserved bandwidth of the MVRP on the P1 of port Remaining bandwidth;If not connecting the passage of VLAN20 on P1, the revocation message of VLAN20 is not processed.
Device A is received after the MVRP error messages that can not register VLAN20, it is determined that local static configuration VLAN20, then root The MVRP error message list items of VLAN20, including type of error and VLAN ID are recorded according to the error message for receiving, and points out mistake Miss message.
Device A can stop the VLAN statements of VLAN20 when the MVRP error messages that can not register VLAN20 are received, The transmission interval of statement VLAN20 can also be extended.
In order to whether more preferable detection network recovers, it is desirable to which device A and equipment D, when implementing, can not be letter It is single to stop sending the Join message with VLAN20, but the transmission interval of the message is extended, such as it is set to 30 seconds carry out Send, if or failure, this is set to 60 seconds send, if or failure, it is set to 120 seconds send, if or failure, Then it is maintained at 120 seconds and sends interval.
The condition for judging failure is to have sent after Join message to receive the corresponding error messages of the VLAN in Preset Time, The corresponding MVRP error messages list items of the VLAN are removed if error message is not received, and recovers the normal Join message for sending Transmission interval.
The third situation, it is assumed that the business demand of the client in each LAN is:Service needed VLAN20 of LAN 2 MVRP priority be 50, and intentionally get the Bandwidth guaranteed of 300M.The MVRP priority of service needed VLAN10 of LAN 1 100, it is undesirable to which other service impacts want to obtain the Bandwidth guaranteed of 200M to it.
First, it is assumed that being first configured with the VLAN of VLAN20, VLAN20 passages are connected between device A and equipment D, for office Client in domain net 2 and LAN 5 is communicated.
Because the remaining bandwidth of the reserved bandwidth of the MVRP of each receiving port configuration is 400M, it therefore meets VLAN20 The constraints of 300M bandwidth, then the connection for connecting VLAN in such as the first situation of the passage of VLAN20, connects VLAN20's After passage, the remaining bandwidth of the reserved bandwidth of MVRP is 100M.
Secondly, VLAN10 passages are connected between device A and equipment D, for the client in LAN 1 and LAN 4 Communicated, it is specific as follows:
Device A sends Join message by P1, carries the MVRP priority 100 of VLAN10, MVRP bandwidth 200M.
When equipment B receives the Join message by P2, the remaining bandwidth for checking the reserved bandwidth of MVRP of P2 is 100M, no The 200M bandwidth of VLAN10 requirements can be met, but the priority of registered VLAN20 is less than the priority of this VLAN10, and The MVRP bandwidth and MVRP current on P2 for distributing to VLAN20 reserves the remaining bandwidth of bandwidth and disclosure satisfy that VLAN10's The demand of MVRP bandwidth, then cancel the registration of VLAN20, and bandwidth 300M of VLAN20 is distributed in recovery.The VLAN20 of deletion record Parameter information.
Equipment B sends the revocation message of VLAN20 by P1 and P2, meanwhile, by P2 transmission VLAN20 because MVRP is excellent The low MVRP error messages being revoked of first level.
Equipment B local record VLAN20 MVRP error message list items, including type of error and VLAN ID etc., and carry Show error message.Wherein, type of error can be the value of the mark error message that user is pre-configured with, such as 2;VLAN ID It is filled to 20.
When equipment C receives the revocation message of the VLAN20 of equipment B transmissions, cancel on the port for receiving the revocation message The registration of VLAN20, the parameter information of the VLAN20 of deletion record, and the reserved bandwidth of MVRP for distributing to VLAN20 is reclaimed, update The remaining bandwidth of the reserved bandwidth of MVRP on P2.
Equipment C simultaneously will give equipment D in the revocation message continuation of VLAN20.
When equipment D receives the revocation message of VLAN20, it is determined that the port for receiving the message adds static state VLAN20, then will The parameter information of the VLAN20 of record is deleted, and no longer on give the Join message of the VLAN20.
When device A receives the revocation message of VLAN20, the port for receiving the revocation message adds static state VLAN20, if The passage of connection VLAN20, then delete the parameter information of the VLAN20 of record, and updates the reserved bandwidth of the MVRP on the port Remaining bandwidth;And the Join message of the VLAN20 is given on no longer;If the port does not connect the passage of VLAN20, do not process The Join message of VLAN20.
Device A receive VLAN20 be revoked because MVRP priority is low MVRP error messages when, record VLAN20 MVRP error message list items, including type of error and VLAN ID etc., and point out error message.
When device A receives the revocation message of VLAN20, the VLAN statements of VLAN20 can be stopped, it is also possible to extending The transmission interval of VLAN20 statements.
Equipment B registers VLAN10 after VLAN20 dependencies are processed on P2, distributes MVRP bandwidth 200M, and records The parameter information MVRP bandwidth and MVRP priority of VLAN10, while the remaining bandwidth for updating the reserved bandwidth of MVRP on P2 is 200M, and the corresponding Join message of VLAN10 is sent to equipment C by P1.
When equipment C receives VLAN10 corresponding Join message, VLAN10 is directly registered on P2, and recording parameters is believed Breath, updates the remaining bandwidth of the reserved bandwidth of MVRP on P2.
Due to before equipment B to equipment C be transmitted across cancel VLAN20 revocation message, will distribute to VLAN20's MVRP bandwidth is reclaimed, therefore, the remaining bandwidth of the reserved bandwidth of the MVRP on P2 disclosure satisfy that the bandwidth requirement of VLAN10.
Embodiment seven
MVRP is propagated to be propagated to the whole network along MSTP examples loop free path, that is, exist point-to-point, there is also one point-to-points The situation of point.On one point to multiple spot in the case of, the specific embodiment of the invention requires to distribute to the MVRP bandwidth of same VLAN not Superposition.
By taking Fig. 6 as an example, in Fig. 6, static VLAN10, and device A and equipment D are all configured with device A, equipment D and equipment E The upper MVRP bandwidth for VLAN10 configurations is all 10M, and on equipment E for VLAN10 configurations MVRP with a width of 5M.
Consider MVRP priority when, if bandwidth is unsatisfactory for, priority need to be compared, it is determined whether registration, the present embodiment with Do not consider as a example by priority, i.e., only consider the situation whether bandwidth meets.
The first situation, equipment C first receives the Join message of the VLAN10 of equipment D transmissions, then receives equipment E transmissions VLAN10 Join message.
(1), when equipment C receives the Join message of equipment D transmissions, if the remaining bandwidth of the reserved bandwidth of the MVRP on P1 Not less than 10M, VLAN10, and the 10M distributed in the remaining bandwidth of the reserved bandwidth of MVRP for it are registered on P1.
Equipment C records the parameter information of VLAN10, updates the remaining bandwidth of the reserved bandwidth of MVRP on P1, and by P2 and P3 sends the Join message of VLAN10.
Equipment B and equipment E receive the Join message of VLAN10, and all in accordance with the MVRP of receiving port the residue of bandwidth is reserved Whether bandwidth meets the demand of the 10M bandwidth of VLAN10, if allow the connection of the passage of VLAN10.
By taking equipment B as an example, if the value of the remaining bandwidth of the reserved bandwidth of the MVRP on P1 is not less than 10M, register on P1 VLAN10, and record the parameter information of VLAN10:MVRP priority and MVRP bandwidth 10M, and send VLAN10's by P2 Join message.
If the value of the remaining bandwidth of the reserved bandwidth of the MVRP of P1 is less than 10M, the MVRP that can not be registered of VLAN10 is recorded Error message list item, points out error message.
Meanwhile, equipment B sends the MVRP error messages that VLAN10 can not be registered by P1.
Wherein, the content of MVRP error messages list item includes:VLAN10, type of error and port numbers P1 etc..
When equipment C receives the MVRP error messages of VLAN10, sent on equipment D by P1.
If the remaining bandwidth of the reserved bandwidth of MVRP on the P1 of equipment C is less than 10M, can not registering for VLAN10 is recorded MVRP error message list items, point out error message;The MVRP mistakes that sending VLAN10 to equipment D by P1 simultaneously can not register disappear Breath.
Equipment D is received after the MVRP error messages of VLAN10, records the error message list item of VLAN10, and points out mistake to disappear Breath.
Equipment D can stop the statement to VLAN10, it is also possible to extend the time interval of statement.
(2) when, equipment C receives the Join message of the VLAN10 of equipment E transmissions, however, it is determined that the reserved bandwidth of MVRP on P3 Remaining bandwidth not less than VLAN10 require 5MMVRP bandwidth, then register VLAN10, and recording parameters information, MVRP priority With MVRP bandwidth 5M.
Equipment C is if it is determined that registered VLAN10 on the P1 of port, and MVRP bandwidth values are 10M, i.e., sent out to equipment B by P2 Pass through VLAN10 and carry the Join message of MVRP bandwidth 10, and when not receiving MVRP error messages, only by P1 to equipment D The Join message of VLAN10 is sent, and the value of the MVRP bandwidth for carrying is 5M.
Equipment C is not at this moment to the Join message of equipment B transmission VLAN10, and the value of the MVRP bandwidth for carrying is 5M.
Equipment C is if it is determined that unregistered VLAN10 on the P1 of port, then send the Join for carrying MVRP bandwidth 5M by P2 and P1 Message.
When equipment C receives the Join message of the VLAN10 of equipment E transmissions, however, it is determined that the MVRP on P3 reserves the surplus of bandwidth 5M bandwidth of the remaining bandwidth less than VLAN10, then record the MVRP error message list items that can not be registered of VLAN10, points out mistake to disappear Breath;Simultaneously the MVRP error messages that VLAN10 can not be registered are sent to equipment E by P3.
Equipment E is received after the MVRP error messages of VLAN10, records the error message list item of VLAN10, and points out mistake to disappear Breath.
Equipment E can stop the statement to VLAN10, it is also possible to extend the time interval of statement.
After so processing, the big Join message of the MVRP bandwidth values of VLAN10 is only sent to equipment B by equipment C;If should VLAN10 can not be registered greatly due to MVRP bandwidth values, then the little VLAN of MVRP bandwidth can be then forwarded to into opposite equip. and go connection The passage of the VLAN.
Second situation, equipment C first receives the Join message of the VLAN10 of equipment E transmissions, then receives equipment D transmissions VLAN10 Join message.
(1), when equipment C receives the Join message of equipment E transmissions, if the remaining bandwidth of the reserved bandwidth of the MVRP on P3 Not less than 5M, the 5M in VLAN10, and the remaining bandwidth of the reserved bandwidth of MVRP distributed on P3 for VLAN10 is registered on P3;Note The parameter information of record VLAN10, updates the remaining bandwidth of the reserved bandwidth of MVRP on P3, and sends VLAN10's by P1 and P2 Join message.
Equipment B and equipment D receive the Join message of VLAN10, and all in accordance with the MVRP of receiving port the residue of bandwidth is reserved Whether bandwidth meets the demand of the 5M bandwidth of VLAN10 to determine whether to connect the passage of VLAN10.
By taking equipment B as an example, if the value of the remaining bandwidth of the reserved bandwidth of the MVRP of P1 is not less than 5M, register on P1 VLAN10, and record the parameter information of VLAN10:MVRP priority and MVRP bandwidth 5M, and the Join of VLAN10 is sent by P2 Message.
If the value of the remaining bandwidth of the reserved bandwidth of the MVRP of the P1 of equipment B is less than 5M, can not registering for VLAN10 is recorded MVRP error message list items, point out error message.
Wherein, the content of MVRP error messages list item includes:VLAN10, type of error and port numbers P1 etc..
Meanwhile, equipment B sends the MVRP error messages that VLAN10 can not be registered by P1.
When equipment C receives the MVRP error messages of VLAN10, sent on equipment E by P3.
If the remaining bandwidth of the reserved bandwidth of MVRP on the P3 of equipment C is less than 5M, can not registering for VLAN10 is recorded MVRP error message list items, point out error message;The MVRP mistakes that sending VLAN10 to equipment E by P3 simultaneously can not register disappear Breath.
Equipment E is received after the MVRP error messages of VLAN10, records the MVRP error message list items of VLAN10, and points out mistake Miss message.
Equipment E can stop the statement to VLAN10, it is also possible to extend the time interval of statement.
(2) when, equipment C receives the Join message of the VLAN10 of equipment D transmissions, however, it is determined that the reserved bandwidth of MVRP on P1 Remaining bandwidth not less than VLAN10 10M bandwidth, then register VLAN10, and recording parameters information, MVRP priority and MVRP Bandwidth 10M.
Equipment C is if it is determined that registered VLAN10 on the P3 of port, and MVRP bandwidth values are 5M, i.e., sent out to equipment B by P2 Pass through VLAN10 and carry the Join message of MVRP bandwidth 5M, and when not receiving MVRP error messages, by P2 and P3 to setting Standby B and equipment E sends the Join message of VLAN10, and the value of the MVRP bandwidth for carrying is 10M.
Equipment C is if it is determined that unregistered VLAN10 on the P3 of port, then send the carrying MVRP bandwidth of VLAN10 by P2 and P3 The Join message of 10M.
Equipment B receives the Join message of the VLAN10 of equipment C transmissions, determines the registered VLAN10 of P1, and record The MVRP that MVRP is carried with a width of 5M, due to the Join message for receiving is with a width of 10M, however, it is determined that the upper MVRP of P1 reserve bandwidth Remaining bandwidth with distribute to the 5M bandwidth of VLAN10 and not less than 10M, then by the MVRP bandwidth in the parameter information of record Value be revised as 10M, and the Join message of VLAN10 is sent by P2, and the value of the MVRP bandwidth for carrying is 10M.
If it is determined that MVRP reserves the remaining bandwidth of bandwidth and distributes to the 5M bandwidth of VLAN10 and less than 10M on P1, Then record can not register the MVRP error message list items of VLAN10, point out error message, and sent by P1 and can not be registered The MVRP error messages of VLAN10.
Equipment C receives when can not register the MVRP error messages of VLAN10 of equipment B transmissions, is the discovery that due to MVRP bands Wide 10M requires to meet, but meets the requirement of MVRP bandwidth 5M of VLAN10, now, does not send on equipment D and equipment E The MVRP error messages of VLAN10 can not be registered.
When equipment C receives the Join message of the VLAN10 of equipment D transmissions, however, it is determined that the MVRP on P1 reserves the surplus of bandwidth 10M bandwidth of the remaining bandwidth less than VLAN10, then record the MVRP error message list items that can not be registered of VLAN10, points out mistake to disappear Breath;Simultaneously the MVRP error messages that VLAN10 can not be registered are sent to equipment D by P1.
Equipment D is received after the MVRP error messages of VLAN10, records the error message list item of VLAN10, and points out mistake to disappear Breath.
Equipment D can stop the statement to VLAN10, it is also possible to extend the time interval of statement.
It can be seen that the Join message of same VLAN is received in the specific embodiment of the invention, and the MVRP bandwidth for carrying is different When, it is this when registering the VLAN if the MVRP bandwidth on receiving port disclosure satisfy that the big MVRP bandwidth requirements of the value of carrying The big MVRP bandwidth of VLAN apportioning costs;If the MVRP bandwidth on receiving port can not meet the requirement of the big MVRP bandwidth of value, And be the big MVRP bandwidth of the VLAN apportioning costs when registering the VLAN during requirement of the little MVRP bandwidth of satisfaction value;If received MVRP bandwidth on port can not meet the little MVRP bandwidth of value, then do not register the VLAN.
When the VLAN, and the value hour of the MVRP bandwidth for the VLAN distribution has been registered, carrying value is received again big During the Join message of the VLAN of MVRP bandwidth, and receive the residue of the reserved bandwidth of the current MVRP on the port of the Join message When bandwidth disclosure satisfy that the requirement of big bandwidth value of the VLAN, the parameter information that only modification is recorded.
Such realization, when registering to certain VLAN, can reach and do not overlap as the VLAN distribution MVRP bandwidth, and It is the MVRP bandwidth of the value maximum that the VLAN distributes its requirement when bandwidth is allowed.
Based on same inventive concept, the application also proposes a kind of equipment, in being applied to the network for enabling MVRP, the equipment Access enable MVRP abilities on the port of the network.Referring to Fig. 7, Fig. 7 is to be applied to above-mentioned skill in the specific embodiment of the invention The structural representation of the equipment of art.The equipment includes:Recording unit 701, Transmit-Receive Unit 702 and determining unit 703;
Recording unit 701, the reserved bandwidth of MVRP of the port configuration of the network is accessed for record in this equipment;When true When order unit 703 determines the passage for allowing connection VLAN, the parameter information of the VLAN is recorded, and update the surplus of the reserved bandwidth of MVRP Remaining bandwidth;
Transmit-Receive Unit 702, during for this equipment as the equipment for configuring arbitrary static VLAN, by enabling MVRP abilities Port sends the Join message of the VLAN, and the parameter information of the VLAN is carried in the Join message;Wherein, the parameter letter Breath includes MVRP priority and MVRP bandwidth;This equipment is as the equipment for configuring the static VLAN or does not configure the static VLAN's During equipment, for receiving the Join message of other equipment transmission;When determining unit 703 determines the passage for not allowing to connect the VLAN When, the revocation message of the VLAN is sent by receiving the port of the Join message, while sending, the passage of the VLAN can not be connected MVRP error messages, the equipment for preventing the transmission Join message knows the passage of the VLAN from connecting;
Determining unit 703, when receiving the Join message of other equipment transmission for Transmit-Receive Unit 702, according to the Join The parameter information of the VLAN that message is carried, and receive the reserved bandwidth of MVRP on the port of the Join message remaining bandwidth it is true The fixed passage for whether allowing to connect the VLAN.
It is preferred that the equipment is further included:Processing unit 704.
Determining unit 703, is not default value specifically for the value when the MVRP priority in the parameter information, and MVRP The value of bandwidth is not space-time, it is determined that whether the remaining bandwidth for receiving the reserved bandwidth of MVRP on the port of the Join message is not less than The value of the MVRP bandwidth carried in the Join message, if it is, the parameter information of the recording unit records VLAN is triggered, and Update the remaining bandwidth of the reserved bandwidth of MVRP;Otherwise, compare the MVRP priority of the VLAN of communicating passage on that port with The size of the value of the MVRP priority of the VLAN;When it is determined that on that port the VLAN intermediate values of communicating passage disappear less than the Join The VLAN of the MVRP priority that breath is carried, and be the VLAN distribution of MVRP priority of the value less than Join message carrying MVRP bandwidth, and reserve the remaining bandwidth of bandwidth and less than carrying in the Join message with current MVRP on the port During the value of MVRP bandwidth, the revocation message that the Transmit-Receive Unit sends the VLAN by receiving the port of the Join message is triggered; The MVRP error messages of the passage that can not connect the VLAN are sent simultaneously, and the equipment for making the transmission Join message knows the VLAN's Passage can not be connected;
Processing unit 704, is somebody's turn to do for determining on that port that the VLAN intermediate values of communicating passage are less than when determining unit 703 The VLAN of the MVRP priority that Join message is carried, and the VLAN for being less than the MVRP priority that the Join message is carried for the value The MVRP bandwidth of distribution, and with the port on the reserved bandwidth of MVRP remaining bandwidth and not less than taking in the Join message During the value of the MVRP bandwidth of band, then the order by MVRP priority from small to large reclaims the reserved bandwidth of MVRP of distribution, until returning The reserved bandwidth of the MVRP of receipts meets the MVRP bandwidth demands of the VLAN in the Join message;
Recording unit 701, the reserved bandwidth of MVRP for being further used for being reclaimed when processing unit 704 is met in the Join message VLAN bandwidth demand when;The parameter information of described each VLAN of deletion record, and update the tape remaining of the reserved bandwidth of MVRP It is wide;
Transmit-Receive Unit 702, is further used for the parameter information of the described each VLAN when the deletion record of recording unit 701, and When updating the remaining bandwidth of the reserved bandwidth of MVRP, contracture is sent back with the reserved bandwidth of MVRP by enabling the port of MVRP abilities The revocation message of VLAN, and send the VLAN's not enough cancelled due to VLAN priority by receiving the port of the Join message After MVRP error messages, trigger recording unit 701 records the parameter information of the VLAN, and updates the residue of the reserved bandwidth of MVRP Bandwidth.
It is preferred that
Transmit-Receive Unit 702, is further used for equipment of this equipment as the static VLAN is not configured, and sets when other are received The MVRP error messages of the passage that can not connect the VLAN that preparation is sent, or the VLAN cancelled because VLAN priority is inadequate During MVRP error messages, by receiving the error message outside enable MVRP abilities port forward the error message;When this When equipment is as the equipment for configuring the static VLAN, for receiving the passage that can not connect the VLAN that other equipment sends MVRP error messages, or due to the VLAN priority not enough MVRP error messages of the VLAN of revocation;
Processing unit 704, be further used for when Transmit-Receive Unit 702 receive other equipment transmission can not connect the VLAN Passage MVRP error messages, or the VLAN not enough cancelled due to VLAN priority MVRP error messages when, triggering is received Bill unit 702 stops the transmission of the Join message of the VLAN, or the time interval for extending the Join message for sending the VLAN.
It is preferred that
Determining unit 703, is default value specifically for the value when MVRP priority in the parameter information, and MVRP bands Wide value is not space-time, it is determined that whether the remaining bandwidth for receiving the reserved bandwidth of MVRP on the port of the Join message is not less than being somebody's turn to do The value of the MVRP bandwidth carried in Join message, if it is, trigger recording unit 701 records the parameter information of the VLAN, and more New MVRP reserves the remaining bandwidth of bandwidth;Otherwise, triggering Transmit-Receive Unit 702 should by receiving the port transmission of the Join message The revocation message of VLAN;The MVRP error messages of the passage that can not connect the VLAN are sent simultaneously, make the transmission Join message Equipment knows that the passage of the VLAN can not be connected.
It is preferred that
Determining unit 703, specifically for when the residue for determining the reserved bandwidth of the MVRP on the port for receiving the Join message When whether bandwidth is not less than the value of the MVRP bandwidth carried in the Join message, when the port for receiving the Join message has connected this VLAN, counts the remaining bandwidth of the reserved bandwidth of MVRP, it is determined that receiving the Join message by the MVRP bandwidth for distributing to the VLAN Port on the reserved bandwidth of MVRP remaining bandwidth whether not less than the value of the MVRP bandwidth carried in the Join message.
It is preferred that
Determining unit 703, is not default value specifically for the value when the MVRP priority in the parameter information, and MVRP The value of bandwidth is space-time, directly determines the passage for allowing to connect the VLAN, and trigger recording unit 701 records the parameter letter of the VLAN Breath, and update the remaining bandwidth of the reserved bandwidth of MVRP.
It is preferred that
Determining unit 703, is further used for, when equipment of this equipment as the static VLAN is not configured, being directly connected to two The equipment for more than configuring the static VLAN, and described two same static VLAN of device configuration for configuring the static VLAN above When, when the Join message of the VLAN that the equipment that Transmit-Receive Unit 702 receives arbitrary configuration static VLAN sends, it is determined that The passage for connecting the VLAN is allowed, and the VLAN has been connected on the port that is connected of equipment of the static VLAN with other configurations When, it is determined that whether the MVRP bandwidth for the VLAN distribution on the port for connecting the VLAN is not less than the Join being currently received The value of the MVRP bandwidth that message is carried, if it is, triggering Transmit-Receive Unit 702 is only sent by the port for having connected the VLAN The Join message of the VLAN;Otherwise, trigger the Transmit-Receive Unit to send by the port outside the port for receiving the Join message The Join message of the VLAN.
It is preferred that
Processing unit 704, be further used for when Transmit-Receive Unit 702 receive the passage that can not connect the VLAN MVRP it is wrong Message is missed, the port for receiving the enable MVRP abilities outside the error message also have registered the VLAN, and the MVRP bandwidth distributed The value hour of the MVRP bandwidth than carrying in the error message, abandons the error message.
The unit of above-described embodiment can be integrated in one, it is also possible to be deployed separately;A unit can be merged into, also may be used To be further split into multiple subelements.
Above the device to being applied to above-mentioned technology in the specific embodiment of the invention is illustrated, and the device can be soft The programmable device of combination of hardware, is given below the hardware structure composition of the channel connection of VLAN in the embodiment of the present invention.
Referring specifically to Fig. 8, Fig. 8 is that the hardware structure composition of the device of the channel connection of VLAN in the embodiment of the present invention is illustrated Figure, including forwarding chip, CPU (central processing unit), internal memory, non-volatile memory medium (such as ROM, disk) hardware;By CPU The computer program for realizing said method is read from non-volatile memory medium in the middle of internal memory, is formed for complete in internal memory Into the functional module of said method, by the machine readable instructions in CPU running memories to complete said method in divided Program step corresponding with the functional unit, so as to realize the function that said method is completed.
It should be noted that the device shown in Fig. 8 is a specific example, it is also possible to by other and this enforcement Example description different structure realization, for example, performs the operation completed during above-mentioned instruction code, it is also possible to by the special collection of application-specific Realize into circuit (ASIC).In addition, above-mentioned CPU can be one or more, if multiple, then born jointly by multiple CPU Duty reads and performs the instruction code from the storage mediums such as disk.Therefore, the application does not make to have to the concrete structure of device Body is limited.
In sum, in dynamic connection VLAN passages, by extending, MVRP increases MVRP bandwidth to the present invention and MVRP is excellent First level parameter information, flexibly the registration process of control dynamic vlan, enables to service traffics and is planned, Different Dynamic VLAN Different preferential treatments and Bandwidth guaranteed can be obtained, so as to improve the utilization rate of Internet resources.
The MVRP priority and MVRP bandwidth constraint functions of dynamic vlan, Ke Yiwei are realized in the specific embodiment of the invention Different VLAN distinguishes being adjusted flexibly for significance level and business demand bandwidth.
Give in the specific embodiment of the invention for Mulit-point Connection bandwidth allocation problems provide control mode, reduce band The risk that network interrupts during wide bottleneck;
In the specific embodiment of the invention introduce error message notification mechanism, to dynamic vlan get through and cancel provide can The foundation of inquiry, network control dynamics strengthen;
When the VLAN testing mechanisms not connected in the specific embodiment of the invention can automatically ensure resource recovery on network again Get through passage.
The above, only presently preferred embodiments of the present invention is not intended to limit protection 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. should be included in the protection of the present invention Within the scope of.

Claims (16)

1. a kind of channel connection method of virtual LAN VLAN, in being applied to the network for enabling multi-VLAN log-in protocol MVRP On any appliance, the equipment accesses the MVRP abilities that enable on the port of the network, it is characterised in that methods described includes:
When the equipment is as the equipment for configuring arbitrary static VLAN, the addition of the VLAN is sent by enabling the port of MVRP abilities Join message, and the parameter information of the VLAN is carried in the Join message;Wherein, the parameter information includes MVRP priority With MVRP bandwidth;
The equipment is as the equipment for configuring the static VLAN or does not configure the equipment of the static VLAN, and receives other equipment During the Join message sent, the parameter information of the VLAN carried according to the Join message, and receive on the port of the Join message The remaining bandwidth of the reserved bandwidth of MVRP determine whether to connect the passage of the VLAN, if allowing connection, record should The parameter information of VLAN, and update the remaining bandwidth of the reserved bandwidth of MVRP;Otherwise, sent by receiving the port of the Join message The revocation message of the VLAN, while sending the MVRP error messages of the passage that can not connect the VLAN, makes the transmission Join message Equipment know that the passage of the VLAN can not be connected.
2. method according to claim 1, it is characterised in that when the value of the MVRP priority in the parameter information is not Default value, and the value of MVRP bandwidth is not space-time, the passage for determining whether to connect the VLAN, including:
It is determined that whether receiving the remaining bandwidth of the reserved bandwidth of MVRP on the port of the Join message not less than in the Join message The value of the MVRP bandwidth of carrying, if it is, recording the parameter information of the VLAN, and updates the tape remaining of the reserved bandwidth of MVRP It is wide;Otherwise, the value of the MVRP priority of the VLAN of communicating passage on that port and the MVRP priority of the VLAN is compared Size;
When it is determined that on that port the VLAN intermediate values of communicating passage less than the MVRP priority that the Join message is carried VLAN, And be that the value is less than the MVRP bandwidth that the VLAN of the MVRP priority that the Join message is carried distributes and fooled with the port During remaining bandwidth and less than the MVRP bandwidth carried in the Join message the value of the reserved bandwidth of front MVRP, should by receiving The port of Join message sends the revocation message of the corresponding VLAN of Join message for receiving, while send that the VLAN can not be connected Passage MVRP error messages, the equipment for preventing the transmission Join message knows the passage of the VLAN from connecting;
When it is determined that on that port the VLAN intermediate values of communicating passage less than the MVRP priority that the Join message is carried VLAN, And be MVRP bandwidth of the value less than the VLAN distribution of the MVRP priority that the Join message is carried, and with the port on It is during remaining bandwidth and not less than the MVRP bandwidth carried in the Join message the value of the reserved bandwidth of MVRP, then preferential by MVRP Level order from small to large reclaims the reserved bandwidth of MVRP of distribution, until the reserved bandwidth of the MVRP for reclaiming is met in the Join message VLAN MVRP bandwidth demands, the parameter information of described each VLAN of deletion record, and update the residue of the reserved bandwidth of MVRP Bandwidth;Meanwhile, the revocation message of VLAN of the contracture with the reserved bandwidth of MVRP is sent back by enabling the port of MVRP abilities, and lead to The port transmission for receiving the Join message is crossed because VLAN priority is not enough and after the MVRP error messages of the VLAN of revocation, note The parameter information of the corresponding VLAN of Join message that record is received, and update the remaining bandwidth of the reserved bandwidth of MVRP.
3. method according to claim 2, it is characterised in that methods described is further included:
Equipment of the equipment as the static VLAN is not configured, when receive other equipment transmission the logical of the VLAN can not be connected The MVRP error messages in road, or because VLAN priority is inadequate during the MVRP error messages of the VLAN of revocation, should by receiving The port of the enable MVRP abilities outside error message forwards the error message;
Equipment of the equipment as the static VLAN is configured, when the passage that can not connect the VLAN for receiving other equipment transmission MVRP error messages, or the VLAN not enough cancelled due to VLAN priority MVRP error messages when, stop the VLAN's The transmission of Join message, or extend the time interval of the Join message for sending the VLAN.
4. method according to claim 1, it is characterised in that when the value of the MVRP priority in the parameter information is silent Recognize value, and the value of MVRP bandwidth is not space-time, the passage for determining whether to connect the VLAN, including:
It is determined that whether receiving the remaining bandwidth of the reserved bandwidth of MVRP on the port of the Join message not less than in the Join message The value of the MVRP bandwidth of carrying, if it is, recording the parameter information of the VLAN, and updates the remaining bandwidth of the reserved bandwidth of MVRP; Otherwise, the revocation message that the VLAN is sent by receiving the port of the Join message is performed, while sending, this can not be connected The MVRP error messages of the passage of VLAN, the equipment for preventing the transmission Join message knows the passage of the VLAN from connecting.
5. the method according to claim 2-4 any one, it is characterised in that methods described is further included:
Whether the remaining bandwidth that the MVRP determined on the port for receiving the Join message reserves bandwidth disappears not less than the Join During the value of the MVRP bandwidth carried in breath, when the port for receiving the Join message has connected the VLAN, the VLAN will be distributed to MVRP bandwidth count the remaining bandwidth of the reserved bandwidth of MVRP, it is determined that receiving the reserved bandwidth of MVRP on the port of the Join message Remaining bandwidth whether not less than the value of the MVRP bandwidth carried in the Join message.
6. method according to claim 1, it is characterised in that when the value of the MVRP priority in the parameter information is not Default value, and the value of MVRP bandwidth is space-time, the passage for determining whether to connect the VLAN, including:
Directly determine the passage for allowing to connect the VLAN, record the parameter information of the VLAN.
7. the method according to claim 2 or 4, it is characterised in that
Equipment of the equipment as the static VLAN is not configured, is directly connected to the equipment that two or more configures the static VLAN, and When the same static VLAN of device configuration of the static VLAN is configured more than described two, when receiving arbitrary described configuration static state The Join message of the VLAN that the equipment of VLAN sends, it is determined that allow the passage for connecting the VLAN, and this is quiet with other configurations When having connected the VLAN on the connected port of the equipment of state VLAN, it is determined that being the VLAN distribution on the port for connecting the VLAN The value of MVRP bandwidth that whether carries not less than the Join message being currently received of MVRP bandwidth, if it is, only by described The port for having connected the VLAN sends the Join message of the VLAN;Otherwise, by the end outside the port for receiving the Join message Mouth sends the Join message of the VLAN.
8. method according to claim 7, it is characterised in that methods described is further included:
When the MVRP error messages for receiving the passage that can not connect the VLAN, the enable MVRP energy outside the error message is received The port of power also have registered the VLAN, and the value hour of the MVRP bandwidth carried in the MVRP bandwidth ratios error message for distributing, Abandon the error message.
9. a kind of equipment, in being applied to the network for enabling many virtual local network log-on protocol MVRP, the equipment accesses described network Port on enable MVRP abilities, it is characterised in that the equipment includes:Recording unit, Transmit-Receive Unit and determining unit;
The recording unit, the reserved bandwidth of MVRP of the port configuration of the network is accessed for record in this equipment;When described When determining unit determines the passage for allowing connection virtual LAN VLAN, the parameter information of the VLAN is recorded, and it is pre- to update MVRP Stay the remaining bandwidth of bandwidth;
The Transmit-Receive Unit, during for this equipment as the equipment for configuring arbitrary static VLAN, by the end for enabling MVRP abilities Mouth sends the addition Join message of the VLAN, and the parameter information of the VLAN is carried in the Join message;Wherein, the parameter Information includes MVRP priority and MVRP bandwidth;This equipment is as the equipment for configuring the static VLAN or does not configure the static VLAN Equipment when, for receive other equipment transmission Join message;Do not allow to connect the VLAN's when the determining unit determines During passage, the revocation message of the VLAN is sent by receiving the port of the Join message, while send can not connect the VLAN's The MVRP error messages of passage, the equipment for preventing the transmission Join message knows the passage of the VLAN from connecting;
The determining unit, when receiving the Join message of other equipment transmission for the Transmit-Receive Unit, disappears according to the Join The parameter information of the VLAN that breath is carried, and receive the remaining bandwidth of the reserved bandwidth of MVRP on the port of the Join message and determine Whether permission connects the passage of the VLAN.
10. equipment according to claim 9, it is characterised in that the equipment is further included:Processing unit;
The determining unit, is not default value specifically for the value when the MVRP priority in the parameter information, and MVRP bands Wide value is not space-time, it is determined that whether the remaining bandwidth for receiving the reserved bandwidth of MVRP on the port of the Join message is not less than being somebody's turn to do The value of the MVRP bandwidth carried in Join message, if it is, the parameter information of the recording unit records VLAN is triggered, and more New MVRP reserves the remaining bandwidth of bandwidth;Otherwise, compare the MVRP priority of the VLAN of communicating passage on that port and be somebody's turn to do The size of the value of the MVRP priority of VLAN;When it is determined that on that port the VLAN intermediate values of communicating passage are less than the Join message The VLAN of the MVRP priority of carrying, and be that the value is distributed less than the VLAN of the MVRP priority that the Join message is carried MVRP bandwidth, and reserve the remaining bandwidth of bandwidth and less than carrying in the Join message with current MVRP on the port During the value of MVRP bandwidth, the revocation message that the Transmit-Receive Unit sends the VLAN by receiving the port of the Join message is triggered; The MVRP error messages of the passage that can not connect the VLAN are sent simultaneously, and the equipment for making the transmission Join message knows the VLAN's Passage can not be connected;
The processing unit, for being somebody's turn to do when the determining unit determines that on that port the VLAN intermediate values of communicating passage have been less than The VLAN of the MVRP priority that Join message is carried, and the VLAN for being less than the MVRP priority that the Join message is carried for the value The MVRP bandwidth of distribution, and with the port on the reserved bandwidth of MVRP remaining bandwidth and not less than taking in the Join message During the value of the MVRP bandwidth of band, then the order by MVRP priority from small to large reclaims the reserved bandwidth of MVRP of distribution, until returning The reserved bandwidth of the MVRP of receipts meets the MVRP bandwidth demands of the VLAN in the Join message;
The recording unit, the reserved bandwidth of MVRP for being further used for being reclaimed when the processing unit is met in the Join message During the bandwidth demand of VLAN;The parameter information of described each VLAN of deletion record, and update the remaining bandwidth of the reserved bandwidth of MVRP;
The Transmit-Receive Unit, is further used for the parameter information of the described each VLAN when the recording unit deletion record, and more When new MVRP reserves the remaining bandwidth of bandwidth, contracture is sent back with the reserved bandwidth of MVRP by enabling the port of MVRP abilities The revocation message of VLAN, and send the VLAN's not enough cancelled due to VLAN priority by receiving the port of the Join message After MVRP error messages, the parameter information of the recording unit records VLAN is triggered, and update the surplus of the reserved bandwidth of MVRP Remaining bandwidth.
11. equipment according to claim 10, it is characterised in that
The Transmit-Receive Unit, is further used for equipment of this equipment as the static VLAN is not configured, when receiving other equipment What is sent can not connect the MVRP error messages of the passage of the VLAN, or the VLAN cancelled because VLAN priority is inadequate During MVRP error messages, by receiving the error message outside enable MVRP abilities port forward the error message;When this When equipment is as the equipment for configuring the static VLAN, for receiving the passage that can not connect the VLAN that other equipment sends MVRP error messages, or due to the VLAN priority not enough MVRP error messages of the VLAN of revocation;
The processing unit, be further used for when the Transmit-Receive Unit receive other equipment transmission can not connect the VLAN's The MVRP error messages of passage, or because VLAN priority is inadequate during the MVRP error messages of the VLAN of revocation, triggering is described Transmit-Receive Unit stops the transmission of the Join message of the VLAN, or the time interval for extending the Join message for sending the VLAN.
12. equipment according to claim 9, it is characterised in that
The determining unit, is default value specifically for the value when MVRP priority in the parameter information, and MVRP bandwidth Value be not space-time, it is determined that whether receiving the remaining bandwidth of the reserved bandwidth of MVRP on the port of the Join message not less than should The value of the MVRP bandwidth carried in Join message, if it is, the parameter information of the recording unit records VLAN is triggered, and more New MVRP reserves the remaining bandwidth of bandwidth;Otherwise, triggering the Transmit-Receive Unit should by receiving the port transmission of the Join message The revocation message of VLAN;The MVRP error messages of the passage that can not connect the VLAN are sent simultaneously, make the transmission Join message Equipment knows that the passage of the VLAN can not be connected.
13. equipment according to claim 10-12 any one, it is characterised in that
The determining unit, specifically for when the remaining bandwidth for determining the reserved bandwidth of the MVRP on the port for receiving the Join message When whether being not less than the value of the MVRP bandwidth carried in the Join message, when the port for receiving the Join message has connected this VLAN, counts the remaining bandwidth of the reserved bandwidth of MVRP, it is determined that receiving the Join message by the MVRP bandwidth for distributing to the VLAN Port on the reserved bandwidth of MVRP remaining bandwidth whether not less than the value of the MVRP bandwidth carried in the Join message.
14. equipment according to claim 9, it is characterised in that
The determining unit, is not default value specifically for the value when the MVRP priority in the parameter information, and MVRP bands Wide value is space-time, directly determines the passage for allowing to connect the VLAN, triggers the parameter letter of the recording unit records VLAN Breath, and update the remaining bandwidth of the reserved bandwidth of MVRP.
15. equipment according to claim 10 or 12, it is characterised in that
The determining unit, is further used for when equipment of this equipment as the static VLAN is not configured, be directly connected to two with The equipment of the upper configuration static VLAN, and it is described two more than when configuring the same static VLAN of device configuration of the static VLAN, When the Join message of the VLAN that the equipment that the Transmit-Receive Unit receives arbitrary configuration static VLAN sends, it is determined that permitting When connecting the passage of the VLAN perhaps, and the VLAN connected on the port that is connected of equipment of the static VLAN with other configurations, It is determined that whether the MVRP bandwidth for the VLAN distribution on the port for connecting the VLAN disappears not less than the Join being currently received The value of the MVRP bandwidth that breath is carried, if it is, trigger the Transmit-Receive Unit only being sent by the port for having connected the VLAN The Join message of the VLAN;Otherwise, trigger the Transmit-Receive Unit to send by the port outside the port for receiving the Join message The Join message of the VLAN.
16. equipment according to claim 10, it is characterised in that
The processing unit, is further used for when the Transmit-Receive Unit receives the MVRP mistakes of the passage that can not connect the VLAN Message, the port for receiving the enable MVRP abilities outside the error message also have registered the VLAN, and the MVRP bandwidth ratios distributed The value hour of the MVRP bandwidth carried in the error message, abandons the error message.
CN201410094892.6A 2014-03-14 2014-03-14 Channel communicating method and equipment for virtual local area network Active CN103825798B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410094892.6A CN103825798B (en) 2014-03-14 2014-03-14 Channel communicating method and equipment for virtual local area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410094892.6A CN103825798B (en) 2014-03-14 2014-03-14 Channel communicating method and equipment for virtual local area network

Publications (2)

Publication Number Publication Date
CN103825798A CN103825798A (en) 2014-05-28
CN103825798B true CN103825798B (en) 2017-04-12

Family

ID=50760640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410094892.6A Active CN103825798B (en) 2014-03-14 2014-03-14 Channel communicating method and equipment for virtual local area network

Country Status (1)

Country Link
CN (1) CN103825798B (en)

Families Citing this family (2)

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

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647363A (en) * 2012-05-17 2012-08-22 杭州华三通信技术有限公司 Method and device for transmitting multiple VLAN (Virtual Local Area Network) register protocol message along with multiple spanning tree instance

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7930741B2 (en) * 2004-09-16 2011-04-19 Alcatel Lucent System and method for securing an ethernet connectivity fault management (CFM) domain defined on a VLAN
US7693164B1 (en) * 2007-02-05 2010-04-06 World Wide Packets, Inc. Configuring a packet tunnel network
US7839800B2 (en) * 2008-01-24 2010-11-23 Cisco Technology, Inc. Multiple I-service registration protocol (MIRP)
US20110096784A1 (en) * 2009-10-27 2011-04-28 Cisco Technology, Inc., A Corporation Of California Controlled Propagation of VLAN Declarations
US8812708B2 (en) * 2011-07-22 2014-08-19 Cisco Technology, Inc. Transient unpruning for faster layer-two convergence
US9356803B2 (en) * 2011-11-30 2016-05-31 Cisco Technology, Inc. Field aware virtual connection discovery

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647363A (en) * 2012-05-17 2012-08-22 杭州华三通信技术有限公司 Method and device for transmitting multiple VLAN (Virtual Local Area Network) register protocol message along with multiple spanning tree instance

Also Published As

Publication number Publication date
CN103825798A (en) 2014-05-28

Similar Documents

Publication Publication Date Title
KR101706006B1 (en) A method and system for updating distributed resilient network interconnect states
CN100568787C (en) Support the method and the device of Ethernet medium access control circuit
US8705363B2 (en) Packet scheduling method and apparatus
US6693912B1 (en) Network interconnecting apparatus and active quality-of-service mapping method
CN102132511B (en) Method, device and system for providing virtual switch quality of service for virtual machines
CN103888386B (en) The transmission method and device, system of expansible virtual local area network packet
CN108282352A (en) Manage the methods, devices and systems of network slice example
US9124533B2 (en) Service bandwidth configuring method and network management system
CN105791175B (en) The method and apparatus of transfer resource is controlled in software defined network
US20080037553A1 (en) Systems and methods for allocating bandwidth to ports in a computer network
CN102986172A (en) Virtual cluster switching
CN103986663A (en) Data center, method for processing data and network controller
CN107919982A (en) A kind of DCI management platforms and its management method
CN104301226B (en) A kind of specified routing bridge electoral machinery, equipment and system
CN106162639A (en) SDN wireless network management platform based on Floodlight and authentication method
CN110351135B (en) Network equipment configuration method and device in multiple DCs
CN108289061B (en) Service chain topology system based on SDN
WO2011076001A1 (en) Machine-to-machine (m2m) network management system and method for realizing terminal service aggregation and virtual private network (vpn)
CN104468408A (en) Method for adjusting dynamically service bandwidth and control center server
CN108965134A (en) Message forwarding method and device
CN103825798B (en) Channel communicating method and equipment for virtual local area network
CN108092909A (en) Data flow control method, apparatus and system
CN104426777B (en) Route renewing method and routing device
CN109787911A (en) Method, control face entity and the transponder of load balancing
Buzhin et al. Evaluation of Telecommunication Equipment Delays in Software-Defined Networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

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

Patentee after: Xinhua three Technology Co., Ltd.

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

Patentee before: Huasan Communication Technology Co., Ltd.