CN102571586B - Method and device for setting customer virtual local area network (CVLAN) in transparent interconnect of lots of links (TRILL) network - Google Patents
Method and device for setting customer virtual local area network (CVLAN) in transparent interconnect of lots of links (TRILL) network Download PDFInfo
- Publication number
- CN102571586B CN102571586B CN201210008654.XA CN201210008654A CN102571586B CN 102571586 B CN102571586 B CN 102571586B CN 201210008654 A CN201210008654 A CN 201210008654A CN 102571586 B CN102571586 B CN 102571586B
- Authority
- CN
- China
- Prior art keywords
- switch
- local area
- area network
- virtual local
- side virtual
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 230000004913 activation Effects 0.000 claims description 5
- 230000010076 replication Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 7
- 230000005012 migration Effects 0.000 description 4
- 238000013508 migration Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 3
- 230000032683 aging Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 244000141353 Prunus domestica Species 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/1886—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with traffic restrictions for efficiency improvement, e.g. involving subnets or subdomains
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention provides a method and a device for setting a customer virtual local area network (CVLAN) in a transparent interconnect of lots of links (TRILL) network and relates to the field of communication. Unnecessary multicast data replication in the TRILL network can be effectively avoided, and bandwidth is saved. The method comprises the following steps: setting the CVLAN to be in an inactive state by a switchboard so as to enable a routing bridge not to send multicast data of the CVLAN to the switchboard; if the condition that network equipment is on line in the CVLAN set by the switchboard is determined by the switchboard, setting the CVLAN to be in an active state by the switchboard so as to enable the routing bridge to send the multicast data of the CVLAN to the switchboard. The method and the device for setting the CVLAN in the TRILL network are used for setting the CVLAN.
Description
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for setting a CVLAN in a TRILL network.
Background
TRILL (Transparent interconnection of Lots of Links) is a multi-hop ethernet network standard based on shortest path fabric Routing implemented by devices called RBs (Routing bridges). TRILL brings together the advantages of bridges and routers, and is a specific application to solve the problem of bridging under a Virtual Local Area Network (VLAN) using a connection state routing protocol.
The TRILL network comprises an RB and a switch. The RB can learn the topology of the TRILL network and can generate a TRILL routing forwarding table to other RBs. A CVLAN (Customer VLAN, user-side virtual local area network) may be configured on the switch. When receiving multicast data sent to a certain network device in the CVLAN, the RB sends the multicast data to a corresponding target RB according to a TRILL routing forwarding table, then the target RB sends the multicast data to a corresponding switch below the target RB, and then the switch transmits the multicast data to the corresponding network device below the target RB.
Generally, multicast data addressed to a certain network device in the CVLAN is sent to all switches configuring the CVLAN, for example, when the multicast data needs to be sent to a certain network device under a switch configuring the CVLAN100, the multicast data is also sent to all other switches configuring the CVLAN100, which may cause the other switches configuring the CVLAN to unnecessarily receive the multicast data, and further cause a large amount of unnecessary multicast data replication in the TRILL network, resulting in a large amount of bandwidth waste.
Disclosure of Invention
The embodiment of the invention provides a method for setting a CVLAN (virtual private LAN) in a TRILL (transparent interconnection of lots of links) network, which can effectively avoid unnecessary multicast data replication in the TRILL network and save bandwidth.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in one aspect, a method for setting a CVLAN in a TRILL network is provided, including:
the switch sets the CVLAN to be in an inactive state, so that the RB does not send the multicast data of the CVLAN to the switch;
the switch determines whether a network device is on-line in the set CVLAN;
and if the switch determines that the set CVLAN has network equipment on line, the switch sets the CVLAN to be in an activated state, so that the RB sends the multicast data of the CVLAN to the switch.
In another aspect, a method for setting a CVLAN in a TRILL network is provided, including:
the RB determines the state of the CVLAN set by the switch;
if the RB determines that the CVLAN set by the switch is in an inactive state, the RB does not send multicast data of the CVLAN to the switch;
and if the RB determines that the CVLAN set by the switch is in an activated state, the RB sends multicast data of the CVLAN to the switch.
In another aspect, an apparatus for setting a CVLAN in a TRILL network is provided, the apparatus including:
a setting unit, configured to set a CVLAN to an inactive state, so that an RB does not send multicast data of the CVLAN to the switch;
the setting unit is further configured to set the CVLAN to an active state if the determining unit determines that there is a network device online in the CVLAN, so that the RB sends multicast data of the CVLAN to the switch.
In another aspect, an apparatus for setting a CVLAN in a TRILL network is provided, the apparatus including:
a determination unit for determining a state of the CVLAN set by the switch;
a sending unit, configured to not send multicast data of the CVLAN to the switch if the determining unit determines that the CVLAN of the switch is in an inactive state;
and the sending unit is also used for sending the multicast data of the CVLAN to the switch if the determining unit determines that the CVLAN of the switch is in an activated state.
After the technical solution is adopted, in the method and the device for setting the CVLAN in the TRILL network provided by the embodiments of the present invention, when the CVLAN of the switch is in an inactive state, the RB does not send the multicast data of the CVLAN to the switch, and when a network device is on-line in the CVLAN of the switch, the switch sets the CVLAN to an active state, and the RB sends the multicast data of the CVLAN to the switch.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for setting up a CVLAN in a TRILL network according to an embodiment of the present invention;
fig. 2 is another flowchart of a method for setting a CVLAN in a TRILL network according to an embodiment of the present invention;
fig. 3 is a specific flowchart of a method for setting a CVLAN in a TRILL network according to an embodiment of the present invention;
fig. 4A is a schematic diagram of a method for setting a CVLAN in a TRILL network before dynamic migration of a virtual machine according to an embodiment of the present invention;
fig. 4B is a schematic diagram of a network device after the network device is connected to the network device according to the method for setting a CVLAN in the TRILL network provided in the embodiment of the present invention;
fig. 4C is a schematic diagram of a method for setting a CVLAN in a TRILL network after dynamic migration of a virtual machine according to an embodiment of the present invention;
fig. 5A is a block diagram of a switch according to an embodiment of the present invention;
fig. 5B is another block diagram of a switch according to an embodiment of the present invention;
fig. 5C is a block diagram of another structure of a switch according to an embodiment of the present invention;
fig. 6 is a block diagram of an RB according to an embodiment of the present invention.
Detailed Description
The technical solutions of the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
For a better understanding of the present invention, the following first describes the relevant terms used in the present application.
Reference in this application to "a network device in a CVLAN" refers to a network device provided with said CVLAN.
Reference to a "switch" in this application refers to a switch capable of running the TRILL protocol, interacting directly with the network devices in the CVLAN, in other words, the RB in the TRILL network that is closest to the network device in the CVLAN. Reference to an "RB" in this application refers to a bridge device in a TRILL network capable of running the TRILL protocol, having route forwarding properties, and in particular to an RB other than a switch, i.e. the RB referred to in this application does not interact directly with the network device in the CVLAN, but through the switch. It is to be understood that the distinction between switches and RBs in this application is merely for convenience of description and is not intended to be limiting. The RB may be a frame switch, or may be other network devices capable of running the TRILL protocol. And when a multicast source in the network sends the multicast data of the CVLAN to the RB, the RB sends the multicast data of the CVLAN to the switch.
Fig. 1 is a flowchart of a method for setting a CVLAN in a TRILL network according to an embodiment of the present invention. Referring to fig. 1, an embodiment of the present invention provides a method for setting a CVLAN in a TRILL network, where the method includes:
s11, the switch sets the CVLAN to be in an inactive state, so that the RB does not send the multicast data of the CVLAN to the switch.
Wherein:
in the embodiment of the present invention, the inactive state of the CVLAN indicates a state in which multicast data of the CVLAN is not received; the active state of the CVLAN indicates a state in which multicast data of the CVLAN will be received.
In this step, for example, the switch may set the CVLAN to an inactive state at the time of initialization, so that the switch does not receive multicast data addressed to the CVLAN in the initial state.
After the switch sets the CVLAN to be in the inactive state, the switch sends inactive state indication information to an RB, and the inactive state indication information indicates that the CVLAN set on the switch is in the inactive state, so that the RB does not send multicast data of the CVLAN to the switch.
Specifically, after the RB learns that the CVLAN set on the switch is in an inactive state, the switch is removed from the current TRILL network in the setting of the RB, that is, the switch is pruned from the TRILL network, so that the switch is no longer included in the current TRILL network. The inactive state indication information may be included in an optional field of a packet and sent to the RB through the packet.
S12, if the switch sets the CVLAN to be online, the switch sets the CVLAN to be active, so that the RB sends the multicast data of the CVLAN to the switch.
The network device may be a server or a terminal.
The network equipment is online, that is, the network equipment in the CVLAN starts to perform data interaction with other network equipment in the CVLAN through a switch. The network device being offline means that the network device in the CVLAN does not perform data interaction with the switch.
The switch can determine that a network device is on line in the CVLAN set by the switch in the following manner:
the switch receives a message sent by network equipment in the CVLAN, wherein the message comprises an MAC address of the network equipment;
and when the received message contains the MAC address of the network equipment, the switch determines that the network equipment is on line in the CVLAN.
Specifically, when a network device in a CVLAN set by the switch needs to perform data interaction with other network devices in the CVLAN, the at least one network device sends a message to the switch, and a source MAC address included in the message is its own MAC address. The switch receives a message sent by at least one network device in the CVLAN, and if the source MAC address of the network device contained in the message is legal, the switch searches an MAC address table. If the MAC address does not exist in the MAC address table, adding the MAC address into the MAC address table, and setting the CVLAN to be in an activated state to receive multicast data of the CVLAN sent by the RB to the switch; setting the CVLAN to an active state to receive multicast data of the CVLAN transmitted by the RB to the switch if the address already exists in a MAC address table.
After the switch sets the CVLAN to be in an active state, the switch sends active state indication information to the RB, and the active state indication information indicates that the CVLAN set by the switch is in the active state, so that the RB sends multicast data of the CVLAN to the switch. Wherein, the active state indication information may be included in an optional field of a packet and sent to the RB through the packet.
Specifically, after learning that the CVLAN set on the switch is in an active state, the RB reintroduces the switch into the current TRILL network in the setting, so that after receiving the multicast data of the CVLAN, the RB sends the multicast data of the CVLAN to the switch, and the switch receives the multicast data of the CVLAN sent by the RB and sends the multicast data to the online network device.
In the embodiment of the invention, after the network equipment of the multicast group added in the CVLAN comes online, the switch sets the CVLAN to be in the activated state, so that the RB can send the multicast data of the CVLAN to the switch, the switch further sends the multicast data to the network equipment, and the CVLANs arranged on the switches without the online network equipment are still in the inactivated state, and cannot receive the multicast data sent by the RB, so that the effect of reducing unnecessary repeated multicast data can be achieved by setting the state of the CVLAN.
Further, in order to prevent RB from sending multicast data of the CVLAN to the switch to cause unnecessary multicast data copying in the TRILL network, after the CVLAN has a network device online and sets the CVLAN to an active state, if the switch does not receive a message sent by any network device in the CVLAN set by the switch within a predetermined time period, the switch sets the state of the CVLAN from the active state to an inactive state so that RB does not send multicast data of the CVLAN to the switch.
Specifically, if the switch does not receive the message sent by any network device in the CVLAN within the set aging time, the switch considers that all network devices in the CVLAN have been offline, for example, all network devices leave the network or do not perform network communication. At this time, the switch may set the state of the CVLAN from an active state to an inactive state so that an RB does not transmit multicast data of the CVLAN to the switch.
In the embodiment of the invention, the CVLAN is set to be in the non-activated state by the switch, and when the network equipment which joins in the multicast group is on line in the CVLAN which is set by the switch, the CVLAN is set to be in the activated state by the switch, so that the switch can receive the multicast data sent to the CVLAN by the RB when the network equipment is on line in the CVLAN, and can not receive the multicast data sent to the CVLAN by the RB when the network equipment is not on line in the CVLAN, thereby effectively avoiding unnecessary multicast data copy in the TRILL network and saving the bandwidth.
Corresponding to the method, the invention also provides a method for setting the CVLAN in the TRILL network, which comprises the following steps:
s21, RB determining the state of the CVLAN set by the switch;
in this step, the determining, by the RB, the state of the CVLAN set by the switch may specifically include:
the RB receives inactive state indication information sent by the switch, wherein the inactive state indication information indicates that a CVLAN (constant virtual local area network) set by the switch is in an inactive state;
and the RB determines that the CVLAN set by the switch is in an inactive state according to the received inactive state indication information.
Or,
in this step, the determining, by the RB, the state of the CVLAN set by the switch may specifically include:
the RB receives activated state indication information sent by the switch, wherein the activated state indication information indicates that a CVLAN (constant virtual local area network) set by the switch is in an activated state;
and the RB determines that the CVLAN set by the switch is in an activated state according to the received activated state indication information.
S22, if the RB determines that the CVLAN set by the switch is in an inactive state, the RB does not send multicast data of the CVLAN to the switch;
specifically, after determining that the CVLAN set by the switch is in an inactive state, the RB prunes the switch from the current TRILL network in the setting thereof, so that the switch is no longer included in the current TRILL network, and thus, the RB does not send the multicast data of the CVLAN to the switch.
S23, if the RB determines that the CVLAN set by the switch is in an active state, the RB sends the multicast data of the CVLAN to the switch.
Specifically, after the RB determines that the CVLAN set by the switch is in an active state, the switch is added to the current TRILL network again in the setting of the switch, so that the switch is included in the current TRILL network again, and thus, the RB sends multicast data of the CVLAN to the switch.
In the embodiment of the invention, the CVLAN is set to be in the non-activated state by the switch, and when the network equipment added into the multicast group is on line in the CVLAN set by the switch, the CVLAN is set to be in the activated state by the switch, so that the switch receives the multicast data when the network equipment is on line in the set CVLAN, and does not receive the multicast data when the network equipment is not on line in the set CVLAN, thereby effectively avoiding unnecessary multicast data copy in the TRILL network and saving bandwidth.
In order to better understand the technical solution of the method for setting the CVLAN in the TRILL network provided by the embodiment of the present invention, further detailed description is given below through specific embodiments.
The method for setting the CVLAN in the TRILL network provided by the embodiment of the present invention can be applied to various different scenarios, and the following description is given by taking a dynamic migration scenario of a virtual machine in a data center as an example in conjunction with fig. 3, fig. 4A, fig. 4B, and fig. 4C. It should be understood that the technical solution of the present invention can also be applied to other scenarios known to those skilled in the art.
As shown in fig. 3, 4A, 4B, and 4C, the method for setting a CVLAN in a TRILL network provided in this embodiment includes:
s31, before the dynamic migration of the virtual machine in the data center, the box switches 1 to 4 set the CVLAN100 to the inactive state, so that RB1 and RB2 do not send the multicast data of the CVLAN100 to the box switches 1 to 4.
As shown in fig. 4A, the box switches 1 to 4 set the initial state of the CVLAN100 to the inactive state, so that RB1 and RB2 do not transmit the multicast data of the CVLAN100 to the box switches 1 to 4.
S32, the box switch 1-4 sends the inactive state indication information to RB1 and RB 2. The inactivated state indication information indicates that the respective CVLAN100 set is in an inactivated state, so that RB1 and RB2 do not transmit multicast data of the CVLAN100 to the box switches 1 to 4 according to the inactivated state indication information.
S33, RB1 and RB2 receive the indication information of the inactive state sent by the box switches 1 to 4, and accordingly determine that the CVLAN100 set by the box switches 1 to 4 is in the inactive state, and do not send the multicast data of the CVLAN100 to the box switches 1 to 4.
S34, when the CVLAN100 set by the box switch 3 has the virtual machine of at least one network device online, the box switch 3 sets the CVLAN100 to the active state.
Specifically, the box switch 3 can determine that a network device in the CVLAN100 is on-line by: the box type switch 3 receives a message sent by any network device in the CVLAN100, wherein the message contains the MAC address of any network device; when the received message contains the MAC address of the network device, the box switch 3 determines that the network device is on-line in the CVLAN100 set by the box switch 3.
Referring to fig. 4B, a virtual machine is provided on the server 1 (network device), and when the virtual machine on the server 1 (network device) comes online from the box switch 3, the box switch 3 sets the CVLAN100 in an active state, while the box switch 1, the box switch 2, and the box switch 4 do not come online from the server (network device), they still set the CVLAN100 in an inactive state.
S35, the box switch 3 transmits the activation state indication information to RB1 and RB2 after setting the CVLAN100 to the activation state. The active state indication information indicates that the CVLAN100 set by the box switch 3 is in an active state, so that the RB1 and RB2 transmit the multicast data of the CVLAN100 to the box switch 3 according to the CVLAN100 being in the active state.
S36, RB1, and RB2 know that the box switch 3 sets the CVLAN100 to the active state, and then send the multicast data of the CVLAN100 to the box switch 3.
At this time, since the CVLAN100 set by the box switch 1, the box switch 2, and the box switch 4 is in an inactive state, the RB1 and the RB2 do not transmit the multicast data of the CVLAN100 to them.
S37, the box switch 3 receives the multicast data of the CVLAN100 transmitted by RB1 and RB2, and transmits the multicast data of the CVLAN100 to the network device on line.
S38, when the virtual machine on the network device is dynamically migrated from the box switch 3 to be on-line from the box switch 1, the box switch 1 sets the CVLAN100 to the active state, and the box switch 3 sets the CVLAN100 to the inactive state.
As shown in fig. 4C, when the virtual machine of the server 1 (network device) is offline from the box switch 3 and is online from the box switch 1, the box switch 1 sets the CVLAN100 from the inactive state to the active state, and the box switch 3 sets the CVLAN100 from the active state to the inactive state.
In this way, only the box switch 1 can receive the multicast data of the CVLAN100, and the other box switches including the box switch 3 do not receive the multicast data of the CVLAN100, so that unnecessary duplicate multicast data in the TRILL network can be eliminated, and the bandwidth can be saved.
Specifically, the box switch 1 may sense that the network device is online through the MAC address in the message, and accordingly switch the CVLAN100 from the inactive state to the active state to receive the multicast data of the CVLAN 100; and if the box switch 1 does not receive the message of the network device in the CVLAN100 within the predetermined time period, the CVLAN100 may be switched from the active state to the inactive state again according to the aging mechanism described above so as not to receive the multicast data of the CVLAN 100.
In the method for setting the CVLAN in the TRILL network provided by this embodiment, when the CVLAN of the switch is in the inactive state, the RB does not send the multicast data of the CVLAN to the switch, and when a network device is online in the CVLAN of the switch, the switch sets the CVLAN to the active state, and the RB sends the multicast data of the CVLAN to the switch.
Corresponding to the method for setting the CVLAN in the TRILL network, the embodiment of the present invention further provides a device for setting the CVLAN in the TRILL network, where the device is implemented by a switch, and the switch includes a switch chip, a line card, and a backplane. As shown in fig. 5A, the apparatus for setting a CVLAN in the TRILL network includes:
a setting unit 51, configured to set a CVLAN to an inactive state, so that an RB does not send multicast data of the CVLAN to the apparatus; a determining unit 52, configured to determine whether a network device is online in the CVLAN set by the apparatus;
the setting unit 51 is further configured to set the CVLAN to an active state if the apparatus determines that there is a network device online in the CVLAN set by the apparatus, so that the RB sends multicast data of the CVLAN to the apparatus.
In the embodiment of the invention, the CVLAN is set to be in the non-activated state by the switch, and when the network equipment which joins in the multicast group is on line in the CVLAN which is set by the switch, the CVLAN is set to be in the activated state by the switch, and the CVLANs of other switches are still in the non-activated state, so that the switch receives multicast data when the network equipment is on line in the set CVLAN, and cannot receive the multicast data when the network equipment is not on line in the set CVLAN, therefore, unnecessary multicast data copying in the TRILL network can be effectively avoided, and the bandwidth is saved.
Further, as shown in fig. 5B, the apparatus further includes a determining unit 52, which is specifically configured to:
receiving a message sent by network equipment in the CVLAN, wherein the message contains an MAC address of the network equipment;
and when the received message contains the MAC address of the network equipment, determining that the network equipment is on line in the CVLAN.
Optionally, in an embodiment of the present invention, as shown in fig. 5C, the apparatus further includes:
a sending unit 53, configured to send, after the setting unit 51 sets the CVLAN to be in an inactive state, inactive state indication information to the RB, where the inactive state indication information indicates that the CVLAN set by the setting unit 51 is in an inactive state, so that the RB does not send multicast data of the CVLAN to the device according to the inactive state of the CVLAN.
Further optionally, the sending unit 53 is further configured to send, after the setting unit 51 sets the CVLAN to be in the active state, active state indication information to the RB, where the active state indication information indicates that the CVLAN is in the active state, so that the RB sends, to the device, the multicast data of the CVLAN according to the active state of the CVLAN.
Correspondingly, the embodiment of the invention also provides a device for setting the CVLAN in the TRILL network, wherein the device is realized by an RB, and the RB comprises a switching chip, a line card and a backboard. As shown in fig. 6, the apparatus for setting a CVLAN in the TRILL network includes:
a determination unit 61 for determining a state of the CVLAN set by the switch;
a sending unit 62, configured to not send multicast data of the CVLAN to the switch if the determining unit determines that the CVLAN set by the switch is in an inactive state;
the sending unit 62 is further configured to send multicast data of the CVLAN to the switch if the determining unit 61 determines that the CVLAN set by the switch is in the active state.
In the embodiment of the invention, when the CVLAN set by the switch is in an inactive state, the RB does not send the multicast data of the CVLAN to the switch, and when the CVLAN set by the switch is in an active state, the RB sends the multicast data of the CVLAN to the switch, so that the switch receives the multicast data when network equipment is on line in the set CVLAN, and does not receive the multicast data when no network equipment is on line in the set CVLAN, thereby effectively avoiding unnecessary multicast data copy in a TRILL network and saving bandwidth.
Optionally, the determining unit 61 is specifically configured to:
receiving inactive state indication information sent by the switch, wherein the inactive state indication information indicates that a CVLAN (constant virtual local area network) set by the switch is in an inactive state;
and determining that the CVLAN set by the switch is in an inactive state according to the received inactive state indication information.
Further, the determining unit 61 is specifically configured to:
receiving activated state indicating information sent by the switch, wherein the activated state indicating information indicates that a CVLAN (composite virtual local area network) of the switch is in an activated state;
and determining that the CVLAN set by the switch is in an activated state according to the received activated state indication information.
It should be noted that, in the above embodiments of the apparatuses, the included units are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program code, such as read-only memory, random access memory, magnetic or optical disks, etc.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (13)
1. A method for setting a user side virtual local area network in a multilink transparent Internet is characterized by comprising the following steps:
the switch sets a user side virtual local area network to be in an inactive state, so that the routing bridge does not send multicast data of the user side virtual local area network to the switch;
if the switch determines that network equipment is on line in the user side virtual local area network set by the switch, the switch sets the user side virtual local area network to be in an active state so that the routing bridge sends multicast data of the user side virtual local area network to the switch,
the switch determines that network equipment is on line in the user side virtual local area network set by the switch in the following mode:
the switch receives a message sent by network equipment in a user side virtual local area network, wherein the message comprises a media access control address of the network equipment;
and when the received message contains the medium access control address of the network equipment, the switch determines that the network equipment is on line in the user side virtual local area network set by the switch.
2. The method according to claim 1, wherein after the switch sets the switch-set user-side virtual local area network to be in an inactive state, the method further comprises:
the switch sends inactive state indication information to the routing bridge, and the inactive state indication information indicates that the user side virtual local area network set by the switch is in an inactive state, so that the routing bridge does not send multicast data of the user side virtual local area network to the switch.
3. The method according to claim 1 or 2, wherein after the switch sets the user-side virtual local area network to the active state, the method further comprises:
the switch sends activation state indicating information to the routing bridge, and the activation state indicating information indicates that the user side virtual local area network set by the switch is in an activation state, so that the routing bridge sends multicast data of the user side virtual local area network to the switch.
4. The method according to claim 3, wherein if the switch does not receive the message sent by any network device in the CVLAN set by the switch within a predetermined time period, the switch sets the state of the CVLAN from an active state to an inactive state so that an RB does not send multicast data of the CVLAN to the switch.
5. A method for setting a user side virtual local area network in a multilink transparent Internet is characterized by comprising the following steps:
the routing bridge determines the state of a user side virtual local area network set by the switch;
if the routing bridge determines that the user side virtual local area network set by the switch is in an inactive state, the routing bridge does not send multicast data of the user side virtual local area network to the switch;
and if the routing bridge determines that the user side virtual local area network set by the switch is in an activated state, the routing bridge sends multicast data of the user side virtual local area network to the switch.
6. The method of claim 5,
the routing bridge determining the state of the user side virtual local area network set by the switch comprises the following steps:
the routing bridge receives inactive state indication information sent by the switch, wherein the inactive state indication information indicates that a user side virtual local area network set by the switch is in an inactive state;
and the routing network bridge determines that the user side virtual local area network set by the switch is in an inactive state according to the received inactive state indication information.
7. The method of claim 5,
the routing bridge determining the state of the user side virtual local area network set by the switch comprises the following steps:
the routing bridge receives activated state indication information sent by the switch, wherein the activated state indication information indicates that a user side virtual local area network set by the switch is in an activated state;
and the routing network bridge determines that the user side virtual local area network set by the switch is in an activated state according to the received activated state indication information.
8. An apparatus for provisioning a CVLAN in a TRILL network, the apparatus comprising:
a setting unit, configured to set a user-side virtual local area network to be in an inactive state, so that the routing bridge does not send multicast data of the user-side virtual local area network to the device;
the setting unit is further configured to set the user-side virtual local area network set by the apparatus to an active state if the apparatus determines that network equipment is online in the user-side virtual local area network set by the apparatus, so that the routing bridge sends multicast data of the user-side virtual local area network to the apparatus;
a determination unit, specifically configured to:
receiving a message sent by a network device in a user-side virtual local area network, wherein the message is set by the setting unit and contains a media access control address of the network device;
and determining that network equipment is on-line in the user-side virtual local area network set by the setting unit according to the medium access control address contained in the received message.
9. The apparatus of claim 8, further comprising:
a sending unit, configured to send, after the setting unit sets the user-side virtual local area network to be in an inactive state, inactive-state indication information to the routing bridge, where the inactive-state indication information indicates that the user-side virtual local area network set by the apparatus is in an inactive state, so that the routing bridge does not send multicast data of the user-side virtual local area network to the apparatus.
10. The apparatus according to claim 8 or 9, wherein the sending unit is further configured to send, after the setting unit sets the user-side virtual local area network to be in the active state, active state indication information to the routing bridge, where the active state indication information indicates that the user-side virtual local area network set by the apparatus is in the active state, so that the routing bridge sends multicast data of the user-side virtual local area network to the apparatus.
11. An apparatus for provisioning a CVLAN in a TRILL network, the apparatus comprising:
the determining unit is used for determining the state of the user side virtual local area network set by the switch;
a sending unit, configured to not send multicast data of the user-side virtual local area network to the switch if the determining unit determines that the user-side virtual local area network set by the switch is in an inactive state;
and the sending unit is further configured to send multicast data of the user-side virtual local area network to the switch if the determining unit determines that the user-side virtual local area network set by the switch is in an active state.
12. The apparatus of claim 11,
the determining unit is specifically configured to:
receiving inactive state indicating information sent by the switch, wherein the inactive state indicating information indicates that a user side virtual local area network set by the switch is in an inactive state;
and determining that the user side virtual local area network set by the switch is in an inactive state according to the received inactive state indication information.
13. The apparatus of claim 11 or 12,
the determining unit is specifically configured to:
receiving activated state indicating information sent by the switch, wherein the activated state indicating information indicates that a user side virtual local area network set by the switch is in an activated state;
and determining that the user side virtual local area network set by the switch is in an activated state according to the received activated state indication information.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210008654.XA CN102571586B (en) | 2012-01-11 | 2012-01-11 | Method and device for setting customer virtual local area network (CVLAN) in transparent interconnect of lots of links (TRILL) network |
PCT/CN2013/070097 WO2013104279A1 (en) | 2012-01-11 | 2013-01-06 | Method and device for setting cvlan in trill network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210008654.XA CN102571586B (en) | 2012-01-11 | 2012-01-11 | Method and device for setting customer virtual local area network (CVLAN) in transparent interconnect of lots of links (TRILL) network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102571586A CN102571586A (en) | 2012-07-11 |
CN102571586B true CN102571586B (en) | 2014-12-03 |
Family
ID=46416087
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210008654.XA Active CN102571586B (en) | 2012-01-11 | 2012-01-11 | Method and device for setting customer virtual local area network (CVLAN) in transparent interconnect of lots of links (TRILL) network |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102571586B (en) |
WO (1) | WO2013104279A1 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102571586B (en) * | 2012-01-11 | 2014-12-03 | 华为技术有限公司 | Method and device for setting customer virtual local area network (CVLAN) in transparent interconnect of lots of links (TRILL) network |
CN102946357B (en) * | 2012-11-28 | 2015-07-08 | 杭州华三通信技术有限公司 | Method and device for issuing multicast forwarding table items |
CN104660519B (en) * | 2013-11-25 | 2018-10-30 | 华为技术有限公司 | The processing method and processing device of forward-path in a kind of TRILL network |
CN104539545B (en) * | 2014-12-31 | 2018-01-12 | 新华三技术有限公司 | Method for forwarding multicast message and equipment in TRILL network |
CN107885573B (en) * | 2016-09-29 | 2021-09-14 | 华为技术有限公司 | Data flow control method, controller and data center system |
WO2019048278A1 (en) * | 2017-09-06 | 2019-03-14 | Signify Holding B.V. | Commissioning in multi-hop networks by using a single-hop connection |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101841454A (en) * | 2009-03-17 | 2010-09-22 | 中国电信股份有限公司 | Bandwidth adjustment method and broadband access server |
CN101119275B (en) * | 2007-09-19 | 2010-10-06 | 杭州华三通信技术有限公司 | Method, equipment and system for service provider equipment to obtain information |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102571586B (en) * | 2012-01-11 | 2014-12-03 | 华为技术有限公司 | Method and device for setting customer virtual local area network (CVLAN) in transparent interconnect of lots of links (TRILL) network |
-
2012
- 2012-01-11 CN CN201210008654.XA patent/CN102571586B/en active Active
-
2013
- 2013-01-06 WO PCT/CN2013/070097 patent/WO2013104279A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101119275B (en) * | 2007-09-19 | 2010-10-06 | 杭州华三通信技术有限公司 | Method, equipment and system for service provider equipment to obtain information |
CN101841454A (en) * | 2009-03-17 | 2010-09-22 | 中国电信股份有限公司 | Bandwidth adjustment method and broadband access server |
Also Published As
Publication number | Publication date |
---|---|
WO2013104279A1 (en) | 2013-07-18 |
CN102571586A (en) | 2012-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102571586B (en) | Method and device for setting customer virtual local area network (CVLAN) in transparent interconnect of lots of links (TRILL) network | |
CN101316236B (en) | Vrrp backup group load sharing method and router | |
CN102439903B (en) | Method, device and system for realizing disaster-tolerant backup | |
CN108306777B (en) | SDN controller-based virtual gateway active/standby switching method and device | |
US20120131216A1 (en) | Active-Active Multi-Homing Support for Overlay Transport Protocol | |
CN105577723B (en) | Virtualize the method and apparatus that load balancing is realized in network | |
CN111262665B (en) | Data communication method, device, controller and system | |
US10367680B2 (en) | Network relay apparatus, gateway redundancy system, program, and redundancy method | |
WO2021000848A1 (en) | Packet forwarding method and packet processing method and apparatus | |
CN109587010B (en) | Connectivity detection method and stream forwarding equipment | |
CN106533973A (en) | Method and system for distributing service message, and equipment | |
CN101562576B (en) | Route distribution method and equipment thereof | |
CN110661643B (en) | Method, network device and medium for network management | |
US20130279513A1 (en) | Systems and methods for pseudo-link creation | |
CN115277305A (en) | Network management method, device, equipment and machine readable storage medium | |
Amamou et al. | A trill-based multi-tenant data center network | |
US20150334019A1 (en) | Routing control method and non-transitory computer-readable recording medium storing routing control program | |
JPWO2014132954A1 (en) | COMMUNICATION SYSTEM, CONTROL DEVICE, COMMUNICATION METHOD, AND PROGRAM | |
CN106713131A (en) | Multi-BGP routing instance parallel execution device | |
US9548887B2 (en) | Proactive creation of multicast state in an overlay transport network to achieve fast convergence on failover | |
CN106921553B (en) | Method and system for realizing high availability in virtual network | |
JP2017038218A (en) | Communication system and setting method | |
US12034566B2 (en) | Method and system to selectively flush filtering databases in a major ring of an ethernet ring protection switching network | |
US20220294728A1 (en) | Packet Transmission Path Switching Method, Device, and System | |
CN104185971B (en) | Announce at least one message for entering relatively low power rating |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |