CN102316000A - Method for declaring enabled virtual local area network (VLAN) and equipment thereof - Google Patents
Method for declaring enabled virtual local area network (VLAN) and equipment thereof Download PDFInfo
- Publication number
- CN102316000A CN102316000A CN201110305117A CN201110305117A CN102316000A CN 102316000 A CN102316000 A CN 102316000A CN 201110305117 A CN201110305117 A CN 201110305117A CN 201110305117 A CN201110305117 A CN 201110305117A CN 102316000 A CN102316000 A CN 102316000A
- Authority
- CN
- China
- Prior art keywords
- vlan
- information unit
- enables
- encapsulation format
- continuously
- 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.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method for declaring an enabled virtual local area network (VLAN) and equipment thereof. The method comprises the following steps that: routing bridge (RB) equipment determines a quantity of continuous enabled VLANs in the enabled VLANs according to configuration of the enabled VLAN of the routing bridge equipment; when the quantity of the continuous enabled VLANs in the enabled VLANs is larger than a threshold, the RB equipment uses a first packaging format to package and declare an information unit of the enabled VLANs so as to declare the continuous enabled VLANs, wherein using the first packaging format to package the information unit means that an initial VLAN ID and a terminated VLAN ID of the continuous enabled VLANs in the information unit are marked; the RB equipment sends a Hello message carrying the information unit. In the invention, numbers of bytes occupied by the information unit which is used to declare the enabled VLANs are reduced. Therefore, the numbers of the bytes of the Hello message are reduced so that a purpose of saving network resources can be reached.
Description
Technical field
The present invention relates to communication technical field, relate in particular to a kind of VLAN of enabling statement method and equipment thereof.
Background technology
TRILL (Transparent Interconnection of Lots of Links; Multilink is transparent interconnected) be IETF (Internet Engineering Task Force; The Internet engineering duty group) L2 (2, two layers of the Layer) network standard of recommending, its networking diagram can be as shown in Figure 1.TRILL has very high importance; Because the large-scale data center begins to utilize FCoE (Fiber Channel over Ethernet; The Ethernet optical-fibre channel) etc. new technology is with storage transmission and IP (Internet Protocol; Internet protocol) transmission is fused in the Ethernet connection, and the STP agreement of standard (Spanning Tree Protocol, Spanning-Tree Protocol) will no longer be fit to the expansion of UNE or ultra-large type data center.Along with the raising of FCoE employing rate, enterprise's storage will begin to add other agreements on IP (Internet Protocol, the Internet protocol) network.From the angle of storage, As time goes on, TRILL can replace on the L2 network STP agreement generally used at least.
In the TRILL network, each RB (Routing Bridge has the bridge device of routing function) equipment uses hello packet and direct-connected RB equipment to carry out alternately.What the Enabled-VLANssub-TLV in the hello packet was used to state each RB equipment enables VLAN (Virtual Local Area Network; VLAN); DRB (Designated RB then; The RB of appointment) equipment distributes AVF (Appointed VLAN Forwarder, the VLAN forwarding person of appointment) according to the VLAN that enables of each RB equipment.Be responsible for the encapsulation and the decapsulation of the data message of a certain particular vlan on this link as the RB equipment of AVF, make data message in the TRILL network, transmit.
At present, the realization of Enabled-VLANs sub-TLV, what be to use that the mode of Start.Vlan+Bitmap states RB equipment enables VLAN (formal definition is seen shown in Figure 2).But that works as RB equipment enables VLAN more for a long time; Use existing mode may make Enabled-VLANs sub-TLV take more word VLAN more for a long time; Use existing mode may make Enabled-VLANs sub-TLV take more byte; Cause hello packet excessive, the waste Internet resources.
Summary of the invention
The invention provides a kind of VLAN of enabling statement method and equipment thereof, in order to save the resource overhead that statement enables VLAN.
In order to achieve the above object, the present invention provides a kind of VLAN of enabling statement method, comprising:
Have of the configuration that enable VLAN of the bridge device RB equipment of routing function, confirm to enable to enable continuously among the VLAN quantity of VLAN according to self;
When the quantity that enables VLAN among the said VLAN of enabling continuously during greater than threshold value, said RB equipment uses information unit that first encapsulation format encapsulation statement enables VLAN so that the said VLAN that enables is continuously stated; Wherein, using first encapsulation format to encapsulate said information unit is meant and in said information unit, indicates the said initial VLAN ID that enables VLAN continuously and stop VLAN ID;
Said RB equipment sends the hello packet that carries said information unit.
Also comprise:
When the quantity that enables VLAN among the said VLAN of enabling continuously was not more than said threshold value, said RB equipment used second encapsulation format to encapsulate said information unit so that the said VLAN that enables is continuously stated; Wherein, using second encapsulation format to encapsulate said information unit is meant and in said information unit, indicates the said initial VLAN ID that enables VLAN continuously and be used for representing the said bit sequence that each VLAN of VLAN enables situation that enables continuously.
Carry the shared byte number of field of initial VLAN ID in the said first encapsulation format encapsulated information unit; The shared byte number of field that changes the initial VLAN ID of carrying in the form encapsulated information unit with second envelope is identical, and carrying the shared byte number of field that stops VLAN ID in the said first encapsulation format encapsulated information unit is fixed value;
Said threshold value is the product of said fixed value and 8.
Comprise attribute field in the said information unit, be used to indicate encapsulation format to this information unit; Wherein:
When the property value value of said attribute field was first property value, the encapsulation format of this information unit was first encapsulation format;
When the property value value of said attribute field was second property value, the encapsulation format of this information unit was second encapsulation format.
Also comprise:
RB equipment receives the hello packet that other RB equipment send;
Said RB equipment obtains the property value that is used for stating the attribute field of the information unit that enables VLAN in the said hello packet, and confirms the encapsulation format of this information unit according to this property value;
Said RB equipment adopts corresponding decapsulation mode that this information unit is resolved according to the encapsulation format of this information unit.
RB equipment according to self enable VLAN configuration find comprising enable continuously VLAN quantity greater than said threshold value enable the VLAN section and enable VLAN quantity continuously be not more than under the situation that enables the VLAN section of said threshold value; Said RB equipment uses the first encapsulation format encapsulated information unit that the said VLAN quantity that enables is continuously stated greater than the VLAN section that enables of said threshold value, uses the second encapsulation format encapsulated information unit that the VLAN section that enables that enables VLAN quantity continuously and be not more than said threshold value is stated.
The present invention provides a kind of RB equipment, comprising:
First determination module is used for the configuration that enables virtual LAN VLAN according to self, confirms to enable to enable continuously among the VLAN quantity of VLAN;
Judge module is used for judging that whether quantity that the said VLAN of enabling enables VLAN continuously is greater than threshold value;
Package module is used for being judged as when being when said judge module, uses statement in first encapsulation format encapsulation hello packet to enable the information unit of VLAN; Wherein, using first encapsulation format to encapsulate said information unit is meant and in said information unit, indicates the said initial VLAN ID that enables VLAN continuously and stop VLAN ID;
Sending module is used to send the hello packet that carries said information unit.
Said package module also is used for,
When said judge module judged result for not the time, use second encapsulation format to encapsulate said information unit so that the said VLAN that enables is continuously stated; Wherein, using second encapsulation format to encapsulate said information unit is meant and in said information unit, indicates the said initial VLAN ID that enables VLAN continuously and be used for representing the said bit sequence that each VLAN of VLAN enables situation that enables continuously.
To change in the form encapsulated information unit the shared byte number of initial VLAN field identical for the shared byte number of initial VLAN field and second envelope in the said first encapsulation format encapsulated information unit, and stopping the shared byte number of VLAN field in the said first encapsulation format encapsulated information unit is fixed value;
Said threshold value is the product of said fixed value and 8.
Comprise attribute field in the said information unit, be used to indicate the encapsulation format of this information unit; Wherein, when the property value value of said attribute field was first property value, the encapsulation format of this information unit was first encapsulation format; When the property value value of said attribute field was second property value, the encapsulation format of this information unit was second encapsulation format; Said RB equipment also comprises:
Receiver module is used to receive the hello packet that other RB equipment send;
Second determination module is used for obtaining the property value that hello packet that said receiver module receives is used for stating the attribute field of the information unit that enables VLAN, and confirms the encapsulation format of this information unit according to this property value;
Parsing module is used for the encapsulation format according to this definite information unit of said second determination module, adopts corresponding decapsulation mode that this information unit is resolved.
RB equipment according to self enable VLAN configuration find comprising enable continuously VLAN quantity greater than said threshold value enable the VLAN section and enable VLAN quantity continuously be not more than under the situation that enables the VLAN section of said threshold value;
Said package module specifically is used for; Use the first encapsulation format encapsulated information unit that the said VLAN quantity that enables is continuously stated greater than the VLAN section that enables of said threshold value, use the second encapsulation format encapsulated information unit that the VLAN section that enables that enables VLAN quantity continuously and be not more than said threshold value is stated.
Useful technique effect of the present invention comprises:
Among the present invention, RB equipment is according to the definite encapsulation format of stating the information unit that enables VLAN of quantity that self enables to enable continuously among the VLAN VLAN.The quantity that in enabling VLAN, enables VLAN continuously is during greater than threshold value; State enabling VLAN continuously through in information unit, showing initial VLAN ID that enables VLAN continuously and the mode that stops VLAN ID; Reduced and stated the shared byte number of information unit that enables VLAN; Thereby reduced the byte number of hello packet, reached the purpose of saving Internet resources.
Description of drawings
Fig. 1 is a TRILL networking sketch map of the prior art;
Fig. 2 is an Enabled-VLANs sub-TLV form sketch map in the prior art;
Fig. 3 A~3C is an Enabled-VLANs sub-TLV form sketch map in the embodiment of the invention;
Fig. 4 states the method flow sketch map for the VLAN that enables that provides in the embodiment of the invention;
The structural representation of the RB equipment that Fig. 5~6 provide for the embodiment of the invention.
Embodiment
In the prior art; Be used to state enabling the vlan information unit and can being Enabled-VLANs sub-TLV of RB equipment; Its formal definition is as shown in Figure 2, and wherein, the definition of VLAN bit-map field is following: this variable length field is unit with the byte; Corresponding successively 8 the continuous VLAN of 8 bit in each byte; And the 1st the corresponding VLAN of bit is " Start VLAN ID " indicated VLAN in the 1st byte, and whether the corresponding corresponding VLAN of the value of each bit (0 or 1) enables (being 0 like the bit position and showing that corresponding VLAN is the disable VLAN of RB equipment that the bit position is 1 and shows that corresponding VLAN is the VLAN that enables of RB equipment).For example, if the value of Start VLAN ID is 1, VLAN bit-map is 01,011,111 11111110, shows that then it is VLAN2 and VLAN4-15 that this RB device port enables VLAN.Obviously; State the VLAN that enables of RB equipment through Enabled-VLANs sub-TLV form of the prior art, when RB equipment enable VLAN more for a long time, the byte that Enabled-VLANs sub-TLV takies is more; Cause hello packet excessive, the waste Internet resources.
The embodiment of the invention is improved the encapsulation format of Enabled-VLANs sub-TLV, confirms the different encapsulation format of Enabled-VLANs sub-TLV according to the quantity that enables to enable VLAN among the VLAN continuously of RB equipment.Wherein, can also in Enabled-VLANs sub-TLV, increase a tag field, be used to indicate the encapsulation format of this Enabled-VLANs sub-TLV.When RB equipment receives the hello packet of other RB equipment transmissions; Can be according to the encapsulation format of confirming this Enabled-VLANs sub-TLV of the tag field among the Enabled-VLANs sub-TLV, and then with the decapsulation mode of correspondence Enabled-VLANs sub-TLV is resolved.
Below in conjunction with accompanying drawing the embodiment of the invention is described in detail.
Shown in Fig. 3 A, the encapsulation format sketch map of the Enabled-VLANs sub-TLV that provides for the embodiment of the invention.In this embodiment, the tag field among the Enabled-VLANs sub-TLV is an attribute field, and the different values of this attribute field are the different encapsulation format of corresponding Enabled-VLANs sub-TLV respectively.
Wherein, AttribValue field (attribute field) value can be 0 (first property value) or 1 (second property value); According to the different values of AttribValue field, the form of Payload field (load field) is also inequality.
Concrete, when the value of AttribValue field is 0, show that RB equipment uses first encapsulation format (shown in Fig. 3 B) encapsulation Enabled-VLANs sub-TLV.Wherein, the form of Payload field is Start.Vlan+End.Vlan; The initial VLAN ID that enables VLAN continuously of the RB equipment that the Start.VLAN field is used to indicate that this Enabled-VLANs sub-TLV is stated; The termination VLAN ID that enables VLAN continuously of the RB equipment that the End.VLAN field is used to indicate that this Enabled-VLANs sub-TLV is stated.For example, when the Start.VLAN value is 1, the End.VLAN value is 64 o'clock, shows that then VLAN1-64 is the VLAN that enables of this RB equipment.
When the value of AttribValue field is 1, show that RB equipment uses second encapsulation format (shown in Fig. 3 C) encapsulation Enabled-VLANs sub-TLV.Wherein, Enabled-VLANs sub-TLV statement enables the form identical (being Start.Vlan+Bitmap) of VLAN in the form of Payload field and the prior art.
Can find out according to above-mentioned Enabled-VLANs sub-TLV encapsulation format; First encapsulation format of Enabled-VLANs sub-TLV is compared with second encapsulation format; For same Enabled-VLANs sub-TLV; The shared byte number of Start.Vlan+End.Vlan field wherein is fixed as 4 bytes, and the variation that enables to enable the quantity of VLAN among the VLAN continuously with RB equipment does not change; And in second encapsulation format, Start Vlan id field is fixed as 2 bytes, but VLAN bit-map then with the quantity positive correlation of the VLAN that is stated.Promptly use the Enabled-VLANs sub-TLV of first encapsulation format encapsulation to compare with the Enabled-VLANs sub-TLV that uses the encapsulation of second encapsulation format, the difference of shared byte is the different of byte number that End.Vlan field and VLAN bit-map are shared.Wherein, The byte number that the End.Vlan fields account is used is fixed value (2 bytes); The byte number that takies as VLAN bit-map at most only can be stated the situation that enables of the individual VLAN of 16 (8*2) during with the byte number identical (2 bytes) that the End.Vlan fields account is used through VLAN bit-map.Therefore; Can preestablish a threshold value; When the quantity that enables to enable VLAN among the VLAN continuously of RB equipment surpasses this threshold value, then use the encapsulation of first encapsulation format to enabling the Enabled-VLANs sub-TLV of VLAN continuously, so that being enabled VLAN continuously, this states; Otherwise, use the Enabled-VLANs sub-TLV of the second encapsulation format packaging V LAN.Because when the quantity that enables VLAN continuously is 16; Use first encapsulation format and second encapsulation format encapsulation Enabled-VLANs sub-TLV; The byte number that the Start.Vlan+End.Vlan fields account is used identical with the byte number that the Start.Vlan+Bitmap fields account is used (being 4 bytes); And when the quantity that enables VLAN continuously surpasses 16; Use the shared byte of first encapsulation format encapsulation Enabled-VLANs sub-TLV less than using the shared byte of second encapsulation format encapsulation Enabled-VLANs sub-TLV; Therefore above-mentioned threshold value can be set to 16, and promptly this threshold value can be to carry the shared byte number N of field of termination VLAN ID and 8 product (8*N) in the first encapsulation format encapsulated information unit.
Need to prove; Enabled-VLANs sub-TLV form shown in above-mentioned Fig. 3 A, Fig. 3 B or Fig. 3 C is merely a kind of optimal way; The Enabled-VLANs sub-TLV form of other similar structures or field value should be all within protection scope of the present invention; And in the technical scheme that the embodiment of the invention provides, being used to state that the information unit that enables VLAN also is not limited to Enabled-VLANs sub-TLV, also can be that other have the information unit that statement enables functionality of vlan.
Based on the Enabled-VLANs sub-TLV encapsulation format of above-mentioned redetermination, the VLAN that enables that the embodiment of the invention provides states that method flow can be as shown in Figure 4, can may further comprise the steps:
Concrete; RB equipment gets access to self enable VLAN after; Further confirm self to enable to enable continuously among the VLAN quantity of VLAN, and when the quantity that enables VLAN continuously during greater than threshold value (as 16), with the corresponding Enabled-VLANs sub-TLV of first encapsulation format encapsulation; Otherwise, with the corresponding Enabled-VLANs sub-TLV of second encapsulation format encapsulation.For example, suppose to have in the TRILL networking 800 VLAN (VLAN1-800), the VLAN that enables that RB1 gets access to self is VLAN1-5, VLAN89-720, VLAN784-792, VLAN794, VLAN796 and VLAN798.Then RB1 can use a plurality of Enabled-VLANs sub-TLV to state and enable VLAN when the encapsulation hello packet.Wherein, the 1st Enabled-VLANs sub-TLV can encapsulate AttribValue=1 according to second encapsulation format; Start VLAN ID is 1; VLAN bit-map is 11111000, is used for stating that enabling VLAN is VLAN1-5 (quantity that enables VLAN continuously is 5, less than 16); The 2nd Enabled-VLANs sub-TLV can encapsulate according to first encapsulation format, and AttribValue=0, Start.VLAN are 89, and End.VLAN is 720, is used for stating that enabling VLAN is VLAN89-720 (quantity that enables VLAN continuously is greater than 16); The 3rd Enabled-VLANs sub-TLV can encapsulate according to second encapsulation format; AttribValue=1; Start VLAN ID is 784, and VLAN bit-map is 11,111,111 01010100, is used for stating that enabling VLAN is VLAN784-792; VLAN794, VLAN796 and VLAN798 (the VLAN ID that enables VLAN is comparatively discrete); Wherein, unstated VLAN is defaulted as disable VLAN.
Can find out through above description, improve, confirm the encapsulation format of Enabled-VLANs sub-TLV according to the quantity that enables to enable VLAN among the VLAN continuously of RB equipment through encapsulation to Enabled-VLANs sub-TLV; When the quantity that enables VLAN continuously surpasses threshold value; Use first encapsulation format encapsulation Enabled-VLANs sub-TLV, when the quantity that enables VLAN does not continuously surpass threshold value, use second encapsulation format encapsulation Enabled-VLANs sub-TLV; Compared with prior art; Effectively reduce the byte number that Enabled-VLANs sub-TLV takies, thereby reduced the byte number of hello packet, saved Internet resources.
In the technical scheme that the embodiment of the invention provides; When RB equipment receives the hello packet of other RB equipment transmissions; Need to resolve the hello packet that receives, obtain the property value of the attribute field among the Enabled-VLANs sub-TLV in the hello packet, and confirm the encapsulation format of this Enabled-VLANs sub-TLV according to this property value; And then through corresponding mode this Enabled-VLANs sub-TLV is resolved, to know the VLAN that enables of other RB equipment.For example, after RB 1 receives the hello packet of RB2, resolve this hello packet; Obtain the property value of the attribute field among the Enabled-VLANssub-TLV wherein; If property value is 0, confirm that then RB2 encapsulates this Enabled-VLANs sub-TLV according to first encapsulation format, correspondingly; RB1 can use first analysis mode that this Enabled-VLANs sub-TLV is resolved; With know RB2 enable VLAN (RB1 obtains the value of Start.VLAN and End.VLAN among this Enabled-VLANs sub-TLV, so definite RB2 enable VLAN, be 20 like the Start.VLAN value; The End.VLAN value is 180, can know that then VLAN20-180 is the VLAN that enables of RB2); If property value is 1; Confirm that then RB2 encapsulates this Enabled-VLANs sub-TLV according to second encapsulation format; Correspondingly, RB1 can use second analysis mode that this Enabled-VLANs sub-TLV is resolved, and (RB 1 obtains value and the VLANbit-map of Start VLAN ID among this Enabled-VLANs sub-TLV with the VLAN that enables of knowing RB2; And then definite RB2 enable VLAN; Value like Start VLAN ID is 8, and VLAN bit-map is 01010111, can know that then VLAN9, VLAN11 and VLAN13-15 are the VLAN that enables of RB2).
Based on the identical technical conceive of said method flow process, the embodiment of the invention also provides a kind of RB equipment.
Referring to Fig. 5, the structural representation of the RB equipment that provides for the embodiment of the invention, as shown in the figure, this RB equipment can comprise:
Sending module 504 is used to send the hello packet that carries said information unit.
In the above-mentioned RB equipment; Package module 503 can also be used for; When the judged result of judge module 502 during, use second encapsulation format to encapsulate said information unit so that the said VLAN that enables is continuously stated for not (quantity that promptly enables to enable continuously among the VLAN VLAN is not more than threshold value (as 16)); Wherein, using second encapsulation format to encapsulate said information unit is meant and in said information unit, indicates the said initial VLAN ID that enables VLAN continuously and be used for representing the said bit sequence (being Start.Vlan+Bitmap) that each VLAN of VLAN enables situation that enables continuously.
Wherein, can comprise attribute field (AttribValue) in the said information unit, be used to indicate the encapsulation format of this information unit; Wherein: when the property value value of said attribute field was first property value (like AttribValue=0), the encapsulation format of this information unit was first encapsulation format; When the property value value of said attribute field was second property value (like AttribValue=1), the encapsulation format of this information unit was second encapsulation format.
As shown in Figure 6, above-mentioned RB equipment can also comprise:
Parsing module 507, the encapsulation format of this information unit that is used for confirming according to second determination module 506 adopts corresponding decapsulation mode that this information unit is resolved.
Wherein, RB equipment according to self enable VLAN configuration find comprising enable continuously VLAN quantity greater than said threshold value enable the VLAN section and enable VLAN quantity continuously be not more than under the situation that enables the VLAN section of said threshold value;
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product; This computer software product is stored in the storage medium, comprise some instructions with so that a station terminal equipment (can be mobile phone, personal computer; Server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also should be looked protection scope of the present invention.
Claims (11)
1. one kind enables virtual LAN VLAN statement method, it is characterized in that, this method comprises:
Have of the configuration that enable VLAN of the bridge device RB equipment of routing function, confirm to enable to enable continuously among the VLAN quantity of VLAN according to self;
When the quantity that enables VLAN among the said VLAN of enabling continuously during greater than threshold value, said RB equipment uses information unit that first encapsulation format encapsulation statement enables VLAN so that the said VLAN that enables is continuously stated; Wherein, using first encapsulation format to encapsulate said information unit is meant and in said information unit, indicates the said initial VLAN ID that enables VLAN continuously and stop VLAN ID;
Said RB equipment sends the hello packet that carries said information unit.
2. the method for claim 1 is characterized in that, also comprises:
When the quantity that enables VLAN among the said VLAN of enabling continuously was not more than said threshold value, said RB equipment used second encapsulation format to encapsulate said information unit so that the said VLAN that enables is continuously stated; Wherein, using second encapsulation format to encapsulate said information unit is meant and in said information unit, indicates the said initial VLAN ID that enables VLAN continuously and be used for representing the said bit sequence that each VLAN of VLAN enables situation that enables continuously.
3. method as claimed in claim 2; It is characterized in that; Carry the shared byte number of field of initial VLAN ID in the said first encapsulation format encapsulated information unit; The shared byte number of field that changes the initial VLAN ID of carrying in the form encapsulated information unit with second envelope is identical, and carrying the shared byte number of field that stops VLAN ID in the said first encapsulation format encapsulated information unit is fixed value;
Said threshold value is the product of said fixed value and 8.
4. method as claimed in claim 2 is characterized in that, comprises attribute field in the said information unit, is used to indicate the encapsulation format to this information unit; Wherein:
When the property value value of said attribute field was first property value, the encapsulation format of this information unit was first encapsulation format;
When the property value value of said attribute field was second property value, the encapsulation format of this information unit was second encapsulation format.
5. method as claimed in claim 4 is characterized in that, also comprises:
RB equipment receives the hello packet that other RB equipment send;
Said RB equipment obtains the property value that is used for stating the attribute field of the information unit that enables VLAN in the said hello packet, and confirms the encapsulation format of this information unit according to this property value;
Said RB equipment adopts corresponding decapsulation mode that this information unit is resolved according to the encapsulation format of this information unit.
6. method as claimed in claim 2; It is characterized in that; RB equipment according to self enable VLAN configuration find comprising enable continuously VLAN quantity greater than said threshold value enable the VLAN section and enable VLAN quantity continuously be not more than under the situation that enables the VLAN section of said threshold value; Said RB equipment uses the first encapsulation format encapsulated information unit that the said VLAN quantity that enables is continuously stated greater than the VLAN section that enables of said threshold value, uses the second encapsulation format encapsulated information unit that the VLAN section that enables that enables VLAN quantity continuously and be not more than said threshold value is stated.
7. a bridge device RB equipment that has routing function is characterized in that, comprising:
First determination module is used for the configuration that enables virtual LAN VLAN according to self, confirms to enable to enable continuously among the VLAN quantity of VLAN;
Judge module is used for judging that whether quantity that the said VLAN of enabling enables VLAN continuously is greater than threshold value;
Package module is used for being judged as when being when said judge module, uses information unit that first encapsulation format encapsulation statement enables VLAN so that the said VLAN that enables is continuously stated; Wherein, using first encapsulation format to encapsulate said information unit is meant and in said information unit, indicates the said initial VLAN ID that enables VLAN continuously and stop VLAN ID;
Sending module is used to send the hello packet that carries said information unit.
8. RB equipment as claimed in claim 7 is characterized in that said package module also is used for,
When said judge module judged result for not the time, use second encapsulation format to encapsulate said information unit so that the said VLAN that enables is continuously stated; Wherein, using second encapsulation format to encapsulate said information unit is meant and in said information unit, indicates the said initial VLAN ID that enables VLAN continuously and be used for representing the said bit sequence that each VLAN of VLAN enables situation that enables continuously.
9. RB equipment as claimed in claim 8; It is characterized in that; The shared byte number of field that carries initial VLAN ID in the said first encapsulation format encapsulated information unit is identical with the shared byte number of field of the initial VLAN ID of carrying in second envelope commentaries on classics form encapsulated information unit, and carrying the shared byte number of field that stops VLAN ID in the said first encapsulation format encapsulated information unit is fixed value;
Said threshold value is the product of said fixed value and 8.
10. RB equipment as claimed in claim 8 is characterized in that, comprises attribute field in the said information unit, is used to indicate the encapsulation format of this information unit; Wherein, when the property value value of said attribute field was first property value, the encapsulation format of this information unit was first encapsulation format; When the property value value of said attribute field was second property value, the encapsulation format of this information unit was second encapsulation format; Said RB equipment also comprises:
Receiver module is used to receive the hello packet that other RB equipment send;
Second determination module is used for obtaining the property value that hello packet that said receiver module receives is used for stating the attribute field of the information unit that enables VLAN, and confirms the encapsulation format of this information unit according to this property value;
Parsing module is used for the encapsulation format according to this definite information unit of said second determination module, adopts corresponding decapsulation mode that this information unit is resolved.
11. RB equipment as claimed in claim 7; It is characterized in that, RB equipment according to self enable VLAN configuration find comprising enable continuously VLAN quantity greater than said threshold value enable the VLAN section and enable VLAN quantity continuously be not more than under the situation that enables the VLAN section of said threshold value;
Said package module specifically is used for; Use the first encapsulation format encapsulated information unit that the said VLAN quantity that enables is continuously stated greater than the VLAN section that enables of said threshold value, use the second encapsulation format encapsulated information unit that the VLAN section that enables that enables VLAN quantity continuously and be not more than said threshold value is stated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110305117A CN102316000A (en) | 2011-09-29 | 2011-09-29 | Method for declaring enabled virtual local area network (VLAN) and equipment thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110305117A CN102316000A (en) | 2011-09-29 | 2011-09-29 | Method for declaring enabled virtual local area network (VLAN) and equipment thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102316000A true CN102316000A (en) | 2012-01-11 |
Family
ID=45428835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110305117A Pending CN102316000A (en) | 2011-09-29 | 2011-09-29 | Method for declaring enabled virtual local area network (VLAN) and equipment thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102316000A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104301153A (en) * | 2014-10-31 | 2015-01-21 | 杭州华三通信技术有限公司 | AVF allocation method in TRILL network and RB equipment |
CN108183863A (en) * | 2017-12-22 | 2018-06-19 | 新华三技术有限公司 | A kind of broadcasting packet sends system, method and apparatus |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123566A (en) * | 2006-08-09 | 2008-02-13 | 中兴通讯股份有限公司 | Port processing method for VLAN using GVRP |
CN101166137A (en) * | 2006-10-20 | 2008-04-23 | 华为技术有限公司 | Method for separating different virtual LAN services |
CN101268658A (en) * | 2005-09-16 | 2008-09-17 | 思科技术公司 | System and method for generating symmetrical spanning trees |
CN101827009A (en) * | 2009-03-04 | 2010-09-08 | 丛林网络公司 | Routing frames in a trill network using service vlan identifiers |
-
2011
- 2011-09-29 CN CN201110305117A patent/CN102316000A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101268658A (en) * | 2005-09-16 | 2008-09-17 | 思科技术公司 | System and method for generating symmetrical spanning trees |
CN101123566A (en) * | 2006-08-09 | 2008-02-13 | 中兴通讯股份有限公司 | Port processing method for VLAN using GVRP |
CN101166137A (en) * | 2006-10-20 | 2008-04-23 | 华为技术有限公司 | Method for separating different virtual LAN services |
CN101827009A (en) * | 2009-03-04 | 2010-09-08 | 丛林网络公司 | Routing frames in a trill network using service vlan identifiers |
Non-Patent Citations (1)
Title |
---|
A. BANERJEE 等: "Extensions to IS-IS for Layer-2 Systems draft-ietf-isis-layer2-04", 《IETF NETWORK WORKING GROUP INTERNET-DRAFT 》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104301153A (en) * | 2014-10-31 | 2015-01-21 | 杭州华三通信技术有限公司 | AVF allocation method in TRILL network and RB equipment |
CN104301153B (en) * | 2014-10-31 | 2018-11-27 | 新华三技术有限公司 | Distribution method, RB equipment and the DRB equipment of AVF in a kind of TRILL network |
CN108183863A (en) * | 2017-12-22 | 2018-06-19 | 新华三技术有限公司 | A kind of broadcasting packet sends system, method and apparatus |
CN108183863B (en) * | 2017-12-22 | 2021-05-07 | 新华三技术有限公司 | Broadcast message sending system, method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9665530B2 (en) | Method and system for implementing elastic network interface and interconnection | |
US8861547B2 (en) | Method, apparatus, and system for packet transmission | |
CN113259238B (en) | Method and device for processing segment identifiers | |
CN102368727B (en) | Crossed IP network TRILL network communication method, system thereof and devices | |
CN111049752B (en) | Load balancing method and device for multiple transmission lines | |
US20110310907A1 (en) | Systems and methods for implementing a control plane in a distributed network | |
CN101834794B (en) | Method and device for forwarding message through backbone network | |
US20210044456A1 (en) | Method for implementing gre tunnel, access point and gateway | |
CN101882975B (en) | Method for transmitting data by using preamble of Ethernet frame | |
CN109120540A (en) | Method, proxy server and the computer readable storage medium of transmitting message | |
CN101184098B (en) | Data transmission method and transmission apparatus | |
CN102546409B (en) | Method and RB (route bridge) for processing message based on TRILL (Transparent Interconnection of Lots of Links) network | |
CN106685828B (en) | A kind of message transmitting method and device | |
CN104995882A (en) | Packet processing method and device | |
CN102710510B (en) | Information processing method, apparatus and system | |
CN106487709A (en) | A kind of file transmitting method and system | |
CN106533503B (en) | A kind of method and device of powerline network communication | |
CN102316000A (en) | Method for declaring enabled virtual local area network (VLAN) and equipment thereof | |
CN107645391A (en) | A kind of port configuration method and device of Interface Expanding equipment | |
CN102685011B (en) | Route computing method in a kind of TRILL network and equipment | |
CN103825831A (en) | Packet transmitting method and switch | |
CN102333017B (en) | Method and device for calculating path loss in transparent interconnection of lots of links (TRILL) network | |
CN104796345A (en) | Message transmission control method and equipment | |
CN100450088C (en) | Method for implementing bidirectional flow engineering tunnel | |
CN103716220A (en) | Data transmission method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120111 |