WO2014026584A1 - Interconnection method, system and equipment of trill network - Google Patents

Interconnection method, system and equipment of trill network Download PDF

Info

Publication number
WO2014026584A1
WO2014026584A1 PCT/CN2013/081331 CN2013081331W WO2014026584A1 WO 2014026584 A1 WO2014026584 A1 WO 2014026584A1 CN 2013081331 W CN2013081331 W CN 2013081331W WO 2014026584 A1 WO2014026584 A1 WO 2014026584A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
alias
trill network
interconnected
virtual node
Prior art date
Application number
PCT/CN2013/081331
Other languages
French (fr)
Chinese (zh)
Inventor
郝卫国
张民贵
马亮亮
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2014026584A1 publication Critical patent/WO2014026584A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/66Layer 2 routing, e.g. in Ethernet based MAN's

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a TRILL (Transparent Interconnection of Lots of Links) network interconnection method, system, and device. Background technique
  • TRILL is a routing protocol based on link state calculation on a Layer 2 network. It is implemented by the IS-IS (Intermediate System to Intermediate) protocol.
  • the device running the TRILL protocol is called RB ( Route Bridge, routing bridge device), a network composed of multiple RBs is called a TRILL network.
  • the TRILL network learns the network topology and the distribution tree information through the TRILL protocol.
  • the RB can use its own as the source node to generate a unicast forwarding table in the TRILL network to other RBs through the shortest path tree algorithm, or the RB can also
  • the root of each distribution tree in the network is the source node.
  • the shortest path tree algorithm is used to generate the distribution tree forwarding table in the TRILL network to other RBs.
  • Multiple distribution trees can be generated in a TRILL network. Each distribution tree is unique. Tree root, each root can be identified by its Nickname.
  • each DC (Data Center) Site (site) is internally networked through a standard TRILL protocol to form a TRILL network, and multiple TRILL networks can pass IP (Internet Protocol, network).
  • IP Internet Protocol
  • the backbone network of the network or the PLS (Multi-Protocol Label Switching) network is interconnected to form a large TRILL network.
  • the interconnection device of the DC Site is called a BRB (Border RB).
  • BRB Border RB
  • each BRB device is equivalent to a CE (Customer Edge) device of the MPLS L2VPN.
  • Each BRB device will be used.
  • the public network egress of the PE (Provider Edge, Carrier Boundary) device connected to the L2VPN is regarded as the port interconnected between the RBs.
  • the BRB between the TRILL networks can traverse the L2VPN network for TRILL neighbor negotiation and form a DC through multiple interconnected DC sites.
  • the TRILL network participates in unified route calculation. Therefore, when the network topology in a TRILL network changes, other TRILL networks are triggered to recalculate routes.
  • the embodiment of the present invention provides a TRILL network interconnection method, system, and device, which are required to solve the problem of re-uniform routing calculation when a network topology changes in an existing internet.
  • the first interconnecting device in the first TRILL network receives device information of each device in the second TRILL network sent by the second interconnecting device in the second TRILL network;
  • the first interconnecting device generates a virtual node of each device in the second TRILL network according to the device information of each device in the second TRILL network, where the first interconnecting device has a neighbor relationship with each virtual node. ;
  • the first interconnecting device generates a plurality of link state protocol LSPs according to the neighbor relationship, where the multiple LSPs carry the neighbor relationship;
  • the first interconnect device floods the multiple LSP messages in the first TRILL network.
  • the multiple LSPs that are generated according to the neighbor relationship include:
  • the first virtual node LSP message is generated for each virtual node, and each first virtual node LSP message includes device information of the virtual node corresponding to the first virtual node LSP message, each first virtual The node LSP message further includes first neighbor information indicating that the virtual node corresponding to the first virtual node LSP message itself and the first interconnect device have a neighbor relationship;
  • the first interconnected device LSP packet generated by the first interconnected device itself, the first interconnected device LSP packet includes device information of the first interconnected device, and further includes The second neighbor information of the neighbor relationship between the device and each virtual node.
  • the first The first interconnecting device in the TRILL network receives the device information of each device in the second TRILL network sent by the second interconnecting device in the second TRILL network, including:
  • the first interconnecting device receives the device information of each device in the second TRILL network sent by the second interconnecting device through the extended border gateway protocol BGP packet;
  • the first interconnect device receives the device information of each device in the second TRILL network sent by the second interconnect device through the extended label distribution protocol LDP packet.
  • each of the devices in the second TRILL network includes: a device ID of each device in the second TRILL network, a device alias, a priority of the device alias, and a root priority of the device alias, where the device information of the virtual node includes: a device of the device corresponding to the virtual node The ID of the device, the device alias of the device corresponding to the virtual node, the priority of the device alias of the device corresponding to the virtual node, and the root priority of the device alias of the device corresponding to the virtual node, and the device information of the first interconnected device includes: The device ID of a connected device, the device alias, the priority of the device alias, and the root priority of the device alias.
  • the method further includes:
  • the first interconnect device detects that the device alias of the first device in the first TRILL network is consistent with the device alias of the second device in the second TRILL network, comparing the priority and location of the device alias of the first device a device alias of the second device, where the device alias of the first device is a first device alias, and the device alias of the second device is a second device alias;
  • the first mutual The associated device does not generate a virtual node for the second device until the alias of the second device is changed.
  • the first interconnect device receives an LSP report including the third device alias from the first TRILL network.
  • the device ID carried in the LSP packet containing the third device alias is the device ID of the first device, and the third device alias is a new alias of the first device;
  • the first interconnect device notifies the second interconnecting device to delete the first device alias, the priority of the first device alias, and the foregoing by using the extended border gateway protocol BGP message or the extended label distribution protocol LDP message
  • the root priority of the first device alias, and the third device alias, the priority of the third device alias, and the root priority of the third device alias are added.
  • the first interconnecting device receives information of all access VLANs in the second TRILL network sent by the second interconnecting device, information of all Layer 2 multicast groups in all access VLANs, and/or all connections Information about all Layer 3 multicast groups entering the VLAN;
  • the first interconnect device uses all of the access VLAN information, all of the access layer VLANs, and/or all of the access VLANs of all Layer 3 multicast groups.
  • the information of the group is flooded into the first TRILL network;
  • the first interconnect device according to the information of all access VLANs, information of all Layer 2 multicast groups in all access VLANs, and/or all Layer 3 multicast in all access VLANs
  • the information of the group is used to establish a local distribution tree prune entry, and the outbound interface in the local distribution tree prune entry includes a public network outgoing interface that leads to the second interconnected device in the first interconnected device;
  • the public network egress interface is used to connect to the second interconnect.
  • the device sends the multicast traffic.
  • each of the interconnected devices in the first TRILL network receives device information of each device in the second TRILL network sent by the interconnecting device in the second TRILL network;
  • each of the interconnected devices in the first TRILL network respectively generates virtual nodes of each device in the second TRILL network according to device information of each device in the second TRILL network, and each interconnected device and each virtual node Have a neighbor relationship;
  • Each of the interconnected devices in the first TRILL network generates a plurality of link state protocol LSPs according to the neighbor relationship, where the plurality of link state protocol LSP messages carry the neighbor relationship;
  • Each of the interconnected devices in the first TRILL network floods the plurality of LSP messages in the first TRILL network.
  • the device information of each device in the second TRILL network includes a device ID, a device alias, a priority of the device alias, and a root priority of the device alias of each device in the second TRILL network;
  • Each of the interconnected devices in the first TRILL network generates multiple LSPs according to the neighbor relationship:
  • Each of the interconnected devices of the first TRILL network generates a virtual node LSP packet for each virtual node, and each virtual node LSP packet includes a device identifier ID and a device alias of the virtual node corresponding to the virtual node LSP packet.
  • Each interconnected device of the first TRILL network generates an LSP packet of the interconnected device, and each interconnected device LSP packet includes a device ID, a device alias, and a device alias priority of the interconnected device that generates the LSP message of the interconnect device.
  • the root priority of the device alias, and the second neighbor information that is used to indicate that the interconnect device that generates the LSP of the interconnect device and the neighbor relationship between each virtual node.
  • the first neighbor information includes a device ID of each interconnected device, and further includes an overhead cost value of a logical link between the virtual node corresponding to the first neighbor information and each interconnected device, where the first Neighbor information The cost cost of the logical link between the corresponding virtual node and each interconnected device is equal;
  • the second neighbor information includes a device ID of each virtual node, and further includes an overhead cost value of a logical link between the interconnected device and each virtual node corresponding to the second neighbor information, where the second The cost of the logical link between the interconnected device and the virtual node corresponding to the neighbor information is equal.
  • Each interconnected device in the first TRILL network advertises information indicating that it is an interconnected device to other interconnected devices in the first TRILL network through the LSP message, so that each interconnected device in the first TRILL network obtains the Information about all connected devices in the first TRILL network.
  • the first interconnect device in the first TRILL network detects that the device alias of the first device in the first TRILL network is consistent with the device alias of the second device in the second TRILL network, The priority of the device alias of the device and the device alias of the second device, wherein the device alias of the first device is a first device alias, and the device alias of the second device is a second device alias;
  • the first interconnect device does not generate a virtual for the second device before the alias of the second device is changed. node.
  • the method further includes:
  • the first interconnect device receives an LSP report including the third device alias from the first TRILL network.
  • the device ID carried in the LSP packet containing the third device alias is the device ID of the first device, and the third device alias is a new alias of the first device;
  • the first interconnect device notifies the interconnected device in the second TRILL network to delete the first device alias and the first device alias by using an extended border gateway protocol BGP packet or an extended label distribution protocol LDP packet Priority, and join the third device alias and the priority of the third device alias.
  • each of the first devices of the first TRILL network receives the first
  • the device information of each device in the second TRILL network sent by the interconnecting device of the TRILL network includes:
  • each of the interconnected devices of the first TRILL network receives device information of each device in the second TRILL network that is sent by the interconnecting device in the second TRILL network through the extended border gateway protocol BGP packet;
  • Each of the interconnected devices of the first TRILL network receives device information of each device in the second TRILL network that is sent by the interconnecting device in the second TRILL network through the extended label distribution protocol LDP packet.
  • the method further comprising: [58] The first interconnecting device in the TRILL network receives all the access VLAN information in the second TRILL network sent by the interconnecting device of the second TRILL network, and the information of all the Layer 2 multicast groups in all the access VLANs and/or Or all access to the information of all Layer 3 multicast groups in the VLAN;
  • the first interconnect device determines information of a VLAN configured in the first interconnected device, information of a layer 2 multicast group in the VLAN, and/or information of a layer 3 multicast group in the VLAN and all in the second TRILL network
  • the first interconnect device floods the intersection in the first TRILL network
  • the first interconnecting device establishes a local distribution tree prune entry according to the intersection, and the outbound interface in the local distribution tree prune entry includes a public network outgoing interface that leads to the second TRILL network in the first interconnected device. [62] when the first interconnect device determines that the multicast traffic received from the first TRILL network through the distribution tree matches the local distribution tree prune entry, the public network outbound interface is forwarded to the second The TRILL network sends the multicast traffic.
  • the method further comprising: [64] The interconnecting device floods the information of the VLAN configured in the first interconnected device, the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN in the first TRILL network;
  • the first interconnected device is based on the information of the VLAN configured in the first interconnected device, and the Layer 2 multicast group in the VLAN.
  • the information and/or the information of the Layer 3 multicast group in the VLAN establishes a local distribution tree.
  • the outbound interface in the local distribution tree pruning table includes the public access to the second TRILL network in the first interconnected device. Network out interface;
  • the VLAN information, the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN do not exist.
  • the VLAN information configured in the first interconnect device passes the first VLAN ID or the first VLAN ID.
  • a fine label Fine-Grained Label is used for identification
  • the VLAN information configured in the second interconnection device is identified by the second VLAN ID or the second fine label Fine-Grained Label.
  • the method Also includes:
  • the second interconnect device When a node fault occurs on the first interconnect device, the second interconnect device generates an LSP first update packet for each virtual node, and each LSP update packet includes a message corresponding to the first update packet of the LSP.
  • each LSP update packet includes a message corresponding to the first update packet of the LSP.
  • the second interconnected device floods the first update packet of the LSP generated for each virtual node.
  • the method also includes:
  • the second interconnection device After receiving the LSP deletion packet, the second interconnection device generates an LSP second update packet for each virtual node, and each LSP second update packet includes a second update report for indicating the LSP with the LSP.
  • the second interconnecting device floods the LSP second update message in the first TRILL network.
  • the method further includes:
  • [77] configuring, in the second interconnected device or the third interconnected device in the first TRILL network, the first interconnected device to forward before the fault used by the node, the public network egress link, or the public network link
  • the information before the fault includes the information of the VLAN, the information of the Layer 2 multicast group in the VLAN, or the information of the Layer 3 multicast group in the VLAN.
  • the second interconnecting device or the third interconnecting device notifies the pre-failure forwarding information to the device in the first TRILL network, so that the device in the first TRILL network performs the distribution tree pruning calculation.
  • an interconnection device is included in a first multi-link transparent interconnection TRILL network, where the interconnection device is a first interconnection device, and the first interconnection device includes:
  • the first receiving unit (701) is configured to receive device information of each device in the second TRILL network sent by the second interconnecting device in the second TRILL network;
  • the second generating unit (703) is configured to generate, according to the neighbor relationship, a plurality of link state protocol LSP messages, where the multiple LSP messages carry the neighbor relationship;
  • the first flooding unit (704) is configured to flood the plurality of LSP messages in the first TRILL network.
  • a first virtual node LSP message is generated for each virtual node, and each first virtual node LSP message includes device information of the virtual node corresponding to the first virtual node LSP message, each first virtual The node LSP message further includes first neighbor information indicating that the virtual node corresponding to the first virtual node LSP message itself and the first interconnect device have a neighbor relationship; [86] The first interconnected device LSP packet generated by the first interconnected device itself, the first interconnected device LSP packet includes device information of the first interconnected device, and further includes The second neighbor information of the neighbor relationship between the device and each virtual node.
  • the first neighbor information includes a device ID of the virtual node corresponding to the first virtual node LSP that carries the first neighbor relationship, and the first virtual node that carries the first neighbor relationship The cost cost of the logical direct link between the virtual node corresponding to the LSP and the first interconnected device;
  • the first possible implementation manner of the third aspect or the third possible implementation manner of the third aspect, the first The receiving unit is specifically used -
  • a comparing unit (705) configured to compare the first device when the first interconnecting device detects that the device alias of the first device in the first TRILL network is consistent with the device alias of the second device in the second TRILL network device of a priority of the alias and a priority of the device alias of the second device, where the device alias of the first device is a first device alias, and the device alias of the second device is a second device alias;
  • the comparing unit triggers the first generating unit to generate a virtual node for the second device
  • the comparing unit causes the first generating unit not to be before the alias of the second device is changed
  • the second device generates a virtual node.
  • the first interconnecting device further includes:
  • the second receiving unit (706) is configured to: when the priority of the first device alias is less than the priority of the second device alias, receive the third device from the first TRILL network
  • the LSP message of the alias, the device ID carried in the LSP packet containing the third device alias is the device ID of the first device, and the third device alias is a new alias of the first device;
  • the notification unit (707) is configured to notify the second interconnection device to delete the first device alias and the first device alias by using the extended border gateway protocol BGP message or the extended label distribution protocol LDP message a level and a root priority of the first device alias, and adding the third device alias, the priority of the third device alias, and the root priority of the third device alias.
  • the third receiving unit (708) is configured to receive information about all access VLANs in the second TRILL network sent by the second interconnecting device, and information about all Layer 2 multicast groups in all access VLANs. And/or all access to the information of all Layer 3 multicast groups in the VLAN;
  • the second flooding unit (709) is configured to: use the information of all the access VLANs, all the information of the Layer 2 multicast group in all access VLANs, and/or all access VLANs.
  • the information of all the three-layer multicast groups is flooded into the first TRILL network;
  • the establishing unit (710) is configured to use, according to the information about all the access VLANs, information of all Layer 2 multicast groups in all access VLANs, and/or all of the access VLANs.
  • the information of the Layer 3 multicast group is used to establish a local distribution tree prune entry.
  • the outbound interface in the local distribution tree prune entry includes the first interconnected device. a public network outbound interface to the second interconnected device;
  • a sending unit (711) configured to: when the first interconnecting device determines that the multicast traffic received from the first TRILL network through the distribution tree matches the local distribution tree pruning entry, The outbound interface sends the multicast traffic to the second interconnected device.
  • a multi-link transparent interconnection (TRILL) system includes a network of a first TRILL network and a second TRILL network, where the first TRILL network includes at least two interconnected devices, in the first TRILL network Each connected device is used to:
  • the device information of each device in the second TRILL network received by each interconnection device in the first TRILL network includes a device ID, a device alias, a priority of the device alias, and a priority of each device in the second TRILL network.
  • Each interconnecting device in the first TRILL network is configured to generate multiple LSP messages according to the neighbor relationship, including:
  • Each of the interconnected devices of the first TRILL network is configured to generate a virtual node LSP packet for each virtual node, and each virtual node LSP packet includes a device identifier ID of the virtual node corresponding to the virtual node LSP packet, The device alias, the priority of the device alias, and the root priority of the device alias, and the first neighbor information indicating that the virtual node corresponding to the LSP of the virtual node has a neighbor relationship with each interconnected device;
  • Each interconnected device of the first TRILL network is configured to generate an LSP message of the interconnected device, and each interconnected device LSP message includes a device ID, a device alias, and a device alias of the interconnected device that generates the LSP message of the interconnect device.
  • a second neighbor information having a neighbor relationship between the connected device and each virtual node.
  • the first neighbor information includes a device ID of each interconnected device, and further includes an overhead cost value of a logical link between the virtual node corresponding to the first neighbor information and each interconnected device, where the first The cost cost of the logical link between the virtual node corresponding to the neighbor information and each interconnected device is equal.
  • the second neighbor information includes a device ID of each virtual node, and further includes an overhead cost value of a logical link between the interconnected device and each virtual node corresponding to the second neighbor information, where the second The cost of the logical link between the interconnected device and the virtual node corresponding to the neighbor information is equal.
  • Each of the interconnected devices in the first TRILL network is further configured to notify, by using the LSP message, information indicating that it is an interconnected device to other interconnected devices in the first TRILL network, so that each of the first TRILL networks is interconnected.
  • the device obtains information about all connected devices in the first TRILL network.
  • the first interconnect device in the first TRILL network detects that the device alias of the first device in the first TRILL network is consistent with the device alias of the second device in the second TRILL network, the first interconnect device a priority of the device alias of the first device and a device alias of the second device, where the device alias of the first device is a first device alias, and the device alias of the second device Is the second device alias;
  • the first interconnect device is configured to generate a virtual node for the second device
  • the first interconnect device is configured to receive, from the first TRILL network, a third device alias
  • the LSP message, the device ID carried in the LSP packet containing the third device alias is the device ID of the first device, and the third device alias is a new alias of the first device;
  • the first interconnecting device is configured to notify the interconnecting device in the second TRILL network to delete the first device alias and the first device by using an extended border gateway protocol BGP packet or an extended label distribution protocol LDP packet.
  • the priority of the device alias, and the priority of the third device alias and the third device alias are added.
  • each of the interconnecting devices of the first TRILL network is configured to receive device information of each device in the second TRILL network that is sent by the interconnecting device in the second TRILL network through the extended border gateway protocol BGP packet;
  • Each of the interconnected devices of the first TRILL network is configured to receive device information of each device in the second TRILL network sent by the interconnected device in the second TRILL network through the extended label distribution protocol LDP packet.
  • the first interconnect device in the first TRILL network is In:
  • [133] determining information of a VLAN configured in the first interconnected device, information of a layer 2 multicast group in the VLAN, and/or information of a layer 3 multicast group in the VLAN, and all access VLANs in the second TRILL network Information, the information of all Layer 2 multicast groups in all access VLANs, and/or the intersection of all Layer 3 multicast group information in all access VLANs;
  • the local distribution tree prune entry is established according to the intersection, and the outbound interface in the local distribution tree prune entry includes a public network outgoing interface that leads to the second TRILL network in the first interconnection device;
  • the first interconnecting device is configured to:
  • [138] flooding the information of the VLAN configured in the first interconnected device, the information of the layer 2 multicast group in the VLAN, and/or the information of the layer 3 multicast group in the VLAN in the first TRILL network;
  • the outbound interface in the tree pruning entry includes the public network outbound interface of the first interconnected device to the second TRILL network.
  • the public network outgoing interface sends the the TRILL network to the second TRILL network. Multicast traffic.
  • the VLAN information, the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN do not exist.
  • the VLAN information configured in the first interconnect device passes the first VLAN ID or the first VLAN ID.
  • a fine label Fine-Grained Label is used for identification
  • the VLAN information configured in the second interconnection device is identified by the second VLAN ID or the second fine label Fine-Grained Label.
  • the LSP first update packet is generated for each virtual node, and each LSP update packet includes a virtual node corresponding to the first update packet of the LSP.
  • Each of the first TRILL networks except the first interconnected device has information of a neighbor relationship;
  • the first interconnecting device is configured to: when the first interconnected device has a communication connection relationship with the second TRILL network When the public network egress or the public network link between the first interconnected device and the second TRILL network fails, the first TRILL network is flooded to represent the logic between the first interconnected device and each virtual node. The LSP deleted from the directly connected link is deleted.
  • the second interconnected device is used to:
  • the LSP second update packet is generated for each virtual node, and each LSP second update packet includes a second update packet corresponding to the LSP.
  • the virtual node has information of a neighbor relationship with each of the interconnected devices except the first interconnect device in the first TRILL network;
  • the second interconnected device or the third interconnected device in the first TRILL network is configured to forward the first interconnected device before the failure of the node, the failure of the public network egress link, or the failure of the public network link.
  • the information before the fault includes the information of the VLAN, the information of the Layer 2 multicast group in the VLAN, or the information of the Layer 3 multicast group in the VLAN.
  • the second interconnecting device or the third interconnecting device is configured to: notify the pre-failure forwarding information to the device in the first TRILL network, so that the device in the first TRILL network performs the distribution tree pruning calculation.
  • the first TRILL network may establish a virtual node for each device in the second TRILL network connected to the first TRILL network
  • the establishment of the virtual node is equivalent to the second TRILL network.
  • Each device is connected to the interconnecting device of the first TRILL network. Therefore, when the topology of the second TRILL network changes, since the virtual node does not change, the first TRILL network does not perceive the change, nor does it Triggering the recalculation of the route, thus improving the convergence time of the TRILL network interconnection and enhancing the scalability of the networking.
  • FIG. 1 is a flowchart of a TRILL network interconnection method according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a second TRILL network according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an embodiment of the present invention. Schematic diagram of a network architecture
  • FIG. 4A is a schematic diagram of a network topology of a TRILL network 1 after a virtual node is generated according to an embodiment of the present invention
  • FIG. 4B is a schematic diagram of an internal architecture of a BRB device in a TRILL network according to an embodiment of the present invention
  • 5A and 5B are flowcharts of a TRILL network interconnection method according to an embodiment of the present invention.
  • 6A is a schematic diagram of a network architecture in an embodiment of the present invention.
  • FIG. 6B is a schematic diagram of a network topology in which a virtual node is generated in the TRILL network 1 in FIG. 6A;
  • FIG. 6C is a schematic diagram of a VLAN configured in a BRB in the TRILL network in FIG. 6A;
  • FIG. 6D is a schematic diagram showing the topological relationship of two tree roots of the TRILL network 1 in the TRILL network 1 in FIG. 6A;
  • FIG. 6E is a schematic diagram of the same packet distribution tree used by BRB1 and BRB2 in FIG. 6D for multicast packet forwarding;
  • FIG. 6F is a schematic diagram of BRB1 and BRB2 using different distribution trees for multicast packet forwarding in FIG. 6D;
  • FIG. 7 is a schematic diagram of an interconnection device according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a system according to an embodiment of the present invention.
  • Figure 9 is a schematic diagram of an interconnected device (90) in accordance with an embodiment of the present invention. Detailed ways
  • FIG. 1 a flowchart of a first embodiment of a TRILL network interconnection method according to the present invention is shown.
  • the device information of each device in the second TRILL network includes: device ID, device alias, priority of the device alias, and root priority of the device alias. Further, the device information may further include at least one of the following information: information of a virtual local area network (VLAN) accessed by the device, information of a layer 2 multicast group in a VLAN accessed by the device, and a VLAN accessed by the device. Layer 3 multicast group information. The at least one information is used for distribution tree pruning calculation by devices in the first TRILL network. The device information can be obtained from the LSP packet received by the second TRILL network by the interconnecting device of the second TRILL network.
  • VLAN virtual local area network
  • the embodiment may further include step 101.
  • the first interconnect device detects that the device alias of the first device in the first TRILL network is consistent with the device alias of the second device in the second TRILL network, comparing the priority and location of the device alias of the first device a priority of the device alias of the second device, where the device alias of the first device is a first device alias, and the device alias of the second device is a second device alias;
  • the first interconnect device is not the second device virtual node until the alias of the second device is changed.
  • the first interconnect device receives the LSP report including the third device alias from the first TRILL network.
  • the device ID carried in the LSP packet containing the third device alias is the device ID of the first device, and the third device alias is a new alias of the first device;
  • the first interconnect device notifies the second interconnect device to delete the first device alias, the priority of the first device alias, and the location by using an extended Border Gateway Protocol (BGP) message or an extended distribution protocol (LDP) message.
  • BGP Border Gateway Protocol
  • LDP extended distribution protocol
  • Step 105 The first interconnecting device generates a virtual node of each device in the second TRILL network according to the device information of each device in the second TRILL network, where the first interconnected device and each virtual node respectively Have a neighbor relationship.
  • the device information of each device in the second TRILL network includes: device ID, device alias, priority of the device alias, and root priority of the device alias.
  • the device information of the generated virtual node includes: a device ID of the device corresponding to the virtual node, a device alias of the device corresponding to the virtual node, a priority of the device alias of the device corresponding to the virtual node, and a device corresponding to the virtual node The root priority of the device alias.
  • the device ID of the device corresponding to the virtual node is the device ID of the virtual node
  • the device alias of the device corresponding to the virtual node is the device alias of the virtual node
  • the device alias of the device corresponding to the virtual node The priority of the device is the priority of the device alias of the virtual node.
  • the root of the device alias of the device corresponding to the virtual node is the root priority of the device alias of the virtual node.
  • the device information of the first interconnected device includes: a device ID of the first interconnected device, a device alias, a priority of the device alias, and a device alias, and a priority.
  • the multiple LSPs generated according to the neighbor relationship include: a first node LSP packet for each virtual node, where each first node LSP packet includes a first virtual node
  • the device information of the virtual node corresponding to the LSP packet, each of the first virtual node LSP messages further includes a neighbor relationship between the virtual node corresponding to the first virtual node LSP message and the first interconnect device.
  • the first neighbor information of the relationship further include: a first interconnected device LSP message generated by the first interconnected device itself, where the first interconnected device LSP message includes the first interconnected device and each of the « The second neighbor information of the neighbor relationship between the nodes.
  • the first neighbor information includes a device ID of the female node corresponding to the first virtual node LSP message carrying the first neighbor relationship, a device alias of the virtual node, a priority of the device alias of the virtual node, and The root priority of the device alias of the virtual node, and the cost of the logical direct link between the virtual node corresponding to the first node LSP message carrying the first neighbor relationship and the first interconnect device value.
  • the second neighbor relationship includes a device ID of each node, a device alias of the virtual node, a priority of the device alias of the node, and a root priority of the device alias of the virtual node, and further includes a relationship between the virtual node and the first interconnect device. The cost value of the established logical link.
  • Step 115 The first interconnect device floods the multiple LSP messages in the first TRILL network.
  • the first interconnected device may flood itself with neighbors of the virtual nodes by flooding the multiple LSP messages The relationship is posted to other devices within the first TRILL network.
  • the embodiment further includes the following content.
  • Step 120 The first interconnecting device receives information of all access VLANs in the second TRILL network sent by the second interconnecting device, information of all Layer 2 multicast groups in all access VLANs, and/or All access to the information of all Layer 3 multicast groups in the VLAN.
  • This embodiment explains all the access VLANs by a specific example.
  • six RBs are included, specifically RB1-RB6, where RB1, RB2, and RB3 are ingress RBs, and RBI has access VLAN 1 - access VLAN 100, and RB2 exists.
  • all access VLANs in the second TRILL are all access VLANs on RB1, RB2, and RB3, that is, access VLAN 1 - access VLAN 200, a total of 200 access VLANs, all access VLANs
  • the information is the information of the 200 VLANs that access VLAN 1 and access VLAN 200, and can include common VLAN information such as VLAN ID.
  • the access VLAN refers to a VLAN in the second TRILL network.
  • Step 125 The first interconnecting device will use the information of all the access VLANs, all the information of the Layer 2 multicast group in all access VLANs, and/or all three of the access VLANs.
  • the information of the layer multicast group is flooded into the first TRILL network, so that other routing bridges (RBs) in the first TRILL network perform distribution tree pruning calculation.
  • Step 130 The first interconnecting device according to the information of all the access VLANs, all the information of the Layer 2 multicast group in all access VLANs, and/or all three of the access VLANs
  • the information of the layer multicast group is used to establish a local distribution tree prune entry, and the outbound interface in the local distribution tree prune entry includes the public network outgoing interface of the first interconnected device to the second interconnected device.
  • Step 135 When the first interconnection device determines that the multicast traffic received from the first TRILL network through the distribution tree matches the local distribution tree prune entry, the public network outbound interface is used to The second interconnect device sends the multicast traffic.
  • FIG. 1 The foregoing embodiment shown in FIG. 1 is described in detail below in conjunction with a TRILL network interconnection architecture.
  • the following detailed description is only one or more optional, more specific embodiments of the embodiment shown in Figures 1 and 2, and is not the only specific embodiment of the embodiment shown in Figure 1.
  • FIG. 3 is a schematic diagram of a network architecture for TRILL network interconnection between two DC sites, where each TRILL network has an interconnected device.
  • TRILL network 1 is set up in DC Site1.
  • the devices included in TRILL network 1 are RBI to RBn, RB is the routing bridge, Rootl is used as the root of the distribution tree, and BRB1 is the interconnected device. BRB indicates the boundary route.
  • TRILL network 2 is formed in the corresponding DC Site2.
  • the devices included in the TRILL network 2 are RBn+1 to RBm, Root2 as the distribution tree root and BRB2 as the interconnection device.
  • the above-mentioned Root and BRB are also RB devices in the TRILL network, but because of their different roles in the network, they have different names. That is, RBs, Roots, and BRBs in the TRILL network can be uniformly regarded as nodes in the TRILL network. .
  • the foregoing BRB1 and BRB2 are respectively connected devices of the respective TRILL networks, and the BGP Peer (contiguous) can be established between the TRILL network 1 and the TRILL network 2 through the IP/MPLS (Internet Protocol/Multiprotocol Label Switching) network by the BRB1 and the BRB2. relationship.
  • IP/MPLS Internet Protocol/Multiprotocol Label Switching
  • the IP address is configured on the two interfaces.
  • the two IP addresses are reachable on the public network.
  • the two IP addresses are used to establish a TCP connection.
  • the BGP peer relationship is established based on the TCP connection.
  • BGP connection the interaction information of two TRILL networks can be transmitted between two BRBs. It should be noted that, in addition to the BGP peer relationship between the TRILL network 1 and the TRILL network 2, the BGP peer relationship can be established by using the extended BGP, and the adjacency relationship can be established by using the extended LDP.
  • the interconnected device BRB1 of the TRILL1 network 1 sets the device ID and the device Nickname of all devices in the DC Site1.
  • the priority of the device alias, and the root priority of the device alias are sent to the BRB2 of TRILL network 2 through the extended BGP, that is, BRB1 will RB1, RB2 to RBn, Rootl, and BRBl device aliases in DC Site1,
  • the device ID of the device, the root of the device, and the system ID of the device are sent to the peer device that establishes the BGP peer relationship, that is, the BRB2 in TRILL network 2.
  • the system ID of the device is used to represent the device. ID, usually the MAC address of the device can be used.
  • BRB2 in TRILL network 2 also sends the device alias of all devices in DC Site2, the priority of the device alias, the root priority of the device alias, and the system ID of the device through BGP. Give the opposite side of BRB1.
  • the LSP ID of the LSP contains the system ID of the device.
  • the RB that receives the LSP can determine the LSP to send based on the included systemID.
  • Each alias can be used to uniquely identify one RB within each TRILL network, but RBs in different TRILL networks may have the same alias.
  • the virtual root node of each priority and BRB device aliases device S ystemID, device alias, alias device transmits a peer to generate a corresponding priority of each virtual node corresponding to the generated BRB Neighbor relationship.
  • FIG. 4A a schematic diagram of a network topology of a virtual node is generated in the TRILL network 1 after the TRILL network 1 and the TRILL network 2 are interconnected.
  • the BRB1 has a neighbor relationship with the generated virtual nodes.
  • the BRB1 floods the LSP packets generated by the neighbor relationship between the BRB1 and each virtual node to the TRILL network 1.
  • BRB1 generates a virtual node LSP packet for each node in the virtual Root2, BRB2, and RBn+l*" RBm
  • the first LSP packet generated for the virtual Root2 includes the device information of the virtual Root2.
  • the first neighbor information of the first interconnect device LSP is also generated for the BRB1 itself, and the first interconnect device LSP message is included to indicate the The second neighbor information of the neighbor relationship between the BRB1 and each virtual node in the virtual Root2, BRB2, and RBn+1's RBm.
  • the virtual Root2, BRB2, and RBn+1 RBm are all identified as real nodes.
  • the TRILL network 1 Based on the network topology in the TRILL network 1 shown in FIG. 4A above, even if the topology of the internal network of the TRILL network 2 changes, as long as the Nickname of the internal device of the TRILL network 2 does not change, the TRILL network 1 The virtual node connected to the BRB1 does not change. That is, the TRILL network 1 does not sense the change of the network topology in the TRILL network 2, thereby improving the convergence time of the internal routes of the network and the scalability of the networking.
  • FIG. 4B is a schematic diagram of the internal architecture of the BRB device in the TRILL network:
  • Each BRB device can be divided into a BGP protocol component, a TRILL import component, a virtual node generation component, and a TRILL protocol component from the execution function.
  • the TRILL protocol component is configured to notify the BGP protocol component of the BRB device of the change of the Nickname of the device in the TRILL network where the BRB device is located.
  • the BGP protocol component is used to notify the changed Nickname to the pair.
  • the BGP protocol component of the remote BRB receives the changed Nickname, the changed Nickname is notified to the TRILL import component of the remote BRB, and the TRILL import component is used to notify the virtual node generating component of the changed Nickname.
  • the virtual node generating component is configured to generate a virtual node according to the changed Nickname, and notify the generated virtual node of the TRILL protocol component in the peer BRB device, generate an LSP packet by the TRILL protocol component, and advertise the LSP packet to the pair.
  • the TRBR network where the BRB is located.
  • the RBs in the two TRILL networks have the same Nickname. Need to negotiate Nickname conflict based on the priority of Nickname. For example, there is NicknamelO in TRILL network 1, the priority of NicknamelO is 1, and there is also Nickname 10 in TRILL network 2. The priority of NicknamelO is 2, that is, the priority is the Nickname 10 in TRILL network 1.
  • BRB1 and BRB2 advertise the Nickname of the device in the TRILL network to the other party through the extended BGP
  • the BRB1 detects that there are two NicknamelOs in the TRILL network 1. If a virtual node is generated according to the current Nickname, the device in TRILL network 1 considers that there are two nodes with the same Nickname in TRILL network 1 and generates a Nickname conflict. Therefore, this problem needs to be solved in advance.
  • BRB1 After comparing the priorities of the two Nicknames, BRB1 knows that the priority of NicknamelO in TRILL network 1 is less than the priority of NicknamelO in TRILL network 2. You need to change NicknamelO in TRILL network 1.
  • BRB1 continues to generate virtual nodes for the device corresponding to NicknamelO in TRILL network 2.
  • the BRB1 notifies the device corresponding to the NicknamelO in the TRILL network 1, and notifies the device that a new Nickn a me20 can be generated and advertised to the TRILL network 1 through the LSP.
  • the BRB1 After receiving the LSP message of the Nickname20, the BRB1 notifies the peer BRB2 that the Nickname20 is added to the TRILL network 1, and the BRB2 is notified to delete the NicknamelO that has been received.
  • BRB2 also detects that there are two NicknamelOs in TRILL network 2, and the priority of NicknamelO in TRILL network 1 is less than the priority of NicknamelO in TRILL network 2. Therefore, it is known that NicknamelO in TRILL network 1 needs to be changed, and BRB2 is temporarily not The device corresponding to NicknamelO in the TRILL network 1 generates a virtual node.
  • each TRILL network after the BRB in the TRILL network generates virtual nodes of all devices in the peer TRILL network, each node in the TRILL network The connection relationship has been determined. At this time, each node in the TRILL network can use the existing calculation mode to calculate unicast routes and multicast routes according to the determined connection relationship between the nodes.
  • each node uses itself as a source node, and generates a shortest path tree of the node to all other nodes in the TRILL network according to an SPT (Shortest Path Tree) algorithm, and A Nickname-based unicast forwarding table is generated by combining the Nickname issued by each node and the neighboring entry of the node.
  • SPT Shortest Path Tree
  • a Nickname-based unicast forwarding table is generated by combining the Nickname issued by each node and the neighboring entry of the node.
  • the unicast forwarding table is as shown in Table 1 below: Public network exit
  • the nickname root priority and The number of distribution trees supported by the entire network is elected, and then the root node is used as the source node, and the shortest path tree of the source node to all other nodes in the TRILL network is generated by the SPT algorithm, and multicast is generated accordingly.
  • the forwarding table according to which the distribution tree root of each site of the entire network is the same, so that the BUM traffic does not need to be changed when the BUM traffic is transmitted between the sites.
  • the multicast forwarding table is shown in Table 2 below: 3 ⁇ 4 2
  • the BRB device of each TRILL network can advertise the VLANs in the TRILL network, the Layer 2 multicast groups in the VLAN, and/or the Layer 3 multicast groups in the VLAN to the extended BGP.
  • VLANs can be identified by a 12-bit VLAN ID or a 24-bit Fine- Grained Label.
  • the BRB1 of the TRILL network 1 After the BRB1 of the TRILL network 1 generates a virtual node for the device in the TRILL network 2, the BRB1 can connect the VLAN that the device in the TRILL network 2 accesses to the Layer 2 multicast group and device in the VLAN that the device accesses.
  • the Layer 3 multicast group information in the incoming VLAN is advertised in TRILL network 1. It is used by other devices in TRILL network 1 to perform distribution tree pruning calculation.
  • the multicast entries generated by the BRB1 are as follows: Table 3 Tree Root Nickname N (VLAN ID)
  • the key in the above multicast entry is the root of the tree, Nickname+N (the inner VLAN ID), and the outgoing interface includes the public network egress, indicating that the TRILL network 2 has an access VLAN n for accessing the local device.
  • the ARP Request message broadcasted by the HostA is forwarded through the multicast distribution tree in the TRILL network, and the BRB1 is forwarded to the BRB1.
  • the BRB1 searches for the multicast forwarding table based on the root ID of the tree root and the internal VLAN ID.
  • the ARP Request packet encapsulated in the TRILL network 1 is encapsulated in the public network IP/MPLS, and then the public network forwarding entry is sent out.
  • the public network IP/MPLS decapsulation is performed first, and the TRILL network multicast data packet is obtained, and then the multicast data packet is transmitted to the TRILL network 2 for all access.
  • Edge RB of user VLAN N The edge RBs perform TRILL decapsulation on the received multicast data packets, and then send the inner layer original Layer 2 packets to each host in the VLAN N, including HostB.
  • HostB sends an ARP R-print message to HostA: [221]
  • the ingress RB in the TRILL network 2 searches for the unicast MAC forwarding table, obtains the Nickname of the RB device where the HostA is located in the TRILL network 1, and then searches for the unicast forwarding table to send the data packet.
  • BRB2 uses the Nickname as the key to find the unicast forwarding table.
  • the outbound interface is the public network interface.
  • the ARP packet is encapsulated on the public network, and then the public network forwarding table is searched.
  • the encapsulated data packet is sent to the public network. BRB1.
  • the BRB1 After receiving the unicast data packet encapsulated by the public network, the BRB1 decapsulates the data packet on the public network, and then searches the unicast forwarding table based on the egress Nickname of the TRILL header to transmit the packet to the unicast forwarding table.
  • the RB device where HostA is located The RB device performs the TRILL decapsulation and sends the original ARP packet to the HostA.
  • the HostA learns the ARP entry of the HostB according to the ARP Reply packet. That is, the RB device where the HostA is located learns the source AC of the HostB.
  • the public network is an IP network
  • the public network package can be encapsulated in GRE.
  • the outer IP address of the public network is the BGP peer address, which is the address of the remote BRB.
  • the public network encapsulates the MPLS label and the outer layer is the unicast LSP.
  • the data packets can be forwarded to the peer BRB through LSP hop-by-hop exchange.
  • FIG. 5A and FIG. 5B are flowcharts of a TRILL network interconnection method according to an embodiment of the present invention.
  • each TRILL network includes at least two interconnected devices, and the embodiment includes the following content.
  • Step 501 Each interconnected device in the first TRILL network advertises information indicating that it is an interconnected device to other interconnected devices in the first TRILL network through the LSP message, so that each of the first TRILL networks is interconnected. The device determines all the interconnected devices in the first TRILL network, where the information indicating that it is an interconnected device may be represented by one or more flag bits in the LSP message. Step 501 is an optional step, and other methods may be used to make each interconnected device in the first TRILL network determine all connected devices in the first TRILL network.
  • Step 502 Each interconnection device of the first TRILL network receives device information of each device in the second TRILL network sent by the interconnection device in the second TRILL network.
  • each of the interconnected devices of the first TRILL network receives device information of each device in the second TRILL network sent by the interconnecting device in the second TRILL network through the extended Border Gateway Protocol (BGP) message; or Each interconnected device of the first TRILL network receives the interconnected device in the second TRILL network through the extended Device information of each device in the second TRILL network sent by a Label Distribution Protocol (LDP) message.
  • BGP Border Gateway Protocol
  • LDP Label Distribution Protocol
  • the first interconnect device receives an LSP that includes the third device alias from the first TRILL network.
  • the device ID of the first device is the device ID of the first device
  • the third device alias is a new alias of the first device.
  • the first interconnecting device notifies the interconnected device in the second TRILL network to delete the priority of the first device alias and the first device alias by using an extended border gateway protocol BGP message or an extended label distribution protocol LDP message And adding the priority of the third device alias and the third device alias.
  • the first interconnect device does not generate a virtual for the second device before the alias of the second device is changed. node.
  • Step 504 Each interconnected device of the first TRILL network separately generates virtual nodes of each device in the second TRILL network according to device information of each device in the second TRILL network, and each interconnected device and each Virtual nodes have neighbor relationships.
  • the device information of each device in the second TRILL network includes: a device ID, a device alias, a priority of the device alias, and a root priority of the device alias;
  • the device information of the virtual node includes: The device ID of the device corresponding to the virtual node, the device alias of the device corresponding to the virtual node, the priority of the device alias of the device corresponding to the virtual node, and the root priority of the device alias of the device corresponding to the virtual node.
  • the device ID of the device corresponding to the virtual node is the device ID of the virtual node
  • the device alias of the device corresponding to the virtual node is the device alias of the virtual node
  • the device alias of the device corresponding to the virtual node takes precedence.
  • the level is the priority of the device alias of the virtual node
  • the root priority of the device alias of the device corresponding to the virtual node is the root priority of the device alias of the virtual node.
  • the device information may further include information about a virtual local area network (VLAN) VLAN accessed by the device, information of a layer 2 multicast group in the virtual local area network VLAN accessed by the device, and information of a layer 3 multicast group in the virtual local area network VLAN accessed by the device. At least one of the information for the distribution tree pruning calculation by the device in the first TRILL network.
  • Step 505 Each interconnected device in the first TRILL network generates multiple link state protocol (LSP) packets according to the neighbor relationship, and multiple leg link state protocol (LSP) packets carry leg neighbor relationships. .
  • LSP link state protocol
  • generating, by the interconnecting device, the multiple LSPs according to the neighbor relationship in the first TRILL network includes:
  • Each interconnected device of the first TRILL network generates a virtual node LSP packet for each virtual node.
  • Each virtual node LSP packet includes the device identifier (ID) of the virtual node corresponding to the LSP of the virtual node, the device alias, the priority of the device alias, and the root priority of the device alias, and includes the virtual node for indicating the virtual node.
  • the first neighbor information includes a device ID of each interconnected device, and optionally, the first neighbor information further includes logic between the virtual node corresponding to the first neighbor information and each interconnected device.
  • the cost of the link is equal.
  • each interconnecting device in the first TRILL network generates a plurality of LSP messages according to the neighbor relationship, and may further include: each interconnected device in the first TRILL network generates an interconnect device LSP message.
  • the LSP of each interconnected device includes the device ID device alias of the interconnect device that generates the LSP of the interconnect device, the priority of the device alias, and the root priority of the device alias.
  • the interconnected device and the second neighbor information having a neighbor relationship between each virtual node.
  • the second neighbor information includes a device ID of each virtual node.
  • the second neighbor information further includes a cost value of a logical link between the interconnected device and each virtual node corresponding to the second neighbor information.
  • the cost value of the logical link between the interconnected device corresponding to the second neighbor information and each virtual node is equal.
  • the embodiment further includes the following content.
  • Step 508 The first interconnecting device determines the information of the VLAN configured in the first interconnected device, the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN, and the second TRILL network. Information about all access VLANs, information of all Layer 2 multicast groups in all access VLANs, and/or all connections The intersection of the information of all Layer 3 multicast groups in the VLAN.
  • Step 509 The first interconnect device floods the intersection in the first TRILL network, and the first TRILL network further includes a second interconnect device.
  • Step 510 The first interconnecting device establishes a local distribution tree pruning table entry according to the intersection, where the outbound interface in the local distribution tree pruning table entry includes a public network that leads to the second TRILL network in the first interconnected device. Outlet interface. Step 511 and step 510 are independent of each other, and step 510 may be performed first, then step 511 may be performed, or may be performed simultaneously.
  • Step 511 When the first interconnection device determines that the multicast traffic received from the first TRILL network through the distribution tree matches the local distribution tree prune entry, the public network outbound interface is used to The second TRILL network sends the multicast traffic.
  • the information of the VLAN configured in the first interconnected device the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN and the configuration in the second interconnected device. There is no intersection between the information of the VLAN, the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN.
  • the VLAN information configured in the first interconnection device is identified by the first VLAN ID or the first fine label Fine-Grained Label
  • the VLAN information configured in the second interconnection device is performed by using the second VLAN ID or the second fine label Fine-Grained Label. Logo.
  • the first interconnecting device may use information about a VLAN configured in the first interconnecting device, information of a layer 2 multicast group in the VLAN, and/or in a VLAN.
  • the information of the Layer 3 multicast group is flooded in the first TRILL network instead of flooding the intersection.
  • the first interconnection device establishes a local distribution tree simple entry according to the information of the VLAN configured in the first interconnection device, the information of the layer 2 multicast group in the VLAN, and/or the information of the layer 3 multicast group in the VLAN, where the local
  • the outbound interface in the distribution tree pruning table includes the public network egress interface of the first interconnect device to the second TRILL network.
  • the first interconnecting device determines that the multicast traffic from the first TRILL network that is received by the distribution tree matches the local distribution tree prune entry, sending, by using the public network egress interface, the second TRILL network Multicast traffic.
  • steps 512 and 513 may be performed; when the first interconnect device has a public network exit or a first interconnect device and a second TRILL network in a communication connection relationship with the second TRILL network; When the public network link fails, steps 514, 515, and 516 can be performed.
  • Step 512 When a node failure occurs in the first interconnected device, the second interconnected device is divided into each virtual node.
  • the LSP first update packet is generated, and each LSP first update packet includes a virtual node corresponding to the first update packet of the LSP and each of the first TRILL network except the first interconnect device.
  • the device has information about neighbor relationships.
  • Step 513 The second interconnected device floods the first update packet of the LSP generated by each virtual node. In this way, the second interconnected device advertises the current recent network condition in the network, so that the device in the first TRILL network determines that the first interconnected device no longer has a neighbor relationship with each virtual node.
  • Step 515 After receiving the LSP deletion packet, the second interconnection device generates an LSP second update packet for each virtual node, and each LSP second update packet includes The virtual node corresponding to the second update packet has information of a neighbor relationship with each of the interconnected devices except the first interconnected device in the first TRILL network.
  • Step 516 The second interconnecting device floods the LSP second update packet in the first TRILL network. [255] After step 513 or step 516, the embodiment further includes the following steps.
  • Step 517 Configuring, in the second interconnected device or the third interconnected device in the first TRILL network, the first interconnected device to be used before the node failure, the public network egress link failure, or the public network link failure
  • the information is forwarded before the fault, and the information before the fault includes the information of the VLAN, the information of the Layer 2 multicast group in the VLAN, or the information of the Layer 3 multicast group in the VLAN.
  • the second interconnecting device or the third interconnecting device obtains the pre-failure forwarding information of the first interconnecting device, so that the traffic forwarding can be performed instead of the first interconnecting device, thereby avoiding the impact of the fault associated with the first interconnected device.
  • Step 518 The second interconnecting device or the third interconnecting device advertises the pre-failure forwarding information to the device in the first TRILL network, so that the device in the first TRILL network performs the distribution tree pruning calculation.
  • Step 519 Each connected device selects a different distribution tree to forward from the second TRILL network according to the information of the currently configured VLAN, the information of the Layer 2 multicast group in the VLAN, or the information of the Layer 3 multicast group in the VLAN. Multicast packet. Since the forwarding information of the first interconnected device has been configured to the second interconnected device or the third interconnected device, traffic in the network can continue to be forwarded normally. [259] It should be noted that each of steps 507-519 is an optional step.
  • FIG. 6A is a schematic diagram of a network architecture in an embodiment of the present invention, where each TRILL network has two interconnected devices:
  • each TRILL network includes two interconnected devices, such a network structure can implement load and load sharing within each TRILL network, and one BRB can serve as a backup device of another BRB, thereby further improving network interconnection. reliability.
  • each BRB in each TRILL network advertises the BRB interconnect device in the TRILL network in advance through the extended LSP message, so that all BRBs can know the connected devices in the TRILL network.
  • BRB1 and BRB2 in TRILL network 1 respectively advertise the other party as an interconnected device through the extended LSP message.
  • BRB1 knows that BRB1 and BRB2 are interconnected devices in TRILL network 1, and BRB2 can also know BRB1 in TRILL network 1.
  • BRB2 is an interconnected device.
  • BRB3 and BRB4 in TRILL network 2 respectively know that BRB3 and BRB4 are interconnected devices in TRILL network 2.
  • Each BRB in the TRILL network in FIG. 6A receives the Nickname (device alias), Nickname priority, root priority, and device ID of each device in the TRILL network sent by the BRB of the peer TRILL network. Then, the virtual node of each device of the peer TRILL network is generated. Each virtual node and the BRB in the TRILL network adopt a logical direct link. The cost of the link is the same.
  • the device ID can be determined by the system ID of the device. (System ID) indicates.
  • FIG. 6B a schematic diagram of a network topology for generating a virtual node in the TRILL network 1 is shown.
  • the LSP packet generated by the BRB for each virtual node includes the systemID, the Nickname, the Nickname priority, the root priority, and the neighbor relationship between the virtual node and each BRB.
  • Table 4 below shows the information included in the LSP packet of the virtual node generated by the BRB: Table 4
  • the LSPID is composed of the system ID, the pseudo node ID, and the LSP sequence number of the virtual node, and the logical link between the virtual node and each BRB is a point-to-point type link, and does not need to generate a pseudo node, a pseudo node ID.
  • the LSP sequence number gradually increases from 1, each exit BRB device independently generates a serial number for each virtual node;
  • Nickname type length value TLV
  • TLV has the priority of the virtual node's Nickname, Nickname, Neighbour TLV represents the neighbor relationship between the virtual node and each BRB.
  • Neighbourl TLV represents the neighbor relationship between the virtual node and BRB1
  • Neighbour2 TLV represents the neighbor relationship between the virtual node and BRB2.
  • the Neighbour TLV contains the cost value of the logical link between the virtual node and the BRB, and the TU (Maximum Transmission Unit) value. These two values can be manually configured by the user, or automatically generated, each virtual node and all The logical link cost value between the BRBs is the same, so that the negative of the interconnected device can be formed in the TRILL network. Sharing, i.e. the TRILL network traffic can be transmitted from different devices to the peer BRB TRILL network.
  • Each RB packet generated by the virtual node is the same as the LSP sequence number.
  • the LSP sequence number is generated independently by the BRB for each virtual node. When the LSPs are sent periodically, the LSP sequence number is increased.
  • the LSP packet sending interval of each device is preferably configured the same, and the sequence number is guaranteed to be synchronized, for example, BRB1. If the virtual node 1 periodically generates the LSPs LSP1, LSP2, and LSP3 ⁇ , the BRB2 also generates the LSPs LSP1, LSP2, and LSP3 ⁇ for the virtual node 1, and if the BRB2 receives the LSP reported by the virtual node 1 If the serial number is 3, the first LSP sequence number generated by BRB2 is preferably 4 or greater. The other devices except the BRB device in the TRILL network receive two LSPs periodically.
  • Each BRB also needs to advertise the direct link relationship between the BRB and the virtual node through the LSP message.
  • Table 5 shows the information of the LSPs used to advertise the direct link relationship: Table 5 LSPID
  • the systemID in the LSPID is the system ID of each BRB itself, the pseudo node ID is 0, and the LSP sequence number is independently generated by the BRB, and the principle of increasing gradually follows.
  • the Neighbour TLV of the LSP contains the logical connection relationship with the N virtual nodes, including the cost value and MTU value of the logical link. These two values can be manually configured by the user or automatically generated.
  • the VLANs configured in BRB1 and BRB2 in TRILL network 1 are taken as an example.
  • the BRB1 configuration is responsible for VLAN 1 to VLAN 1000 data transmission, and VLAN 1001 to VLAN 2000 are configured as BRB2 backups.
  • the BRB2 configuration is responsible for VLAN 1001 to VLAN 2000 data transmission, and VLAN 1 to VLAN 1000 are configured as BRB1 backups.
  • the VLAN information is advertised through the related (Interested) VLANs and the Spanning Tree Roots Sub-TLV in the TRILL protocol.
  • the BRB becomes the leaf of the VLAN pruning tree.
  • the BRB1 After receiving the multicast data packet from the TRILL network 1 or the public network, the BRB1 checks the user VLAN in the TRILL data packet. According to the check result, if the VLAN does not belong to the configured range, the device discards the packet. , otherwise forwarded.
  • FIG. 6C is a schematic diagram of a VLAN configured for a BRB in a TRILL network.
  • each BRB in the TRILL network advertises the information of the VLAN that it is responsible for, the information of the Layer 2 multicast group in the VLAN, or the group information of the Layer 3 multicast in the VLAN to the peer TRILL network. BRB. As shown in FIG.
  • BRB1 advertises itself to user VLAN 1-1000 to BRB3 and BRB4
  • BRB2 advertises itself to user VLAN 1001-2000 to BRB3 and BRB4
  • BRB3 advertises itself to user VLAN 1001-2000 to BRB1 and BRB2
  • BRB4 direction BRB1 and BRB2 advertise that the BRB1 responsible for the user VLAN 1-lOOOoTRILL network 1 receives the multicast traffic in any VLAN in VLAN 1-1000 and sends it to BRB4 without sending it to BRB3.
  • GRE unicast routing encapsulation
  • TRILL network 1 Assuming that there are two tree roots in TRILL network 1, which are represented as R00T1 and R00T2 respectively, the topology relationship in TRILL network 1 is as shown in Figure 6D: where RBn+1 is the virtual node generated in TRILL network 1, the virtual The nodes RBn+1 and BRB1 and BRB2 are logical link direct connections.
  • the link between BRB1 and R00T1 is denoted as L1
  • the link between BRB1 and R00T2 is denoted as L3
  • the link between BRB2 and R00T1 is represented as The link between L2, BRB2 and R00T2 is denoted as L2.
  • the multicast data packets transmitted by RBn+1 in the TRILL network 2 are received by the BRB1 and the BRB2 respectively. If the BRB1 and the BRB2 use the same distribution tree, for example, the tree root is the distribution tree of the R00T1 to the TRILL. If the RB1 in the network 1 forwards the multicast data packet, the R00T1 may receive the multicast data packet from the L1 and the L2. Therefore, the RPF check fails and the partial multicast data packet is discarded.
  • Figure 6E is a schematic diagram of BRB1 and BRB2 using the same distribution tree for multicast packet forwarding. As shown in Figure 6E, the two forwarding links from RBn+1 to RB1 pass R00T1.
  • the virtual node has only a logical direct link relationship with the BRB2, and therefore only the neighbor BRB2.
  • the BRB1 If the public network egress of the BRB1 fails, the BRB1 generates an LSP packet indicating that the topology changes, and removes the neighbor relationship between the BRB1 and each virtual node. After receiving the LSP packet sent by the BRB1, the BRB2 generates the LSP packet of each virtual node. The LSP packet removes the neighbor relationship between the virtual node and the BRB1. The BRB2 generates the LSP packet generated by each virtual node. 6—There is no further description here.
  • each BRB can advertise the VLANs that communicate with the TRILL network. For example, both BRB1 and BRB2 pass VLAN 1-2000 through the Interested VLANs and The Spanning Tree Roots Sub-TLV is released, so that multicast traffic belonging to VLAN 1-2000 will reach both BRB1 and BRB2.
  • BRB1 only receives multicast traffic belonging to VLAN 1-1000 and discards multicast traffic belonging to VLAN 1001-2000.
  • BRB2 only receives multicast traffic belonging to VLAN 1001-2000, which belongs to VLAN 1-1000. The multicast traffic is discarded.
  • the present invention also provides an embodiment of the TRILL network interconnection system and network equipment.
  • an embodiment of the present invention discloses an interconnection device.
  • the interconnection device is referred to as a first interconnection device in the embodiment, and the first interconnection device is included in the first multiple link.
  • the first interconnected device includes a first receiving unit (701), a first generating unit (702), a second generating unit (703), and a first flooding unit (704).
  • the first receiving unit (701) may receive each of the second TRILL networks sent by the second interconnecting device of the second TRILL network by using an extended BGP (Border Gateway Protocol) message. Device information of the device; or, the first receiving unit may also receive, by the second interconnecting device of the second TRILL network, each device in the second TRILL network that is sent by using an extended LDP (Label Distribution Protocol) message Device information.
  • BGP Border Gateway Protocol
  • LDP Label Distribution Protocol
  • the device information of each device in the second TRILL network includes: a device ID, a device alias, and a device. The priority of the alias and the root priority of the device alias. Further, the device information may further include at least one of the following information: information of a virtual local area network (VLAN) accessed by the device, information of a layer 2 multicast group in a VLAN accessed by the device, and a VLAN accessed by the device. Layer 3 multicast group information. The at least one piece of information is used for distribution tree pruning calculations by devices in the first TRILL network. The device information may be obtained by the interconnecting device of the second TRILL network from the LSP message received by the second TRILL network.
  • VLAN virtual local area network
  • the device information of each device in the second TRILL network includes: device ID, device alias, priority of the device alias, and root priority of the device alias.
  • the device information of the generated virtual node includes: a device ID of the device corresponding to the virtual node, a device alias of the device corresponding to the virtual node, a priority of the device alias of the device corresponding to the virtual node, and a device corresponding to the virtual node The root priority of the device alias.
  • the device ID of the device corresponding to the virtual node is the device ID of the virtual node
  • the device alias of the device corresponding to the virtual node is the device alias of the virtual node
  • the device alias of the device corresponding to the virtual node The priority of the device is the priority of the device alias of the virtual node.
  • the root of the device alias of the device corresponding to the virtual node is the root priority of the device alias of the virtual node.
  • the device information of the first interconnected device includes: a device ID of the first interconnected device, a device alias, a priority of the device alias, and a device alias, and a priority.
  • the comparing unit in the first interconnecting device (705) Comparing a priority of the device alias of the first device with a priority of the device alias of the second device, where the device alias of the first device is a first device alias, and the device alias of the second device is The second device alias.
  • the comparing unit (705) triggers the first generating unit (702) to generate a virtual for the second device Node
  • the comparing unit (705) causes the first generation before the alias of the second device is changed
  • the unit (702) does not generate a virtual node for the second device.
  • the second receiving unit (706) in the first interconnect device is from the first A TRILL network receives the LSP message including the third device alias, and the device ID carried in the LSP message including the third device alias is the device ID of the first device, and the third device alias is the A new alias for the first device.
  • the notification unit (707) in the first interconnect device notifies the second interconnect device to delete the first device alias, by using an extended Border Gateway Protocol (BGP) message or an extended Label Distribution Protocol (LDP) message. Determining a priority of the first device alias and a root priority of the first device alias, and adding the third device alias, the priority of the third device alias, and the root priority of the third device alias level.
  • BGP Border Gateway Protocol
  • LDP extended Label Distribution Protocol
  • the second generating unit (703) in the first interconnecting device generates a plurality of link state protocol LSP messages according to the neighbor relationship, where the multiple LSP messages carry the neighbor relationship.
  • the second generating unit is specifically configured to: generate a first virtual node LSP packet for each virtual node, where each first virtual node LSP packet includes a first virtual node LSP packet
  • the device information of the virtual node corresponding to the first virtual node, the LSP message of the first virtual node further includes a neighbor relationship between the virtual node corresponding to the first virtual node LSP message and the first interconnect device.
  • a neighbor information the second generating unit is further configured to: use, by the first interconnecting device, the first interconnected device LSP packet, where the first interconnected device LSP packet includes the first interconnect The second neighbor information of the neighbor relationship between the device and each virtual node.
  • the first neighbor information includes a device ID of a node corresponding to the first virtual node LSP message carrying the first neighbor relationship, a device alias of the virtual node, a priority of the device alias of the node, and a virtual node.
  • the tree root priority of the device alias further includes a cost value of a logical direct link between the virtual node corresponding to the first node LSP message carrying the first neighbor relationship and the first interconnect device.
  • the second neighbor relationship includes a device ID of each node, a device alias of the virtual node, a priority of the device alias of the node, and a root priority of the device alias of the virtual node, and further includes a relationship between the virtual node and the first interconnect device.
  • the cost value of the established logical link includes a device ID of each node, a device alias of the virtual node, a priority of the device alias of the node, and a root priority of the device alias of the virtual node.
  • the first flooding unit (704) in the first interconnected device floods the plurality of LSP messages in the first TRILL network.
  • the first flooding unit may advertise the neighbor relationship between the virtual node and the virtual node to other devices in the first TRILL network by flooding the multiple LSP messages.
  • the first TRILL network since the first TRILL network may establish a virtual node for each device in the second TRILL network connected to the first TRILL network, the establishment of the virtual node is equivalent to the second TRILL network.
  • Each device is connected to the interconnecting device of the first TRILL network. Therefore, when the topology of the second TRILL network changes, since the virtual node does not change, the first TRILL network does not perceive the change, nor does it Triggering the recalculation of the route, thus improving the convergence time of the TRILL network interconnection and enhancing the scalability of the networking.
  • the embodiment further includes the following content.
  • the first interconnected device may further include a third receiving unit (708), a second flooding unit (709), a setup unit (710), and a transmitting unit (711).
  • the third receiving unit (708) is configured to receive information about all access VLANs in the second TRILL network sent by the second interconnecting device, information of all Layer 2 multicast groups in all access VLANs, and / or all access to the information of all Layer 3 multicast groups in the VLAN.
  • This embodiment interprets all access VLANs through a specific example.
  • six RBs are included, specifically RB1-RB6, where RB1, RB2, and RB3 are ingress RBs, and RBI has access VLAN 1 - access VLAN 00, RB2
  • RBI has access VLAN 1 - access VLAN 00, RB2
  • all access VLANs in the second TRILL are all access VLANs on RB1, RB2, and RB3, that is, access VLAN 1 - access VLAN 200, a total of 200 access VLANs, all access VLANs
  • the information is the information of the 200 VLANs that access VLAN 1 and access VLAN 200, and can include common VLAN information such as VLAN ID.
  • the access VLAN refers to a VLAN in the second TRILL network.
  • the second flooding unit (709) is configured to use the information of all the access VLANs, the information of all the Layer 2 multicast groups in all the access VLANs, and/or all the access VLANs.
  • the information of all Layer 3 multicast groups is flooded into the first TRILL network, so that other routing bridges (RBs) in the first TRILL network perform distribution tree pruning calculation.
  • the establishing unit (710) is configured to use, according to the information about all the access VLANs, information of all Layer 2 multicast groups in all access VLANs, and/or all three of all access VLANs
  • the information of the layer multicast group is used to establish a local distribution tree prune entry, and the outbound interface in the local distribution tree prune entry includes the public network outgoing interface of the first interconnected device to the second interconnected device.
  • the sending unit (711) is configured to: when the first interconnecting device determines that the multicast traffic from the first TRILL network received through the distribution tree matches the local distribution tree pruning table entry, The network out interface sends the multicast traffic to the second interconnected device.
  • FIG. 8 is a schematic diagram of a system disclosed in an embodiment of the present invention.
  • the system as described in FIG. 8 includes a first TRILL network (810) and a second TRILL network (820), the first TRILL network including at least two interconnected devices. Only two interconnected devices are shown in FIG. 8, which are a first interconnected device (811) and a second interconnected device (812), respectively. In fact, the first TRILL network may also include other interconnected devices not shown in FIG.
  • the second TRILL network includes an interconnect device (821), and may further include other interconnect devices.
  • each of the interconnecting devices in the first TRILL network is configured to: receive device information of each device in the second TRILL network sent by the interconnecting device in the second TRILL network; according to the second TRILL network
  • the device information of each device generates a virtual node of each device in the second TRILL network, and each of the interconnected devices has a neighbor relationship with each virtual node; and generates multiple link state protocol LSP reports according to the neighbor relationship.
  • the multiple link state protocol LSP messages carry the neighbor relationship; the multiple LSP messages are flooded in the first TRILL network.
  • the first TRILL network can establish a virtual node for each device in the second TRILL network connected to the first TRILL network, and the establishment of the virtual node is equivalent to each device in the second TRILL network. Both are connected to each interconnected device of the first TRILL network. Therefore, when the topology of the second TRILL network changes, since the virtual node does not change, the first TRILL network does not perceive the change, and does not trigger a new change. Calculating the route, thus improving the convergence time of the TRILL network interconnection and enhancing the scalability of the networking.
  • the device information of each device in the second TRILL network received by each interconnected device in the first TRILL network includes the device ID of each device in the second TRILL network. , device alias, device alias priority, and tree root priority for device aliases.
  • generating, by the interconnecting device in the first TRILL network, the multiple LSPs according to the neighbor relationship includes:
  • Each of the interconnected devices of the first TRILL network is configured to generate a virtual node LSP packet for each virtual node, and each virtual node LSP packet includes a device identifier ID of the virtual node corresponding to the virtual node LSP packet, The device alias, the priority of the device alias, and the root priority of the device alias, and the first neighbor information indicating that the virtual node corresponding to the LSP of the virtual node has a neighbor relationship with each interconnected device;
  • Each of the interconnected devices of the first TRILL network is configured to generate an LSP packet of the interconnected device, and each interconnected device LSP packet includes a device ID, a device alias, and a device alias of the interconnected device that generates the LSP packet of the interconnect device.
  • the root priority of the class and the device alias, and the second neighbor information that is used to indicate the interconnect device that generates the LSP of the interconnect device and the neighbor relationship between each virtual node.
  • the first neighbor information includes a device ID of each interconnected device, and further includes an overhead cost value of a logical link between the virtual node corresponding to the first neighbor information and each interconnected device, The cost cost of the logical link between the virtual node corresponding to the first neighbor information and each interconnected device is equal;
  • the second neighbor information includes a device ID of each virtual node, and further includes an overhead cost value of a logical link between the interconnected device and the virtual node corresponding to the second neighbor information, where the second neighbor information corresponds to The cost of the logical link between the interconnected device and each virtual node is equal.
  • each of the interconnecting devices in the first TRILL network is further configured to notify, by using the LSP message, information indicating that the device is an interconnected device to the other interconnected devices in the first TRILL network, so that the first TRILL network is in the first TRILL network.
  • Each of the interconnected devices obtains information of all interconnected devices in the first TRILL network.
  • the first interconnect device (811) in the first TRILL network detects the device alias of the first device in the first TRILL network and the device alias of the second device in the second TRILL network.
  • the first interconnecting device (811) is configured to compare the priority of the device alias of the first device with the priority of the device alias of the second device, where the device alias of the first device is the first device An alias, the device alias of the second device is a second device alias;
  • the first interconnect device is configured to generate a virtual node for the second device
  • the first interconnect device is configured to not be the second device before the alias of the second device is changed Generate a virtual node.
  • the first interconnecting device is configured to receive the first content from the first TRILL network.
  • the LSP packet of the three device alias, the device ID carried in the LSP packet containing the third device alias is the device ID of the first device, and the third device alias is a new alias of the first device;
  • the first interconnecting device is configured to notify the interconnected device (821) in the second TRILL network to delete the first device alias and the location by using an extended border gateway protocol BGP message or an extended label distribution protocol LDP message. Determining the priority of the first device alias, and adding the priority of the third device alias and the third device alias.
  • each of the interconnecting devices of the first TRILL network is configured to receive, by the interconnecting device in the second TRILL network, the device of each device in the second TRILL network that is sent by using the extended border gateway protocol BGP packet. Information; or,
  • [323] determining information of a VLAN configured in the first interconnected device, information of a layer 2 multicast group in the VLAN, and/or information of a layer 3 multicast group in the VLAN, and all access VLANs in the second TRILL network Information, the information of all Layer 2 multicast groups in all access VLANs, and/or the intersection of all Layer 3 multicast group information in all access VLANs;
  • the public network outgoing interface sends the Multicast traffic.
  • the first interconnected device can also be used -
  • [328] flooding the information of the VLAN configured in the first interconnected device, the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN in the first TRILL network;
  • [329] establishing a local distribution tree simple entry according to the information of the VLAN configured in the first interconnection device, the information of the layer 2 multicast group in the VLAN, and/or the information of the layer 3 multicast group in the VLAN, where the local distribution is performed.
  • the outbound interface in the tree pruning entry includes the public network outbound interface of the first interconnected device to the second TRILL network.
  • the public network egress interface is sent to the second TRILL network. Multicast traffic.
  • the information of the VLAN configured in the first interconnecting device, the information of the layer 2 multicast group in the VLAN, and/or the information of the layer 3 multicast group in the VLAN and the second in the first TRILL network The information about the VLANs configured in the interconnected device (812), the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN do not exist.
  • the VLAN information configured in the first interconnected device The first VLAN ID or the first fine label Fine-Grained Label is used for identification, and the VLAN information configured in the second interconnection device (812) is identified by the second VLAN ID or the second fine label Fine- Grained Label.
  • the second interconnecting device is configured to: when the first interconnecting device has a node fault, generate an LSP first update packet for each virtual node, where each LSP update packet includes The virtual node corresponding to the first update packet of the LSP has the neighbor relationship information of each interconnected device except the first interconnected device in the first TRILL network; the flooding is the first update packet of the LSP generated by each virtual node. .
  • the first interconnection device is configured to: when the first interconnection device has a public network connection with a communication connection relationship with the second TRILL network or a public network link between the first interconnection device and the second TRILL network
  • an LSP delete message indicating that the logical direct link between the first interconnected device and each virtual node is deleted is flooded in the first TRILL network.
  • the second interconnecting device is configured to: after receiving the LSP deletion packet, generate an LSP second update packet for each virtual node, where each LSP second update packet includes a second update for indicating the LSP
  • the virtual node corresponding to the packet has information of a neighbor relationship with each interconnected device except the first interconnected device in the first TRILL network.
  • the second update packet is flooded in the first TRILL network.
  • FIG. 9 is a schematic diagram of an interconnection device (90) according to an embodiment of the present invention.
  • the interconnection device shown in Fig. 9 can be the first interconnection device in the embodiment shown in Figs. 1 and/or Fig. 2.
  • the interconnect device (90) includes a processor (91), an interface (92), and a memory (93).
  • the processor (91) is associated with the interface (92) and the memory (93), respectively, to cause the interconnect device (90) to perform the first interconnection in the embodiment as shown in FIGS. 1 and/or 2. Some or all of the functions performed by the device.
  • processor (91), the interface (92), and the memory (93) are used to perform the following operations:
  • the multiple LSPs generated according to the neighbor relationship include:
  • the device information of the virtual node corresponding to the first virtual node LSP message itself, the first virtual node LSP message further includes a virtual node corresponding to the first virtual node LSP message itself and the first First neighbor information with neighbor relationships between interconnected devices;
  • the first interconnected device LSP packet generated by the first interconnected device itself, the first interconnected device LSP packet includes device information of the first interconnected device, and further includes The second neighbor information of the neighbor relationship between the device and each virtual node.
  • the first neighbor information includes a device identifier ID of the virtual node corresponding to the first virtual node LSP packet that carries the first neighbor relationship, and further includes a relationship with the first neighbor relationship.
  • the second neighbor relationship includes a device ID of each virtual node, and a cost value of a logical link established between each virtual node and the first interconnected device.
  • receiving device information of each device in the second TRILL network sent by the second interconnecting device in the second TRILL network includes:
  • the received device information of each device in the second TRILL network includes: a device ID of each device in the second TRILL network, a device alias, a priority of the device alias, and a tree of the device alias.
  • the root priority, the device information of the virtual node includes: a device ID of the device corresponding to the virtual node, a device alias of the device corresponding to the virtual node, a priority of the device alias of the device corresponding to the virtual node, and a corresponding to the virtual node
  • the root device priority of the device alias of the device, the device information of the first interconnect device includes: a device ID of the first interconnect device, a device alias, a priority of the device alias, and a root priority of the device alias.
  • processor (91), interface (92), and memory (93) are also used to:
  • the first interconnect device does not generate the second device before the alias of the second device is changed. Virtual node.
  • the LSP message including the third device alias is received from the first TRILL network,
  • the device ID carried in the LSP packet containing the third device alias is the device ID of the first device, and the third device alias is a new alias of the first device;
  • the extended label distribution protocol LDP message notifying the second interconnecting device to delete the first device alias, the priority of the first device alias, and the root priority of the first device alias, and join the first The three device alias, the priority of the third device alias, and the tree root priority of the third device alias.
  • processors (91), interface (92), and memory (93) are also used to:
  • the public network egress interface is used to connect to the second interconnect The device sends the multicast traffic.
  • the techniques in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution in the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, and the computer software product may be stored in a storage medium, such as a ROM/RAM. , a diskette, an optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or in some portions of the embodiments.
  • a computer device which may be a personal computer, server, or network device, etc.

Abstract

An interconnection method, system and equipment of TRILL network are disclosed in the present invention, and the method comprises: the first interconnection equipment in the first TRILL network receives equipment information of each equipment in the second TRILL network sent by second interconnection equipment in the second TRILL network; the first interconnection equipment generates virtual node of each equipment according to the equipment information of each equipment, and the first interconnection equipment is the neighbor to each virtual node; the interconnection equipment generates multiple LSP packets according to the neighbor relation, and said multiple LSP packets carries said neighbor relation; the first interconnection equipment floods multiple LSP packets in the first TRILL network. In the present invention, when the topology of the second TRILL network changes but the equipment in the second TRILL network does not change, the first TRILL network will not trigger re-calculate route, and therefore, the convergence time on interconnecting of TRILL network can be improved.

Description

TRILL网络互联方法、 系统及设备 本申请要求于 2012年 8月 14日提交中国专利局、 申请号为 201210288579. 7、 发明名称为 "TRILL 网络互联方法、 系统及设备" 的中国专利申请的优先权, 其全 部内容通过引用结合在本申请中。 技术领域  TRILL network interconnection method, system and equipment The application is submitted to the Chinese Patent Office on August 14, 2012, and the application number is 201210288579. 7. The priority of the Chinese patent application entitled "TRILL network interconnection method, system and equipment" The entire contents of which are incorporated herein by reference. Technical field
[01] 本发明涉及网络通信技术领域, 特别是涉及 TRILL ( Transparent Interconnection of Lots of Links , 多链路透明互联) 网络互联方法、 系统及设 备。 背景技术 [01] The present invention relates to the field of network communication technologies, and in particular, to a TRILL (Transparent Interconnection of Lots of Links) network interconnection method, system, and device. Background technique
[02] TRILL 是一种在二层网络上基于链路状态计算的路由协议, 其通过 IS-IS ( Intermediates System to Intermediate , 中间系统到中间系统)协议来实现, 运行 TRILL协议的设备叫 RB ( Route Bridge, 路由桥接设备), 多个 RB组成的网络 称为 TRILL网络。在 TRILL网络内, RB通过 TRILL协议获知网络拓扑以及分发树信 息, 其中 RB可以以其自身为源节点, 通过最短路径树算法生成 TRILL网络内到其 它 RB的单播转发表, 或者 RB也可以以网络内每棵分发树的树根为源节点, 通过最 短路径树算法生成 TRILL网络内到其它 RB的分发树转发表, 在一个 TRILL网络内 可以生成多个分发树,每个分发树都有唯一的树根,每个树根可以通过其 Nickname (别名)进行标识。 [02] TRILL is a routing protocol based on link state calculation on a Layer 2 network. It is implemented by the IS-IS (Intermediate System to Intermediate) protocol. The device running the TRILL protocol is called RB ( Route Bridge, routing bridge device), a network composed of multiple RBs is called a TRILL network. In the TRILL network, the RB learns the network topology and the distribution tree information through the TRILL protocol. The RB can use its own as the source node to generate a unicast forwarding table in the TRILL network to other RBs through the shortest path tree algorithm, or the RB can also The root of each distribution tree in the network is the source node. The shortest path tree algorithm is used to generate the distribution tree forwarding table in the TRILL network to other RBs. Multiple distribution trees can be generated in a TRILL network. Each distribution tree is unique. Tree root, each root can be identified by its Nickname.
[03] 现有技术中, 每个 DC ( Data Center, 数据中心) Site (站点) 内部通过标准 TRILL协议进行组网, 形成一个 TRILL 网络, 多个 TRILL 网络之间能够通过 IP ( Internet Protocol , 网络互联协议) 网或者 PLS ( Multi-Protocol Label Switching, 多协议标签交换) 网络等骨干网络进行互联组成大型 TRILL 网络, DC Site的互联设备称为 BRB (Border RB, 边缘 RB)。 当 TRILL网络之间通过传统的 MPLS L2VPN ( Layer 2 Virtual Private Network, 二层虚拟专用网络) 互联时, 每个 BRB设备相当于是 MPLS L2VPN的 CE (Customer Edge, 用户边界)设备, 每个 BRB设备将连接 L2VPN的 PE (Provider Edge, 运营商边界) 设备的公网出口看作 RB之间互联的端口, TRILL网络之间的 BRB能够穿越 L2VPN网络进行 TRILL邻居协 商, 通过互联的多个 DC Site组成一个大型 TRILL网络, 上述过程需要所有互联的 TRILL网络参与统一的路由计算,因此当一个 TRILL网络内的网络拓扑发生变化时, 就会触发其它 TRILL网络重新计算路由。 发明内容 [03] In the prior art, each DC (Data Center) Site (site) is internally networked through a standard TRILL protocol to form a TRILL network, and multiple TRILL networks can pass IP (Internet Protocol, network). The backbone network of the network or the PLS (Multi-Protocol Label Switching) network is interconnected to form a large TRILL network. The interconnection device of the DC Site is called a BRB (Border RB). When the TRILL network is interconnected by a traditional MPLS L2VPN (Layer 2 Virtual Private Network), each BRB device is equivalent to a CE (Customer Edge) device of the MPLS L2VPN. Each BRB device will be used. The public network egress of the PE (Provider Edge, Carrier Boundary) device connected to the L2VPN is regarded as the port interconnected between the RBs. The BRB between the TRILL networks can traverse the L2VPN network for TRILL neighbor negotiation and form a DC through multiple interconnected DC sites. For large TRILL networks, the above process requires all interconnections. The TRILL network participates in unified route calculation. Therefore, when the network topology in a TRILL network changes, other TRILL networks are triggered to recalculate routes. Summary of the invention
[04] 本发明实施例提供了一种 TRILL网络互联方法、系统及设备, 以解决现有互联 网络中的一个网络拓扑发生变化时, 需要重新进行统一路由计算的问题。 The embodiment of the present invention provides a TRILL network interconnection method, system, and device, which are required to solve the problem of re-uniform routing calculation when a network topology changes in an existing internet.
[05] 为了解决上述技术问题, 本发明实施例公开了如下技术方案: [05] In order to solve the above technical problem, the embodiment of the present invention discloses the following technical solutions:
[06] 根据第一方面, 一种多链路透明互联(TRILL) 网络互联方法包括: [06] According to a first aspect, a multilink transparent interconnection (TRILL) network interconnection method includes:
[07] 第一 TRILL网络中的第一互联设备接收第二 TRILL网络中的第二互联设备发送 的第二 TRILL网络中每个设备的设备信息; [07] The first interconnecting device in the first TRILL network receives device information of each device in the second TRILL network sent by the second interconnecting device in the second TRILL network;
[08] 第一互联设备根据所述第二 TRILL 网络中每个设备的设备信息分别生成所述 第二 TRILL网络中每个设备的虚拟节点, 第一互联设备分别与每个虚拟节点具备邻 居关系; [08] The first interconnecting device generates a virtual node of each device in the second TRILL network according to the device information of each device in the second TRILL network, where the first interconnecting device has a neighbor relationship with each virtual node. ;
[09] 第一互联设备根据所述邻居关系生成多个链路状态协议 LSP报文, 所述多个 LSP报文携带所述邻居关系; [09] The first interconnecting device generates a plurality of link state protocol LSPs according to the neighbor relationship, where the multiple LSPs carry the neighbor relationship;
[10] 第一互联设备在所述第一 TRILL网络内洪泛所述多个 LSP报文。 [10] The first interconnect device floods the multiple LSP messages in the first TRILL network.
[11] 在根据第一方面的第一种可能的实现方式中,所述根据所述邻居关系生成的多 个 LSP报文包括: [11] In a first possible implementation manner of the first aspect, the multiple LSPs that are generated according to the neighbor relationship include:
[12] 为每个虚拟节点分别生成第一虚拟节点 LSP报文,每个第一虚拟节点 LSP报文 包括与第一虚拟节点 LSP报文自身对应的虚拟节点的设备信息, 每个第一虚拟节点 LSP报文还包括用于表明与第一虚拟节点 LSP报文自身对应的虚拟节点和所述第一 互联设备之间具有邻居关系的第一邻居信息; [12] The first virtual node LSP message is generated for each virtual node, and each first virtual node LSP message includes device information of the virtual node corresponding to the first virtual node LSP message, each first virtual The node LSP message further includes first neighbor information indicating that the virtual node corresponding to the first virtual node LSP message itself and the first interconnect device have a neighbor relationship;
[13] 为所述第一互联设备自身生成的第一互联设备 LSP报文, 所述第一互联设备 LSP报文中包括第一互联设备的设备信息, 还包括用于表明所述第一互联设备与每 个虚拟节点之间均具有邻居关系的的第二邻居信息。 [13] The first interconnected device LSP packet generated by the first interconnected device itself, the first interconnected device LSP packet includes device information of the first interconnected device, and further includes The second neighbor information of the neighbor relationship between the device and each virtual node.
[14] 在根据第一方面的第一种可能的实现方式的第一方面的第二种可能实现方式 中, 所述第一邻居信息包括与携带所述第一邻居关系的第一虚拟节点 LSP报文对应 的虚拟节点的设备标识 ID,还包括与携带所述第一邻居关系的第一虚拟节点 LSP报 文对应的虚拟节点与第一互联设备之间的逻辑直连链路的开销 cost值; [14] In a second possible implementation manner of the first aspect of the first possible implementation manner of the first aspect, the first neighbor information includes a first virtual node LSP that carries the first neighbor relationship Message correspondence The device ID of the virtual node, the cost of the logical direct link between the virtual node corresponding to the first virtual node LSP that carries the first neighbor relationship and the first interconnect device;
[15] 所述第二邻居关系包括每个虚拟节点的设备 ID, 还包括每个虚拟节点与第一 互联设备之间建立的逻辑链路的 cost值。 [15] The second neighbor relationship includes a device ID of each virtual node, and a cost value of a logical link established between each virtual node and the first interconnected device.
[16] 在根据第一方面、第一方面的第一种可能的实现方式或第一方面的第二种可能 的实现方式的第一方面的第三种可能的实现方式中, 所述第一 TRILL网络中的第一 互联设备接收第二 TRILL网络中的第二互联设备发送的第二 TRILL网络中每个设备 的设备信息包括- [16] In a third possible implementation of the first aspect of the first aspect, the first possible implementation of the first aspect, or the second possible implementation of the first aspect, the first The first interconnecting device in the TRILL network receives the device information of each device in the second TRILL network sent by the second interconnecting device in the second TRILL network, including:
[17] 第一互联设备接收第二互联设备通过扩展的边界网关协议 BGP报文发送的第 二 TRILL网络中每个设备的设备信息; 或者, [17] The first interconnecting device receives the device information of each device in the second TRILL network sent by the second interconnecting device through the extended border gateway protocol BGP packet; or
[18] 第一互联设备接收第二互联设备通过扩展的标签分发协议 LDP报文发送的第 二 TRILL网络中每个设备的设备信息。 [18] The first interconnect device receives the device information of each device in the second TRILL network sent by the second interconnect device through the extended label distribution protocol LDP packet.
[ 19] 在根据由第一方面至第一方面的第三种可能的实现方式中的任何一个的第一 方面的第四种可能的实现方式中,所述第二 TRILL网络中每个设备的设备信息包括: 第二 TRILL网络中每个设备的设备 ID、设备别名、设备别名的优先级和设备别名的 树根优先级, 所述虚拟节点的设备信息包括: 与虚拟节点对应的设备的设备 ID、与 虚拟节点对应的设备的设备别名、 与虚拟节点对应的设备的设备别名的优先级和与 虚拟节点对应的设备的设备别名的树根优先级, 第一互联设备的设备信息包括: 第 一互联设备的设备 ID、 设备别名、 设备别名的优先级和设备别名的树根优先级。 [19] In a fourth possible implementation of the first aspect of any one of the third possible implementations of the first aspect to the first aspect, each of the devices in the second TRILL network The device information includes: a device ID of each device in the second TRILL network, a device alias, a priority of the device alias, and a root priority of the device alias, where the device information of the virtual node includes: a device of the device corresponding to the virtual node The ID of the device, the device alias of the device corresponding to the virtual node, the priority of the device alias of the device corresponding to the virtual node, and the root priority of the device alias of the device corresponding to the virtual node, and the device information of the first interconnected device includes: The device ID of a connected device, the device alias, the priority of the device alias, and the root priority of the device alias.
[20] 在根据由第一方面至第一方面的第四种可能的实现方式中的任何一个的第一 方面的第五种可能的实现方式中, 所述方法还包括: [20] In a fifth possible implementation manner of the first aspect of the first aspect of the fourth aspect, the first aspect of the first aspect, the method further includes:
[21] 当第一互联设备检测到第一 TRILL网络中第一设备的设备别名与第二 TRILL网 络中第二设备的设备别名一致时, 比较所述第一设备的设备别名的优先级和所述第 二设备的设备别名的优先级, 其中所述第一设备的设备别名为第一设备别名, 所述 第二设备的设备别名为第二设备别名; [21] When the first interconnect device detects that the device alias of the first device in the first TRILL network is consistent with the device alias of the second device in the second TRILL network, comparing the priority and location of the device alias of the first device a device alias of the second device, where the device alias of the first device is a first device alias, and the device alias of the second device is a second device alias;
[22] 如果所述第一设备别名的优先级小于所述第二设备别名的优先级,则为所述第 二设备生成虚拟节点; [22] if the priority of the first device alias is less than the priority of the second device alias, generating a virtual node for the second device;
[23] 如果所述第一设备别名的优先级大于所述第二设备别名的优先级,所述第一互 联设备在所述第二设备的别名被更改之前, 不为所述第二设备生成虚拟节点。 [23] if the priority of the first device alias is greater than the priority of the second device alias, the first mutual The associated device does not generate a virtual node for the second device until the alias of the second device is changed.
[24] 在根据第一方面的第五种可能的实现方式的第一方面的第六种可能的实现方 式中, 还包括: [24] In a sixth possible implementation of the first aspect of the fifth possible implementation of the first aspect, the method further comprising:
[25] 在所述第一设备别名的优先级小于所述第二设备别名的优先级的情况下,所述 第一互联设备从所述第一 TRILL网络接收到包含第三设备别名的 LSP报文, 所述包 含第三设备别名的 LSP报文中携带的设备 ID为所述第一设备的设备 ID, 所述第三 设备别名为所述第一设备的新别名; [25] In a case where the priority of the first device alias is less than the priority of the second device alias, the first interconnect device receives an LSP report including the third device alias from the first TRILL network. The device ID carried in the LSP packet containing the third device alias is the device ID of the first device, and the third device alias is a new alias of the first device;
[26] 第一互联设备通过扩展的边界网关协议 BGP报文或扩展的标签分发协议 LDP报 文通知第二互联设备删除所述第一设备别名、 所述第一设备别名的优先级以及所述 第一设备别名的树根优先级, 并加入所述第三设备别名、 所述第三设备别名的优先 级和所述第三设备别名的树根优先级。 [26] the first interconnect device notifies the second interconnecting device to delete the first device alias, the priority of the first device alias, and the foregoing by using the extended border gateway protocol BGP message or the extended label distribution protocol LDP message The root priority of the first device alias, and the third device alias, the priority of the third device alias, and the root priority of the third device alias are added.
[27] 在根据由第一方面至第一方面的第六种可能的实现方式中的任何一个的第一 方面的第七种可能的实现方式中: [27] In a seventh possible implementation of the first aspect according to any one of the first aspect to the sixth possible implementation of the first aspect:
[28] 第一互联设备接收第二互联设备发送的第二 TRILL网络中的全部的接入 VLAN 的信息、 全部的接入 VLAN中的全部的二层组播组的信息和 /或全部的接入 VLAN中 的全部的三层组播组的信息; [28] The first interconnecting device receives information of all access VLANs in the second TRILL network sent by the second interconnecting device, information of all Layer 2 multicast groups in all access VLANs, and/or all connections Information about all Layer 3 multicast groups entering the VLAN;
[29] 第一互联设备将所述全部的接入 VLAN的信息、全部的接入 VLAN中的全部的二 层组播组的信息和 /或全部的接入 VLAN 中的全部的三层组播组的信息洪泛至第一 TRILL网络中; [29] The first interconnect device uses all of the access VLAN information, all of the access layer VLANs, and/or all of the access VLANs of all Layer 3 multicast groups. The information of the group is flooded into the first TRILL network;
[30] 第一互联设备根据所述全部的接入 VLAN的信息、全部的接入 VLAN中的全部的 二层组播组的信息和 /或全部的接入 VLAN中的全部的三层组播组的信息建立本地分 发树剪枝表项, 所述本地分发树剪枝表项中的出接口包括第一互联设备中通向第二 互联设备的公网出接口; [30] The first interconnect device according to the information of all access VLANs, information of all Layer 2 multicast groups in all access VLANs, and/or all Layer 3 multicast in all access VLANs The information of the group is used to establish a local distribution tree prune entry, and the outbound interface in the local distribution tree prune entry includes a public network outgoing interface that leads to the second interconnected device in the first interconnected device;
[31] 当第一互联设备确定通过分发树接收到的来自第一 TRILL 网络的组播流量与 所述本地分发树剪枝表项匹配, 则通过所述公网出接口向所述第二互联设备发送所 述组播流量。 When the first interconnect device determines that the multicast traffic received from the first TRILL network through the distribution tree matches the local distribution tree prune entry, the public network egress interface is used to connect to the second interconnect. The device sends the multicast traffic.
[32] 根据第二方面, 一种多链路透明互联(TRILL) 网络互联方法, 应用于包括第 一 TRILL网络和第二 TRILL网络的网络中,第一 TRILL网络包括至少 2个互联设备, 所述方法包括: [32] According to a second aspect, a multi-link transparent interconnection (TRILL) network interconnection method is applied to a network including a first TRILL network and a second TRILL network, where the first TRILL network includes at least two interconnected devices. The method includes:
[33] 第一 TRILL网络中的每个互联设备接收第二 TRILL网络中互联设备发送的第二 TRILL网络中每个设备的设备信息; [33] each of the interconnected devices in the first TRILL network receives device information of each device in the second TRILL network sent by the interconnecting device in the second TRILL network;
[34] 第一 TRILL网络中的每个互联设备根据第二 TRILL网络中每个设备的设备信息 分别生成所述第二 TRILL网络中每个设备的虚拟节点, 每个互联设备与每个虚拟节 点均具有邻居关系; [34] each of the interconnected devices in the first TRILL network respectively generates virtual nodes of each device in the second TRILL network according to device information of each device in the second TRILL network, and each interconnected device and each virtual node Have a neighbor relationship;
[35] 第一 TRILL 网络中的每个互联设备根据所述邻居关系生成多个链路状态协议 LSP报文, 所述多个链路状态协议 LSP报文携带所述邻居关系; [35] Each of the interconnected devices in the first TRILL network generates a plurality of link state protocol LSPs according to the neighbor relationship, where the plurality of link state protocol LSP messages carry the neighbor relationship;
[36] 第一 TRILL网络中的每个互联设备在第一 TRILL网络内洪泛所述多个 LSP报 文。 [36] Each of the interconnected devices in the first TRILL network floods the plurality of LSP messages in the first TRILL network.
[37] 在根据第二方面的第二方面的第一种可能的实现方式中, [37] In a first possible implementation of the second aspect according to the second aspect,
[38] 所述第二 TRILL网络中每个设备的设备信息包括第二 TRILL网络中每个设备的 设备 ID、 设备别名、 设备别名的优先级和设备别名的树根优先级; [38] The device information of each device in the second TRILL network includes a device ID, a device alias, a priority of the device alias, and a root priority of the device alias of each device in the second TRILL network;
[39] 所述第一 TRILL网络中的每个互联设备根据所述邻居关系生成多个 LSP报文包 括: [39] Each of the interconnected devices in the first TRILL network generates multiple LSPs according to the neighbor relationship:
[40] 第一 TRILL网络的每个互联设备为每个虚拟节点分别生成虚拟节点 LSP报文, 每个虚拟节点 LSP报文包括本虚拟节点 LSP报文对应的虚拟节点的设备标识 ID、设 备别名、 设备别名的优先级和设备别名的树根优先级, 还包括用于表示本虚拟节点 LSP报文对应的虚拟节点与每个互联设备之间具有邻居关系的第一邻居信息; [40] Each of the interconnected devices of the first TRILL network generates a virtual node LSP packet for each virtual node, and each virtual node LSP packet includes a device identifier ID and a device alias of the virtual node corresponding to the virtual node LSP packet. The priority of the device alias and the root priority of the device alias, and the first neighbor information indicating that the virtual node corresponding to the LSP of the virtual node has a neighbor relationship with each interconnected device;
[41] 第一 TRILL网络的每个互联设备生成互联设备 LSP报文,每个互联设备 LSP报 文包括生成本互联设备 LSP报文的互联设备的设备 ID、设备别名、设备别名的优先 级和设备别名的树根优先级, 还包括用于表示生成本互联设备 LSP报文的互联设备 和每个虚拟节点之间具有邻居关系的第二邻居信息。 [41] Each interconnected device of the first TRILL network generates an LSP packet of the interconnected device, and each interconnected device LSP packet includes a device ID, a device alias, and a device alias priority of the interconnected device that generates the LSP message of the interconnect device. The root priority of the device alias, and the second neighbor information that is used to indicate that the interconnect device that generates the LSP of the interconnect device and the neighbor relationship between each virtual node.
[42] 在根据第二方面的第一种可能的实现方式的第二方面的第二种可能的实现方 式中, [42] In a second possible implementation of the second aspect of the first possible implementation of the second aspect,
[43] 所述第一邻居信息包括每个互联设备的设备 ID, 还包括所述第一邻居信息对 应的虚拟节点与每个互联设备之间的逻辑链路的开销 cost值, 所述第一邻居信息 对应的虚拟节点与每个互联设备之间的逻辑链路的开销 cost值均相等; [43] The first neighbor information includes a device ID of each interconnected device, and further includes an overhead cost value of a logical link between the virtual node corresponding to the first neighbor information and each interconnected device, where the first Neighbor information The cost cost of the logical link between the corresponding virtual node and each interconnected device is equal;
[44] 所述第二邻居信息包括每个虚拟节点的设备 ID, 还包括所述第二邻居信息对 应的互联设备与每个虚拟节点之间的逻辑链路的开销 cost值, 所述第二邻居信息 对应的互联设备与每个虚拟节点之间的逻辑链路的开销 cost值均相等。 [44] The second neighbor information includes a device ID of each virtual node, and further includes an overhead cost value of a logical link between the interconnected device and each virtual node corresponding to the second neighbor information, where the second The cost of the logical link between the interconnected device and the virtual node corresponding to the neighbor information is equal.
[45] 在根据由第二方面至第二方面的第二种可能的实现方式中的任意一个的第二 方面的第三种可能的实现方式中, [45] In a third possible implementation of the second aspect of any of the second possible implementations of the second aspect to the second aspect,
[46] 第一 TRILL网络中的每个互联设备通过 LSP报文向第一 TRILL网络中的其它互 联设备通告表明自身为互联设备的信息, 以使第一 TRILL网络中的每个互联设备获 得该第一 TRILL网络中所有互联设备的信息。 [46] Each interconnected device in the first TRILL network advertises information indicating that it is an interconnected device to other interconnected devices in the first TRILL network through the LSP message, so that each interconnected device in the first TRILL network obtains the Information about all connected devices in the first TRILL network.
[47] 在根据由第二方面至第二方面的第三种可能的实现方式中的任意一个的第二 方面的第四种可能的实现方式中, [47] In a fourth possible implementation of the second aspect of any one of the third possible implementations of the second aspect to the second aspect,
[48] 当第一 TRILL网络中的第一互联设备检测到所述第一 TRILL网络中第一设备的 设备别名与所述第二 TRILL网络中第二设备的设备别名一致时, 比较所述第一设备 的设备别名的优先级和所述第二设备的设备别名的优先级, 其中所述第一设备的设 备别名为第一设备别名, 所述第二设备的设备别名为第二设备别名; [48] When the first interconnect device in the first TRILL network detects that the device alias of the first device in the first TRILL network is consistent with the device alias of the second device in the second TRILL network, The priority of the device alias of the device and the device alias of the second device, wherein the device alias of the first device is a first device alias, and the device alias of the second device is a second device alias;
[49] 如果所述第一设备别名的优先级小于所述第二设备别名的优先级,则为所述第 二设备生成虚拟节点; [49] if the priority of the first device alias is less than the priority of the second device alias, generating a virtual node for the second device;
[50] 如果所述第一设备别名的优先级大于所述第二设备别名的优先级,则第一互联 设备在所述第二设备的别名被更改之前, 不为所述第二设备生成虚拟节点。 [50] If the priority of the first device alias is greater than the priority of the second device alias, the first interconnect device does not generate a virtual for the second device before the alias of the second device is changed. node.
[51] 在根据第二方面的第四种可能的实现方式的第二方面的第五种可能的实现方 式中, 所述方法还包括: [51] In a fifth possible implementation manner of the second aspect of the fourth possible implementation manner of the second aspect, the method further includes:
[52] 在所述第一设备别名的优先级小于所述第二设备别名的优先级的情况下,所述 第一互联设备从所述第一 TRILL网络接收到包含第三设备别名的 LSP报文, 所述包 含第三设备别名的 LSP报文中携带的设备 ID为所述第一设备的设备 ID, 所述第三 设备别名为所述第一设备的新别名; [52] In a case that the priority of the first device alias is less than the priority of the second device alias, the first interconnect device receives an LSP report including the third device alias from the first TRILL network. The device ID carried in the LSP packet containing the third device alias is the device ID of the first device, and the third device alias is a new alias of the first device;
[53] 所述第一互联设备通过扩展的边界网关协议 BGP报文或扩展的标签分发协议 LDP报文通知第二 TRILL网络中的互联设备刪除所述第一设备别名及所述第一设备 别名的优先级, 并加入所述第三设备别名及所述第三设备别名的优先级。 [54] 在根据由第二方面至第二方面的第五种可能的实现方式中的任意一个的第二 方面的第六种可能的实现方式中, 第一 TRILL网络的每个互联设备接收第二 TRILL 网络的互联设备发送的第二 TRILL网络中每个设备的设备信息包括: [53] The first interconnect device notifies the interconnected device in the second TRILL network to delete the first device alias and the first device alias by using an extended border gateway protocol BGP packet or an extended label distribution protocol LDP packet Priority, and join the third device alias and the priority of the third device alias. [54] In a sixth possible implementation of the second aspect according to any one of the second aspect to the fifth possible implementation of the second aspect, each of the first devices of the first TRILL network receives the first The device information of each device in the second TRILL network sent by the interconnecting device of the TRILL network includes:
[55] 第一 TRILL网络的每个互联设备接收第二 TRILL网络中的互联设备通过扩展的 边界网关协议 BGP报文发送的所述第二 TRILL网络中每个设备的设备信息; 或者, [55] each of the interconnected devices of the first TRILL network receives device information of each device in the second TRILL network that is sent by the interconnecting device in the second TRILL network through the extended border gateway protocol BGP packet; or
[56] 第一 TRILL网络的每个互联设备接收第二 TRILL网络中的互联设备通过扩展的 标签分发协议 LDP报文发送的所述第二 TRILL网络中每个设备的设备信息。 [56] Each of the interconnected devices of the first TRILL network receives device information of each device in the second TRILL network that is sent by the interconnecting device in the second TRILL network through the extended label distribution protocol LDP packet.
[57] 在根据由第二方面至第二方面的第六种可能的实现方式中的任意一个的第二 方面的第七种可能的实现方式中, 所述方法还包括: [58] 第一 TRILL网络中的第一互联设备接收第二 TRILL网络的互联设备发送的第二 TRILL网络中的全部的接入 VLAN的信息、 全部的接入 VLAN中的全部的二层组播组 的信息和 /或全部的接入 VLAN中的全部的三层组播组的信息; [57] In a seventh possible implementation of the second aspect of any one of the second possible aspect of the second aspect, the method further comprising: [58] The first interconnecting device in the TRILL network receives all the access VLAN information in the second TRILL network sent by the interconnecting device of the second TRILL network, and the information of all the Layer 2 multicast groups in all the access VLANs and/or Or all access to the information of all Layer 3 multicast groups in the VLAN;
[59] 第一互联设备确定第一互联设备中配置的 VLAN的信息、 VLAN中的二层组播组 的信息和 /或 VLAN中的三层组播组的信息和第二 TRILL网络中的全部的接入 VLAN 的信息、 全部的接入 VLAN中的全部的二层组播组的信息和 /或全部的接入 VLAN中 的全部的三层组播组的信息的交集; [59] The first interconnect device determines information of a VLAN configured in the first interconnected device, information of a layer 2 multicast group in the VLAN, and/or information of a layer 3 multicast group in the VLAN and all in the second TRILL network The information of the access VLAN, the information of all the Layer 2 multicast groups in all the access VLANs, and/or the intersection of the information of all the Layer 3 multicast groups in all the access VLANs;
[60] 第一互联设备在第一 TRILL网络中洪泛所述交集; [60] the first interconnect device floods the intersection in the first TRILL network;
[61] 第一互联设备根据所述交集建立本地分发树剪枝表项,所述本地分发树剪枝表 项中的出接口包括第一互联设备中通向第二 TRILL网络的公网出接口; [62] 当第一互联设备确定通过分发树接收到的来自第一 TRILL 网络的组播流量与 所述本地分发树剪枝表项匹配时, 通过所述公网出接口向所述第二 TRILL网络发送 所述组播流量。 The first interconnecting device establishes a local distribution tree prune entry according to the intersection, and the outbound interface in the local distribution tree prune entry includes a public network outgoing interface that leads to the second TRILL network in the first interconnected device. [62] when the first interconnect device determines that the multicast traffic received from the first TRILL network through the distribution tree matches the local distribution tree prune entry, the public network outbound interface is forwarded to the second The TRILL network sends the multicast traffic.
[63] 在根据由第二方面至第二方面的第六种可能的实现方式中的任意一个的第二 方面的第八种可能的实现方式中, 所述方法还包括: [64] 第一互联设备将第一互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的 信息和 /或 VLAN中的三层组播组的信息在第一 TRILL网络中洪泛; [63] In an eighth possible implementation of the second aspect of any one of the second possible implementation of the second aspect to the second aspect, the method further comprising: [64] The interconnecting device floods the information of the VLAN configured in the first interconnected device, the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN in the first TRILL network;
[65] 第一互联设备根据第一互联设备中配置的 VLAN的信息、 VLAN中的二层组播组 的信息和 /或 VLAN中的三层组播组的信息建立本地分发树简直表项, 所述本地分发 树剪枝表项中的出接口包括第一互联设备中通向第二 TRILL网络的公网出接口; [65] The first interconnected device is based on the information of the VLAN configured in the first interconnected device, and the Layer 2 multicast group in the VLAN. The information and/or the information of the Layer 3 multicast group in the VLAN establishes a local distribution tree. The outbound interface in the local distribution tree pruning table includes the public access to the second TRILL network in the first interconnected device. Network out interface;
[66] 当第一互联设备确定通过分发树接收到的来自第一 TRILL 网络的组播流量与 所述本地分发树剪枝表项匹配时, 通过所述公网出接口向所述第二 TRILL网络发送 所述组播流量。 [66] when the first interconnect device determines that the multicast traffic from the first TRILL network received by the distribution tree matches the local distribution tree prune entry, the public network egress interface to the second TRILL The network sends the multicast traffic.
[67] 在根据由第二方面至第二方面的第八种可能的实现方式中的任意一个的第二 方面的第九种可能的实现方式中, [67] In a ninth possible implementation manner of the second aspect according to any one of the second aspect to the eighth possible implementation of the second aspect,
[68] 第一互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的信息和 /或 VLAN 中的三层组播组的信息与第一 TRILL网络中的第二互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的信息和 /或 VLAN中的三层组播组的信息不存在交集, 其中, 第一互联设备中配置的 VLAN信息通过第一 VLAN ID或第一精细标签 Fine-Grained Label进行标识, 第二互联设备中配置的 VLAN信息通过第二 VLAN ID或第二精细标 签 Fine-Grained Label进行标识。 [68] The information of the VLAN configured in the first interconnected device, the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN and the configuration in the second interconnected device in the first TRILL network. The VLAN information, the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN do not exist. The VLAN information configured in the first interconnect device passes the first VLAN ID or the first VLAN ID. A fine label Fine-Grained Label is used for identification, and the VLAN information configured in the second interconnection device is identified by the second VLAN ID or the second fine label Fine-Grained Label.
[69] 在根据由第二方面的第七种可能的实现方式至第二方面的第九种可能的实现 方式中的任意一个的第二方面的第十种可能的实现方式中, 所述方法还包括: [69] In a tenth possible implementation manner of the second aspect according to any one of the seventh possible implementation of the second aspect to the ninth possible implementation of the second aspect, the method Also includes:
[70] 当第一互联设备发生节点故障时, 第二互联设备为每个虚拟节点分别生成 LSP 第一更新报文, 每个 LSP更新报文包括用于表明与本 LSP第一更新报文对应的虚拟 节点与第一 TRILL 网络中除第一互联设备之外的每个互联设备具有邻居关系的信 [70] When a node fault occurs on the first interconnect device, the second interconnect device generates an LSP first update packet for each virtual node, and each LSP update packet includes a message corresponding to the first update packet of the LSP. a virtual node having a neighbor relationship with each interconnected device in the first TRILL network except the first interconnected device
[71] 第二互联设备洪泛为每个虚拟节点分别生成的 LSP第一更新报文。 [71] The second interconnected device floods the first update packet of the LSP generated for each virtual node.
[72] 在根据由第二方面的第七种可能的实现方式至第二方面的第九种可能的实现 方式中的任意一个的第二方面的第十一种可能的实现方式中, 所述方法还包括: [72] In an eleventh possible implementation manner of the second aspect of any one of the seventh possible implementation of the second aspect to the ninth possible implementation of the second aspect, The method also includes:
[73] 当第一互联设备上与第二 TRILL 网络具有通信连接关系的公网出口或第一互 联设备与第二 TRILL 网络之间的公网链路发生故障时, 所述第一互联设备在第一 TRILL 网络中洪泛用于表示所述第一互联设备与每个虚拟节点之间的逻辑直连链路 被删除的 LSP删除报文; [73] When the public network egress of the first interconnection device that has a communication connection relationship with the second TRILL network or the public network link between the first interconnection device and the second TRILL network fails, the first interconnection device is The LSP deletion message used by the first TRILL network to indicate that the logical direct link between the first interconnected device and each virtual node is deleted;
[74] 第二互联设备接收到所述 LSP删除报文后,为每个虚拟节点分别生成 LSP第二 更新报文, 每个 LSP第二更新报文包括用于表明与本 LSP第二更新报文对应的虚拟 节点与第一 TRILL 网络中除第一互联设备之外的每个互联设备具有邻居关系的信 After receiving the LSP deletion packet, the second interconnection device generates an LSP second update packet for each virtual node, and each LSP second update packet includes a second update report for indicating the LSP with the LSP. Text corresponding virtual a node having a neighbor relationship with each interconnected device other than the first interconnected device in the first TRILL network
[75] 第二互联设备在所述第一 TRILL网络中洪泛 LSP第二更新报文。 [75] The second interconnecting device floods the LSP second update message in the first TRILL network.
[76] 在根据第二方面的第十种可能的实现方式或第二方面的第十一种可能的实现 方式的第二方面的第十二种可能的实现方式中, 所述方法还包括: [76] In a twelfth possible implementation manner of the second aspect of the tenth possible implementation manner of the second aspect or the eleventh possible implementation manner of the second aspect, the method further includes:
[77] 在第二互联设备或第一 TRILL 网络中的第三互联设备中配置第一互联设备在 所述节点故障、 公网出口链路故障或公网链路故障前所使用的故障前转发信息, 所 述故障前转发信息包括 VLAN的信息、 VLAN中二层组播组的信息或 VLAN中三层组播 组的信息; [77] configuring, in the second interconnected device or the third interconnected device in the first TRILL network, the first interconnected device to forward before the fault used by the node, the public network egress link, or the public network link The information before the fault includes the information of the VLAN, the information of the Layer 2 multicast group in the VLAN, or the information of the Layer 3 multicast group in the VLAN.
[78] 第二互联设备或第三互联设备将所述故障前转发信息通告给第一 TRILL 网络 中的设备, 以便第一 TRILL网络中的设备进行分发树剪枝计算。 [78] The second interconnecting device or the third interconnecting device notifies the pre-failure forwarding information to the device in the first TRILL network, so that the device in the first TRILL network performs the distribution tree pruning calculation.
[79] 根据第三方面,一种互联设备, 包括于第一多链路透明互联 TRILL网络中, 所 述互联设备为第一互联设备, 所述第一互联设备包括: [79] According to a third aspect, an interconnection device is included in a first multi-link transparent interconnection TRILL network, where the interconnection device is a first interconnection device, and the first interconnection device includes:
[80] 第一接收单元(701 ), 用于接收第二 TRILL网络中的第二互联设备发送的第二 TRILL网络中每个设备的设备信息; [80] The first receiving unit (701) is configured to receive device information of each device in the second TRILL network sent by the second interconnecting device in the second TRILL network;
[81] 第一生成单元(702), 用于根据所述第二 TRILL网络中每个设备的设备信息分 别生成所述第二 TRILL网络中每个设备的虚拟节点, 第一互联设备分别与每个虚拟 节点具备邻居关系; a first generating unit (702), configured to separately generate virtual nodes of each device in the second TRILL network according to device information of each device in the second TRILL network, where the first interconnecting device respectively Virtual nodes have neighbor relationships;
[82] 第二生成单元(703),用于根据所述邻居关系生成多个链路状态协议 LSP报文, 所述多个 LSP报文携带所述邻居关系; [82] The second generating unit (703) is configured to generate, according to the neighbor relationship, a plurality of link state protocol LSP messages, where the multiple LSP messages carry the neighbor relationship;
[83] 第一洪泛单元(704), 用于在所述第一 TRILL网络内洪泛所述多个 LSP报文。 [83] The first flooding unit (704) is configured to flood the plurality of LSP messages in the first TRILL network.
[84] 在根据第三方面的第三方面的第一种可能实施方式中,所述第二生成单元具体 用于: [84] In a first possible implementation manner of the third aspect of the third aspect, the second generating unit is specifically configured to:
[85] 为每个虚拟节点分别生成第一虚拟节点 LSP报文,每个第一虚拟节点 LSP报文 包括与第一虚拟节点 LSP报文自身对应的虚拟节点的设备信息, 每个第一虚拟节点 LSP报文还包括用于表明与第一虚拟节点 LSP报文自身对应的虚拟节点和所述第一 互联设备之间具有邻居关系的第一邻居信息; [86] 为所述第一互联设备自身生成的第一互联设备 LSP报文, 所述第一互联设备 LSP报文中包括第一互联设备的设备信息, 还包括用于表明所述第一互联设备与每 个虚拟节点之间均具有邻居关系的的第二邻居信息。 [85] A first virtual node LSP message is generated for each virtual node, and each first virtual node LSP message includes device information of the virtual node corresponding to the first virtual node LSP message, each first virtual The node LSP message further includes first neighbor information indicating that the virtual node corresponding to the first virtual node LSP message itself and the first interconnect device have a neighbor relationship; [86] The first interconnected device LSP packet generated by the first interconnected device itself, the first interconnected device LSP packet includes device information of the first interconnected device, and further includes The second neighbor information of the neighbor relationship between the device and each virtual node.
[87] 在根据第三方面的第一种可能的实施方式的第三方面的第二种可能的是实现 方式中, [87] In a second possible implementation of the third aspect of the first possible implementation of the third aspect,
[88] 所述第一邻居信息包括与携带所述第一邻居关系的第一虚拟节点 LSP报文对 应的虚拟节点的设备标识 ID, 还包括与携带所述第一邻居关系的第一虚拟节点 LSP 报文对应的虚拟节点与第一互联设备之间的逻辑直连链路的开销 cost值; [88] The first neighbor information includes a device ID of the virtual node corresponding to the first virtual node LSP that carries the first neighbor relationship, and the first virtual node that carries the first neighbor relationship The cost cost of the logical direct link between the virtual node corresponding to the LSP and the first interconnected device;
[89] 所述第二邻居关系包括每个虚拟节点的设备 ID, 还包括每个虚拟节点与第一 互联设备之间建立的逻辑链路的 cost值。 [89] The second neighbor relationship includes a device ID of each virtual node, and further includes a cost value of a logical link established between each virtual node and the first interconnected device.
[90] 在根据第三方面、第三方面的第一种可能的实现方式或第三方面的第二种可能 的实现方式的第三方面的第三种可能的实现方式中, 所述第一接收单元具体用于- [90] In a third possible implementation manner of the third aspect, the first possible implementation manner of the third aspect, or the third possible implementation manner of the third aspect, the first The receiving unit is specifically used -
[91] 接收第二互联设备通过扩展的边界网关协议 BGP报文发送的第二 TRILL网络中 每个设备的设备信息; 或者, [91] receiving, by the second interconnect device, device information of each device in the second TRILL network sent by the extended border gateway protocol BGP packet; or
[92] 接收第二互联设备通过扩展的标签分发协议 LDP报文发送的第二 TRILL网络中 每个设备的设备信息。 [92] receiving device information of each device in the second TRILL network sent by the second interconnect device through the extended label distribution protocol LDP packet.
[93] 在根据由第三方面至第三方面的第三种可能的实现方式中任意一个的第三方 面的第四种可能的实现方式中, 所述第一接收单元接收的所述第二 TRILL网络中每 个设备的设备信息包括: 第二 TRILL网络中每个设备的设备 ID、设备别名、设备别 名的优先级和设备别名的树根优先级, 所述虚拟节点的设备信息包括: 与虚拟节点 对应的设备的设备 ID、与虚拟节点对应的设备的设备别名、与虚拟节点对应的设备 的设备别名的优先级和与虚拟节点对应的设备的设备别名的树根优先级, 第一互联 设备的设备信息包括: 第一互联设备的设备 ID、设备别名、设备别名的优先级和设 备别名的树根优先级。 [93] In a fourth possible implementation manner of the third aspect of any one of the third possible third aspect to the third aspect, the second receiving The device information of each device in the TRILL network includes: a device ID of each device in the second TRILL network, a device alias, a priority of the device alias, and a root priority of the device alias, where the device information of the virtual node includes: The device ID of the device corresponding to the virtual node, the device alias of the device corresponding to the virtual node, the priority of the device alias of the device corresponding to the virtual node, and the root priority of the device alias of the device corresponding to the virtual node, the first interconnection The device information of the device includes: a device ID of the first interconnected device, a device alias, a priority of the device alias, and a root priority of the device alias.
[94] 在根据由第三方面至第三方面的第四种可能的实现方式中的任意一个的第三 方面的第五种可能的实现方式中, 所述第一互联设备还包括: [94] In a fifth possible implementation manner of the third aspect of the third aspect of the third aspect to the third possible aspect, the first interconnecting device further includes:
[95] 比较单元(705), 用于当第一互联设备检测到第一 TRILL网络中第一设备的设 备别名与第二 TRILL网络中第二设备的设备别名一致时, 比较所述第一设备的设备 别名的优先级和所述第二设备的设备别名的优先级, 其中所述第一设备的设备别名 为第一设备别名, 所述第二设备的设备别名为第二设备别名; [95] a comparing unit (705), configured to compare the first device when the first interconnecting device detects that the device alias of the first device in the first TRILL network is consistent with the device alias of the second device in the second TRILL network device of a priority of the alias and a priority of the device alias of the second device, where the device alias of the first device is a first device alias, and the device alias of the second device is a second device alias;
[96] 如果所述第一设备别名的优先级小于所述第二设备别名的优先级,则所述比较 单元触发所述第一生成单元为所述第二设备生成虚拟节点; [96] if the priority of the first device alias is less than the priority of the second device alias, the comparing unit triggers the first generating unit to generate a virtual node for the second device;
[97] 如果所述第一设备别名的优先级大于所述第二设备别名的优先级,则所述比较 单元在所述第二设备的别名被更改之前, 使所述第一生成单元不为所述第二设备生 成虚拟节点。 [97] If the priority of the first device alias is greater than the priority of the second device alias, the comparing unit causes the first generating unit not to be before the alias of the second device is changed The second device generates a virtual node.
[98] 在根据第三方面的第五种可能的是实现方式的第三方面的第六种可能的实现 方式中, 所述第一互联设备还包括: [98] In a sixth possible implementation manner of the third aspect of the third aspect, the first interconnecting device further includes:
[99] 第二接收单元(706), 用于在所述第一设备别名的优先级小于所述第二设备别 名的优先级的情况下,从所述第一 TRILL网络接收到包含第三设备别名的 LSP报文, 所述包含第三设备别名的 LSP报文中携带的设备 ID为所述第一设备的设备 ID, 所 述第三设备别名为所述第一设备的新别名; [99] The second receiving unit (706) is configured to: when the priority of the first device alias is less than the priority of the second device alias, receive the third device from the first TRILL network The LSP message of the alias, the device ID carried in the LSP packet containing the third device alias is the device ID of the first device, and the third device alias is a new alias of the first device;
[100]通知单元(707), 用于通过扩展的边界网关协议 BGP报文或扩展的标签分发协 议 LDP报文通知第二互联设备删除所述第一设备别名、 所述第一设备别名的优先级 以及所述第一设备别名的树根优先级, 并加入所述第三设备别名、 所述第三设备别 名的优先级和所述第三设备别名的树根优先级。 [100] The notification unit (707) is configured to notify the second interconnection device to delete the first device alias and the first device alias by using the extended border gateway protocol BGP message or the extended label distribution protocol LDP message a level and a root priority of the first device alias, and adding the third device alias, the priority of the third device alias, and the root priority of the third device alias.
[101]在根据由第三方面至第三方面的第六种可能的实现方式中的任意一个的第三 方面的第七种可能的实现方式中, 所述第一互联设备还包括: [101] In a seventh possible implementation of the third aspect of any of the third aspect to the third possible implementation of the third aspect, the first interconnecting device further includes:
[102]第三接收单元(708), 用于接收第二互联设备发送的第二 TRILL网络中的全部 的接入 VLAN的信息、 全部的接入 VLAN中的全部的二层组播组的信息和 /或全部的 接入 VLAN中的全部的三层组播组的信息; [102] The third receiving unit (708) is configured to receive information about all access VLANs in the second TRILL network sent by the second interconnecting device, and information about all Layer 2 multicast groups in all access VLANs. And/or all access to the information of all Layer 3 multicast groups in the VLAN;
[103]第二洪泛单元(709), 用于将所述全部的接入 VLAN的信息、 全部的接入 VLAN 中的全部的二层组播组的信息和 /或全部的接入 VLAN中的全部的三层组播组的信息 洪泛至第一 TRILL网络中; [103] The second flooding unit (709) is configured to: use the information of all the access VLANs, all the information of the Layer 2 multicast group in all access VLANs, and/or all access VLANs. The information of all the three-layer multicast groups is flooded into the first TRILL network;
[104]建立单元(710), 用于根据所述全部的接入 VLAN的信息、全部的接入 VLAN中 的全部的二层组播组的信息和 /或全部的接入 VLAN中的全部的三层组播组的信息建 立本地分发树剪枝表项, 所述本地分发树剪枝表项中的出接口包括第一互联设备中 通向第二互联设备的公网出接口; [104] The establishing unit (710) is configured to use, according to the information about all the access VLANs, information of all Layer 2 multicast groups in all access VLANs, and/or all of the access VLANs. The information of the Layer 3 multicast group is used to establish a local distribution tree prune entry. The outbound interface in the local distribution tree prune entry includes the first interconnected device. a public network outbound interface to the second interconnected device;
[105]发送单元 ( 711 ),用于当第一互联设备确定通过分发树接收到的来自第一 TRILL 网络的组播流量与所述本地分发树剪枝表项匹配时, 通过所述公网出接口向所述第 二互联设备发送所述组播流量。 a sending unit (711), configured to: when the first interconnecting device determines that the multicast traffic received from the first TRILL network through the distribution tree matches the local distribution tree pruning entry, The outbound interface sends the multicast traffic to the second interconnected device.
[106]根据第四方面, 一种多链路透明互联(TRILL) 系统, 包括第一 TRILL网络和 第二 TRILL网络的网络, 第一 TRILL网络包括至少 2个互联设备, 第一 TRILL网络 中的每个互联设备用于: [106] According to a fourth aspect, a multi-link transparent interconnection (TRILL) system includes a network of a first TRILL network and a second TRILL network, where the first TRILL network includes at least two interconnected devices, in the first TRILL network Each connected device is used to:
[107]接收第二 TRILL网络中互联设备发送的第二 TRILL网络中每个设备的设备信 [107] receiving a device letter of each device in the second TRILL network sent by the interconnection device in the second TRILL network
[108]根据第二 TRILL网络中每个设备的设备信息分别生成所述第二 TRILL网络中每 个设备的虚拟节点, 每个互联设备与每个虚拟节点均具有邻居关系; [108] generating virtual nodes of each device in the second TRILL network according to the device information of each device in the second TRILL network, where each interconnected device has a neighbor relationship with each virtual node;
[109]根据所述邻居关系生成多个链路状态协议 LSP报文, 所述多个链路状态协议 LSP报文携带所述邻居关系: And generating, by the neighbor relationship, a plurality of link state protocol LSPs, where the multiple link state protocol LSPs carry the neighbor relationship:
[110]在第一 TRILL网络内洪泛所述多个 LSP报文。 [110] flooding the multiple LSPs in the first TRILL network.
[111]在根据第四方面的第四方面的第一种可能的实现方式中, In a first possible implementation of the fourth aspect according to the fourth aspect,
[112]第一 TRILL网络中的每个互联设备接收的所述第二 TRILL网络中每个设备的设 备信息包括第二 TRILL网络中每个设备的设备 ID、设备别名、设备别名的优先级和 设备别名的树根优先级; [112] The device information of each device in the second TRILL network received by each interconnection device in the first TRILL network includes a device ID, a device alias, a priority of the device alias, and a priority of each device in the second TRILL network. The root priority of the device alias;
[113]所述第一 TRILL网络中的每个互联设备用于根据所述邻居关系生成多个 LSP报 文包括: [113] Each interconnecting device in the first TRILL network is configured to generate multiple LSP messages according to the neighbor relationship, including:
[114]第一 TRILL网络的每个互联设备用于为每个虚拟节点分别生成虚拟节点 LSP报 文,每个虚拟节点 LSP报文包括本虚拟节点 LSP报文对应的虚拟节点的设备标识 ID、 设备别名、 设备别名的优先级和设备别名的树根优先级, 还包括用于表示本虚拟节 点 LSP报文对应的虚拟节点与每个互联设备之间具有邻居关系的第一邻居信息; [114] Each of the interconnected devices of the first TRILL network is configured to generate a virtual node LSP packet for each virtual node, and each virtual node LSP packet includes a device identifier ID of the virtual node corresponding to the virtual node LSP packet, The device alias, the priority of the device alias, and the root priority of the device alias, and the first neighbor information indicating that the virtual node corresponding to the LSP of the virtual node has a neighbor relationship with each interconnected device;
[115]第一 TRILL网络的每个互联设备用于生成互联设备 LSP报文, 每个互联设备 LSP报文包括生成本互联设备 LSP报文的互联设备的设备 ID、 设备别名、 设备别名 的优先级和设备别名的树根优先级, 还包括用于表示生成本互联设备 LSP报文的互 联设备和每个虚拟节点之间具有邻居关系的第二邻居信息。 [115] Each interconnected device of the first TRILL network is configured to generate an LSP message of the interconnected device, and each interconnected device LSP message includes a device ID, a device alias, and a device alias of the interconnected device that generates the LSP message of the interconnect device. The root priority of the device and the device alias. It also indicates the mutual generation of the LSPs of the device. A second neighbor information having a neighbor relationship between the connected device and each virtual node.
[116]在根据第四方面的第一种可能的实现方式的第四方面的第二种可能的实现方 式中, [116] In a second possible implementation of the fourth aspect of the first possible implementation of the fourth aspect,
[117]所述第一邻居信息包括每个互联设备的设备 ID, 还包括所述第一邻居信息对 应的虚拟节点与每个互联设备之间的逻辑链路的开销 cost值, 所述第一邻居信息 对应的虚拟节点与每个互联设备之间的逻辑链路的开销 cost值均相等; [117] The first neighbor information includes a device ID of each interconnected device, and further includes an overhead cost value of a logical link between the virtual node corresponding to the first neighbor information and each interconnected device, where the first The cost cost of the logical link between the virtual node corresponding to the neighbor information and each interconnected device is equal.
[118]所述第二邻居信息包括每个虚拟节点的设备 ID, 还包括所述第二邻居信息对 应的互联设备与每个虚拟节点之间的逻辑链路的开销 cost值, 所述第二邻居信息 对应的互联设备与每个虚拟节点之间的逻辑链路的开销 cost值均相等。 [118] The second neighbor information includes a device ID of each virtual node, and further includes an overhead cost value of a logical link between the interconnected device and each virtual node corresponding to the second neighbor information, where the second The cost of the logical link between the interconnected device and the virtual node corresponding to the neighbor information is equal.
[119]在根据由第四方面至第四方面的第二种可能的实现方式中任意一个的第四方 面的第三种可能的实现方式中, [119] In a third possible implementation of the fourth aspect of any of the second possible implementations of the fourth aspect to the fourth aspect,
[120]第一 TRILL网络中的每个互联设备进一步用于通过 LSP报文向第一 TRILL网络 中的其它互联设备通告表明自身为互联设备的信息, 以使第一 TRILL网络中的每个 互联设备获得该第一 TRILL网络中所有互联设备的信息。 [120] Each of the interconnected devices in the first TRILL network is further configured to notify, by using the LSP message, information indicating that it is an interconnected device to other interconnected devices in the first TRILL network, so that each of the first TRILL networks is interconnected. The device obtains information about all connected devices in the first TRILL network.
[121]在根据由第四方面至第四方面的第三种可能的实现方式中任意一个的第四方 面的第四种可能的实现方式中, [121] In a fourth possible implementation of the fourth aspect of any of the third possible implementations of the fourth aspect to the fourth aspect,
[122]当第一 TRILL网络中的第一互联设备检测到所述第一 TRILL网络中第一设备的 设备别名与所述第二 TRILL网络中第二设备的设备别名一致时, 第一互联设备用于 比较所述第一设备的设备别名的优先级和所述第二设备的设备别名的优先级, 其中 所述第一设备的设备别名为第一设备别名, 所述第二设备的设备别名为第二设备别 名; [122] When the first interconnect device in the first TRILL network detects that the device alias of the first device in the first TRILL network is consistent with the device alias of the second device in the second TRILL network, the first interconnect device a priority of the device alias of the first device and a device alias of the second device, where the device alias of the first device is a first device alias, and the device alias of the second device Is the second device alias;
[123]如果所述第一设备别名的优先级小于所述第二设备别名的优先级,则第一互联 设备用于为所述第二设备生成虚拟节点; [123] if the priority of the first device alias is less than the priority of the second device alias, the first interconnect device is configured to generate a virtual node for the second device;
[124]如果所述第一设备别名的优先级大于所述第二设备别名的优先级,则第一互联 设备用于在所述第二设备的别名被更改之前, 不为所述第二设备生成虚拟节点。 [124] If the priority of the first device alias is greater than the priority of the second device alias, the first interconnect device is configured to not be the second device before the alias of the second device is changed Generate a virtual node.
[125]在根据第四方面的第四种可能的实现方式的第四方面的第五种可能的实现方 式中, [126]在所述第一设备别名的优先级小于所述第二设备别名的优先级的情况下,所述 第一互联设备用于从所述第一 TRILL网络接收到包含第三设备别名的 LSP报文, 所 述包含第三设备别名的 LSP报文中携带的设备 ID为所述第一设备的设备 ID, 所述 第三设备别名为所述第一设备的新别名; [125] In a fifth possible implementation of the fourth aspect of the fourth possible implementation of the fourth aspect, [126] In a case where the priority of the first device alias is less than the priority of the second device alias, the first interconnect device is configured to receive, from the first TRILL network, a third device alias The LSP message, the device ID carried in the LSP packet containing the third device alias is the device ID of the first device, and the third device alias is a new alias of the first device;
[127]所述第一互联设备用于通过扩展的边界网关协议 BGP报文或扩展的标签分发 协议 LDP报文通知第二 TRILL网络中的互联设备删除所述第一设备别名及所述第一 设备别名的优先级, 并加入所述第三设备别名及所述第三设备别名的优先级。 The first interconnecting device is configured to notify the interconnecting device in the second TRILL network to delete the first device alias and the first device by using an extended border gateway protocol BGP packet or an extended label distribution protocol LDP packet. The priority of the device alias, and the priority of the third device alias and the third device alias are added.
[128]在根据由第四方面至第四方面的第五种可能的实现方式中的任意一个的第四 方面的第六种可能的实现方式中, [128] In a sixth possible implementation of the fourth aspect of any one of the fifth possible implementations of the fourth aspect to the fourth aspect,
[129]第一 TRILL网络的每个互联设备用于接收第二 TRILL网络中的互联设备通过扩 展的边界网关协议 BGP报文发送的所述第二 TRILL网络中每个设备的设备信息; 或 者, [129] each of the interconnecting devices of the first TRILL network is configured to receive device information of each device in the second TRILL network that is sent by the interconnecting device in the second TRILL network through the extended border gateway protocol BGP packet; or
[130]第一 TRILL网络的每个互联设备用于接收第二 TRILL网络中的互联设备通过扩 展的标签分发协议 LDP报文发送的所述第二 TRILL网络中每个设备的设备信息。 [130] Each of the interconnected devices of the first TRILL network is configured to receive device information of each device in the second TRILL network sent by the interconnected device in the second TRILL network through the extended label distribution protocol LDP packet.
[131]在根据由第四方面至第四方面的第六种可能的实现方式中的任意一个的第四 方面的第七种可能的实现方式中, 第一 TRILL网络中的第一互联设备用于: [131] In a seventh possible implementation of the fourth aspect of any one of the sixth possible implementations of the fourth aspect to the fourth aspect, the first interconnect device in the first TRILL network is In:
[132]接收第二 TRILL网络的互联设备发送的第二 TRILL网络中的全部的接入 VLAN 的信息、 全部的接入 VLAN中的全部的二层组播组的信息和 /或全部的接入 VLAN中 的全部的三层组播组的信息; [132] receiving information of all access VLANs in the second TRILL network sent by the interconnection device of the second TRILL network, information of all Layer 2 multicast groups in all access VLANs, and/or all accesses Information about all Layer 3 multicast groups in the VLAN;
[133]确定第一互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的信息和 /或 VLAN中的三层组播组的信息和第二 TRILL网络中的全部的接入 VLAN的信息、 全部 的接入 VLAN中的全部的二层组播组的信息和 /或全部的接入 VLAN中的全部的三层 组播组的信息的交集; [133] determining information of a VLAN configured in the first interconnected device, information of a layer 2 multicast group in the VLAN, and/or information of a layer 3 multicast group in the VLAN, and all access VLANs in the second TRILL network Information, the information of all Layer 2 multicast groups in all access VLANs, and/or the intersection of all Layer 3 multicast group information in all access VLANs;
[134]在第一 TRILL网络中洪泛所述交集; [134] flooding the intersection in the first TRILL network;
[135]根据所述交集建立本地分发树剪枝表项,所述本地分发树剪枝表项中的出接口 包括第一互联设备中通向第二 TRILL网络的公网出接口; [135] The local distribution tree prune entry is established according to the intersection, and the outbound interface in the local distribution tree prune entry includes a public network outgoing interface that leads to the second TRILL network in the first interconnection device;
[136]当确定通过分发树接收到的来自第一 TRILL 网络的组播流量与所述本地分发 树剪枝表项匹配时,通过所述公网出接口向所述第二 TRILL网络发送所述组播流量。 [137]在根据由第四方面至第四方面的第六种可能的实现方式中的任意一个的第四 方面的第八种可能的实现方式中, 第一互联设备用于: When the multicast traffic from the first TRILL network received through the distribution tree is determined to match the local distribution tree prune entry, the public network outbound interface is sent to the second TRILL network. Multicast traffic. [137] In an eighth possible implementation of the fourth aspect of any of the fourth possible implementations of the fourth aspect to the fourth aspect, the first interconnecting device is configured to:
[138]将第一互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的信息和 /或 VLAN 中的三层组播组的信息在第一 TRILL网络中洪泛; [138] flooding the information of the VLAN configured in the first interconnected device, the information of the layer 2 multicast group in the VLAN, and/or the information of the layer 3 multicast group in the VLAN in the first TRILL network;
[139]根据第一互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的信息和 /或 VLAN中的三层组播组的信息建立本地分发树简直表项,所述本地分发树剪枝表项中 的出接口包括第一互联设备中通向第二 TRILL网络的公网出接口; [139] establishing a local distribution tree simple entry according to the information of the VLAN configured in the first interconnection device, the information of the layer 2 multicast group in the VLAN, and/or the information of the layer 3 multicast group in the VLAN, where the local distribution is performed. The outbound interface in the tree pruning entry includes the public network outbound interface of the first interconnected device to the second TRILL network.
[140]当确定通过分发树接收到的来自第一 TRILL 网络的组播流量与所述本地分发 树剪枝表项匹配时,通过所述公网出接口向所述第二 TRILL网络发送所述组播流量。 When the multicast traffic from the first TRILL network received through the distribution tree is determined to match the local distribution tree prune entry, the public network outgoing interface sends the the TRILL network to the second TRILL network. Multicast traffic.
[141]在根据由第四方面的第四种可能的实现方式至第四方面的第八种可能的实现 方式中的任意一个的第四方面的第九种可能的实现方式中, [141] In a ninth possible implementation of the fourth aspect according to any one of the fourth possible implementation of the fourth aspect to the eighth possible implementation of the fourth aspect,
[142]第一互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的信息和 /或 VLAN 中的三层组播组的信息与第一 TRILL网络中的第二互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的信息和 /或 VLAN中的三层组播组的信息不存在交集, 其中, 第一互联设备中配置的 VLAN信息通过第一 VLAN ID或第一精细标签 Fine-Grained Label进行标识, 第二互联设备中配置的 VLAN信息通过第二 VLAN ID或第二精细标 签 Fine-Grained Label进行标识。 [142] The information of the VLAN configured in the first interconnected device, the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN and the configuration in the second interconnected device in the first TRILL network. The VLAN information, the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN do not exist. The VLAN information configured in the first interconnect device passes the first VLAN ID or the first VLAN ID. A fine label Fine-Grained Label is used for identification, and the VLAN information configured in the second interconnection device is identified by the second VLAN ID or the second fine label Fine-Grained Label.
[143]在根据由第四方面的第七种可能的实现方式至第四方面的第九种可能的实现 方式中的任意一个的第四方面的第十种可能的实现方式中, [143] In a tenth possible implementation manner of the fourth aspect according to any one of the seventh possible implementation of the fourth aspect to the ninth possible implementation of the fourth aspect,
[144]在第二互联设备用于: [144] Used in the second interconnected device:
[145]当第一互联设备发生节点故障时, 为每个虚拟节点分别生成 LSP第一更新报 文, 每个 LSP更新报文包括用于表明与本 LSP第一更新报文对应的虚拟节点与第一 TRILL网络中除第一互联设备之外的每个互联设备具有邻居关系的信息; [145] When a node fault occurs on the first interconnected device, the LSP first update packet is generated for each virtual node, and each LSP update packet includes a virtual node corresponding to the first update packet of the LSP. Each of the first TRILL networks except the first interconnected device has information of a neighbor relationship;
[146]洪泛为每个虚拟节点分别生成的 LSP第一更新报文。 [146] flooding the first update packet of the LSP generated for each virtual node.
[147]在根据由第四方面的第七种可能的实现方式至第四方面的第九种可能的实现 方式中的任意一个的第四方面的第十一种可能的实现方式中, [147] In an eleventh possible implementation manner of the fourth aspect according to any one of the seventh possible implementation of the fourth aspect to the ninth possible implementation of the fourth aspect,
[148]第一互联设备用于:当第一互联设备上与第二 TRILL网络具有通信连接关系的 公网出口或第一互联设备与第二 TRILL 网络之间的公网链路发生故障时, 在第一 TRILL 网络中洪泛用于表示所述第一互联设备与每个虚拟节点之间的逻辑直连链路 被删除的 LSP删除报文; The first interconnecting device is configured to: when the first interconnected device has a communication connection relationship with the second TRILL network When the public network egress or the public network link between the first interconnected device and the second TRILL network fails, the first TRILL network is flooded to represent the logic between the first interconnected device and each virtual node. The LSP deleted from the directly connected link is deleted.
[149]第二互联设备用于: [149] The second interconnected device is used to:
[150]在接收到所述 LSP删除报文后, 为每个虚拟节点分别生成 LSP第二更新报文, 每个 LSP第二更新报文包括用于表明与本 LSP第二更新报文对应的虚拟节点与第一 TRILL网络中除第一互联设备之外的每个互联设备具有邻居关系的信息; After receiving the LSP deletion packet, the LSP second update packet is generated for each virtual node, and each LSP second update packet includes a second update packet corresponding to the LSP. The virtual node has information of a neighbor relationship with each of the interconnected devices except the first interconnect device in the first TRILL network;
[151]在所述第一 TRILL网络中洪泛 LSP第二更新报文。 [151] flooding the LSP second update message in the first TRILL network.
[152]在根据第四方面的第十种可能的实现方式或第四方面的第十一种可能的实现 方式的第四方面的第十二种可能的实现方式中, [12] In a twelfth possible implementation of the fourth aspect of the tenth possible implementation of the fourth aspect or the eleventh possible implementation of the fourth aspect,
[153]第二互联设备或第一 TRILL 网络中的第三互联设备中配置有第一互联设备在 所述节点故障、 公网出口链路故障或公网链路故障前所使用的故障前转发信息, 所 述故障前转发信息包括 VLAN的信息、 VLAN中二层组播组的信息或 VLAN中三层组播 组的信息; [153] The second interconnected device or the third interconnected device in the first TRILL network is configured to forward the first interconnected device before the failure of the node, the failure of the public network egress link, or the failure of the public network link. The information before the fault includes the information of the VLAN, the information of the Layer 2 multicast group in the VLAN, or the information of the Layer 3 multicast group in the VLAN.
[154]第二互联设备或第三互联设备用于: 将所述故障前转发信息通告给第一 TRILL 网络中的设备, 以便第一 TRILL网络中的设备进行分发树剪枝计算。 [154] The second interconnecting device or the third interconnecting device is configured to: notify the pre-failure forwarding information to the device in the first TRILL network, so that the device in the first TRILL network performs the distribution tree pruning calculation.
[155]本发明实施例中,由于第一 TRILL网络可以为与第一 TRILL网络相连接的第二 TRILL 网络中的每个设备建立虚拟节点, 通过虚拟节点的建立, 相当于第二 TRILL 网络中的每个设备都连接在第一 TRILL网络的互联设备上, 因此当第二 TRILL网络 的拓扑结构发生变化时, 由于虚拟节点未发生变化, 因此第一 TRILL网络不会感知 该变化, 也不会触发重新计算路由, 因此提髙了 TRILL网络互联时的收敛时间, 增 强了组网的可扩展性。 附图说明 In the embodiment of the present invention, since the first TRILL network may establish a virtual node for each device in the second TRILL network connected to the first TRILL network, the establishment of the virtual node is equivalent to the second TRILL network. Each device is connected to the interconnecting device of the first TRILL network. Therefore, when the topology of the second TRILL network changes, since the virtual node does not change, the first TRILL network does not perceive the change, nor does it Triggering the recalculation of the route, thus improving the convergence time of the TRILL network interconnection and enhancing the scalability of the networking. DRAWINGS
[156]为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或 现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 对于本领域普通技 术人员而言, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附 图。 [157]图 1为本发明实施例的 TRILL网络互联方法的流程图; [158]图 2为本发明实施例中第二 TRILL网络的示意图; [159]图 3为本发明实施例中的一种网络架构示意图; [156] 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 embodiments or the description of the prior art will be briefly described below, and it is obvious that it is common in the art. For the technicians, other drawings can be obtained based on these drawings without paying for creative labor. 1 is a flowchart of a TRILL network interconnection method according to an embodiment of the present invention; [158] FIG. 2 is a schematic diagram of a second TRILL network according to an embodiment of the present invention; [159] FIG. 3 is a schematic diagram of an embodiment of the present invention. Schematic diagram of a network architecture;
[160]图 4A为本发明实施例中生成虚拟节点后的 TRILL网络 1的网络拓扑示意图; 4A is a schematic diagram of a network topology of a TRILL network 1 after a virtual node is generated according to an embodiment of the present invention;
[161]图 4B为本发明实施例中 TRILL网络内 BRB设备的内部架构示意图; FIG. 4B is a schematic diagram of an internal architecture of a BRB device in a TRILL network according to an embodiment of the present invention; FIG.
[162]图 5A和图 5B为本发明实施例的 TRILL网络互联方法的流程图; 5A and 5B are flowcharts of a TRILL network interconnection method according to an embodiment of the present invention;
[163]图 6A为本发明实施例中的一种网络架构示意图; 6A is a schematic diagram of a network architecture in an embodiment of the present invention;
[164]图 6B为图 6A中 TRILL网络 1内生成虚拟节点的网络拓扑示意图; [164] FIG. 6B is a schematic diagram of a network topology in which a virtual node is generated in the TRILL network 1 in FIG. 6A;
[165]图 6C为图 6A中 TRILL网络内的 BRB配置了 VLAN的示意图; [165] FIG. 6C is a schematic diagram of a VLAN configured in a BRB in the TRILL network in FIG. 6A;
[166]图 6D为图 6A中 TRILL网络 1的两个树根在 TRILL网络 1中的拓扑关系示意图; [166] FIG. 6D is a schematic diagram showing the topological relationship of two tree roots of the TRILL network 1 in the TRILL network 1 in FIG. 6A;
[167]图 6E为图 6D中 BRB1和 BRB2使用同一棵分发树进行组播报文转发的示意图; [167] FIG. 6E is a schematic diagram of the same packet distribution tree used by BRB1 and BRB2 in FIG. 6D for multicast packet forwarding;
[168]图 6F为图 6D中 BRB1和 BRB2使用不同分发树进行组播报文转发的示意图; [168] FIG. 6F is a schematic diagram of BRB1 and BRB2 using different distribution trees for multicast packet forwarding in FIG. 6D;
[169]图 7为本发明实施例的互联设备示意图; FIG. 7 is a schematic diagram of an interconnection device according to an embodiment of the present invention; FIG.
[170]图 8为本发明实施例的系统示意图; FIG. 8 is a schematic diagram of a system according to an embodiment of the present invention; FIG.
[171]图 9所示为本发明实施例的互联设备 (90)示意图。 具体实施方式 Figure 9 is a schematic diagram of an interconnected device (90) in accordance with an embodiment of the present invention. Detailed ways
[ 172]为了使本技术领域的人员更好地理解本发明实施例中的技术方案,并使本发明 实施例的上述目的、 特征和优点能够更加明显易懂, 下面结合附图对本发明实施例 中技术方案作进一步详细的说明。 The above described objects, features and advantages of the embodiments of the present invention will become more apparent and understood. The technical solution is described in further detail.
[173]参见图 1, 为本发明 TRILL网络互联方法的第一实施例流程图。 [173] Referring to FIG. 1, a flowchart of a first embodiment of a TRILL network interconnection method according to the present invention is shown.
[174]步骤 100: 第一 TRILL网络中的第一互联设备接收第二 TRILL网络中的第二互 联设备发送的第二 TRILL网络中每个设备的设备信息。 [175]具体的,第一 TRILL网络的第一互联设备可以接收第二 TRILL网络的第二互联 设备通过扩展的 BGP (Border Gateway Protocol , 边界网关协议)报文发送的所述 第二 TRILL网络中每个设备的设备信息; 或者, 第一 TRILL网络的互联设备也可以 接收第二 TRILL 网络的第二互联设备通过扩展的 LDP ( Label Distribution Protocol,标签分发协议)报文发送的所述第二 TRILL网络中每个设备的设备信息。 [174] Step 100: The first interconnecting device in the first TRILL network receives device information of each device in the second TRILL network sent by the second interconnecting device in the second TRILL network. Specifically, the first interconnecting device of the first TRILL network may receive the second interconnected device of the second TRILL network by using the extended BGP (Border Gateway Protocol) message in the second TRILL network. The device information of each device; or the interconnecting device of the first TRILL network may also receive the second TRILL sent by the second interconnecting device of the second TRILL network through the extended LDP (Label Distribution Protocol) message. Device information for each device in the network.
[176] 第二 TRILL网络中每个设备的设备信息包括: 设备 ID、 设备别名、 设备别名 的优先级和设备别名的树根优先级。进一步, 所述设备信息还可以包括至少一种下述 信息: 设备接入的虚拟局域网 (VLAN) 的信息、 设备接入的 VLAN中的二层组播组 的信息、 设备接入的 VLAN中的三层组播组的信息。 所述至少一种信息用于由所述 第一 TRILL网络中的设备进行分发树剪枝计算。 上述设备信息可以由第二 TRILL网 络的互联设备从第二 TRILL网络接收到的 LSP报文中获取。 [176] The device information of each device in the second TRILL network includes: device ID, device alias, priority of the device alias, and root priority of the device alias. Further, the device information may further include at least one of the following information: information of a virtual local area network (VLAN) accessed by the device, information of a layer 2 multicast group in a VLAN accessed by the device, and a VLAN accessed by the device. Layer 3 multicast group information. The at least one information is used for distribution tree pruning calculation by devices in the first TRILL network. The device information can be obtained from the LSP packet received by the second TRILL network by the interconnecting device of the second TRILL network.
[177]可选地, 在第一 TRILL网络中的设备和第二 TRILL网络中的设备存在别名冲突的 情况下, 本实施例还可以包括步骤 101。 [177] Optionally, in the case that the device in the first TRILL network and the device in the second TRILL network have an alias conflict, the embodiment may further include step 101.
[178]步骤 101:在第一 TRILL网络中的设备和第二 TRILL网络中的设备存在别名冲突的 情况下, 更改优先级低的设备别名, 消除别名冲突。  [178] Step 101: In the case that there is an alias conflict between the device in the first TRILL network and the device in the second TRILL network, the device alias with a lower priority is changed, and the alias conflict is eliminated.
[179]一种具体的可选方式如下。  [179] A specific alternative is as follows.
[180]当第一互联设备检测到第一 TRILL网络中第一设备的设备别名与第二 TRILL网络 中第二设备的设备别名一致时,比较所述第一设备的设备别名的优先级和所述第二设备 的设备别名的优先级,其中所述第一设备的设备别名为第一设备别名,所述第二设备的 设备别名为第二设备别名;  When the first interconnect device detects that the device alias of the first device in the first TRILL network is consistent with the device alias of the second device in the second TRILL network, comparing the priority and location of the device alias of the first device a priority of the device alias of the second device, where the device alias of the first device is a first device alias, and the device alias of the second device is a second device alias;
[181]如果所述第一设备别名的优先级小于所述第二设备别名的优先级, 则执行步骤 105, 为 第二设备 Λ¾ί节点;  [181] If the priority of the first device alias is less than the priority of the second device alias, step 105 is performed, and the second device is a node;
[182]如果所述第一设备别名的优先级大于所述第二设备别名的优先级, 所述第一互联 设备在 第二设备的别名被更改之前, 不为 第二设备 虚拟节点。  [182] If the priority of the first device alias is greater than the priority of the second device alias, the first interconnect device is not the second device virtual node until the alias of the second device is changed.
[183]可选地,在所述第一设备别名的优先级小于所述第二设备别名的优先级的情况下, 第一互联设备从 第一 TRILL网络接收到包含第三设备别名的 LSP报文, 包 含第三设备别名的 LSP报文中携带的设备 ID为所述第一设备的设备 ID, 所述第三设备 别名为 第一设备的新别名;  [183] Optionally, in a case that the priority of the first device alias is less than the priority of the second device alias, the first interconnect device receives the LSP report including the third device alias from the first TRILL network. The device ID carried in the LSP packet containing the third device alias is the device ID of the first device, and the third device alias is a new alias of the first device;
[184]第一互联设备通过扩展的边界网关协议(BGP)报文或扩展的 分发协议(LDP) 报文通知第二互联设备删除所述第一设备别名、 第一设备别名的优先级以及所述第 一设备别名的,优先级,并加入 第三设备别名、 第三设备别名的优先级和所 述第三设备别名的觀优先级。 [184] The first interconnect device notifies the second interconnect device to delete the first device alias, the priority of the first device alias, and the location by using an extended Border Gateway Protocol (BGP) message or an extended distribution protocol (LDP) message. Narrative A device alias, priority, and a third device alias, a priority of the third device alias, and a view priority of the third device alias.
[185]步骤 105: 第一互联设备根据所述第二 TRILL网络中每个设备的设备信息分别 生成所述第二 TRILL网络中每个设备的虚拟节点, 第一互联设备分别与每个虚拟节 点具备邻居关系。  [185] Step 105: The first interconnecting device generates a virtual node of each device in the second TRILL network according to the device information of each device in the second TRILL network, where the first interconnected device and each virtual node respectively Have a neighbor relationship.
[186] 第二 TRILL网络中每个设备的设备信息包括: 设备 ID、 设备别名、 设备别名 的优先级和设备别名的树根优先级。 所生成的虚拟节点的设备信息包括: 与虚拟节点 对应的设备的设备 ID、与虚拟节点对应的设备的设备别名、与虚拟节点对应的设备的设 备别名的优先级和与虚拟节点对应的设备的设备别名的树根优先级。所述与虚拟节点对 应的设备的设备 ID即为虚拟节点的设备 ID, 所述与虚拟节点对应的设备的设备别名即 为虚拟节点的设备别名, 所述与虚拟节点对应的设备的设备别名的优先级即为 虚拟节 点的设备别名的优先级, 与虚拟节点对应的设备的设备别名的树根优先级即为虚拟 节点的设备别名的树根优先级。第一互联设备的设备信息包括:第一互联设备的设备 ID、 设备别名、 设备别名的优先级和设备别名的,优先级。  [186] The device information of each device in the second TRILL network includes: device ID, device alias, priority of the device alias, and root priority of the device alias. The device information of the generated virtual node includes: a device ID of the device corresponding to the virtual node, a device alias of the device corresponding to the virtual node, a priority of the device alias of the device corresponding to the virtual node, and a device corresponding to the virtual node The root priority of the device alias. The device ID of the device corresponding to the virtual node is the device ID of the virtual node, and the device alias of the device corresponding to the virtual node is the device alias of the virtual node, and the device alias of the device corresponding to the virtual node The priority of the device is the priority of the device alias of the virtual node. The root of the device alias of the device corresponding to the virtual node is the root priority of the device alias of the virtual node. The device information of the first interconnected device includes: a device ID of the first interconnected device, a device alias, a priority of the device alias, and a device alias, and a priority.
[187]步骤 110: 第一互联设备根据所述邻居关系生成多个链路状态协议 LSP报文, 所述多个 LSP报文携带所述邻居关系。  [187] Step 110: The first interconnecting device generates a plurality of link state protocol LSPs according to the neighbor relationship, where the multiple LSPs carry the neighbor relationship.
[188]可选地, 所述根据所述邻居关系生成的多个 LSP报文包括: 为每个虚拟节点分别 第一 节点 LSP报文,每个第一 节点 LSP报文包括与第一虚拟节点 LSP报文 自身对应的虚拟节点的设备信息,每个第一虚拟节点 LSP报文还包括用于表明与第一虚 拟节点 LSP报文自身对应的虚拟节点和所述第一互联设备之间具有邻居关系的第一邻居 信息。此外, 所述多个 LSP报文还包括: 为所述第一互联设备自身生成的第一互联设备 LSP报文, 第一互联设备 LSP报文中包括用于表明 第一互联设备与每个«节 点之间均具有邻居关系的的第二邻居信息。  Optionally, the multiple LSPs generated according to the neighbor relationship include: a first node LSP packet for each virtual node, where each first node LSP packet includes a first virtual node The device information of the virtual node corresponding to the LSP packet, each of the first virtual node LSP messages further includes a neighbor relationship between the virtual node corresponding to the first virtual node LSP message and the first interconnect device. The first neighbor information of the relationship. In addition, the multiple LSP messages further include: a first interconnected device LSP message generated by the first interconnected device itself, where the first interconnected device LSP message includes the first interconnected device and each of the « The second neighbor information of the neighbor relationship between the nodes.
[189]可选地, 第一邻居信息包括与携带 第一邻居关系的第一虚拟节点 LSP报 文对应的雌节点的设备繊 ID、虚拟节点的设备别名、虚拟节点的设备别名的优先级 和虚拟节点的设备别名的树根优先级,还包括与携带所述第一邻居关系的第一 节点 LSP报文对应的虚拟节点与第一互联设备之间的逻辑直连链路的开销 (cost)值。 所述第 二邻居关系包括每个 节点的设备 ID、虚拟节点的设备别名、 节点的设备别名的 优先级和虚拟节点的设备别名的树根优先级,还包括 虚拟节点与第一互联设备之间 建立的逻辑链路的 cost值。  [189] Optionally, the first neighbor information includes a device ID of the female node corresponding to the first virtual node LSP message carrying the first neighbor relationship, a device alias of the virtual node, a priority of the device alias of the virtual node, and The root priority of the device alias of the virtual node, and the cost of the logical direct link between the virtual node corresponding to the first node LSP message carrying the first neighbor relationship and the first interconnect device value. The second neighbor relationship includes a device ID of each node, a device alias of the virtual node, a priority of the device alias of the node, and a root priority of the device alias of the virtual node, and further includes a relationship between the virtual node and the first interconnect device. The cost value of the established logical link.
[190]步骤 115: 第一互联设备在所述第一 TRILL网络内洪泛所述多个 LSP报文。  [190] Step 115: The first interconnect device floods the multiple LSP messages in the first TRILL network.
[191]第一互联设备可以通过洪泛所述多个 LSP报文将自身与这些虚拟节点的邻居 关系发布到第一 TRILL网络内的其它设备上。 [191] The first interconnected device may flood itself with neighbors of the virtual nodes by flooding the multiple LSP messages The relationship is posted to other devices within the first TRILL network.
[192]由上述实施例可见, 由于第一 TRILL网络可以通过其中的第一互联设备, 为所 连接的第二 TRILL网络中的每个设备建立虚拟节点, 第一 TRILL网络中的设备会认 为第二 TRILL网络中的每个设备都连接在第一 TRILL网络的第一互联设备上。 因此 当第二 TRILL网络的拓扑结构发生变化时, 由于虚拟节点未发生变化, 第一 TRILL 网络不会感知第二 TRILL网络中的变化, 也就不会触发重新计算路由, 因此提髙了 TRILL网络互联时的收敛时间, 增强了组网的可扩展性。 [192] It can be seen from the foregoing embodiment that, since the first TRILL network can establish a virtual node for each device in the connected second TRILL network through the first interconnecting device, the device in the first TRILL network considers that Each device in the second TRILL network is connected to the first interconnect device of the first TRILL network. Therefore, when the topology of the second TRILL network changes, since the virtual node does not change, the first TRILL network does not sense the change in the second TRILL network, and thus does not trigger recalculation of the route, thereby improving the TRILL network. The convergence time of the interconnection enhances the scalability of the networking.
[193]可选地, 本实施例还包括以下内容。 [193] Optionally, the embodiment further includes the following content.
[194]步骤 120: 第一互联设备接收第二互联设备发送的第二 TRILL网络中的全部的 接入 VLAN的信息、 全部的接入 VLAN中的全部的二层组播组的信息和 /或全部的接 入 VLAN中的全部的三层组播组的信息。 本实施例通过一个具体的例子对全部的接 入 VLAN进行解释。在如图 2所示的第二 TRILL网络中包括 6个 RB,具体为 RB1-RB6, 其中 RB1、 RB2和 RB3为入口 (Ingress) RB, RBI上存在接入 VLAN1-接入 VLAN100, RB2上存在接入 VLAN101-接入 VLAN200, RB3上存在接入 VLAN50-接入 VLAN200。 在 这种情况下,第二 TRILL中的全部的接入 VLAN为 RB1、RB2和 RB3上的全部接入 VLAN, 即接入 VLAN1-接入 VLAN200, 共 200个接入 VLAN, 全部的接入 VLAN的信息就是接 入 VLAN1-接入 VLAN200这 200个 VLAN的信息, 可以包括 VLAN ID等常见的 VLAN信 息。 在本实施例中, 接入 VLAN是指第二 TRILL网络中的 VLAN。 [194] Step 120: The first interconnecting device receives information of all access VLANs in the second TRILL network sent by the second interconnecting device, information of all Layer 2 multicast groups in all access VLANs, and/or All access to the information of all Layer 3 multicast groups in the VLAN. This embodiment explains all the access VLANs by a specific example. In the second TRILL network shown in FIG. 2, six RBs are included, specifically RB1-RB6, where RB1, RB2, and RB3 are ingress RBs, and RBI has access VLAN 1 - access VLAN 100, and RB2 exists. Access VLAN 101 - access VLAN 200, access VLAN 50 - access VLAN 200 on RB3. In this case, all access VLANs in the second TRILL are all access VLANs on RB1, RB2, and RB3, that is, access VLAN 1 - access VLAN 200, a total of 200 access VLANs, all access VLANs The information is the information of the 200 VLANs that access VLAN 1 and access VLAN 200, and can include common VLAN information such as VLAN ID. In this embodiment, the access VLAN refers to a VLAN in the second TRILL network.
[195]步骤 125: 第一互联设备将所述全部的接入 VLAN的信息、 全部的接入 VLAN中 的全部的二层组播组的信息和 /或全部的接入 VLAN中的全部的三层组播组的信息洪 泛至第一 TRILL网络中, 以便第一 TRILL网络中的其他路由桥(RB)进行分发树剪 枝计算。  [195] Step 125: The first interconnecting device will use the information of all the access VLANs, all the information of the Layer 2 multicast group in all access VLANs, and/or all three of the access VLANs. The information of the layer multicast group is flooded into the first TRILL network, so that other routing bridges (RBs) in the first TRILL network perform distribution tree pruning calculation.
[196]步骤 130: 第一互联设备根据所述全部的接入 VLAN的信息、 全部的接入 VLAN 中的全部的二层组播组的信息和 /或全部的接入 VLAN中的全部的三层组播组的信息 建立本地分发树剪枝表项, 所述本地分发树剪枝表项中的出接口包括第一互联设备 中通向第二互联设备的公网出接口。  [196] Step 130: The first interconnecting device according to the information of all the access VLANs, all the information of the Layer 2 multicast group in all access VLANs, and/or all three of the access VLANs The information of the layer multicast group is used to establish a local distribution tree prune entry, and the outbound interface in the local distribution tree prune entry includes the public network outgoing interface of the first interconnected device to the second interconnected device.
[197]步骤 135: 当第一互联设备确定通过分发树接收到的来自第一 TRILL网络的组 播流量与所述本地分发树剪枝表项匹配, 则通过所述公网出接口向所述第二互联设 备发送所述组播流量。  [197] Step 135: When the first interconnection device determines that the multicast traffic received from the first TRILL network through the distribution tree matches the local distribution tree prune entry, the public network outbound interface is used to The second interconnect device sends the multicast traffic.
[198]举例来说,在第二 TRILL网络中的路由桥 21和路由桥 22均接入 VLAN200的情 况下,如果网络发生变化,路由桥 21不再接入 VLAN200,但路由桥 22仍接入 VLAN200, 那么 VLAN200在第二 TRILL网络中还会存在, 第一 TRILL网络中的路由桥不需要因 为路由桥 21的变化而重新计算分发树剪枝表项。 [198] For example, in the case that both the RBridge 21 and the RBridge 22 in the second TRILL network access the VLAN 200, if the network changes, the RBridge 21 is no longer connected to the VLAN 200, but the RBridge 22 is still connected. VLAN200, Then, the VLAN 200 still exists in the second TRILL network, and the RBridge in the first TRILL network does not need to recalculate the distribution tree prune entry due to the change of the RBridge 21.
[199]下面结合一种 TRILL网络互联架构对前述图 1所示的实施例进行详细描述。以 下的详细描述仅为图 1和图 2所示的实施例的一种或多种可选的、 更加具体的实施 方式, 并非图 1所示的实施例的唯一具体实施方式。 [199] The foregoing embodiment shown in FIG. 1 is described in detail below in conjunction with a TRILL network interconnection architecture. The following detailed description is only one or more optional, more specific embodiments of the embodiment shown in Figures 1 and 2, and is not the only specific embodiment of the embodiment shown in Figure 1.
[200]图 3为两个 DC Site之间进行 TRILL网络互联的网络架构示意图, 其中每个 TRILL网络具有一个互联设备。 [200] Figure 3 is a schematic diagram of a network architecture for TRILL network interconnection between two DC sites, where each TRILL network has an interconnected device.
[201]图 3中, DC Sitel中组建 TRILL网络 1, TRILL网络 1内包含的设备有 RBI至 RBn, RB表示路由桥, 作为分发树树根的 Rootl及作为互联设备的 BRBl, BRB表示 边界路由桥; 相应的 DC Site2中组建 TRILL网络 2, TRILL网络 2内包含的设备有 RBn+1至 RBm, 作为分发树树根的 Root2及作为互联设备的 BRB2。 上述 Root及 BRB 也是 TRILL网络中的 RB设备, 只是因为其在网络中所对应的角色不同, 从而具有 不同的命名, 即 TRILL网络中的 RB、 Root和 BRB都可以统一看作 TRILL网络内的 节点。 [201] In Figure 3, TRILL network 1 is set up in DC Site1. The devices included in TRILL network 1 are RBI to RBn, RB is the routing bridge, Rootl is used as the root of the distribution tree, and BRB1 is the interconnected device. BRB indicates the boundary route. Bridge; TRILL network 2 is formed in the corresponding DC Site2. The devices included in the TRILL network 2 are RBn+1 to RBm, Root2 as the distribution tree root and BRB2 as the interconnection device. The above-mentioned Root and BRB are also RB devices in the TRILL network, but because of their different roles in the network, they have different names. That is, RBs, Roots, and BRBs in the TRILL network can be uniformly regarded as nodes in the TRILL network. .
[202]上述 BRB1和 BRB2分别作为各自 TRILL网络的互联设备, TRILL网络 1和 TRILL 网络 2之间可以由 BRBl和 BRB2通过 IP/MPLS (网际协议 /多协议标签交换)网络建 立 BGP Peer (邻接)关系。 在建立 BGP Peer关系时, BRB1和 BRB2上分别配置 IP 地址, 上述两个 IP地址均为公网可达, 通过上述两个 IP地址建立 TCP连接, 基于 该 TCP连接建立 BGP Peer关系, 通过所建立的 BGP连接, 两个 BRB之间可以传输 两个 TRILL网络的交互信息。 需要说明的是, TRILL网络 1和 TRILL网络 2之间除 了可以使用扩展 BGP建立 BGP Peer关系外, 也可以采用扩展 LDP建立邻接关系, 对此本发明实施例不进行限制。 [202] The foregoing BRB1 and BRB2 are respectively connected devices of the respective TRILL networks, and the BGP Peer (contiguous) can be established between the TRILL network 1 and the TRILL network 2 through the IP/MPLS (Internet Protocol/Multiprotocol Label Switching) network by the BRB1 and the BRB2. relationship. When a BGP peer relationship is established, the IP address is configured on the two interfaces. The two IP addresses are reachable on the public network. The two IP addresses are used to establish a TCP connection. The BGP peer relationship is established based on the TCP connection. BGP connection, the interaction information of two TRILL networks can be transmitted between two BRBs. It should be noted that, in addition to the BGP peer relationship between the TRILL network 1 and the TRILL network 2, the BGP peer relationship can be established by using the extended BGP, and the adjacency relationship can be established by using the extended LDP.
[203]在 BRB1和 BRB2之间的 BGP Peer关系建立成功之后, 在建立 DC Sitel与 DC Site2之间的网络互联时, TRILL1网络 1的互联设备 BRB1将 DC Sitel内所有设备 的设备 ID、 设备 Nickname (别名)、 设备别名的优先级和设备别名的树根优先级通 过扩展的 BGP发送给 TRILL网络 2的 BRB2, 即 BRB1将 DC Sitel中的 RB1、 RB2至 RBn, Rootl , 以及 BRBl的设备别名、 设备别名的优先级、 设备别名的树根优先级, 以及设备的 systemID通过 BGP发送给建立了 BGP Peer关系的对端设备, 即 TRILL 网络 2中的 BRB2, 其中, 设备的 system ID用于表示设备 ID, 通常可以使用设备 的 MAC地址。 同样的, TRILL网络 2中的 BRB2也将 DC Site2中所有设备的设备别 名、 设备别名的优先级、 设备别名的树根优先级和设备的 systemID通过 BGP发送 给对端的 BRB1。 当 TRILL网络中的某个 RB发送 LSP报文时, 该 LSP报文的 LSP ID 中会包含该设备的 systemID, 接收到该 LSP报文的 RB可以根据所包含的 systemID 确定发送该 LSP报文的 RB。 每个别名可以用于唯一标识每个 TRILL网络内的一个 RB, 但不同 TRILL网络中的 RB可能具有相同的别名。 [203] After the BGP Peer relationship between the BRB1 and the BRB2 is successfully established, when the network interconnection between the DC Site1 and the DC Site 2 is established, the interconnected device BRB1 of the TRILL1 network 1 sets the device ID and the device Nickname of all devices in the DC Site1. (alias), the priority of the device alias, and the root priority of the device alias are sent to the BRB2 of TRILL network 2 through the extended BGP, that is, BRB1 will RB1, RB2 to RBn, Rootl, and BRBl device aliases in DC Site1, The device ID of the device, the root of the device, and the system ID of the device are sent to the peer device that establishes the BGP peer relationship, that is, the BRB2 in TRILL network 2. The system ID of the device is used to represent the device. ID, usually the MAC address of the device can be used. Similarly, BRB2 in TRILL network 2 also sends the device alias of all devices in DC Site2, the priority of the device alias, the root priority of the device alias, and the system ID of the device through BGP. Give the opposite side of BRB1. When an RB in the TRILL network sends an LSP, the LSP ID of the LSP contains the system ID of the device. The RB that receives the LSP can determine the LSP to send based on the included systemID. RB. Each alias can be used to uniquely identify one RB within each TRILL network, but RBs in different TRILL networks may have the same alias.
[204]每个 BRB根据对端设备发送的设备 SystemID、 设备别名、 设备别名的优先级 和设备别名的树根优先级生成对应的虚拟节点, 每个 BRB与对应生成的虚拟节点之 间具备邻居关系。 参见图 4A, 为 TRILL网络 1与 TRILL网络 2互联后, TRILL网络 1内生成虚拟节点的网络拓扑示意图。 BRB1与生成的若干虚拟节点具备邻居关系, BRB1将根据该 BRB1与每个虚拟节点的邻居关系生成的 LSP报文洪泛到 TRILL网络 1中。 例如, BRB1为虚拟的 Root2、 BRB2、 RBn+l*"RBm中的每个节点分别生成第一 虚拟节点 LSP报文, 为虚拟的 Root2生成的第一 LSP报文包括虚拟的 Root2的设备 信息, 还包括用于表明虚拟的 Root2和 BRB1具有邻居关系的第一邻居信息。 此外, BRB1还要为 BRB1自身生成第一互联设备 LSP报文, 第一互联设备 LSP报文中包括 用于表明所述 BRB1与虚拟的 Root2、 BRB2、 RBn+l'"RBm中的每个虚拟节点之间均具 有邻居关系的的第二邻居信息。需要说明的是,对第一 TRILL网络接收到第一虚拟节点 LSP报文和第一互联设备 LSP报文的设备来说, 虚拟的 Root2、 BRB2、 RBn+1 RBm都 会被识别为真实的节点。 Is provided between the [204] The virtual root node of each priority and BRB device aliases device S ystemID, device alias, alias device transmits a peer to generate a corresponding priority of each virtual node corresponding to the generated BRB Neighbor relationship. Referring to FIG. 4A, a schematic diagram of a network topology of a virtual node is generated in the TRILL network 1 after the TRILL network 1 and the TRILL network 2 are interconnected. The BRB1 has a neighbor relationship with the generated virtual nodes. The BRB1 floods the LSP packets generated by the neighbor relationship between the BRB1 and each virtual node to the TRILL network 1. For example, BRB1 generates a virtual node LSP packet for each node in the virtual Root2, BRB2, and RBn+l*" RBm, and the first LSP packet generated for the virtual Root2 includes the device information of the virtual Root2. The first neighbor information of the first interconnect device LSP is also generated for the BRB1 itself, and the first interconnect device LSP message is included to indicate the The second neighbor information of the neighbor relationship between the BRB1 and each virtual node in the virtual Root2, BRB2, and RBn+1's RBm. It should be noted that, for the device that receives the first virtual node LSP message and the first interconnect device LSP message, the virtual Root2, BRB2, and RBn+1 RBm are all identified as real nodes.
[205]基于上述图 4A示出的 TRILL网络 1内的网络拓扑结构可知, 即使 TRILL网络 2内部网络的拓扑结构发生变化,但只要 TRILL网络 2内部设备的 Nickname没有发 生改变, 则 TRILL网络 1的 BRB1所挂接的虚拟节点就不会发生变化, 即 TRILL网 络 1不会感知 TRILL网络 2内网络拓扑结构的改变, 由此可以提髙网络内部路由的 收敛时间, 以及组网的可扩展性。 [205] Based on the network topology in the TRILL network 1 shown in FIG. 4A above, even if the topology of the internal network of the TRILL network 2 changes, as long as the Nickname of the internal device of the TRILL network 2 does not change, the TRILL network 1 The virtual node connected to the BRB1 does not change. That is, the TRILL network 1 does not sense the change of the network topology in the TRILL network 2, thereby improving the convergence time of the internal routes of the network and the scalability of the networking.
[206]参见图 4B, 为 TRILL网络内 BRB设备的内部架构示意图: 每个 BRB设备可以 从执行功能上划分为 BGP协议组件、 TRILL导入组件、 虚拟节点生成组件和 TRILL 协议组件。 其中, TRILL协议组件, 用于感知 BRB设备所在 TRILL网络内的设备的 Nickname发生变化后,将发生变化的 Nickname通知给本 BRB设备的 BGP协议组件, BGP协议组件用于将变化的 Nickname通告给对端 BRB, 对端 BRB的 BGP协议组件接 收到该变化的 Nickname后, 将该变化的 Nickname通知该对端 BRB的 TRILL导入组 件, TRILL导入组件用于将该变化的 Nickname通知到虚拟节点生成组件, 虚拟节点 生成组件用于根据变化的 Nickname生成虚拟节点, 并将生成的虚拟节点通知该对 端 BRB设备内的 TRILL协议组件, 由 TRILL协议组件生成 LSP报文, 并将 LSP报文 发布到该对端 BRB所在的 TRILL网络内。 [207]本发明实施例中,由于不同 TRILL网络内的不同 RB可能具有相同的 Nickname, 因此在建立了两个 TRILL网络之间的互联后, 两个 TRILL网络内的 RB在 Nickname 相同的情况下,需要根据 Nickname的优先级进行 Nickname的冲突协商。例如, TRILL 网络 1 中有 NicknamelO, 该 NicknamelO 的优先级为 1, TRILL 网络 2 中也有 Nickname 10, 该 NicknamelO 的优先级为 2, 即优先级髙于 TRILL 网络 1 中的 Nickname 10。 [206] FIG. 4B is a schematic diagram of the internal architecture of the BRB device in the TRILL network: Each BRB device can be divided into a BGP protocol component, a TRILL import component, a virtual node generation component, and a TRILL protocol component from the execution function. The TRILL protocol component is configured to notify the BGP protocol component of the BRB device of the change of the Nickname of the device in the TRILL network where the BRB device is located. The BGP protocol component is used to notify the changed Nickname to the pair. After the BRB, the BGP protocol component of the remote BRB receives the changed Nickname, the changed Nickname is notified to the TRILL import component of the remote BRB, and the TRILL import component is used to notify the virtual node generating component of the changed Nickname. The virtual node generating component is configured to generate a virtual node according to the changed Nickname, and notify the generated virtual node of the TRILL protocol component in the peer BRB device, generate an LSP packet by the TRILL protocol component, and advertise the LSP packet to the pair. The TRBR network where the BRB is located. In the embodiment of the present invention, since different RBs in different TRILL networks may have the same Nickname, after the interconnection between two TRILL networks is established, the RBs in the two TRILL networks have the same Nickname. Need to negotiate Nickname conflict based on the priority of Nickname. For example, there is NicknamelO in TRILL network 1, the priority of NicknamelO is 1, and there is also Nickname 10 in TRILL network 2. The priority of NicknamelO is 2, that is, the priority is the Nickname 10 in TRILL network 1.
[208]可选地, 在 BRB1 和 BRB2通过扩展的 BGP将各自所在 TRILL 网络内设备的 Nickname通告给对方后,其中, BRB1会检测到 TRILL网络 1内有两个 NicknamelO。 如果按照目前的 Nickname生成虚拟节点,那么在生成虚拟节点后, TRILL网络 1中 的设备会认为 TRILL网络 1中存在 2个 Nickname相同的节点,产生 Nickname冲突, 因此需要预先解决这个问题。 BRB1在比较了两个 Nickname的优先级后可知, TRILL 网络 1内的 NicknamelO的优先级小于 TRILL网络 2内 NicknamelO的优先级, 需要 更改 TRILL网络 1内的 NicknamelO。这样, BRB1继续为 TRILL网络 2内 NicknamelO 对应的设备生成虚拟节点。 BRB1通知 TRILL网络 1中 NicknamelO对应的设备, 通 知该设备可以生成一个新的 Nickname20并通过 LSP报文通告到 TRILL网络 1内。 [208] Optionally, after BRB1 and BRB2 advertise the Nickname of the device in the TRILL network to the other party through the extended BGP, the BRB1 detects that there are two NicknamelOs in the TRILL network 1. If a virtual node is generated according to the current Nickname, the device in TRILL network 1 considers that there are two nodes with the same Nickname in TRILL network 1 and generates a Nickname conflict. Therefore, this problem needs to be solved in advance. After comparing the priorities of the two Nicknames, BRB1 knows that the priority of NicknamelO in TRILL network 1 is less than the priority of NicknamelO in TRILL network 2. You need to change NicknamelO in TRILL network 1. In this way, BRB1 continues to generate virtual nodes for the device corresponding to NicknamelO in TRILL network 2. The BRB1 notifies the device corresponding to the NicknamelO in the TRILL network 1, and notifies the device that a new Nickn a me20 can be generated and advertised to the TRILL network 1 through the LSP.
BRB1收到该通告 Nickname20的 LSP报文后,向对端 BRB2通告 TRILL网络 1内增加 了 Nickname20, 同时通告 BRB2刪除已经接收到的 NicknamelO。 BRB2同样也会检测 到 TRILL网络 2内有两个 NicknamelO, 且 TRILL网络 1内的 NicknamelO的优先级 小于 TRILL网络 2内 NicknamelO的优先级,因此可知 TRILL网络 1内的 NicknamelO 需要更改, BRB2暂时不为该 TRILL网络 1内的 NicknamelO对应的设备生成虚拟节 点。 After receiving the LSP message of the Nickname20, the BRB1 notifies the peer BRB2 that the Nickname20 is added to the TRILL network 1, and the BRB2 is notified to delete the NicknamelO that has been received. BRB2 also detects that there are two NicknamelOs in TRILL network 2, and the priority of NicknamelO in TRILL network 1 is less than the priority of NicknamelO in TRILL network 2. Therefore, it is known that NicknamelO in TRILL network 1 needs to be changed, and BRB2 is temporarily not The device corresponding to NicknamelO in the TRILL network 1 generates a virtual node.
[209]根据前述对 TRILL网络之间互联的描述可知,在每个 TRILL网络内,当本 TRILL 网络内的 BRB生成对端 TRILL网络内所有设备的虚拟节点后, 则本 TRILL网络中的 各个节点的连接关系已经确定。 此时本 TRILL网络内的每个节点可以采用现有计算 方式, 按照确定的节点之间的连接关系计算单播路由和组播路由即可。 [209] According to the foregoing description of the interconnection between the TRILL networks, in each TRILL network, after the BRB in the TRILL network generates virtual nodes of all devices in the peer TRILL network, each node in the TRILL network The connection relationship has been determined. At this time, each node in the TRILL network can use the existing calculation mode to calculate unicast routes and multicast routes according to the determined connection relationship between the nodes.
[210]其中, 在计算单播路由时, 每个节点以自身作为源节点, 按照 SPT (Shortest Path Tree, 最短路径树)算法生成该节点到本 TRILL 网络内所有其他节点的最短 路径树, 并结合每个节点发布的 Nickname 以及该节点的邻居表项, 生成基于 Nickname的单播转发表, 该单播转发表如下表 1所示:
Figure imgf000025_0001
公网出口
[210] wherein, in calculating the unicast route, each node uses itself as a source node, and generates a shortest path tree of the node to all other nodes in the TRILL network according to an SPT (Shortest Path Tree) algorithm, and A Nickname-based unicast forwarding table is generated by combining the Nickname issued by each node and the neighboring entry of the node. The unicast forwarding table is as shown in Table 1 below:
Figure imgf000025_0001
Public network exit
[211]可选地, 在计算组播路由时, 首先根据网络中所有节点 (包括本 Site中所有 节点, 以及根据其他 Site发布过来的节点信息生成的虚拟节点) 发布的 nickname 树根优先级和整网支持的分发树数目, 选举分发树树根节点, 然后以树根节点为源 节点, 通过 SPT算法生成该源节点到本 TRILL网络内所有其它节点的最短路径树, 并据此生成组播转发表, 根据该方法整网每个 Site 的分发树树根是相同的, 这样 BUM流量在 Site之间进行传送时, 不需要更改 TRILL头部封装。该组播转发表如下 表 2所示: ¾ 2 [211] Optionally, when calculating the multicast route, firstly, according to all nodes in the network (including all nodes in the site, and virtual nodes generated according to node information published by other sites), the nickname root priority and The number of distribution trees supported by the entire network, the root node of the distribution tree is elected, and then the root node is used as the source node, and the shortest path tree of the source node to all other nodes in the TRILL network is generated by the SPT algorithm, and multicast is generated accordingly. The forwarding table, according to which the distribution tree root of each site of the entire network is the same, so that the BUM traffic does not need to be changed when the BUM traffic is transmitted between the sites. The multicast forwarding table is shown in Table 2 below: 3⁄4 2
树根 Nickname  Tree root Nickname
内部出接口 1 公网出口  Internal outgoing interface 1 public network outlet
[212]如果 TRILL网络 1内有 VLAN 10和 VLAN 20的用户, TRILL网络 2内有 VLAN 10 和 VLAN 30的用户,那么 TRILL网络 1内 VLAN 10的广播、未知单播和组播(Broadcast, Unknown Unicast and Multicast, BUM)报文中的至少一种或全部, 需要经过公网 发送到 TRILL网络 2内的用户; VLAN 20内的 BUM报文中的至少一种或全部只需要 在 TRILL网络 1内进行转发,不需要经过公网发送给 TRILL网络 2内的设备。因此, 为了节省 TRILL网络的出口带宽, 每个 TRILL网络的 BRB设备可以将本 TRILL网络 内的 VLAN、 VLAN内的二层组播组和 /或 VLAN内三层组播组等通过扩展 BGP通告给 互联的 TRILL网络的 BRB设备, VLAN可以通过 12 bit位的 VLAN ID或 24 bit位的 Fine- Grained Label (精细标签)来标识。 结合图 3可知, TRILL网络 1的 BRB1为 TRILL网络 2内的设备生成虚拟节点之后, BRB1可以将 TRILL网络 2中设备接入的 VLAN, 设备接入的 VLAN内的二层组播组、 设备接入的 VLAN内的三层组播组信息在 TRILL网络 1中发布出去, 用于 TRILL网络 1内其他设备进行分发树剪枝计算。 [212] If there are users of VLAN 10 and VLAN 20 in TRILL network 1, and users of VLAN 10 and VLAN 30 in TRILL network 2, broadcast, unknown unicast and multicast of VLAN 10 in TRILL network 1 (Broadcast, Unknown At least one or all of the packets of the Unicast and Multicast, BUM) need to be sent to the user in the TRILL network 2 through the public network; at least one or all of the BUM messages in the VLAN 20 need only be in the TRILL network 1. Forwarding does not need to be sent to the devices in TRILL network 2 through the public network. Therefore, in order to save the egress bandwidth of the TRILL network, the BRB device of each TRILL network can advertise the VLANs in the TRILL network, the Layer 2 multicast groups in the VLAN, and/or the Layer 3 multicast groups in the VLAN to the extended BGP. For BRB devices in interconnected TRILL networks, VLANs can be identified by a 12-bit VLAN ID or a 24-bit Fine- Grained Label. As shown in Figure 3, after the BRB1 of the TRILL network 1 generates a virtual node for the device in the TRILL network 2, the BRB1 can connect the VLAN that the device in the TRILL network 2 accesses to the Layer 2 multicast group and device in the VLAN that the device accesses. The Layer 3 multicast group information in the incoming VLAN is advertised in TRILL network 1. It is used by other devices in TRILL network 1 to perform distribution tree pruning calculation.
[213]例如, 如果 TRILL网络 1的 BRB1的分发树下游 RB设备接入 VLAN n, 且获知 TRILL网络 2内也有 RB设备接入 VLAN n,因此 BRB1生成的组播表项如下表 3所示: 表 3 树根 Nickname N (VLAN ID) [213] For example, if the RB device downstream of the distribution tree of the BRB1 of the TRILL network 1 accesses the VLAN n, and the RB device accesses the VLAN n in the TRILL network 2, the multicast entries generated by the BRB1 are as follows: Table 3 Tree Root Nickname N (VLAN ID)
内部出接口 1 公网出口  Internal outgoing interface 1 public network outlet
[214]上述组播表项中的 key为树根 Nickname+N (内层 VLAN ID), 出接口中包含公 网出口, 表明 TRILL网络 2中有接入 VLAN n, 用于接入本地设备。 [214] The key in the above multicast entry is the root of the tree, Nickname+N (the inner VLAN ID), and the outgoing interface includes the public network egress, indicating that the TRILL network 2 has an access VLAN n for accessing the local device.
[215]下面结合图 3描述 TRILL网络 1和 TRILL网络 2互联后,两个 TRILL网络内的 节点之间进行通信的过程。 其中, 假设为 TRILL网络 1内部的节点 Host A和 TRILL 网络 2内部的节点 Host B之间进行通信: [215] The process of communication between nodes in two TRILL networks after the TRILL network 1 and the TRILL network 2 are interconnected will be described below with reference to FIG. Among them, it is assumed that the node Host A inside the TRILL network 1 and the node Host B inside the TRILL network 2 communicate:
[216]—、 HostA向 HostB发送 ARP Request报文: [216]—HostA sends an ARP Request message to HostB:
[217]HostA广播的 ARP Request报文经过 TRILL网络中组播分发树进行转发, 到达 BRBl , BRB1根据树根 Nickname+内层 VLAN ID作为 key査找组播转发表, 如果出接 口中如果包含公网出接口, 则会将 TRILL网络 1封装的 ARP Request报文再进行公 网 IP/MPLS封装, 然后査找公网转发表项发送出去。 [217] The ARP Request message broadcasted by the HostA is forwarded through the multicast distribution tree in the TRILL network, and the BRB1 is forwarded to the BRB1. The BRB1 searches for the multicast forwarding table based on the root ID of the tree root and the internal VLAN ID. On the interface, the ARP Request packet encapsulated in the TRILL network 1 is encapsulated in the public network IP/MPLS, and then the public network forwarding entry is sent out.
[218]ARP Request报文到达 TRILL网络 2的 BRB2之后, 首先进行公网 IP/MPLS解 封装, 得到 TRILL网络组播数据报文, 然后将该组播数据报文传送到 TRILL网络 2 所有接入用户 VLAN N的边缘 RB。这些边缘 RB再对接收到的组播数据报文进行 TRILL 解封装, 然后将内层原始二层报文发送给 VLAN N内的各个主机, 包括 HostB。 [218] After the ARP Request message arrives at the BRB2 of the TRILL network 2, the public network IP/MPLS decapsulation is performed first, and the TRILL network multicast data packet is obtained, and then the multicast data packet is transmitted to the TRILL network 2 for all access. Edge RB of user VLAN N. The edge RBs perform TRILL decapsulation on the received multicast data packets, and then send the inner layer original Layer 2 packets to each host in the VLAN N, including HostB.
[219]对于组播数据报文, 在到达公网的 PE设备之后, 可以通过组播方式传送到其 他 TRILL网络的 BRB, 也可以通过单播方式传送到其他 TRILL网络的 BRB。 如果公 网为 IP网络, 则公网封装可以采用 GRE (Generic Routing Encapsulation, 通用 路由封装)方式。 其中, 组播方式公网封装的外层目的 IP地址为组播 IP地址, 单 播方式公网封装的外层目的 IP地址为单播 IP地址, 该单播 IP地址为 BGP Peer地 址, 即对端 BRB的地址。 如果公网为 MPLS网络, 则公网封装为 MPLS标签, 组播方 式公网外层封装可以为 P2MP (Point 2 Multiple Point, 点对多点主站) LSP (Label Switch Path, 标签交换路径) 隧道标签, 单播方式外层封装可以为 P2P LSP隧道 的标签。 [219] The multicast data packet can be transmitted to the BRB of other TRILL network through multicast mode after being sent to the PE device of the public network, or can be transmitted to the BRB of other TRILL network by unicast. If the public network is an IP network, the public network encapsulation can use the GRE (Generic Routing Encapsulation). The destination IP address of the public network encapsulated in the multicast mode is the multicast IP address. The unicast IP address of the unicast IP address is the unicast IP address. The unicast IP address is the BGP peer address. The address of the end BRB. If the public network is an MPLS network, the public network is encapsulated as an MPLS label. The outer layer of the public network can be a P2MP (Point 2 Multipoint) LSP (Label Switch Path) tunnel. The label, unicast outer envelope can be the label of the P2P LSP tunnel.
[220]二、 HostB向 HostA发送 ARP R印 ly报文: [221]TRILL网络 2内的入口 RB收到单播 ARP Reply报文之后, 査找单播 MAC转发 表, 获取 TRILL网络 1中 HostA所在 RB设备的 Nickname, 然后査找单播转发表, 将数据报文转发到 BRB2。 BRB2以 Nickname作为 key, 査找单播转发表, 査找到出 接口为公网接口, 然后将 ARP R印 ly报文进行公网封装, 然后査找公网转发表, 将 封装后的数据报文发送给 BRB1。 [220] Second, HostB sends an ARP R-print message to HostA: [221] After receiving the unicast ARP Reply message, the ingress RB in the TRILL network 2 searches for the unicast MAC forwarding table, obtains the Nickname of the RB device where the HostA is located in the TRILL network 1, and then searches for the unicast forwarding table to send the data packet. Forward to BRB2. BRB2 uses the Nickname as the key to find the unicast forwarding table. The outbound interface is the public network interface. Then, the ARP packet is encapsulated on the public network, and then the public network forwarding table is searched. The encapsulated data packet is sent to the public network. BRB1.
[222]BRB1 收到公网封装的单播数据报文之后, 将数据报文进行公网解封装, 然后 基于 TRILL头部的出口别名 (Egress Nickname) 査找单播转发表, 将报文传输到 HostA所在的 RB设备。 该 RB设备再进行 TRILL解封装, 将原始 ARP R印 ly报文发 送给 HostA, HostA根据 ARP Reply报文学习到 HostB的 ARP表项, 即 HostA所在 的 RB设备会学习 HostB的源 AC。 [222] After receiving the unicast data packet encapsulated by the public network, the BRB1 decapsulates the data packet on the public network, and then searches the unicast forwarding table based on the egress Nickname of the TRILL header to transmit the packet to the unicast forwarding table. The RB device where HostA is located. The RB device performs the TRILL decapsulation and sends the original ARP packet to the HostA. The HostA learns the ARP entry of the HostB according to the ARP Reply packet. That is, the RB device where the HostA is located learns the source AC of the HostB.
[223]如果公网为 IP网络, 则公网封装可以采用 GRE封装方式。 单播方式传输数据 报文时, 公网封装的外层目的 IP地址为 BGP Peer地址, 即对端 BRB的地址; 对于 MPLS网络, 公网封装采用 MPLS标签方式, 外层封装为单播 LSP路径对应的 PLS Label , 数据报文经过 LSP逐跳交换可以到达对端 BRB。 [223] If the public network is an IP network, the public network package can be encapsulated in GRE. When the unicast mode is used to transmit data packets, the outer IP address of the public network is the BGP peer address, which is the address of the remote BRB. For the MPLS network, the public network encapsulates the MPLS label and the outer layer is the unicast LSP. Corresponding PLS Labels, data packets can be forwarded to the peer BRB through LSP hop-by-hop exchange.
[224] HostA与 HostB之间传输其他组播报文和未知单播报文的转发流程和前述传输 ARP Request报文和 ARP R印 ly报文的过程相同或类似, 在此不再赘述。 每个互联 设备为每个虚拟节点生成 LSP报文, LSP报文包括互联设备互联设备。 [224] The process of forwarding the other multicast packets and the unknown unicast packets between the HostA and the Host B is the same as or similar to the process of transmitting the ARP Request packets and the ARP Request messages. Each OSPF device generates LSPs for each virtual node. The LSPs include interconnected devices.
[225]参见图 5A和图 5B为本发明实施例的 TRILL网络互联方法的流程图,该实施例 中每个 TRILL网络中包含至少两个互联设备, 该实施例包括如下内容。 FIG. 5A and FIG. 5B are flowcharts of a TRILL network interconnection method according to an embodiment of the present invention. In this embodiment, each TRILL network includes at least two interconnected devices, and the embodiment includes the following content.
[226]步骤 501 : 第一 TRILL网络中的每个互联设备通过 LSP报文向第一 TRILL网络 中的其它互联设备通告表明自身为互联设备的信息, 以使第一 TRILL网络中的每个 互联设备确定第一 TRILL网络中所有互联设备, 其中, 所述表明自身为互联设备的 信息可以由所述 LSP报文中的一个或多个标志位来表示。 步骤 501是可选的步骤, 也可以使用其他方法使第一 TRILL网络中的每个互联设备确定第一 TRILL网络中所 有互联设备。 [226] Step 501: Each interconnected device in the first TRILL network advertises information indicating that it is an interconnected device to other interconnected devices in the first TRILL network through the LSP message, so that each of the first TRILL networks is interconnected. The device determines all the interconnected devices in the first TRILL network, where the information indicating that it is an interconnected device may be represented by one or more flag bits in the LSP message. Step 501 is an optional step, and other methods may be used to make each interconnected device in the first TRILL network determine all connected devices in the first TRILL network.
[227]步骤 502: 第一 TRILL网络的每个互联设备接收第二 TRILL网络中的互联设备 发送的第二 TRILL网络中每个设备的设备信息。 [227] Step 502: Each interconnection device of the first TRILL network receives device information of each device in the second TRILL network sent by the interconnection device in the second TRILL network.
[228]第一 TRILL网络的每个互联设备接收第二 TRILL网络中的互联设备通过扩展的 边界网关协议 (BGP)报文发送的所述第二 TRILL 网络中每个设备的设备信息; 或 者, 第一 TRILL网络的每个互联设备接收第二 TRILL网络中的互联设备通过扩展的 标签分发协议 (LDP)报文发送的所述第二 TRILL网络中每个设备的设备信息。 [228] each of the interconnected devices of the first TRILL network receives device information of each device in the second TRILL network sent by the interconnecting device in the second TRILL network through the extended Border Gateway Protocol (BGP) message; or Each interconnected device of the first TRILL network receives the interconnected device in the second TRILL network through the extended Device information of each device in the second TRILL network sent by a Label Distribution Protocol (LDP) message.
[229]步骤 503: 如果发现别名冲突的情况, 则消除别名冲突。 步骤 503是可选的步 聰 [229] Step 503: If an alias conflict condition is found, the alias conflict is eliminated. Step 503 is optional step Cong
 .
[230]当第一 TRILL网络中的第一互联设备检测到所述第一 TRILL网络中第一设备的 设备别名与所述第二 TRILL网络中第二设备的设备别名一致时, 比较所述第一设备 的设备别名的优先级和所述第二设备的设备别名的优先级, 其中所述第一设备的设 备别名为第一设备别名, 所述第二设备的设备别名为第二设备别名。  [230] comparing the first when the first interconnecting device in the first TRILL network detects that the device alias of the first device in the first TRILL network is consistent with the device alias of the second device in the second TRILL network The priority of the device alias of the device and the device alias of the second device, wherein the device alias of the first device is a first device alias, and the device alias of the second device is a second device alias.
[231]如果所述第一设备别名的优先级小于所述第二设备别名的优先级,则为所述第 二设备生成虚拟节点。 可选地, 在所述第一设备别名的优先级小于所述第二设备别 名的优先级的情况下, 所述第一互联设备从所述第一 TRILL网络接收到包含第三设 备别名的 LSP报文, 所述包含第三设备别名的 LSP报文中携带的设备 ID为所述第 一设备的设备 ID, 所述第三设备别名为所述第一设备的新别名。所述第一互联设备 通过扩展的边界网关协议 BGP报文或扩展的标签分发协议 LDP报文通知第二 TRILL 网络中的互联设备删除所述第一设备别名及所述第一设备别名的优先级, 并加入所 述第三设备别名及所述第三设备别名的优先级。  [231] If the priority of the first device alias is less than the priority of the second device alias, a virtual node is generated for the second device. Optionally, in a case that the priority of the first device alias is smaller than the priority of the second device alias, the first interconnect device receives an LSP that includes the third device alias from the first TRILL network. The device ID of the first device is the device ID of the first device, and the third device alias is a new alias of the first device. The first interconnecting device notifies the interconnected device in the second TRILL network to delete the priority of the first device alias and the first device alias by using an extended border gateway protocol BGP message or an extended label distribution protocol LDP message And adding the priority of the third device alias and the third device alias.
[232]如果所述第一设备别名的优先级大于所述第二设备别名的优先级,则第一互联 设备在所述第二设备的别名被更改之前, 不为所述第二设备生成虚拟节点。  [232] If the priority of the first device alias is greater than the priority of the second device alias, the first interconnect device does not generate a virtual for the second device before the alias of the second device is changed. node.
[233]步骤 504: 第一 TRILL网络的每个互联设备根据第二 TRILL网络中每个设备的 设备信息分别生成所述第二 TRILL网络中每个设备的虚拟节点, 每个互联设备与每 个虚拟节点均具有邻居关系。  [233] Step 504: Each interconnected device of the first TRILL network separately generates virtual nodes of each device in the second TRILL network according to device information of each device in the second TRILL network, and each interconnected device and each Virtual nodes have neighbor relationships.
[234]其中, 所述第二 TRILL网络中每个设备的设备信息包括: 设备 ID、 设备别名、 设备别名的优先级和设备别名的树根优先级; 所述虚拟节点的设备信息包括: 与虚 拟节点对应的设备的设备 ID、与虚拟节点对应的设备的设备别名、与虚拟节点对应 的设备的设备别名的优先级和与虚拟节点对应的设备的设备别名的树根优先级。 所 述与虚拟节点对应的设备的设备 ID即为虚拟节点的设备 ID, 纖与虚拟节点对应的设 备的设备别名即为虚拟节点的设备别名,所述与虚拟节点对应的设备的设备别名的优先 级即为虚拟节点的设备别名的优先级, 与虚拟节点对应的设备的设备别名的树根优 先级即为虚拟节点的设备别名的树根优先级。上述设备信息还可以进一步包括设备接 入的虚拟局域网 VLAN的信息、 设备接入的虚拟局域网 VLAN中的二层组播组的信息 和设备接入的虚拟局域网 VLAN中的三层组播组的信息中的至少一种信息, 所述至 少一种信息用于由所述第一 TRILL网络中的设备进行分发树剪枝计算。 [235]步骤 505: 第一 TRILL网络中的每个互联设备根据所述邻居关系生成多个链路状 态协议(LSP)报文, 腿多个链路状态协议(LSP)报文携带腿邻居关系。 [234] The device information of each device in the second TRILL network includes: a device ID, a device alias, a priority of the device alias, and a root priority of the device alias; the device information of the virtual node includes: The device ID of the device corresponding to the virtual node, the device alias of the device corresponding to the virtual node, the priority of the device alias of the device corresponding to the virtual node, and the root priority of the device alias of the device corresponding to the virtual node. The device ID of the device corresponding to the virtual node is the device ID of the virtual node, and the device alias of the device corresponding to the virtual node is the device alias of the virtual node, and the device alias of the device corresponding to the virtual node takes precedence. The level is the priority of the device alias of the virtual node, and the root priority of the device alias of the device corresponding to the virtual node is the root priority of the device alias of the virtual node. The device information may further include information about a virtual local area network (VLAN) VLAN accessed by the device, information of a layer 2 multicast group in the virtual local area network VLAN accessed by the device, and information of a layer 3 multicast group in the virtual local area network VLAN accessed by the device. At least one of the information for the distribution tree pruning calculation by the device in the first TRILL network. [235] Step 505: Each interconnected device in the first TRILL network generates multiple link state protocol (LSP) packets according to the neighbor relationship, and multiple leg link state protocol (LSP) packets carry leg neighbor relationships. .
[236]可选地, 所述第一 TRILL 网络中的每个互联设备根据所述邻居关系生成多个 LSP报文包括: [236] Optionally, generating, by the interconnecting device, the multiple LSPs according to the neighbor relationship in the first TRILL network includes:
[237]第一 TRILL网络的每个互联设备为每个虚拟节点分别生成虚拟节点 LSP报文。 每个虚拟节点 LSP报文包括本虚拟节点 LSP报文对应的虚拟节点的设备标识(ID)、 设备别名、 设备别名的优先级和设备别名的树根优先级, 还包括用于表示本虚拟节 点 LSP报文对应的虚拟节点与每个互联设备之间具有邻居关系的第一邻居信息。 可 选地, 所述第一邻居信息包括每个互联设备的设备 ID, 可选地, 所述第一邻居信息 还包括所述第一邻居信息对应的虚拟节点与每个互联设备之间的逻辑链路的开销 ( cost)值。 可选地, 所述第一邻居信息对应的虚拟节点与每个互联设备之间的逻 辑链路的开销 (cost)值均相等。 [237] Each interconnected device of the first TRILL network generates a virtual node LSP packet for each virtual node. Each virtual node LSP packet includes the device identifier (ID) of the virtual node corresponding to the LSP of the virtual node, the device alias, the priority of the device alias, and the root priority of the device alias, and includes the virtual node for indicating the virtual node. The first neighbor information of the neighbor relationship between the virtual node corresponding to the LSP packet and each interconnected device. Optionally, the first neighbor information includes a device ID of each interconnected device, and optionally, the first neighbor information further includes logic between the virtual node corresponding to the first neighbor information and each interconnected device. The cost of the link. Optionally, the cost value of the logical link between the virtual node corresponding to the first neighbor information and each of the interconnected devices is equal.
[238]进一步地,所述第一 TRILL网络中的每个互联设备根据所述邻居关系生成多个 LSP报文还可以包括: 第一 TRILL网络的每个互联设备生成互联设备 LSP报文。 每 个互联设备 LSP报文包括生成本互联设备 LSP报文的互联设备的设备 ID设备别名、 设备别名的优先级和设备别名的树根优先级, 还包括用于表示生成本互联设备 LSP 报文的互联设备和每个虚拟节点之间具有邻居关系的第二邻居信息。 可选地, 所述 第二邻居信息包括每个虚拟节点的设备 ID。可选地, 所述第二邻居信息还包括所述 第二邻居信息对应的互联设备与每个虚拟节点之间的逻辑链路的开销 (cost)值。 可选地, 所述第二邻居信息对应的互联设备与每个虚拟节点之间的逻辑链路的开销 ( cost)值均相等。 [238] Further, each interconnecting device in the first TRILL network generates a plurality of LSP messages according to the neighbor relationship, and may further include: each interconnected device in the first TRILL network generates an interconnect device LSP message. The LSP of each interconnected device includes the device ID device alias of the interconnect device that generates the LSP of the interconnect device, the priority of the device alias, and the root priority of the device alias. The interconnected device and the second neighbor information having a neighbor relationship between each virtual node. Optionally, the second neighbor information includes a device ID of each virtual node. Optionally, the second neighbor information further includes a cost value of a logical link between the interconnected device and each virtual node corresponding to the second neighbor information. Optionally, the cost value of the logical link between the interconnected device corresponding to the second neighbor information and each virtual node is equal.
[239]步骤 506: 第一 TRILL网络的每个互联设备在第一 TRILL网络内洪泛所述多个 LSP报文。 [239] Step 506: Each of the interconnected devices of the first TRILL network floods the multiple LSPs in the first TRILL network.
[240]可选地, 本实施例还包括以下内容。 [240] Optionally, the embodiment further includes the following content.
[241]步骤 507: 第一 TRILL网络中的第一互联设备接收第二 TRILL网络的互联设备 发送的第二 TRILL网络中的全部的接入 VLAN的信息、 全部的接入 VLAN中的全部的 二层组播组的信息和 /或全部的接入 VLAN中的全部的三层组播组的信息。 [241] Step 507: The first interconnecting device in the first TRILL network receives all the access VLAN information in the second TRILL network sent by the interconnecting device of the second TRILL network, and all of the access VLANs. Layer multicast group information and/or information of all Layer 3 multicast groups in all access VLANs.
[242]步骤 508: 第一互联设备确定第一互联设备中配置的 VLAN的信息、 VLAN中的 二层组播组的信息和 /或 VLAN中的三层组播组的信息和第二 TRILL网络中的全部的 接入 VLAN的信息、 全部的接入 VLAN中的全部的二层组播组的信息和 /或全部的接 入 VLAN中的全部的三层组播组的信息的交集。 [242] Step 508: The first interconnecting device determines the information of the VLAN configured in the first interconnected device, the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN, and the second TRILL network. Information about all access VLANs, information of all Layer 2 multicast groups in all access VLANs, and/or all connections The intersection of the information of all Layer 3 multicast groups in the VLAN.
[243]步骤 509: 第一互联设备在第一 TRILL网络中洪泛所述交集, 第一 TRILL网络 还包括第二互联设备。 [243] Step 509: The first interconnect device floods the intersection in the first TRILL network, and the first TRILL network further includes a second interconnect device.
[244]步骤 510第一互联设备根据所述交集建立本地分发树剪枝表项,所述本地分发 树剪枝表项中的出接口包括第一互联设备中通向第二 TRILL网络的公网出接口。 步 骤 511和步骤 510是相互独立的, 也可以先执行步骤 510, 再执行步骤 511, 或者 同时执行。 [244] Step 510: The first interconnecting device establishes a local distribution tree pruning table entry according to the intersection, where the outbound interface in the local distribution tree pruning table entry includes a public network that leads to the second TRILL network in the first interconnected device. Outlet interface. Step 511 and step 510 are independent of each other, and step 510 may be performed first, then step 511 may be performed, or may be performed simultaneously.
[245]步骤 511 : 当第一互联设备确定通过分发树接收到的来自第一 TRILL网络的组 播流量与所述本地分发树剪枝表项匹配, 则通过所述公网出接口向所述第二 TRILL 网络发送所述组播流量。 [245] Step 511: When the first interconnection device determines that the multicast traffic received from the first TRILL network through the distribution tree matches the local distribution tree prune entry, the public network outbound interface is used to The second TRILL network sends the multicast traffic.
[246]需要说明的是, 第一互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的 信息和 /或 VLAN中的三层组播组的信息与第二互联设备中配置的 VLAN的信息、 VLAN 中的二层组播组的信息和 /或 VLAN中的三层组播组的信息不存在交集。 第一互联设 备中配置的 VLAN信息通过第一 VLAN ID或第一精细标签 Fine-Grained Label进行 标识, 第二互联设备中配置的 VLAN 信息通过第二 VLAN ID 或第二精细标签 Fine-Grained Label进行标识。 [246] It should be noted that the information of the VLAN configured in the first interconnected device, the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN and the configuration in the second interconnected device. There is no intersection between the information of the VLAN, the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN. The VLAN information configured in the first interconnection device is identified by the first VLAN ID or the first fine label Fine-Grained Label, and the VLAN information configured in the second interconnection device is performed by using the second VLAN ID or the second fine label Fine-Grained Label. Logo.
[247]此外,在本实施例的一种可选方式中, 第一互联设备可以将第一互联设备中配 置的 VLAN的信息、 VLAN中的二层组播组的信息和 /或 VLAN中的三层组播组的信息 在第一 TRILL网络中洪泛, 而不是洪泛所述交集。 第一互联设备根据第一互联设备 中配置的 VLAN的信息、 VLAN中的二层组播组的信息和 /或 VLAN中的三层组播组的 信息建立本地分发树简直表项, 所述本地分发树剪枝表项中的出接口包括第一互联 设备中通向第二 TRILL网络的公网出接口。 当第一互联设备确定通过分发树接收到 的来自第一 TRILL网络的组播流量与所述本地分发树剪枝表项匹配, 则通过所述公 网出接口向所述第二 TRILL网络发送所述组播流量。 In an optional manner of this embodiment, the first interconnecting device may use information about a VLAN configured in the first interconnecting device, information of a layer 2 multicast group in the VLAN, and/or in a VLAN. The information of the Layer 3 multicast group is flooded in the first TRILL network instead of flooding the intersection. The first interconnection device establishes a local distribution tree simple entry according to the information of the VLAN configured in the first interconnection device, the information of the layer 2 multicast group in the VLAN, and/or the information of the layer 3 multicast group in the VLAN, where the local The outbound interface in the distribution tree pruning table includes the public network egress interface of the first interconnect device to the second TRILL network. And when the first interconnecting device determines that the multicast traffic from the first TRILL network that is received by the distribution tree matches the local distribution tree prune entry, sending, by using the public network egress interface, the second TRILL network Multicast traffic.
[248]在后续的步骤中, 根据故障类型的不同, 分别可以执行不同的步骤。 [248] In the subsequent steps, different steps can be performed depending on the type of fault.
[249]当第一互联设备发生节点故障时, 可以执行步骤 512和 513; 当第一互联设备 上与第二 TRILL网络具有通信连接关系的公网出口或第一互联设备与第二 TRILL网 络之间的公网链路发生故障时, 可以执行步骤 514、 515和 516。 [249] When a node failure occurs in the first interconnect device, steps 512 and 513 may be performed; when the first interconnect device has a public network exit or a first interconnect device and a second TRILL network in a communication connection relationship with the second TRILL network; When the public network link fails, steps 514, 515, and 516 can be performed.
[250]步骤 512: 当第一互联设备发生节点故障时, 第二互联设备为每个虚拟节点分 别生成 LSP第一更新报文, 每个 LSP第一更新报文包括用于表明与本 LSP第一更新 报文对应的虚拟节点与第一 TRILL网络中除第一互联设备之外的每个互联设备具有 邻居关系的信息。 [250] Step 512: When a node failure occurs in the first interconnected device, the second interconnected device is divided into each virtual node. The LSP first update packet is generated, and each LSP first update packet includes a virtual node corresponding to the first update packet of the LSP and each of the first TRILL network except the first interconnect device. The device has information about neighbor relationships.
[251]步骤 513: 第二互联设备洪泛为每个虚拟节点分别生成的 LSP第一更新报文。 这样, 第二互联设备在网络中通告了当前最近的网络状况, 让第一 TRILL网络中的 设备确定第一互联设备已经不再与每个虚拟节点具备邻居关系。 [251] Step 513: The second interconnected device floods the first update packet of the LSP generated by each virtual node. In this way, the second interconnected device advertises the current recent network condition in the network, so that the device in the first TRILL network determines that the first interconnected device no longer has a neighbor relationship with each virtual node.
[252]步骤 514: 当第一互联设备上与第二 TRILL网络具有通信连接关系的公网出口 或第一互联设备与第二 TRILL网络之间的公网链路发生故障时, 所述第一互联设备 在第一 TRILL网络中洪泛用于表示所述第一互联设备与每个虚拟节点之间的逻辑直 连链路被删除的 LSP删除报文。 [252] Step 514: When a public network egress with a communication connection relationship with the second TRILL network or a public network link between the first interconnection device and the second TRILL network on the first interconnection device fails, the first The interconnected device is flooded in the first TRILL network to indicate that the logical direct link between the first interconnected device and each virtual node is deleted.
[253]步骤 515: 第二互联设备接收到所述 LSP刪除报文后, 为每个虚拟节点分别生 成 LSP第二更新报文, 每个 LSP第二更新报文包括用于表明与本 LSP第二更新报文 对应的虚拟节点与第一 TRILL网络中除第一互联设备之外的每个互联设备具有邻居 关系的信息。 [253] Step 515: After receiving the LSP deletion packet, the second interconnection device generates an LSP second update packet for each virtual node, and each LSP second update packet includes The virtual node corresponding to the second update packet has information of a neighbor relationship with each of the interconnected devices except the first interconnected device in the first TRILL network.
[254]步骤 516:所述第二互联设备在所述第一 TRILL网络中洪泛 LSP第二更新报文。 [255]在步骤 513或步骤 516之后, 本实施例还包括以下步骤。 [254] Step 516: The second interconnecting device floods the LSP second update packet in the first TRILL network. [255] After step 513 or step 516, the embodiment further includes the following steps.
[256]步骤 517: 在第二互联设备或第一 TRILL网络中的第三互联设备中配置第一互 联设备在所述节点故障、 公网出口链路故障或公网链路故障前所使用的故障前转发 信息, 所述故障前转发信息包括 VLAN的信息、 VLAN中二层组播组的信息或 VLAN中 三层组播组的信息。 这样, 第二互联设备或第三互联设备就获取了第一互联设备的 故障前转发信息, 以便后续可以代替第一互联设备进行流量转发, 避免与第一互联 设备相关的故障带来的影响。 [256] Step 517: Configuring, in the second interconnected device or the third interconnected device in the first TRILL network, the first interconnected device to be used before the node failure, the public network egress link failure, or the public network link failure The information is forwarded before the fault, and the information before the fault includes the information of the VLAN, the information of the Layer 2 multicast group in the VLAN, or the information of the Layer 3 multicast group in the VLAN. In this way, the second interconnecting device or the third interconnecting device obtains the pre-failure forwarding information of the first interconnecting device, so that the traffic forwarding can be performed instead of the first interconnecting device, thereby avoiding the impact of the fault associated with the first interconnected device.
[257]步骤 518: 第二互联设备或第三互联设备将所述故障前转发信息通告给第一 TRILL网络中的设备, 以便第一 TRILL网络中的设备进行分发树剪枝计算。 [257] Step 518: The second interconnecting device or the third interconnecting device advertises the pre-failure forwarding information to the device in the first TRILL network, so that the device in the first TRILL network performs the distribution tree pruning calculation.
[258]步骤 519: 每个互联设备根据各自当前配置的 VLAN的信息、 VLAN中二层组播 组的信息或 VLAN中三层组播组的信息, 选择不同的分发树转发来自第二 TRILL网 络的组播报文。 由于第一互联设备的转发信息已经被配置到了第二互联设备或第三 互联设备, 因此网络中的流量可以继续被正常地转发。 [259]需要说明的是, 步骤 507-519中的每个步骤均为可选步骤。 [258] Step 519: Each connected device selects a different distribution tree to forward from the second TRILL network according to the information of the currently configured VLAN, the information of the Layer 2 multicast group in the VLAN, or the information of the Layer 3 multicast group in the VLAN. Multicast packet. Since the forwarding information of the first interconnected device has been configured to the second interconnected device or the third interconnected device, traffic in the network can continue to be forwarded normally. [259] It should be noted that each of steps 507-519 is an optional step.
[260]下面结合另一种 TRILL网络互联架构对前述图 5A和图 5B示出的实施例就行详 细描述。 以下的详细描述仅为图 5A和图 5B所示的实施例的一种或多种可选的、 更 加具体的实施方式, 并非图 5A或 5B所示的实施例的唯一具体实施方式。 即使没有 以下内容, 本领域技术人员也可以容易地理解图 5A或 5B所示的实施例。 The embodiment shown in Figures 5A and 5B above will be described in detail below in conjunction with another TRILL network interconnection architecture. The following detailed description is only one or more optional, more specific embodiments of the embodiment shown in Figures 5A and 5B, and is not the only specific embodiment of the embodiment shown in Figures 5A or 5B. The embodiment shown in Fig. 5A or 5B can be easily understood by those skilled in the art even without the following contents.
[261]参见图 6A, 为本发明实施例中的网络架构示意图, 其中每个 TRILL网络具有 两个互联设备: [261] FIG. 6A is a schematic diagram of a network architecture in an embodiment of the present invention, where each TRILL network has two interconnected devices:
[262]其中, 在 TRILL网络 1中的互联设备包括 BRB1和 BRB2, TRILL网络 2中的互 联设备包括 BRB3和 BRB4。 不同 TRILL网络中的任意两个 BRB之间建立 BGP Peer关 系, 如图 6A中虚线所示。 由于每个 TRILL网络内包含两个互联设备, 因此采用这 样的网络结构可以实现每个 TRILL网络内部的负载流量分担, 且一个 BRB可以作为 另一个 BRB的备份设备, 由此进一步提髙网络互联的可靠性。 [262] wherein the interconnection devices in the TRILL network 1 include BRB1 and BRB2, and the interconnection devices in the TRILL network 2 include BRB3 and BRB4. A BGP Peer relationship is established between any two BRBs in different TRILL networks, as shown by the dotted line in Figure 6A. Since each TRILL network includes two interconnected devices, such a network structure can implement load and load sharing within each TRILL network, and one BRB can serve as a backup device of another BRB, thereby further improving network interconnection. reliability.
[263]图 6A中, 每个 TRILL网络内的每个 BRB都预先通过扩展 LSP报文在 TRILL网 络内通告本 BRB互联设备,以使所有 BRB可知 TRILL网络内的互联设备情况。例如, TRILL网络 1内的 BRB1和 BRB2分别通过扩展的 LSP报文通告对方自身为互联设备, 则 BRB1可知在 TRILL网络 1内 BRB1和 BRB2为互联设备,同时 BRB2也可知在 TRILL 网络 1内 BRB1和 BRB2为互联设备; 同理, TRILL网络 2内的 BRB3、 BRB4分别可知 在 TRILL网络 2内 BRB3和 BRB4为互联设备。 [263] In Figure 6A, each BRB in each TRILL network advertises the BRB interconnect device in the TRILL network in advance through the extended LSP message, so that all BRBs can know the connected devices in the TRILL network. For example, BRB1 and BRB2 in TRILL network 1 respectively advertise the other party as an interconnected device through the extended LSP message. BRB1 knows that BRB1 and BRB2 are interconnected devices in TRILL network 1, and BRB2 can also know BRB1 in TRILL network 1. BRB2 is an interconnected device. Similarly, BRB3 and BRB4 in TRILL network 2 respectively know that BRB3 and BRB4 are interconnected devices in TRILL network 2.
[264]图 6A中本 TRILL网络内的每个 BRB接收到对端 TRILL网络的 BRB发送的该 TRILL网络内每个设备的 Nickname (设备别名)、 Nickname的优先级、 树根优先级 和设备 ID后, 生成对端 TRILL网络每个设备的虚拟节点,每个虚拟节点与本 TRILL 网络内的每个 BRB都采用逻辑直连链路, 链路的 cost值相同, 设备 ID可以由设备 的 system ID (系统 ID)表示。 参见图 6B, 为 TRILL网络 1内生成虚拟节点的网络 拓扑示意图。 [264] Each BRB in the TRILL network in FIG. 6A receives the Nickname (device alias), Nickname priority, root priority, and device ID of each device in the TRILL network sent by the BRB of the peer TRILL network. Then, the virtual node of each device of the peer TRILL network is generated. Each virtual node and the BRB in the TRILL network adopt a logical direct link. The cost of the link is the same. The device ID can be determined by the system ID of the device. (System ID) indicates. Referring to FIG. 6B, a schematic diagram of a network topology for generating a virtual node in the TRILL network 1 is shown.
[265]BRB为每个虚拟节点生成的 LSP报文中包含该虚拟节点对应设备的 systemID、 Nickname, Nickname的优先级、树根优先级以及该虚拟节点和每个 BRB之间的邻居 关系。 如下表 4所示为 BRB所生成的虚拟节点的 LSP报文中包括的信息: 表 4 [265] The LSP packet generated by the BRB for each virtual node includes the systemID, the Nickname, the Nickname priority, the root priority, and the neighbor relationship between the virtual node and each BRB. Table 4 below shows the information included in the LSP packet of the virtual node generated by the BRB: Table 4
LSPID LSPID
NicknameTLV  NicknameTLV
Neighbourl TLV  Neighbourl TLV
Neighbour 2 TLV  Neighbour 2 TLV
[266]上表 4中, LSPID由虚拟节点的 system ID、 伪节点 ID、 LSP序列号组成, 虚 拟节点和各个 BRB之间逻辑链路为点对点类型链路, 不需要生成伪节点, 伪节点 ID 可以都填为 0, LSP序列号从 1开始逐渐增大, 每台出口 BRB设备独立为每个虚拟 节点产生序列号; Nickname类型长度值(TLV)中有虚拟节点的 Nickname、 Nickname 的优先级、 Nickname的树根优先级 (root priority); Neighbour TLV表示虚拟节 点和每个 BRB的邻居关系, 其中 Neighbourl TLV表示虚拟节点和 BRB1之间的邻居 关系, Neighbour2 TLV表示虚拟节点和 BRB2之间的邻居关系; Neighbour TLV中 包含虚拟节点和 BRB之间逻辑链路的 cost值、 TU (Maximum Transmission Unit, 最大传输单元)值, 这两个数值可以由用户手工配置, 或自动生成, 每个虚拟节点 和所有 BRB之间的逻辑链路 cost值相同, 从而可以在 TRILL网络内形成互联设备 的负载分担,即 TRILL网络内的流量能够从不同的 BRB设备传输到对端 TRILL网络。 [266] In the above table 4, the LSPID is composed of the system ID, the pseudo node ID, and the LSP sequence number of the virtual node, and the logical link between the virtual node and each BRB is a point-to-point type link, and does not need to generate a pseudo node, a pseudo node ID. Can be filled in 0, the LSP sequence number gradually increases from 1, each exit BRB device independently generates a serial number for each virtual node; Nickname type length value (TLV) has the priority of the virtual node's Nickname, Nickname, Neighbour TLV represents the neighbor relationship between the virtual node and each BRB. Neighbourl TLV represents the neighbor relationship between the virtual node and BRB1, and Neighbour2 TLV represents the neighbor relationship between the virtual node and BRB2. The Neighbour TLV contains the cost value of the logical link between the virtual node and the BRB, and the TU (Maximum Transmission Unit) value. These two values can be manually configured by the user, or automatically generated, each virtual node and all The logical link cost value between the BRBs is the same, so that the negative of the interconnected device can be formed in the TRILL network. Sharing, i.e. the TRILL network traffic can be transmitted from different devices to the peer BRB TRILL network.
[267]每个 BRB为虚拟节点生成的 LSP报文中,除了 LSP序列号之外,其他内容一致。 [267] Each RB packet generated by the virtual node is the same as the LSP sequence number.
LSP序列号由 BRB为每个虚拟节点独立产生, 在周期性发送 LSP报文时 LSP序列号 不断增加,每台设备的 LSP报文发送周期优选配置为一样,且序列号尽量保证同步, 比如 BRB1为虚拟节点 1周期性生成 LSP报文 LSP1、 LSP2、 LSP3〜, 则 BRB2也为虚 拟节点 1周期性生成 LSP报文 LSP1、 LSP2、 LSP3〜, 如果 BRB2收到 BRB1为虚拟节 点 1产生的 LSP报文序列号为 3,则 BRB2后续产生的第一个 LSP序列号优选为 4或 更大。本 TRILL网络内除 BRB设备的其他设备会周期性收到两份 LSP报文,对于 LSP 序列号比较小的 LSP报文则可以进行丢弃, 如果 LSP序列号比较大认为接收到新的 LSP报文, 则进行更新处理, 通过上述对不同 BRB之间 LSP报文的序列号做同步处 理之后, 可以降低 LSP报文因为错序被丢弃的概率。 The LSP sequence number is generated independently by the BRB for each virtual node. When the LSPs are sent periodically, the LSP sequence number is increased. The LSP packet sending interval of each device is preferably configured the same, and the sequence number is guaranteed to be synchronized, for example, BRB1. If the virtual node 1 periodically generates the LSPs LSP1, LSP2, and LSP3~, the BRB2 also generates the LSPs LSP1, LSP2, and LSP3~ for the virtual node 1, and if the BRB2 receives the LSP reported by the virtual node 1 If the serial number is 3, the first LSP sequence number generated by BRB2 is preferably 4 or greater. The other devices except the BRB device in the TRILL network receive two LSPs periodically. The LSPs with a smaller LSP sequence number can be discarded. If the LSP sequence number is larger, the device considers that the new LSP is received. Then, the update process is performed. After the synchronization of the sequence numbers of the LSPs between different BRBs is performed, the probability that the LSP packets are discarded due to the wrong order can be reduced.
[268]每个 BRB还需要把该 BRB和虚拟节点之间的直连链路关系通过 LSP报文发布出 去。 如下表 5所示为用于发布直连链路关系的 LSP报文包括的信息: 表 5 LSPID [268] Each BRB also needs to advertise the direct link relationship between the BRB and the virtual node through the LSP message. Table 5 below shows the information of the LSPs used to advertise the direct link relationship: Table 5 LSPID
NicknameTLV  NicknameTLV
Neighbourl TLV  Neighbourl TLV
Neighbour 2 TLV  Neighbour 2 TLV
Neighbourm TLV Neighbourm TLV
[269]上表 5中, LSPID中的 systemID为每个 BRB自身的 systemID,伪节点 ID为 0, LSP序列号由 BRB独立产生, 遵循逐渐递增的原则。 该 LSP报文的 Neighbour TLV 中包含和 N个虚拟节点之间的逻辑连接关系, 包括逻辑链路的 cost值、 MTU值, 这 两个数值可以由用户手工配置, 或自动生成。 [269] In the above table 5, the systemID in the LSPID is the system ID of each BRB itself, the pseudo node ID is 0, and the LSP sequence number is independently generated by the BRB, and the principle of increasing gradually follows. The Neighbour TLV of the LSP contains the logical connection relationship with the N virtual nodes, including the cost value and MTU value of the logical link. These two values can be manually configured by the user or automatically generated.
[270]在描述 TRILL网络中的 BRB设备之间的备份和负载分担时,以 TRILL网络 1中 的 BRB1和 BRB2配置 VLAN为例。其中, BRB1配置负责 VLAN1至 VLAN1000的数据传 输,并将 VLAN1001至 VLAN2000配置为 BRB2的备份,同时 BRB2配置负责 VLAN 1001 至 VLAN2000的数据传输,并将 VLAN1至 VLAN1000配置为 BRB1的备份。 BRB配置完 负责的 VLAN之后, 将 VLAN信息通过 TRILL协议中的相关(Interested) VLANs和 生成树根子类型长度值(Spanning Tree Roots Sub-TLV) 发布出去, 使该 BRB成 为该 VLAN剪枝树的叶子节点, 从而能够接收或发送该 VLAN内的组播数据报文。 当 BRB1从 TRILL网络 1内部或公网收到组播数据报文之后,检査 TRILL数据报文中的 用户 VLAN, 根据检査结果可知如果该 VLAN不属于自身配置的范围之内, 则进行丢 弃, 否则进行转发。 [270] In the description of the backup and load balancing between BRB devices in the TRILL network, the VLANs configured in BRB1 and BRB2 in TRILL network 1 are taken as an example. The BRB1 configuration is responsible for VLAN 1 to VLAN 1000 data transmission, and VLAN 1001 to VLAN 2000 are configured as BRB2 backups. The BRB2 configuration is responsible for VLAN 1001 to VLAN 2000 data transmission, and VLAN 1 to VLAN 1000 are configured as BRB1 backups. After the BRB is configured with the responsible VLAN, the VLAN information is advertised through the related (Interested) VLANs and the Spanning Tree Roots Sub-TLV in the TRILL protocol. The BRB becomes the leaf of the VLAN pruning tree. A node, so that it can receive or send multicast data packets in the VLAN. After receiving the multicast data packet from the TRILL network 1 or the public network, the BRB1 checks the user VLAN in the TRILL data packet. According to the check result, if the VLAN does not belong to the configured range, the device discards the packet. , otherwise forwarded.
[271]参见图 6C, 为 TRILL网络内的 BRB配置了 VLAN的示意图。 [271] See Figure 6C, which is a schematic diagram of a VLAN configured for a BRB in a TRILL network.
[272]在配置了 VLAN后,本 TRILL网络内的每个 BRB将自身负责的 VLAN的信息、 VLAN 内二层组播组的信息或 VLAN内三层组播的组信息通告给对端 TRILL网络的 BRB。结 合图 6C可知, 比如 BRB1向 BRB3和 BRB4通告自身负责用户 VLAN 1-1000, BRB2向 BRB3和 BRB4通告自身负责用户 VLAN 1001-2000, BRB3向 BRB1和 BRB2通告自身负 责用户 VLAN 1001-2000, BRB4向 BRB1和 BRB2通告自身负责用户 VLAN 1-lOOOoTRILL 网络 1的 BRB1收到 VLAN 1-1000内的任意 VLAN内的组播流量后, 会向 BRB4进行 发送, 而不会向 BRB3进行发送。 如果公网封装采用单播通用路由封装 ( Generic Routing Encapsulation, GRE)方式, 则目的 IP地址为 BRB4的 IP地址。 [272] After the VLAN is configured, each BRB in the TRILL network advertises the information of the VLAN that it is responsible for, the information of the Layer 2 multicast group in the VLAN, or the group information of the Layer 3 multicast in the VLAN to the peer TRILL network. BRB. As shown in FIG. 6C, for example, BRB1 advertises itself to user VLAN 1-1000 to BRB3 and BRB4, BRB2 advertises itself to user VLAN 1001-2000 to BRB3 and BRB4, and BRB3 advertises itself to user VLAN 1001-2000 to BRB1 and BRB2, BRB4 direction BRB1 and BRB2 advertise that the BRB1 responsible for the user VLAN 1-lOOOoTRILL network 1 receives the multicast traffic in any VLAN in VLAN 1-1000 and sends it to BRB4 without sending it to BRB3. If the public network encapsulation adopts the unicast routing encapsulation (GRE) mode, the destination IP address is the IP address of the BRB4.
[273]根据网络中传输时的 RPF ( Reverse-path Forwarding, 反向路径转发)检査 要求, 每个 TRILL网络内的一棵分发树内的组播流量只能从一个互联设备到达目的 设备。 例如, 结合图 6C可知, 如果 TRILL网络 2中的 RB n+1接入 VLAN 1-2000, 则该 RB n+1的组播流量到达 TRILL网络 1的时候, 属于 VLAN 1-1000的组播流量 会通过 BRB1进入 TRILL网络 1, 属于 VLAN 1001-2000的组播流量会通过 BRB2进入 TRILL网络 1, 由此可知, 由同一个 RB设备, 即 RB n+1传输的组播流量到达 TRILL 网络 1时可能存在 RPF检査不通过的问题。 假设 TRILL网络 1中有两个树根, 分别 表示为 R00T1和 R00T2, 则其在 TRILL网络 1中的拓扑关系如下图 6D所示: 其中 RBn+1为 TRILL网络 1中生成的虚拟节点, 该虚拟节点 RBn+1与 BRB1和 BRB2是逻 辑链路直连关系, BRB1与 R00T1之间的链路表示为 Ll, BRB1与 R00T2之间的链路 表示为 L3, BRB2与 R00T1之间的链路表示为 L2, BRB2与 R00T2之间的链路表示为 L2。 [273] According to RPF (Reverse-path Forwarding) check during transmission in the network It is required that multicast traffic in a distribution tree in each TRILL network can only reach the destination device from one interconnected device. For example, as shown in FIG. 6C, if RB n+1 in the TRILL network 2 accesses the VLAN 1-2000, when the multicast traffic of the RB n+1 reaches the TRILL network 1, the multicast traffic belonging to the VLAN 1-1000 The TRILL network 1 enters the TRILL network 1 through the BRB1. The multicast traffic belonging to the VLAN 1001-2000 enters the TRILL network 1 through the BRB2. This indicates that the multicast traffic transmitted by the same RB device, that is, RB n+1, reaches the TRILL network 1. There may be a problem that the RPF check fails. Assuming that there are two tree roots in TRILL network 1, which are represented as R00T1 and R00T2 respectively, the topology relationship in TRILL network 1 is as shown in Figure 6D: where RBn+1 is the virtual node generated in TRILL network 1, the virtual The nodes RBn+1 and BRB1 and BRB2 are logical link direct connections. The link between BRB1 and R00T1 is denoted as L1, the link between BRB1 and R00T2 is denoted as L3, and the link between BRB2 and R00T1 is represented as The link between L2, BRB2 and R00T2 is denoted as L2.
[274]结合图 6D可知, TRILL网络 2内的 RBn+1传输的组播数据报文分别被 BRB1和 BRB2接收, 如果 BRB1和 BRB2使用同一颗分发树, 例如树根为 R00T1的分发树向 TRILL网络 1内的 RB1转发该组播数据报文, 则 R00T1可能同时从 L1和 L2收到组 播数据报文, 因此 RPF检査不通过, 丢弃部分组播数据报文。 图 6E为 BRB1和 BRB2 使用同一棵分发树进行组播报文转发的示意图: 如图 6E中从 RBn+1至 RB1的两条 转发链路均通过 R00T1。为了克服图 6E中存在 RPF检査不通过的问题, 对于同一个 TRILL网络具有多个 BRB的场景, 可以采用由不同 BRB传输的组播数据报文选择不 同的分发树进行转发的方式,参见图 6F, 为 BRB1和 BRB2使用不同分发树进行组播 报文转发的示意图: 如图 6F中从 RBn+1至 RB1的两条转发链路分别通过 R00T1和 R00T2。 As shown in FIG. 6D, the multicast data packets transmitted by RBn+1 in the TRILL network 2 are received by the BRB1 and the BRB2 respectively. If the BRB1 and the BRB2 use the same distribution tree, for example, the tree root is the distribution tree of the R00T1 to the TRILL. If the RB1 in the network 1 forwards the multicast data packet, the R00T1 may receive the multicast data packet from the L1 and the L2. Therefore, the RPF check fails and the partial multicast data packet is discarded. Figure 6E is a schematic diagram of BRB1 and BRB2 using the same distribution tree for multicast packet forwarding. As shown in Figure 6E, the two forwarding links from RBn+1 to RB1 pass R00T1. To overcome the problem that the RPF check fails in Figure 6E, the scenario in which the same TRILL network has multiple BRBs can be forwarded by selecting different distribution trees for multicast data packets transmitted by different BRBs. 6F, Schematic diagram of using the different distribution trees to forward multicast packets for BRB1 and BRB2: As shown in Figure 6F, the two forwarding links from RBn+1 to RB1 pass R00T1 and R00T2 respectively.
[275]下面结合图 6A, 对 TRILL网络中的 BRB设备发生故障时的处理过程进行描述。 [275] The following describes the processing procedure when the BRB device in the TRILL network fails in conjunction with FIG. 6A.
[276]以 TRILL网络 1中的 BRB设备为例, 当 BRB1故障时, BRB1的邻居 RB, 即 BRB2 会产生拓扑发生变化的 LSP报文,当 BRB2根据该 LSP报文感知到当前 BRB1故障时, 则只有 BRB2作为 TRILL网络 1的互联设备。 因此, BRB2为每个虚拟节点生成包括 如下表 6所示的信息的 LSP报文: 表 6 [276] Taking the BRB device in the TRILL network 1 as an example, when the BRB1 is faulty, the neighboring RB of the BRB1, that is, the BRB2, generates an LSP with a topology change. When the BRB2 detects the current BRB1 failure according to the LSP packet, Only BRB2 acts as an interconnect device for TRILL network 1. Therefore, BRB2 generates an LSP message including the information shown in Table 6 below for each virtual node: Table 6
LSPID  LSPID
Nickname TLV  Nickname TLV
Neighbour 2 TLV [277]根据上述表 6可知, 虚拟节点仅与 BRB2具有逻辑直连链路关系, 因此仅包含 邻居 BRB2。 Neighbour 2 TLV [277] According to the foregoing Table 6, the virtual node has only a logical direct link relationship with the BRB2, and therefore only the neighbor BRB2.
[278]如果 BRB1的公网出口发生故障,则 BRB1会产生表明拓扑发生变化的 LSP报文, 将该 BRB1和各个虚拟节点之间的邻居关系去除。 BRB2收到 BRB1发送的 LSP报文后, 产生各个虚拟节点的 LSP报文, 该 LSP报文中去除虚拟节点与 BRB1之间的邻居关 系, BRB2为每个虚拟节点生成的 LSP报文与上表 6—致, 在此不再赘述。 [278] If the public network egress of the BRB1 fails, the BRB1 generates an LSP packet indicating that the topology changes, and removes the neighbor relationship between the BRB1 and each virtual node. After receiving the LSP packet sent by the BRB1, the BRB2 generates the LSP packet of each virtual node. The LSP packet removes the neighbor relationship between the virtual node and the BRB1. The BRB2 generates the LSP packet generated by each virtual node. 6—There is no further description here.
[279]当 BRB2感知到 BRB1故障后,除了为各个虚拟节点重新生成 LSP报文并发布后, 该 BRB2还可以将 BRB1原来负责的 VLAN通过 LSP报文进行重新发布, 触发网络内 组播剪枝树的重新计算。 对于 BRB1原来负责转发的流量是 VLAN中二层组播组的流 量的情况, 其处理方法与上述方法类似。 需要说明的时, 如果为了提髙收敛时间, 初始进行 TRILL网络互联时, 每个 BRB可以将跨 TRILL网络进行通信的 VLAN都发 布出去,例如, BRB1和 BRB2都将 VLAN 1-2000通过 Interested VLANs and Spanning Tree Roots Sub-TLV发布出去, 这样属于 VLAN 1-2000 内的组播流量会同时到达 BRB1 和 BRB2。 其中, BRB1 只接收属于 VLAN 1-1000 的组播流量, 对属于 VLAN 1001-2000内的组播流量进行丢弃; 而 BRB2只接收属于 VLAN 1001-2000的组播流 量, 对属于 VLAN 1-1000内的组播流量进行丢弃。 [BR] After the BRB1 detects the fault of the BRB1, the BRB2 can re-advertise the original VLAN of the BRB1 through the LSP packet, and trigger the intra-network multicast prune. Tree recalculation. For the case that the traffic that BRB1 is responsible for forwarding is the traffic of the Layer 2 multicast group in the VLAN, the processing method is similar to the above method. In the case of the TRILL network interconnection, each BRB can advertise the VLANs that communicate with the TRILL network. For example, both BRB1 and BRB2 pass VLAN 1-2000 through the Interested VLANs and The Spanning Tree Roots Sub-TLV is released, so that multicast traffic belonging to VLAN 1-2000 will reach both BRB1 and BRB2. BRB1 only receives multicast traffic belonging to VLAN 1-1000 and discards multicast traffic belonging to VLAN 1001-2000. BRB2 only receives multicast traffic belonging to VLAN 1001-2000, which belongs to VLAN 1-1000. The multicast traffic is discarded.
[280]与本发明 TRILL网络互联方法的实施例相对应,本发明还提供了 TRILL网络互 联系统及网络设备的实施例。 Corresponding to the embodiment of the TRILL network interconnection method of the present invention, the present invention also provides an embodiment of the TRILL network interconnection system and network equipment.
[281]如图 7所示, 本发明的实施例公开公开了一种互联设备, 所述互联设备在本实 施例中被称为第一互联设备, 第一互联设备包括于第一多链路透明互联 TRILL网络 中。 所述第一互联设备包括第一接收单元(701)、 第一生成单元(702)、 第二生成 单元(703 )和第一洪泛单元 (704)。 As shown in FIG. 7 , an embodiment of the present invention discloses an interconnection device. The interconnection device is referred to as a first interconnection device in the embodiment, and the first interconnection device is included in the first multiple link. Transparent interconnection in the TRILL network. The first interconnected device includes a first receiving unit (701), a first generating unit (702), a second generating unit (703), and a first flooding unit (704).
[282]第一互联设备中的第一接收单元 (701 )接收第二 TRILL网络中的第二互联设 备发送的第二 TRILL网络中每个设备的设备信息。 The first receiving unit (701) in the first interconnected device receives the device information of each device in the second TRILL network sent by the second interconnect device in the second TRILL network.
[283]具体的, 第一接收单元 (701 )可以接收第二 TRILL网络的第二互联设备通过 扩展的 BGP (Border Gateway Protocol ,边界网关协议)报文发送的所述第二 TRILL 网络中每个设备的设备信息; 或者, 第一接收单元也可以接收第二 TRILL网络的第 二互联设备通过扩展的 LDP ( Label Distribution Protocol , 标签分发协议)报文 发送的所述第二 TRILL网络中每个设备的设备信息。 Specifically, the first receiving unit (701) may receive each of the second TRILL networks sent by the second interconnecting device of the second TRILL network by using an extended BGP (Border Gateway Protocol) message. Device information of the device; or, the first receiving unit may also receive, by the second interconnecting device of the second TRILL network, each device in the second TRILL network that is sent by using an extended LDP (Label Distribution Protocol) message Device information.
[284]所述第二 TRILL网络中每个设备的设备信息包括: 设备 ID、 设备别名、 设备 别名的优先级和设备别名的树根优先级。 进一步, 所述设备信息还可以包括至少一 种下述信息: 设备接入的虚拟局域网 (VLAN) 的信息、 设备接入的 VLAN中的二层 组播组的信息、 设备接入的 VLAN中的三层组播组的信息。 所述至少一种信息用于 由所述第一 TRILL 网络中的设备进行分发树剪枝计算。 上述设备信息可以由第二 TRILL网络的互联设备从第二 TRILL网络接收到的 LSP报文中获取。 [284] The device information of each device in the second TRILL network includes: a device ID, a device alias, and a device. The priority of the alias and the root priority of the device alias. Further, the device information may further include at least one of the following information: information of a virtual local area network (VLAN) accessed by the device, information of a layer 2 multicast group in a VLAN accessed by the device, and a VLAN accessed by the device. Layer 3 multicast group information. The at least one piece of information is used for distribution tree pruning calculations by devices in the first TRILL network. The device information may be obtained by the interconnecting device of the second TRILL network from the LSP message received by the second TRILL network.
[285]第一互联设备中的第一生成单元 (702 )根据所述第二 TRILL网络中每个设备 的设备信息分别生成所述第二 TRILL网络中每个设备的虚拟节点, 第一互联设备分 别与每个虚拟节点具备邻居关系。 a first generating unit (702) in the first interconnected device generates a virtual node of each device in the second TRILL network according to the device information of each device in the second TRILL network, where the first interconnecting device Have a neighbor relationship with each virtual node.
[286] 第二 TRILL网络中每个设备的设备信息包括: 设备 ID、 设备别名、 设备别名 的优先级和设备别名的树根优先级。 所生成的虚拟节点的设备信息包括: 与虚拟节点 对应的设备的设备 ID、与虚拟节点对应的设备的设备别名、与虚拟节点对应的设备的设 备别名的优先级和与虚拟节点对应的设备的设备别名的树根优先级。所述与虚拟节点对 应的设备的设备 ID即为虚拟节点的设备 ID, 所述与虚拟节点对应的设备的设备别名即 为虚拟节点的设备别名, 所述与虚拟节点对应的设备的设备别名的优先级即为 虚拟节 点的设备别名的优先级, 与虚拟节点对应的设备的设备别名的树根优先级即为虚拟 节点的设备别名的树根优先级。第一互联设备的设备信息包括:第一互联设备的设备 ID、 设备别名、 设备别名的优先级和设备别名的,优先级。  [286] The device information of each device in the second TRILL network includes: device ID, device alias, priority of the device alias, and root priority of the device alias. The device information of the generated virtual node includes: a device ID of the device corresponding to the virtual node, a device alias of the device corresponding to the virtual node, a priority of the device alias of the device corresponding to the virtual node, and a device corresponding to the virtual node The root priority of the device alias. The device ID of the device corresponding to the virtual node is the device ID of the virtual node, and the device alias of the device corresponding to the virtual node is the device alias of the virtual node, and the device alias of the device corresponding to the virtual node The priority of the device is the priority of the device alias of the virtual node. The root of the device alias of the device corresponding to the virtual node is the root priority of the device alias of the virtual node. The device information of the first interconnected device includes: a device ID of the first interconnected device, a device alias, a priority of the device alias, and a device alias, and a priority.
[287]可选地,当第一互联设备检测到第一 TRILL网络中第一设备的设备别名与第二 TRILL网络中第二设备的设备别名一致时, 第一互联设备中的比较单元(705)比较 所述第一设备的设备别名的优先级和所述第二设备的设备别名的优先级, 其中所述 第一设备的设备别名为第一设备别名, 所述第二设备的设备别名为第二设备别名。  [287] Optionally, when the first interconnecting device detects that the device alias of the first device in the first TRILL network is consistent with the device alias of the second device in the second TRILL network, the comparing unit in the first interconnecting device (705) Comparing a priority of the device alias of the first device with a priority of the device alias of the second device, where the device alias of the first device is a first device alias, and the device alias of the second device is The second device alias.
[288]如果所述第一设备别名的优先级小于所述第二设备别名的优先级,则所述比较 单元(705 )触发所述第一生成单元 (702) 为所述第二设备生成虚拟节点; [288] if the priority of the first device alias is less than the priority of the second device alias, the comparing unit (705) triggers the first generating unit (702) to generate a virtual for the second device Node
[289]如果所述第一设备别名的优先级大于所述第二设备别名的优先级,则所述比较 单元(705 )在所述第二设备的别名被更改之前, 使所述第一生成单元(702)不为 所述第二设备生成虚拟节点。 [289] If the priority of the first device alias is greater than the priority of the second device alias, the comparing unit (705) causes the first generation before the alias of the second device is changed The unit (702) does not generate a virtual node for the second device.
[290]可选地,在所述第一设备别名的优先级小于所述第二设备别名的优先级的情况 下, 所述第一互联设备中的第二接收单元(706) 从所述第一 TRILL 网络接收到包 含第三设备别名的 LSP报文, 所述包含第三设备别名的 LSP报文中携带的设备 ID 为所述第一设备的设备 ID, 所述第三设备别名为所述第一设备的新别名。 [291]第一互联设备中的通知单元(707)通过扩展的边界网关协议(BGP)报文或扩 展的标签分发协议 (LDP)报文通知第二互联设备删除所述第一设备别名、 所述第 一设备别名的优先级以及所述第一设备别名的树根优先级, 并加入所述第三设备别 名、 所述第三设备别名的优先级和所述第三设备别名的树根优先级。 [290] Optionally, in a case that the priority of the first device alias is less than the priority of the second device alias, the second receiving unit (706) in the first interconnect device is from the first A TRILL network receives the LSP message including the third device alias, and the device ID carried in the LSP message including the third device alias is the device ID of the first device, and the third device alias is the A new alias for the first device. [291] The notification unit (707) in the first interconnect device notifies the second interconnect device to delete the first device alias, by using an extended Border Gateway Protocol (BGP) message or an extended Label Distribution Protocol (LDP) message. Determining a priority of the first device alias and a root priority of the first device alias, and adding the third device alias, the priority of the third device alias, and the root priority of the third device alias level.
[292]第一互联设备中的第二生成单元 (703 )根据所述邻居关系生成多个链路状态 协议 LSP报文, 所述多个 LSP报文携带所述邻居关系。 [292] The second generating unit (703) in the first interconnecting device generates a plurality of link state protocol LSP messages according to the neighbor relationship, where the multiple LSP messages carry the neighbor relationship.
[293]可选地, 所述第二生成单元具体用于: 为每个虚拟节点分别生成第一虚拟节点 LSP报文, 每个第一虚拟节点 LSP报文包括与第一虚拟节点 LSP报文自身对应的虚 拟节点的设备信息,每个第一虚拟节点 LSP报文还包括用于表明与第一虚拟节点 LSP 报文自身对应的虚拟节点和所述第一互联设备之间具有邻居关系的第一邻居信息。 此外, 所述第二生成单元还具体用于: 为所述第一互联设备自身生成的第一互联设 备 LSP报文, 所述第一互联设备 LSP报文中包括用于表明所述第一互联设备与每个 虚拟节点之间均具有邻居关系的的第二邻居信息。 Optionally, the second generating unit is specifically configured to: generate a first virtual node LSP packet for each virtual node, where each first virtual node LSP packet includes a first virtual node LSP packet The device information of the virtual node corresponding to the first virtual node, the LSP message of the first virtual node further includes a neighbor relationship between the virtual node corresponding to the first virtual node LSP message and the first interconnect device. A neighbor information. In addition, the second generating unit is further configured to: use, by the first interconnecting device, the first interconnected device LSP packet, where the first interconnected device LSP packet includes the first interconnect The second neighbor information of the neighbor relationship between the device and each virtual node.
[294]可选地, 第一邻居信息包括与携带 第一邻居关系的第一虚拟节点 LSP报 文对应的 节点的设备 ID、虚拟节点的设备别名、 节点的设备别名的优先级 和虚拟节点的设备别名的树根优先级,还包括与携带所述第一邻居关系的第一 节点 LSP报文对应的虚拟节点与第一互联设备之间的逻辑直连链路的开销 (cost)值。 所述第 二邻居关系包括每个 节点的设备 ID、虚拟节点的设备别名、 节点的设备别名的 优先级和虚拟节点的设备别名的树根优先级,还包括 虚拟节点与第一互联设备之间 建立的逻辑链路的 cost值。 [294] Optionally, the first neighbor information includes a device ID of a node corresponding to the first virtual node LSP message carrying the first neighbor relationship, a device alias of the virtual node, a priority of the device alias of the node, and a virtual node. The tree root priority of the device alias further includes a cost value of a logical direct link between the virtual node corresponding to the first node LSP message carrying the first neighbor relationship and the first interconnect device. The second neighbor relationship includes a device ID of each node, a device alias of the virtual node, a priority of the device alias of the node, and a root priority of the device alias of the virtual node, and further includes a relationship between the virtual node and the first interconnect device. The cost value of the established logical link.
[295]第一互联设备中的第一洪泛单元 (704)在所述第一 TRILL网络内洪泛所述多个 LSP 报文。  The first flooding unit (704) in the first interconnected device floods the plurality of LSP messages in the first TRILL network.
[296]第一洪泛单元可以通过洪泛所述多个 LSP报文将自身与这些虚拟节点的邻居 关系发布到第一 TRILL网络内的其它设备上。  [296] The first flooding unit may advertise the neighbor relationship between the virtual node and the virtual node to other devices in the first TRILL network by flooding the multiple LSP messages.
[297]本发明实施例中,由于第一 TRILL网络可以为与第一 TRILL网络相连接的第二 TRILL 网络中的每个设备建立虚拟节点, 通过虚拟节点的建立, 相当于第二 TRILL 网络中的每个设备都连接在第一 TRILL网络的互联设备上, 因此当第二 TRILL网络 的拓扑结构发生变化时, 由于虚拟节点未发生变化, 因此第一 TRILL网络不会感知 该变化, 也不会触发重新计算路由, 因此提髙了 TRILL网络互联时的收敛时间, 增 强了组网的可扩展性。 [298]可选地, 本实施例还包括以下内容。 In the embodiment of the present invention, since the first TRILL network may establish a virtual node for each device in the second TRILL network connected to the first TRILL network, the establishment of the virtual node is equivalent to the second TRILL network. Each device is connected to the interconnecting device of the first TRILL network. Therefore, when the topology of the second TRILL network changes, since the virtual node does not change, the first TRILL network does not perceive the change, nor does it Triggering the recalculation of the route, thus improving the convergence time of the TRILL network interconnection and enhancing the scalability of the networking. [298] Optionally, the embodiment further includes the following content.
[299]第一互联设备还可以包括第三接收单元(708)、第二洪泛单元(709)、建立单 元 (710)和发送单元(711)。 The first interconnected device may further include a third receiving unit (708), a second flooding unit (709), a setup unit (710), and a transmitting unit (711).
[300]第三接收单元(708) 用于接收第二互联设备发送的第二 TRILL网络中的全部 的接入 VLAN的信息、 全部的接入 VLAN中的全部的二层组播组的信息和 /或全部的 接入 VLAN 中的全部的三层组播组的信息。 本实施例通过一个具体的例子对全部的 接入 VLAN进行解释。在如图 2所示的第二 TRILL网络中包括 6个 RB,具体为 RB1-RB6, 其中 RB1、 RB2和 RB3为入口 (Ingress ) RB, RBI上存在接入 VLANl-接入 VLANl 00, RB2上存在接入 VLAN101-接入 VLAN200, RB3上存在接入 VLAN50-接入 VLAN200。 在 这种情况下,第二 TRILL中的全部的接入 VLAN为 RB1、RB2和 RB3上的全部接入 VLAN, 即接入 VLANl-接入 VLAN200, 共 200个接入 VLAN, 全部的接入 VLAN的信息就是接 入 VLAN1-接入 VLAN200这 200个 VLAN的信息, 可以包括 VLAN ID等常见的 VLAN信 息。 在本实施例中, 接入 VLAN是指第二 TRILL网络中的 VLAN。 [300] The third receiving unit (708) is configured to receive information about all access VLANs in the second TRILL network sent by the second interconnecting device, information of all Layer 2 multicast groups in all access VLANs, and / or all access to the information of all Layer 3 multicast groups in the VLAN. This embodiment interprets all access VLANs through a specific example. In the second TRILL network shown in FIG. 2, six RBs are included, specifically RB1-RB6, where RB1, RB2, and RB3 are ingress RBs, and RBI has access VLAN 1 - access VLAN 00, RB2 There is access VLAN 101 - access VLAN 200, and access VLAN 50 - access VLAN 200 exists on RB3. In this case, all access VLANs in the second TRILL are all access VLANs on RB1, RB2, and RB3, that is, access VLAN 1 - access VLAN 200, a total of 200 access VLANs, all access VLANs The information is the information of the 200 VLANs that access VLAN 1 and access VLAN 200, and can include common VLAN information such as VLAN ID. In this embodiment, the access VLAN refers to a VLAN in the second TRILL network.
[301]第二洪泛单元(709) 用于将所述全部的接入 VLAN的信息、 全部的接入 VLAN 中的全部的二层组播组的信息和 /或全部的接入 VLAN中的全部的三层组播组的信息 洪泛至第一 TRILL网络中, 以便第一 TRILL网络中的其他路由桥(RB)进行分发树 剪枝计算。  [301] The second flooding unit (709) is configured to use the information of all the access VLANs, the information of all the Layer 2 multicast groups in all the access VLANs, and/or all the access VLANs. The information of all Layer 3 multicast groups is flooded into the first TRILL network, so that other routing bridges (RBs) in the first TRILL network perform distribution tree pruning calculation.
[302]建立单元 (710) 用于根据所述全部的接入 VLAN的信息、 全部的接入 VLAN中 的全部的二层组播组的信息和 /或全部的接入 VLAN中的全部的三层组播组的信息建 立本地分发树剪枝表项, 所述本地分发树剪枝表项中的出接口包括第一互联设备中 通向第二互联设备的公网出接口。  [302] The establishing unit (710) is configured to use, according to the information about all the access VLANs, information of all Layer 2 multicast groups in all access VLANs, and/or all three of all access VLANs The information of the layer multicast group is used to establish a local distribution tree prune entry, and the outbound interface in the local distribution tree prune entry includes the public network outgoing interface of the first interconnected device to the second interconnected device.
[303]发送单元(711 )用于在第一互联设备确定通过分发树接收到的来自第一 TRILL 网络的组播流量与所述本地分发树剪枝表项匹配的情况下, 通过所述公网出接口向 所述第二互联设备发送所述组播流量。  [303] The sending unit (711) is configured to: when the first interconnecting device determines that the multicast traffic from the first TRILL network received through the distribution tree matches the local distribution tree pruning table entry, The network out interface sends the multicast traffic to the second interconnected device.
[304]举例来说,在第二 TRILL网络中的路由桥 21和路由桥 22均接入 VLAN200的情 况下,如果网络发生变化,路由桥 21不再接入 VLAN200,但路由桥 22仍接入 VLAN200, 那么 VLAN200在第二 TRILL网络中还会存在, 第一 TRILL网络中的路由桥不需要因 为路由桥 21的变化而重新计算分发树剪枝表项。  [304] For example, in the case that both the RBridge 21 and the RBridge 22 in the second TRILL network access the VLAN 200, if the network changes, the RBridge 21 is no longer connected to the VLAN 200, but the RBridge 22 is still connected. VLAN 200, then VLAN 200 will still exist in the second TRILL network. The RBridge in the first TRILL network does not need to recalculate the distribution tree prune entry due to the change of the RBridge 21.
[305]图 8所示为本发明实施例公开的系统示意图。如图 8所述的系统包括第一 TRILL 网络 (810)和第二 TRILL网络 (820), 第一 TRILL网络包括至少 2个互联设备。 图 8中仅示出了 2个互联设备,分别为第一互联设备(811 )和第二互联设备(812), 实际上第一 TRILL网络还可以包括图 8中未示出的其他互联设备。 第二 TRILL网络 中包括互联设备 (821), 也可以进一步地包括其他互联设备。 FIG. 8 is a schematic diagram of a system disclosed in an embodiment of the present invention. The system as described in FIG. 8 includes a first TRILL network (810) and a second TRILL network (820), the first TRILL network including at least two interconnected devices. Only two interconnected devices are shown in FIG. 8, which are a first interconnected device (811) and a second interconnected device (812), respectively. In fact, the first TRILL network may also include other interconnected devices not shown in FIG. The second TRILL network includes an interconnect device (821), and may further include other interconnect devices.
[306]在本实施例中, 第一 TRILL网络中的每个互联设备用于:接收第二 TRILL网络 中互联设备发送的第二 TRILL网络中每个设备的设备信息; 根据第二 TRILL网络中 每个设备的设备信息分别生成所述第二 TRILL网络中每个设备的虚拟节点, 每个互 联设备与每个虚拟节点均具有邻居关系; 根据所述邻居关系生成多个链路状态协议 LSP报文,所述多个链路状态协议 LSP报文携带所述邻居关系;在第一 TRILL网络内 洪泛所述多个 LSP报文。 [306] In this embodiment, each of the interconnecting devices in the first TRILL network is configured to: receive device information of each device in the second TRILL network sent by the interconnecting device in the second TRILL network; according to the second TRILL network The device information of each device generates a virtual node of each device in the second TRILL network, and each of the interconnected devices has a neighbor relationship with each virtual node; and generates multiple link state protocol LSP reports according to the neighbor relationship. The multiple link state protocol LSP messages carry the neighbor relationship; the multiple LSP messages are flooded in the first TRILL network.
[307]这样,第一 TRILL网络便可以为与第一 TRILL网络相连接的第二 TRILL网络中 的每个设备建立虚拟节点, 通过虚拟节点的建立, 相当于第二 TRILL网络中的每个 设备都连接在第一 TRILL网络的每个互联设备上, 因此当第二 TRILL网络的拓扑结 构发生变化时, 由于虚拟节点未发生变化, 因此第一 TRILL网络不会感知该变化, 也不会触发重新计算路由, 因此提髙了 TRILL网络互联时的收敛时间, 增强了组网 的可扩展性。 [307] In this way, the first TRILL network can establish a virtual node for each device in the second TRILL network connected to the first TRILL network, and the establishment of the virtual node is equivalent to each device in the second TRILL network. Both are connected to each interconnected device of the first TRILL network. Therefore, when the topology of the second TRILL network changes, since the virtual node does not change, the first TRILL network does not perceive the change, and does not trigger a new change. Calculating the route, thus improving the convergence time of the TRILL network interconnection and enhancing the scalability of the networking.
[308]可选地, 在本实施例中, 第一 TRILL 网络中的每个互联设备接收的所述第二 TRILL网络中每个设备的设备信息包括第二 TRILL网络中每个设备的设备 ID、 设备 别名、 设备别名的优先级和设备别名的树根优先级。 [308] Optionally, in this embodiment, the device information of each device in the second TRILL network received by each interconnected device in the first TRILL network includes the device ID of each device in the second TRILL network. , device alias, device alias priority, and tree root priority for device aliases.
[309]可选地,所述第一 TRILL网络中的每个互联设备用于根据所述邻居关系生成多 个 LSP报文包括: Optionally, generating, by the interconnecting device in the first TRILL network, the multiple LSPs according to the neighbor relationship includes:
[310]第一 TRILL网络的每个互联设备用于为每个虚拟节点分别生成虚拟节点 LSP报 文,每个虚拟节点 LSP报文包括本虚拟节点 LSP报文对应的虚拟节点的设备标识 ID、 设备别名、 设备别名的优先级和设备别名的树根优先级, 还包括用于表示本虚拟节 点 LSP报文对应的虚拟节点与每个互联设备之间具有邻居关系的第一邻居信息; [310] Each of the interconnected devices of the first TRILL network is configured to generate a virtual node LSP packet for each virtual node, and each virtual node LSP packet includes a device identifier ID of the virtual node corresponding to the virtual node LSP packet, The device alias, the priority of the device alias, and the root priority of the device alias, and the first neighbor information indicating that the virtual node corresponding to the LSP of the virtual node has a neighbor relationship with each interconnected device;
[311]第一 TRILL网络的每个互联设备用于生成互联设备 LSP报文, 每个互联设备 LSP报文包括生成本互联设备 LSP报文的互联设备的设备 ID、 设备别名、 设备别名 的优先级和设备别名的树根优先级, 还包括用于表示生成本互联设备 LSP报文的互 联设备和每个虚拟节点之间具有邻居关系的第二邻居信息。 [311] Each of the interconnected devices of the first TRILL network is configured to generate an LSP packet of the interconnected device, and each interconnected device LSP packet includes a device ID, a device alias, and a device alias of the interconnected device that generates the LSP packet of the interconnect device. The root priority of the class and the device alias, and the second neighbor information that is used to indicate the interconnect device that generates the LSP of the interconnect device and the neighbor relationship between each virtual node.
[312]可选地, 所述第一邻居信息包括每个互联设备的设备 ID, 还包括所述第一邻 居信息对应的虚拟节点与每个互联设备之间的逻辑链路的开销 cost值, 所述第一 邻居信息对应的虚拟节点与每个互联设备之间的逻辑链路的开销 cost值均相等; 所述第二邻居信息包括每个虚拟节点的设备 ID,还包括所述第二邻居信息对应的互 联设备与每个虚拟节点之间的逻辑链路的开销 cost值, 所述第二邻居信息对应的 互联设备与每个虚拟节点之间的逻辑链路的开销 cost值均相等。 [312] Optionally, the first neighbor information includes a device ID of each interconnected device, and further includes an overhead cost value of a logical link between the virtual node corresponding to the first neighbor information and each interconnected device, The cost cost of the logical link between the virtual node corresponding to the first neighbor information and each interconnected device is equal; The second neighbor information includes a device ID of each virtual node, and further includes an overhead cost value of a logical link between the interconnected device and the virtual node corresponding to the second neighbor information, where the second neighbor information corresponds to The cost of the logical link between the interconnected device and each virtual node is equal.
[313]可选地, 第一 TRILL网络中的每个互联设备进一步用于通过 LSP报文向第一 TRILL网络中的其它互联设备通告表明自身为互联设备的信息, 以使第一 TRILL网 络中的每个互联设备获得该第一 TRILL网络中所有互联设备的信息。 [313] Optionally, each of the interconnecting devices in the first TRILL network is further configured to notify, by using the LSP message, information indicating that the device is an interconnected device to the other interconnected devices in the first TRILL network, so that the first TRILL network is in the first TRILL network. Each of the interconnected devices obtains information of all interconnected devices in the first TRILL network.
[314]可选地, 当第一 TRILL网络中的第一互联设备 (811 )检测到所述第一 TRILL 网络中第一设备的设备别名与所述第二 TRILL网络中第二设备的设备别名一致时, 第一互联设备 (811 ) 用于比较所述第一设备的设备别名的优先级和所述第二设备 的设备别名的优先级, 其中所述第一设备的设备别名为第一设备别名, 所述第二设 备的设备别名为第二设备别名; [314] Optionally, when the first interconnect device (811) in the first TRILL network detects the device alias of the first device in the first TRILL network and the device alias of the second device in the second TRILL network. The first interconnecting device (811) is configured to compare the priority of the device alias of the first device with the priority of the device alias of the second device, where the device alias of the first device is the first device An alias, the device alias of the second device is a second device alias;
[315]如果所述第一设备别名的优先级小于所述第二设备别名的优先级,则第一互联 设备用于为所述第二设备生成虚拟节点; [315] if the priority of the first device alias is less than the priority of the second device alias, the first interconnect device is configured to generate a virtual node for the second device;
[316]如果所述第一设备别名的优先级大于所述第二设备别名的优先级,则第一互联 设备用于在所述第二设备的别名被更改之前, 不为所述第二设备生成虚拟节点。 [316] If the priority of the first device alias is greater than the priority of the second device alias, the first interconnect device is configured to not be the second device before the alias of the second device is changed Generate a virtual node.
[317]可选地,在所述第一设备别名的优先级小于所述第二设备别名的优先级的情况 下, 所述第一互联设备用于从所述第一 TRILL网络接收到包含第三设备别名的 LSP 报文, 所述包含第三设备别名的 LSP报文中携带的设备 ID为所述第一设备的设备 ID, 所述第三设备别名为所述第一设备的新别名; [317] Optionally, in a case that the priority of the first device alias is smaller than the priority of the second device alias, the first interconnecting device is configured to receive the first content from the first TRILL network. The LSP packet of the three device alias, the device ID carried in the LSP packet containing the third device alias is the device ID of the first device, and the third device alias is a new alias of the first device;
[318]所述第一互联设备用于通过扩展的边界网关协议 BGP报文或扩展的标签分发 协议 LDP报文通知第二 TRILL网络中的互联设备 (821 )删除所述第一设备别名及 所述第一设备别名的优先级, 并加入所述第三设备别名及所述第三设备别名的优先 级。 [318] The first interconnecting device is configured to notify the interconnected device (821) in the second TRILL network to delete the first device alias and the location by using an extended border gateway protocol BGP message or an extended label distribution protocol LDP message. Determining the priority of the first device alias, and adding the priority of the third device alias and the third device alias.
[319]可选地,第一 TRILL网络的每个互联设备用于接收第二 TRILL网络中的互联设 备通过扩展的边界网关协议 BGP报文发送的所述第二 TRILL网络中每个设备的设备 信息; 或者, [319] Optionally, each of the interconnecting devices of the first TRILL network is configured to receive, by the interconnecting device in the second TRILL network, the device of each device in the second TRILL network that is sent by using the extended border gateway protocol BGP packet. Information; or,
[320]第一 TRILL网络的每个互联设备用于接收第二 TRILL网络中的互联设备通过扩 展的标签分发协议 LDP报文发送的所述第二 TRILL网络中每个设备的设备信息。 [321]可选地, 第一 TRILL网络中的第一互联设备用于: [320] Each of the interconnecting devices of the first TRILL network is configured to receive device information of each device in the second TRILL network that is sent by the interconnecting device in the second TRILL network through the extended label distribution protocol LDP packet. [321] Optionally, the first interconnected device in the first TRILL network is used to:
[322]接收第二 TRILL网络的互联设备发送的第二 TRILL网络中的全部的接入 VLAN 的信息、 全部的接入 VLAN中的全部的二层组播组的信息和 /或全部的接入 VLAN中 的全部的三层组播组的信息; [322] receiving information of all access VLANs in the second TRILL network sent by the interconnection device of the second TRILL network, information of all Layer 2 multicast groups in all access VLANs, and/or all accesses Information about all Layer 3 multicast groups in the VLAN;
[323]确定第一互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的信息和 /或 VLAN中的三层组播组的信息和第二 TRILL网络中的全部的接入 VLAN的信息、 全部 的接入 VLAN中的全部的二层组播组的信息和 /或全部的接入 VLAN中的全部的三层 组播组的信息的交集; [323] determining information of a VLAN configured in the first interconnected device, information of a layer 2 multicast group in the VLAN, and/or information of a layer 3 multicast group in the VLAN, and all access VLANs in the second TRILL network Information, the information of all Layer 2 multicast groups in all access VLANs, and/or the intersection of all Layer 3 multicast group information in all access VLANs;
[324]在第一 TRILL网络中洪泛所述交集; [324] flooding the intersection in the first TRILL network;
[325]根据所述交集建立本地分发树剪枝表项,所述本地分发树剪枝表项中的出接口 包括第一互联设备中通向第二 TRILL网络的公网出接口; [325] Establishing a local distribution tree prune entry according to the intersection, where the outbound interface in the local distribution tree prune entry includes a public network outgoing interface that leads to the second TRILL network in the first interconnection device;
[326]当确定通过分发树接收到的来自第一 TRILL 网络的组播流量与所述本地分发 树剪枝表项匹配时,通过所述公网出接口向所述第二 TRILL网络发送所述组播流量。 When the multicast traffic from the first TRILL network received by the distribution tree is matched with the local distribution tree prune entry, the public network outgoing interface sends the Multicast traffic.
[327]可选地, 第一互联设备也可以用于- [327] Alternatively, the first interconnected device can also be used -
[328]将第一互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的信息和 /或 VLAN 中的三层组播组的信息在第一 TRILL网络中洪泛; [328] flooding the information of the VLAN configured in the first interconnected device, the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN in the first TRILL network;
[329]根据第一互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的信息和 /或 VLAN中的三层组播组的信息建立本地分发树简直表项,所述本地分发树剪枝表项中 的出接口包括第一互联设备中通向第二 TRILL网络的公网出接口; [329] establishing a local distribution tree simple entry according to the information of the VLAN configured in the first interconnection device, the information of the layer 2 multicast group in the VLAN, and/or the information of the layer 3 multicast group in the VLAN, where the local distribution is performed. The outbound interface in the tree pruning entry includes the public network outbound interface of the first interconnected device to the second TRILL network.
[330]当确定通过分发树接收到的来自第一 TRILL 网络的组播流量与所述本地分发 树剪枝表项匹配时,通过所述公网出接口向所述第二 TRILL网络发送所述组播流量。 When the multicast traffic from the first TRILL network received by the distribution tree is determined to match the local distribution tree prune entry, the public network egress interface is sent to the second TRILL network. Multicast traffic.
[331]可选地, 第一互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的信息和 /或 VLAN中的三层组播组的信息与第一 TRILL网络中的第二互联设备 (812) 中配 置的 VLAN的信息、 VLAN中的二层组播组的信息和 /或 VLAN中的三层组播组的信息 不存在交集, 其中, 第一互联设备中配置的 VLAN信息通过第一 VLAN ID或第一精 细标签 Fine-Grained Label进行标识, 第二互联设备 (812) 中配置的 VLAN信息 通过第二 VLAN ID或第二精细标签 Fine- Grained Label进行标识。 [332]可选地, 第二互联设备用于: 当第一互联设备发生节点故障时, 为每个虚拟节 点分别生成 LSP第一更新报文, 每个 LSP更新报文包括用于表明与本 LSP第一更新 报文对应的虚拟节点与第一 TRILL网络中除第一互联设备之外的每个互联设备具有 邻居关系的信息; 洪泛为每个虚拟节点分别生成的 LSP第一更新报文。 [331] Optionally, the information of the VLAN configured in the first interconnecting device, the information of the layer 2 multicast group in the VLAN, and/or the information of the layer 3 multicast group in the VLAN and the second in the first TRILL network The information about the VLANs configured in the interconnected device (812), the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN do not exist. The VLAN information configured in the first interconnected device. The first VLAN ID or the first fine label Fine-Grained Label is used for identification, and the VLAN information configured in the second interconnection device (812) is identified by the second VLAN ID or the second fine label Fine- Grained Label. [332] Optionally, the second interconnecting device is configured to: when the first interconnecting device has a node fault, generate an LSP first update packet for each virtual node, where each LSP update packet includes The virtual node corresponding to the first update packet of the LSP has the neighbor relationship information of each interconnected device except the first interconnected device in the first TRILL network; the flooding is the first update packet of the LSP generated by each virtual node. .
[333]可选地, 第一互联设备用于: 当第一互联设备上与第二 TRILL网络具有通信连 接关系的公网出口或第一互联设备与第二 TRILL网络之间的公网链路发生故障时, 在第一 TRILL网络中洪泛用于表示所述第一互联设备与每个虚拟节点之间的逻辑直 连链路被刪除的 LSP删除报文。第二互联设备用于:在接收到所述 LSP删除报文后, 为每个虚拟节点分别生成 LSP第二更新报文, 每个 LSP第二更新报文包括用于表明 与本 LSP第二更新报文对应的虚拟节点与第一 TRILL网络中除第一互联设备之外的 每个互联设备具有邻居关系的信息; 在所述第一 TRILL网络中洪泛 LSP第二更新报 文。 [333] Optionally, the first interconnection device is configured to: when the first interconnection device has a public network connection with a communication connection relationship with the second TRILL network or a public network link between the first interconnection device and the second TRILL network When a fault occurs, an LSP delete message indicating that the logical direct link between the first interconnected device and each virtual node is deleted is flooded in the first TRILL network. The second interconnecting device is configured to: after receiving the LSP deletion packet, generate an LSP second update packet for each virtual node, where each LSP second update packet includes a second update for indicating the LSP The virtual node corresponding to the packet has information of a neighbor relationship with each interconnected device except the first interconnected device in the first TRILL network. The second update packet is flooded in the first TRILL network.
[334]可选地,第二互联设备或第一 TRILL网络中的第三互联设备中配置有第一互联 设备在所述节点故障、 公网出口链路故障或公网链路故障前所使用的故障前转发信 息, 所述故障前转发信息包括 VLAN的信息、 VLAN中二层组播组的信息或 VLAN中三 层组播组的信息; 第二互联设备或第三互联设备用于: 将所述故障前转发信息通告 给第一 TRILL网络中的设备, 以便第一 TRILL网络中的设备进行分发树剪枝计算。 [334] Optionally, the second interconnected device or the third interconnected device in the first TRILL network is configured to be used by the first interconnected device before the node fault, the public network egress link fault, or the public network link fault The pre-failure forwarding information includes the information of the VLAN, the information of the Layer 2 multicast group in the VLAN, or the information of the Layer 3 multicast group in the VLAN. The second interconnected device or the third interconnected device is used to: The pre-failure forwarding information is advertised to devices in the first TRILL network, so that the devices in the first TRILL network perform distribution tree pruning calculation.
[335]图 9所示为本发明实施例的互联设备(90)示意图。如图 9所示的互联设备可 以为如图 1和 /或图 2所示的实施例中的第一互联设备。 所述互联设备 (90)包括 处理器 (91)、 接口 (92) 和存储器 (93)。 如图 9所示, 处理器 (91 ) 分别和接口 ( 92) 和存储器 (93) 相联, 使互联设备 (90)执行如图 1和 /或图 2所示的实施 例中的第一互联设备所执行的部分或全部功能。 FIG. 9 is a schematic diagram of an interconnection device (90) according to an embodiment of the present invention. The interconnection device shown in Fig. 9 can be the first interconnection device in the embodiment shown in Figs. 1 and/or Fig. 2. The interconnect device (90) includes a processor (91), an interface (92), and a memory (93). As shown in FIG. 9, the processor (91) is associated with the interface (92) and the memory (93), respectively, to cause the interconnect device (90) to perform the first interconnection in the embodiment as shown in FIGS. 1 and/or 2. Some or all of the functions performed by the device.
[336]具体地, 处理器 (91 )、 接口 (92)和存储器 (93 )用于执行以下操作: Specifically, the processor (91), the interface (92), and the memory (93) are used to perform the following operations:
[337]接收第二 TRILL网络中的第二互联设备发送的第二 TRILL网络中每个设备的设 备信息; 根据所述第二 TRILL网络中每个设备的设备信息分别生成所述第二 TRILL 网络中每个设备的虚拟节点, 第一互联设备分别与每个虚拟节点具备邻居关系; 根 据所述邻居关系生成多个链路状态协议 LSP报文, 所述多个 LSP报文携带所述邻居 关系; 在所述第一 TRILL网络内洪泛所述多个 LSP报文。 [337] receiving device information of each device in the second TRILL network sent by the second interconnecting device in the second TRILL network; generating the second TRILL network according to the device information of each device in the second TRILL network a virtual node of each device, the first interconnecting device has a neighbor relationship with each virtual node, and generates a plurality of link state protocol LSPs according to the neighbor relationship, where the multiple LSPs carry the neighbor relationship The plurality of LSP messages are flooded in the first TRILL network.
[338]可选地, 根据所述邻居关系生成的多个 LSP报文包括: [338] Optionally, the multiple LSPs generated according to the neighbor relationship include:
[339]为每个虚拟节点分别生成第一虚拟节点 LSP报文,每个第一虚拟节点 LSP报文 包括与第一虚拟节点 LSP报文自身对应的虚拟节点的设备信息, 每个第一虚拟节点 LSP报文还包括用于表明与第一虚拟节点 LSP报文自身对应的虚拟节点和所述第一 互联设备之间具有邻居关系的第一邻居信息; [339] Generate a first virtual node LSP packet for each virtual node, and each first virtual node LSP packet The device information of the virtual node corresponding to the first virtual node LSP message itself, the first virtual node LSP message further includes a virtual node corresponding to the first virtual node LSP message itself and the first First neighbor information with neighbor relationships between interconnected devices;
[340]为所述第一互联设备自身生成的第一互联设备 LSP报文, 所述第一互联设备 LSP报文中包括第一互联设备的设备信息, 还包括用于表明所述第一互联设备与每 个虚拟节点之间均具有邻居关系的的第二邻居信息。 [340] The first interconnected device LSP packet generated by the first interconnected device itself, the first interconnected device LSP packet includes device information of the first interconnected device, and further includes The second neighbor information of the neighbor relationship between the device and each virtual node.
[341]可选地, 所述第一邻居信息包括与携带所述第一邻居关系的第一虚拟节点 LSP 报文对应的虚拟节点的设备标识 ID,还包括与携带所述第一邻居关系的第一虚拟节 点 LSP报文对应的虚拟节点与第一互联设备之间的逻辑直连链路的开销 cost值; Optionally, the first neighbor information includes a device identifier ID of the virtual node corresponding to the first virtual node LSP packet that carries the first neighbor relationship, and further includes a relationship with the first neighbor relationship. The cost cost of the logical direct link between the virtual node corresponding to the first virtual node LSP and the first interconnected device;
[342]所述第二邻居关系包括每个虚拟节点的设备 ID, 还包括每个虚拟节点与第一 互联设备之间建立的逻辑链路的 cost值。 [342] The second neighbor relationship includes a device ID of each virtual node, and a cost value of a logical link established between each virtual node and the first interconnected device.
[343]可选地,接收第二 TRILL网络中的第二互联设备发送的第二 TRILL网络中每个 设备的设备信息包括: [343] Optionally, receiving device information of each device in the second TRILL network sent by the second interconnecting device in the second TRILL network includes:
[344]接收第二互联设备通过扩展的边界网关协议 BGP报文发送的第二 TRILL网络中 每个设备的设备信息; 或者, 接收第二互联设备通过扩展的标签分发协议 LDP报文 发送的第二 TRILL网络中每个设备的设备信息。 [344] receiving device information of each device in the second TRILL network sent by the second interconnect device through the extended border gateway protocol BGP packet; or receiving the second interconnect device sending the LDP packet through the extended label distribution protocol Device information of each device in the TRILL network.
[345]可选地,接收到的所述第二 TRILL网络中每个设备的设备信息包括:第二 TRILL 网络中每个设备的设备 ID、设备别名、设备别名的优先级和设备别名的树根优先级, 所述虚拟节点的设备信息包括: 与虚拟节点对应的设备的设备 ID、与虚拟节点对应 的设备的设备别名、 与虚拟节点对应的设备的设备别名的优先级和与虚拟节点对应 的设备的设备别名的树根优先级, 第一互联设备的设备信息包括: 第一互联设备的 设备 ID、 设备别名、 设备别名的优先级和设备别名的树根优先级。 [345] Optionally, the received device information of each device in the second TRILL network includes: a device ID of each device in the second TRILL network, a device alias, a priority of the device alias, and a tree of the device alias. The root priority, the device information of the virtual node includes: a device ID of the device corresponding to the virtual node, a device alias of the device corresponding to the virtual node, a priority of the device alias of the device corresponding to the virtual node, and a corresponding to the virtual node The root device priority of the device alias of the device, the device information of the first interconnect device includes: a device ID of the first interconnect device, a device alias, a priority of the device alias, and a root priority of the device alias.
[346]可选地, 处理器 (91 )、 接口 (92)和存储器 (93 ) 中的部分或全部还用于: [346] Optionally, some or all of the processor (91), interface (92), and memory (93) are also used to:
[347]当检测到第一 TRILL网络中第一设备的设备别名与第二 TRILL网络中第二设备 的设备别名一致时, 比较所述第一设备的设备别名的优先级和所述第二设备的设备 别名的优先级, 其中所述第一设备的设备别名为第一设备别名, 所述第二设备的设 备别名为第二设备别名; [347] comparing the priority of the device alias of the first device with the second device when it is detected that the device alias of the first device in the first TRILL network is consistent with the device alias of the second device in the second TRILL network Priority of the device alias, where the device alias of the first device is a first device alias, and the device alias of the second device is a second device alias;
[348]如果所述第一设备别名的优先级小于所述第二设备别名的优先级,则为所述第 二设备生成虚拟节点; [348] if the priority of the first device alias is less than the priority of the second device alias, The second device generates a virtual node;
[349]如果所述第一设备别名的优先级大于所述第二设备别名的优先级,所述第一互 联设备在所述第二设备的别名被更改之前, 不为所述第二设备生成虚拟节点。 [349] If the priority of the first device alias is greater than the priority of the second device alias, the first interconnect device does not generate the second device before the alias of the second device is changed. Virtual node.
[350]可选地,在所述第一设备别名的优先级小于所述第二设备别名的优先级的情况 下, 从所述第一 TRILL网络接收到包含第三设备别名的 LSP报文, 所述包含第三设 备别名的 LSP报文中携带的设备 ID为所述第一设备的设备 ID, 所述第三设备别名 为所述第一设备的新别名; 通过扩展的边界网关协议 BGP报文或扩展的标签分发协 议 LDP报文通知第二互联设备删除所述第一设备别名、 所述第一设备别名的优先级 以及所述第一设备别名的树根优先级, 并加入所述第三设备别名、 所述第三设备别 名的优先级和所述第三设备别名的树根优先级。 [350] Optionally, if the priority of the first device alias is less than the priority of the second device alias, the LSP message including the third device alias is received from the first TRILL network, The device ID carried in the LSP packet containing the third device alias is the device ID of the first device, and the third device alias is a new alias of the first device; And the extended label distribution protocol LDP message notifying the second interconnecting device to delete the first device alias, the priority of the first device alias, and the root priority of the first device alias, and join the first The three device alias, the priority of the third device alias, and the tree root priority of the third device alias.
[351]可选地, 处理器 (91 )、 接口 (92)和存储器 (93 ) 中的部分或全部还用于: [351] Optionally, some or all of the processor (91), interface (92), and memory (93) are also used to:
[352]接收第二互联设备发送的第二 TRILL网络中的全部的接入 VLAN的信息、 全部 的接入 VLAN中的全部的二层组播组的信息和 /或全部的接入 VLAN中的全部的三层 组播组的信息; [352] receiving information of all access VLANs in the second TRILL network sent by the second interconnecting device, information of all Layer 2 multicast groups in all access VLANs, and/or all access VLANs Information about all Layer 3 multicast groups;
[353]将所述全部的接入 VLAN的信息、全部的接入 VLAN中的全部的二层组播组的信 息和 /或全部的接入 VLAN中的全部的三层组播组的信息洪泛至第一 TRILL网络中; [353] information of all the access VLANs, information of all Layer 2 multicast groups in all access VLANs, and/or information of all Layer 3 multicast groups in all access VLANs Pan to the first TRILL network;
[354]根据所述全部的接入 VLAN的信息、全部的接入 VLAN中的全部的二层组播组的 信息和 /或全部的接入 VLAN 中的全部的三层组播组的信息建立本地分发树剪枝表 项, 所述本地分发树剪枝表项中的出接口包括第一互联设备中通向第二互联设备的 公网出接口; [354] establishing, according to the information of all access VLANs, information of all Layer 2 multicast groups in all access VLANs, and/or information of all Layer 3 multicast groups in all access VLANs. a local distribution tree prune entry, where the outbound interface in the local distribution tree prune entry includes a public network outbound interface of the first interconnection device to the second interconnection device;
[355]当第一互联设备确定通过分发树接收到的来自第一 TRILL 网络的组播流量与 所述本地分发树剪枝表项匹配, 则通过所述公网出接口向所述第二互联设备发送所 述组播流量。 [355] When the first interconnecting device determines that the multicast traffic received from the first TRILL network through the distribution tree matches the local distribution tree prune entry, the public network egress interface is used to connect to the second interconnect The device sends the multicast traffic.
[356]本领域的技术人员可以清楚地了解到本发明实施例中的技术可借助软件加必 需的通用硬件平台的方式来实现。 基于这样的理解, 本发明实施例中的技术方案本 质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来, 该计算机 软件产品可以存储在存储介质中, 如 R0M/RAM、 磁碟、 光盘等, 包括若干指令用以 使得一台计算机设备 (可以是个人计算机, 服务器, 或者网络设备等)执行本发明 各个实施例或者实施例的某些部分所述的方法。 [357]本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的 部分互相参见即可, 每个实施例重点说明的都是与其他实施例的不同之处。 尤其, 对于系统实施例而言, 由于其基本相似于方法实施例, 所以描述的比较简单, 相关 之处参见方法实施例的部分说明即可。 [358]以上所述的本发明实施方式, 并不构成对本发明保护范围的限定。任何在本发 明的精神和原则之内所作的修改、 等同替换和改进等, 均应包含在本发明的保护范 围之内。 [356] It will be apparent to those skilled in the art that the techniques in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution in the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, and the computer software product may be stored in a storage medium, such as a ROM/RAM. , a diskette, an optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or in some portions of the embodiments. Each of the embodiments in the present specification is described in a progressive manner, and the same or similar portions between the various embodiments may be referred to each other, and each embodiment focuses on differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment. The above described embodiments of the invention are not intended to limit the scope of the invention. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权利要求 Rights request
1、 一种多链路透明互联 TRILL网络互联方法, 其特征在于, rn^ : 第一 TRILL网络中的第一互联设备接收第二 TRILL网络中的第二互联设备发送的第 二 TRILL网络中每个设备的设备信息; A multi-link transparent interconnection TRILL network interconnection method, characterized in that: rn^: a first interconnection device in a first TRILL network receives a second TRILL network sent by a second interconnection device in a second TRILL network. Device information of devices;
第一互联设备根据所述第二 TRILL 网络中每个设备的设备信息分别生成所述第二 TRILL网络中每个设备的虚拟节点, 第一互联设备分别与每个虚拟节点具备邻居关系; 第一互联设备根据 邻居关系 多个链路状态协议 LSP报文, 多个 LSP报 文携带腿邻居关系;  The first interconnecting device generates a virtual node of each device in the second TRILL network according to the device information of each device in the second TRILL network, where the first interconnecting device has a neighbor relationship with each virtual node; The interconnect device has multiple link state protocol LSP packets according to the neighbor relationship, and multiple LSP messages carry the leg neighbor relationship.
第一互联设备在所述第一 TRILL网络内洪泛所述多个 LSP报文。  The first interconnecting device floods the plurality of LSP messages in the first TRILL network.
2、 根据权利要求 1 的方法, 其特征在于, 根据 邻居关系 的多个 LSP报文包括: The method according to claim 1, wherein the plurality of LSP messages according to the neighbor relationship include:
为^ h虚拟节点分别 第一虚拟节点 LSP报文, 第一虚拟节点 LSP报文包括 与第一虚拟节点 LSP报文自身对应的虚拟节点的设备信息,每个第一 节点 LSP报文 还包括用于表明与第一 节点 LSP报文自身对应的虚拟节点和所述第一互联设备之间 具有邻居关系的第一邻居信息;  The first virtual node LSP packet is the virtual node of the virtual node, and the first virtual node LSP packet includes the device information of the virtual node corresponding to the first virtual node LSP packet, and each first node LSP packet further includes And indicating first neighbor information that has a neighbor relationship between the virtual node corresponding to the first node LSP message itself and the first interconnect device;
为 第一互联设备自身 的第一互联设备 LSP报文, 第一互联设备 LSP报 文中包括第一互联设备的设备信息,还包括用于表明所述第一互联设备与每个虚拟节点 之间均具有邻居关系的的第二邻居信息。  And the first interconnected device LSP message includes the device information of the first interconnected device, and further includes, between the first interconnected device and each virtual node, Second neighbor information that has a neighbor relationship.
3、 根据权利要求 2纖的方法, 其特征在于, 3. A method according to claim 2, characterized in that
第一邻居信息包括与携带所述第一邻居关系的第一虚拟节点 LSP报文对应的虚 拟节点的设备 识 ID,还包括与携带所述第^ P居关系的第一虚拟节点 LSP报文对应的 虚拟节点与第一互联设备之间的逻辑直连链路的开销 cost值;  The first neighbor information includes a device ID of the virtual node corresponding to the first virtual node LSP that carries the first neighbor relationship, and the first virtual node LSP corresponding to the first virtual node that carries the relationship The cost cost of the logical direct link between the virtual node and the first interconnected device;
第二邻居关系包括每个 节点的设备 ID,还包¾ ^虚拟节点与第一互联设 备之间建立的逻辑链路的 cost值。  The second neighbor relationship includes the device ID of each node, and also includes the cost value of the logical link established between the virtual node and the first interconnect device.
4、根据权利要求 1、 2或 3所述的方法, 其特征在于, 所述第一 TRILL网络中的第 一互联设备接收第二 TRILL网络中的第二互联设备发送的第二 TRILL网络中每个设备的 设备信息包括: The method according to claim 1, 2 or 3, wherein the first interconnecting device in the first TRILL network receives each of the second TRILL networks sent by the second interconnecting device in the second TRILL network. Device information for each device includes:
第一互联设备接收第二互联设备通过扩展的边界网关协议 BGP报文发送的第二 TRILL网络中每个设备的设备信息;  Receiving, by the first interconnecting device, device information of each device in the second TRILL network sent by the second interconnect device through the extended border gateway protocol BGP packet;
或者, 第一互联设备接收第二互联设备通过扩展的标签分发协议 LDP报文发送的第二 TRILL网络中每个设备的设备信息。 or, The first interconnecting device receives the device information of each device in the second TRILL network that is sent by the second interconnecting device through the extended label distribution protocol LDP packet.
5、 根据权利要求 1至 4中任意一项所述的方法, 其特征在于, 所述第二 TRILL网 络中每个设备的设备信息包括:第二 TRILL网络中每个设备的设备 ID、设备别名、设备 别名的优先级和设备别名的树根优先级, 虚拟节点的设备信息包括:与虚拟节点对 应的设备的设备 ID、与虚拟节点对应的设备的设备别名、与虚拟节点对应的设备的设备 别名的优先级和与虚拟节点对应的设备的设备别名的树根优先级,第一互联设备的设备 信息包括:第一互联设备的设备 ID、设备别名、设备别名的优先级和设备别名的树根优 先级。  The method according to any one of claims 1 to 4, wherein the device information of each device in the second TRILL network includes: a device ID and a device alias of each device in the second TRILL network. The priority of the device alias and the root priority of the device alias. The device information of the virtual node includes: the device ID of the device corresponding to the virtual node, the device alias of the device corresponding to the virtual node, and the device of the device corresponding to the virtual node. The priority of the alias and the root priority of the device alias of the device corresponding to the virtual node, and the device information of the first interconnected device includes: a device ID of the first interconnected device, a device alias, a priority of the device alias, and a tree of the device alias Root priority.
6、 根据权利要求 1至 5中任意一项纖的方法, 其特征在于, 纖方法还包括: 当第一互联设备检测到第一 TRILL网络中第一设备的设备别名与第二 TRILL网络中 第二设备的设备别名一致时,比较所述第一设备的设备别名的优先级和所述第二设备的 设备别名的优先级,其中所述第一设备的设备别名为第一设备别名,所述第二设备的设 备别名为第二设备别名; The method according to any one of claims 1 to 5, wherein the method further comprises: when the first interconnecting device detects the device alias of the first device in the first TRILL network and the second TRILL network When the device aliases of the second device are the same, the priority of the device alias of the first device and the device alias of the second device are compared, wherein the device alias of the first device is a first device alias, The device alias of the second device is the second device alias;
如果所述第一设备别名的优先级小于所述第二设备别名的优先级,则为所述第二设 备 虚拟节点;  If the priority of the first device alias is less than the priority of the second device alias, the second device virtual node;
如果 第一设备别名的优先级大于 第二设备别名的优先级, 第一互联设 备在 第二设备的别名被更改之前, 不为 第二设备 虚拟节点。  If the priority of the first device alias is greater than the priority of the second device alias, the first interconnect device is not the second device virtual node until the alias of the second device is changed.
7、 根据权利要求 6纖的方法, 其特征在于, 还包括: 7. The method according to claim 6, further comprising:
在 第一设备别名的优先级小于 第二设备别名的优先级的情况下, 第一 互联设备从所述第一 TRILL网络接收到包含第三设备别名的 LSP报文, 包含第三设 备别名的 LSP报文中携带的设备 ID为纖第一设备的设备 ID, 纖第三设备别名为所 述第一设备的新别名;  If the priority of the first device alias is less than the priority of the second device alias, the first interconnect device receives, from the first TRILL network, an LSP message including the third device alias, and the LSP that includes the third device alias. The device ID carried in the packet is the device ID of the first device, and the third device alias is the new alias of the first device.
第一互联设备通过扩展的边界网关协议 BGP报文或扩展的标签分;^议 LDP报文通 知第二互联设备删除所述第一设备别名、 第一设备别名的优先级以及所述第一设备 别名的树根优先级,并加入所述第三设备别名、所述第三设备别名的优先级和所述第三 设备别名的難优先级。  The first interconnect device sends the extended border gateway protocol BGP message or the extended label to notify the second interconnect device to delete the first device alias, the priority of the first device alias, and the first device. The root of the alias is prioritized, and the third device alias, the priority of the third device alias, and the hard priority of the third device alias are added.
8、 根据权利要求 1至 7中任意一项腿的方法, 其特征在于, 8. A method according to any of claims 1 to 7, characterized in that
第一互联设备接收第二互联设备发送的第二 TRILL网络中的全部的接入 VLAN的信 息、 全部的接入 VLAN中的全部的二层组播组的信息和 /或全部的接入 VLAN中的全部的 第一互联设备将所述全部的接入 VLAN的信息、全部的接入 VLAN中的全部的二层组 播组的信息和 /或全部的接入 VLAN中的全部的三层组播组的信息洪泛至第一 TRILL网络 中; The first interconnecting device receives information of all access VLANs in the second TRILL network sent by the second interconnecting device, information of all Layer 2 multicast groups in all access VLANs, and/or all access VLANs. All The first interconnecting device stores information of all the access VLANs, information of all Layer 2 multicast groups in all access VLANs, and/or information of all Layer 3 multicast groups in all access VLANs. Flooding into the first TRILL network;
第一互联设备根据 全部的接入 VLAN的信息、全部的接入 VLAN中的全部的二层 组播组的信息和 /或全部的接入 VLAN中的全部的三层组播组的信息建立本地分发树剪枝 表项, 本地分发树剪枝表项中的出接口包括第一互联设备中通向第二互联设备的公 网出接口;  The first interconnect device establishes local information according to information of all access VLANs, information of all Layer 2 multicast groups in all access VLANs, and/or information of all Layer 3 multicast groups in all access VLANs. The outbound interface in the local distribution tree pruning table includes the public network outbound interface of the first interconnected device to the second interconnected device;
当第一互联设备确定通过分发树接收到的来自第一 TRILL网络的组播流量与所述本 地分发树剪枝表项匹配, 则通过所述公网出接口向所述第二互联设备发送所述组播流 量。  And when the first interconnecting device determines that the multicast traffic from the first TRILL network that is received by the distribution tree matches the local distribution tree prune entry, sending, by the public network outbound interface, the second interconnecting device Multicast traffic.
9、 一种多链路透明互联 TRILL网络互联方法, 其特征在于, 方法应用于包括 第一 TRILL网络和第二 TRILL网络的网络中, 第一 TRILL网络包括至少 2个互联设备, 腿方法包括: A multi-link transparent interconnection TRILL network interconnection method, wherein the method is applied to a network including a first TRILL network and a second TRILL network, where the first TRILL network includes at least two interconnected devices, and the leg method includes:
第一 TRILL 网络中的每个互联设备接收第二 TRILL 网络中互联设备发送的第二 TRILL网络中每个设备的设备信息;  Each of the interconnected devices in the first TRILL network receives device information of each device in the second TRILL network sent by the interconnecting device in the second TRILL network;
第一 TRILL网络中的每个互联设备根据第二 TRILL网络中每个设备的设备信息分别 第二 TRILL网络中每个设备的虚拟节点,每个互联设备与每个虚拟节点均具有 邻居关系;  Each of the interconnected devices in the first TRILL network has a virtual node of each device in the second TRILL network according to the device information of each device in the second TRILL network, and each of the connected devices has a neighbor relationship with each virtual node;
第一 TRILL网络中的每个互联设备根据所述邻居关系生成多个链路状态协议 LSP报 文, 纖多个链路状态协议 LSP报文携带纖邻居关系;  Each of the interconnected devices in the first TRILL network generates a plurality of link state protocol LSPs according to the neighbor relationship, and the plurality of link state protocol LSPs carry the fiber neighbor relationship;
第一 TRILL网络中的每个互联设备在第一 TRILL网络内洪泛所述多个 LSP报文。  Each of the interconnected devices in the first TRILL network floods the plurality of LSP messages in the first TRILL network.
10、 根据权利要求 9腿的方法, 其特征在于, 10. A method according to claim 9 wherein:
第二 TRILL网络中每个设备的设备信息包括第二 TRILL网络中每个设备的设备 ID、 设备别名、 设备别名的优先级和设备别名的树根优先级;  The device information of each device in the second TRILL network includes a device ID, a device alias, a priority of the device alias, and a root priority of the device alias in the second TRILL network.
第一 TRILL网络中的每个互联设备根据所述邻居关系生成多个 LSP报文包括: 第一 TRILL网络的每个互联设备为每个虚拟节点分别生成虚拟节点 LSP报文,每个 虚拟节点 LSP报文包括本虚拟节点 LSP报文对应的虚拟节点的设备标识 ID、 设备别名、 设备别名的优先级和设备别名的,优先级,还包括用于表示本 节点 LSP报文对应 的虚拟节点与每个互联设备之间具有邻居关系的第一邻居信息;  Each of the interconnected devices in the first TRILL network generates a plurality of LSPs according to the neighbor relationship, and includes: each interconnected device of the first TRILL network generates a virtual node LSP packet for each virtual node, and each virtual node LSP The packet includes the device ID of the virtual node corresponding to the LSP of the virtual node, the device alias, the priority of the device alias, and the device alias. The priority is also used to indicate the virtual node corresponding to the LSP of the local node. First neighbor information with neighbor relationships between interconnected devices;
第一 TRILL网络的每个互联设备 互联设备 LSP报文, 互联设备 LSP报文包 括生成本互联设备 LSP报文的互联设备的设备 ID、设备别名、设备别名的优先级和设备 别名的树根优先级,还包括用于表示 本互联设备 LSP报文的互联设备和每个虚拟节 点之间具有邻居关系的第二邻居信息。 The LSP packet of the interconnected device of the first TRILL network includes the device ID, the device alias, the priority of the device alias, and the root priority of the device alias of the interconnect device that generates the LSP message of the interconnect device. Level, including the interconnected device and each virtual node used to represent the LSP message of the interconnect device. Second neighbor information with neighbor relationships between points.
11、根据权利要求 10纖的方法, 其特征在于, 11. A method according to claim 10, characterized in that
第一邻居信息包括每个互联设备的设备 ID,还包括 第一邻居信息对应的虚 拟节点与每个互联设备之间的逻辑链路的开销 cost值, 纖第一邻居信息对应的虚拟 节点与每个互联设备之间的逻辑链路的开销 cost值均相等;  The first neighbor information includes a device ID of each interconnected device, and further includes an overhead cost value of a logical link between the virtual node corresponding to the first neighbor information and each of the interconnected devices, and a virtual node corresponding to the first neighbor information of the fiber The cost of the logical link between the interconnected devices is equal;
第二邻居信息包括每个 节点的设备 ID,还包括 第二邻居信息对应的互 联设备与每个雌节点之间的逻辑链路的开销 cost值, 腿第二邻居信息对应的互联 设备与每个雌节点之间的逻辑链路的开销 cost值均相等。  The second neighbor information includes a device ID of each node, and further includes an overhead cost value of a logical link between the interconnected device corresponding to the second neighbor information and each female node, and an interconnect device corresponding to each leg second neighbor information. The cost of the logical link between the female nodes is equal.
12、根据权利要求 9至 11中任一项纖的方法, 其特征在于, 纖方法还包括: 第一 TRILL网络中的每个互联设备通过 LSP报文向第一 TRILL网络中的其它互联设 备通告表明自身为互联设备的信息,以使第一 TRILL网络中的每个互联设备获得该第一 TRILL网络中所有互联设备的信息。 The method according to any one of claims 9 to 11, wherein the fiber method further comprises: each of the interconnected devices in the first TRILL network advertising the other interconnected devices in the first TRILL network through the LSP message. The information indicating that it is an interconnected device is such that each interconnected device in the first TRILL network obtains information of all connected devices in the first TRILL network.
13、根据权利要求 9至 12中任一项 的方法, 其特征在于, 方法还包括: 当第一 TRILL网络中的第一互联设备检测到所述第一 TRILL网络中第一设备的设备 别名与所述第二 TRILL网络中第二设备的设备别名一致时,比较所述第一设备的设备别 名的优先级和所述第二设备的设备别名的优先级,其中所述第一设备的设备别名为第一 设备别名, 所述第二设备的设备别名为第二设备别名; The method according to any one of claims 9 to 12, wherein the method further comprises: when the first interconnected device in the first TRILL network detects the device alias of the first device in the first TRILL network When the device aliases of the second device in the second TRILL network are consistent, comparing the priority of the device alias of the first device with the priority of the device alias of the second device, where the device alias of the first device is a device alias of the second device, where the device alias of the second device is a second device alias;
如果所述第一设备别名的优先级小于所述第二设备别名的优先级,则为所述第二设 备 虚拟节点;  If the priority of the first device alias is less than the priority of the second device alias, the second device virtual node;
如果 第一设备别名的优先级大于 第二设备别名的优先级,则第一互联设备 在 第二设备的别名被更改之前, 不为 第二设备 虚拟节点。  If the priority of the first device alias is greater than the priority of the second device alias, the first interconnect device is not the second device virtual node until the alias of the second device is changed.
14、根据权利要求 13腿的方法, 其特征在于, 纖方法还包括: 14. The method of claim 13, wherein the fiber method further comprises:
在 第一设备别名的优先级小于 第二设备别名的优先级的情况下, mm- 互联设备从所述第一 TRILL网络接收到包含第三设备别名的 LSP报文, 包含第三设 备别名的 LSP报文中携带的设备 ID为腿第一设备的设备 ID, 腿第三设备别名为所 述第一设备的新别名;  In the case that the priority of the first device alias is less than the priority of the second device alias, the mm-interconnect device receives the LSP message including the third device alias from the first TRILL network, and includes the LSP of the third device alias. The device ID carried in the message is the device ID of the first device of the leg, and the third device alias of the leg is a new alias of the first device;
第一互联设备通过扩展的边界网关协议 BGP报文或扩展的 分发协议 LDP报 文通知第二 TRILL网络中的互联设备删除所述第一设备别名及所述第一设备别名的优先 级, 并加入纖第三设备别名及腿第三设备别名的优先级。 The first interconnect device notifies the interconnected device in the second TRILL network to delete the priority of the first device alias and the first device alias by using the extended border gateway protocol BGP packet or the extended distribution protocol LDP packet, and joins The priority of the third device alias and the third device alias of the leg.
15、 根据权利要求 9至 14中任一项所述的方法, 其特征在于, 第一 TRILL网络的 每个互联设备接收第二 TRILL网络的互联设备发送的第二 TRILL网络中每个设备的设备 信息包括: The method according to any one of claims 9 to 14, wherein each of the interconnection devices of the first TRILL network receives the device of each device in the second TRILL network sent by the interconnection device of the second TRILL network. Information includes:
第一 TRILL网络的每个互联设备接收第二 TRILL网络中的互联设备通过扩展的边界 网关协议 BGP报文发送的所述第二 TRILL网络中每个设备的设备信息;  Each of the interconnected devices of the first TRILL network receives device information of each device in the second TRILL network that is sent by the interconnecting device in the second TRILL network through the extended border gateway protocol BGP packet;
或者,  Or,
第一 TRILL网络的每个互联设备接收第二 TRILL网络中的互联设备通过扩展的标签 分发协议 LDP报文发送的所述第二 TRILL网络中每个设备的设备信息。  Each of the interconnected devices of the first TRILL network receives the device information of each device in the second TRILL network that is sent by the interconnecting device in the second TRILL network through the extended label distribution protocol LDP packet.
16、 根据权利要求 9至 15中任一项腿的方法, 其特征在于, 腿方法还包括: 第一 TRILL 网络中的第一互联设备接收第二 TRILL 网络的互联设备发送的第二 16. A method according to any one of claims 9 to 15, wherein the leg method further comprises: the first interconnecting device in the first TRILL network receiving the second transmitted by the interconnecting device of the second TRILL network
TRILL网络中的全部的接入 VLAN的信息、 全部的接入 VLAN中的全部的二层组播组的信 息和 /或全部的接入 VLAN中的全部的三层组播组的信息; Information about all access VLANs in the TRILL network, information of all Layer 2 multicast groups in all access VLANs, and/or information of all Layer 3 multicast groups in all access VLANs;
第一互联设备确定第一互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的信 息和 /或 VLAN中的三层组播组的信息和第二 TRILL网络中的全部的接入 VLAN的信息、 全部的接入 VLAN中的全部的二层组播组的信息和 /或全部的接入 VLAN中的全部的三层 组播组的信息的交集;  The first interconnecting device determines the information of the VLAN configured in the first interconnected device, the information of the layer 2 multicast group in the VLAN, and/or the information of the layer 3 multicast group in the VLAN and the access in the second TRILL network. The information of the VLAN, the information of all the Layer 2 multicast groups in all the access VLANs, and/or the intersection of the information of all the Layer 3 multicast groups in all the access VLANs;
第一互联设备在第一 TRILL网络中洪泛 交集;  The first interconnected device floods the intersection in the first TRILL network;
第一互联设备根据 交集建立本地分发树剪枝表项, 本地分发树剪枝表项中 的出接口包括第一互联设备中通向第二 TRILL网络的公网出接口;  The first interconnecting device establishes a local distribution tree prune entry according to the intersection, and the outbound interface in the local distribution tree prune entry includes the public network outgoing interface of the first interconnected device to the second TRILL network;
当第一互联设备确定通过分发树接收到的来自第一 TRILL网络的组播流量与所述本 地分发树剪枝表项匹配时,通过所述公网出接口向所述第二 TRILL网络发送所述组播流 量。  When the first interconnection device determines that the multicast traffic from the first TRILL network received by the distribution tree matches the local distribution tree prune entry, the public network outgoing interface sends the location to the second TRILL network. Multicast traffic.
17、 根据权利要求 9至 15中任一项纖的方法, 其特征在于, 方法还包括: 第一互联设备将第一互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的信息 和 /或 VLAN中的三层组播组的信息在第一 TRILL网络中洪泛; The method according to any one of claims 9 to 15, wherein the method further comprises: the first interconnecting device, the information of the VLAN configured in the first interconnecting device, and the information of the layer 2 multicast group in the VLAN. And/or the information of the Layer 3 multicast group in the VLAN is flooded in the first TRILL network;
第一互联设备根据第一互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的信 息和 /或 VLAN中的三层组播组的信息建立本地分发树简直表项,所述本地分发树剪枝表 项中的出接口包括第一互联设备中通向第二 TRILL网络的公网出接口;  The first interconnection device establishes a local distribution tree simple entry according to the information of the VLAN configured in the first interconnection device, the information of the layer 2 multicast group in the VLAN, and/or the information of the layer 3 multicast group in the VLAN, where the local The outbound interface in the distribution tree pruning table includes the public network outbound interface of the first interconnecting device to the second TRILL network.
当第一互联设备确定通过分发树接收到的来自第一 TRILL网络的组播流量与 本 地分发树剪枝表项匹配时,通过所述公网出接口向所述第二 TRILL网络发送所述组播流 量。  And when the first interconnecting device determines that the multicast traffic received from the first TRILL network by the distribution tree matches the local distribution tree prune entry, sending the group to the second TRILL network by using the public network outbound interface. Broadcast traffic.
18、 根据权利要求 9至 17中任一项 的方法, 其特征在于, 第一互联设备中配 置的 VLAN的信息、 VLAN中的二层组播组的信息和 /或 VLAN中的三层组播组的信息与第 一 TRILL网络中的第二互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的信息和 / 或 VLAN中的三层组播组的信息不存在交集,其中,第一互联设备中配置的 VLAN信息通 过第一 VLAN ID或第一精细标签 Fine-Grained Label进行标识, 第二互联设备中配置 的 VLAN信息通过第二 VLAN ID或第二精细 Fine- Grained Label进行标识。 The method according to any one of claims 9 to 17, characterized in that the first interconnected device is provided The information of the VLAN, the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN and the information of the VLAN configured in the second interconnected device in the first TRILL network, in the VLAN The information of the Layer 2 multicast group and/or the information of the Layer 3 multicast group in the VLAN does not exist. The VLAN information configured in the first interconnected device is configured by using the first VLAN ID or the first fine label Fine-Grained Label. The VLAN information configured in the second interconnection device is identified by the second VLAN ID or the second fine Fine- Grained Label.
19、 根据权利要求 16至 18中任一项腿的方法, 其特征在于, 腿方法还包括: 当第一互联设备发生节点故障时,第二互联设备为每个虚拟节点分别生成 LSP第一 更新报文,每个 LSP更新报文包括用于表明与本 LSP第一更新报文对应的虚拟节点与第 一 TRILL网络中除第一互联设备之外的每个互联设备具有邻居关系的信息; The method according to any one of claims 16 to 18, wherein the leg method further comprises: when the first interconnecting device has a node failure, the second interconnecting device separately generates an LSP first update for each virtual node a message, each LSP update message includes information indicating that the virtual node corresponding to the first update packet of the LSP has a neighbor relationship with each of the first TRILL networks except the first interconnect device;
第二互联设备洪泛为每个 节点分别 的 LSP第一更新报文。  The second interconnected device floods the LSP first update message for each node.
20、根据权利要求 16至 18中任一项纖的方法, 其特征在于, 纖方法还包括: 当第一互联设备上与第二 TRILL网络具有通信连接关系的公网出口或第一互联设备 与第二 TRILL网络之间的公网链路发生故障时, 第一互联设备在第一 TRILL网络中 洪泛用于表示所述第一互联设备与每个虚拟节点之间的逻辑直连链路被删除的 LSP刪除 报文; The method according to any one of claims 16 to 18, wherein the fiber method further comprises: a public network outlet or a first interconnecting device having a communication connection relationship with the second TRILL network on the first interconnecting device When the public network link between the second TRILL network fails, the first interconnected device is flooded in the first TRILL network to indicate that the logical direct link between the first interconnected device and each virtual node is The deleted LSP deletes the packet.
第二互联设备接收到 LSP删除报文后,为每个 节点分别生成 LSP第二更新 报文,每个 LSP第二更新报文包括用于表明与本 LSP第二更新报文对应的虚拟节点与第 一 TRILL网络中除第一互联设备之外的每个互联设备具有邻居关系的信息;  After receiving the LSP deletion packet, the second interconnection device generates an LSP second update packet for each node, and each LSP second update packet includes a virtual node corresponding to the second update packet of the LSP. Each of the first TRILL networks except the first interconnected device has information of a neighbor relationship;
第二互联设备在所述第一 TRILL网络中洪泛 LSP第二更新报文。  The second interconnecting device floods the LSP second update message in the first TRILL network.
21、 根据权利要求 19或 20 的方法, 其特征在于, 方法还包括: 在第二互联设备或第一 TRILL网络中的第三互联设备中配置第一互联设备在所述节 点故障、公网出口链路故障或公网链路故障前所使用的故障前转发信息,腿故障前转 发信息包括 VLAN的信息、 VLAN中二层组播组的信息或 VLAN中三层组播组的信息; 第二互联设备或第三互联设备将所述故障前转发信息通告给第一 TRILL网络中的设 备, 以便第一 TRILL网络中的设备进行分发树剪枝计算。 The method according to claim 19 or 20, wherein the method further comprises: configuring, in the second interconnected device or the third interconnected device in the first TRILL network, the first interconnected device to be in the node fault, the public network exit The link forwarding fault or the pre-failure forwarding information used before the fault of the public network link. The forwarding information before the leg fault includes the information of the VLAN, the information of the Layer 2 multicast group in the VLAN, or the information of the Layer 3 multicast group in the VLAN. The interconnecting device or the third interconnecting device notifies the pre-failure forwarding information to the device in the first TRILL network, so that the device in the first TRILL network performs the distribution tree pruning calculation.
22、一种互联设备, 包括于第一多链路透明互联 TRILL网络中, 所述互联设备为第 一互联设备, 其特征在于, 纖第一互联设备包括: An interconnecting device, which is included in a first multi-link transparent interconnect TRILL network, wherein the interconnecting device is a first interconnecting device, and the first interconnecting device includes:
第一接收单元 (701),用于接收第二 TRILL网络中的第二互联设备发送的第二 TRILL 网络中每个设备的设备信息;  a first receiving unit (701), configured to receive device information of each device in the second TRILL network sent by the second interconnecting device in the second TRILL network;
第一 单元 (702), 用于根据所述第二 TRILL网络中每个设备的设备信息分别生 成所述第二 TRILL网络中每个设备的虚拟节点,第一互联设备分别与每个虚拟节点具备 邻居关系; a first unit (702), configured to respectively generate device information according to each device in the second TRILL network As a virtual node of each device in the second TRILL network, the first interconnecting device has a neighbor relationship with each virtual node;
第二^ ^单元(703), 用于根据 邻居关系^多个链路状态协议 LSP报文, 所 述多个 LSP报文携带 邻居关系;  a second unit (703), configured to carry, according to the neighbor relationship, a plurality of link state protocol LSP messages, where the multiple LSPs carry neighbor relationships;
第一洪泛单元 (704), 用于在所述第一 TRILL网络内洪泛所述多个 LSP报文。  The first flooding unit (704) is configured to flood the plurality of LSP messages in the first TRILL network.
23、 根据权利要求 22纖的第一互联设备, 其特征在于, 纖第二 单元具体 用于: A first interconnecting device according to claim 22, wherein the second unit of the fiber is specifically configured to:
为^ h虚拟节点分别 第一虚拟节点 LSP报文, 第一虚拟节点 LSP报文包括 与第一虚拟节点 LSP报文自身对应的虚拟节点的设备信息,每个第一 节点 LSP报文 还包括用于表明与第一 节点 LSP报文自身对应的虚拟节点和所述第一互联设备之间 具有邻居关系的第一邻居信息;  The first virtual node LSP packet is the virtual node of the virtual node, and the first virtual node LSP packet includes the device information of the virtual node corresponding to the first virtual node LSP packet, and each first node LSP packet further includes And indicating first neighbor information that has a neighbor relationship between the virtual node corresponding to the first node LSP message itself and the first interconnect device;
为 第一互联设备自身 的第一互联设备 LSP报文, 第一互联设备 LSP报 文中包括第一互联设备的设备信息,还包括用于表明所述第一互联设备与每个虚拟节点 之间均具有邻居关系的的第二邻居信息。  And the first interconnected device LSP message includes the device information of the first interconnected device, and further includes, between the first interconnected device and each virtual node, Second neighbor information that has a neighbor relationship.
24、 根据权利要求 23 的第一互联设备, 其特征在于, 24. The first interconnected device of claim 23, wherein
第一邻居信息包括与携带 第一邻居关系的第一虚拟节点 LSP报文对应的虚 拟节点的设备繊 ID,还包括与携带纖第 居关系的第一雌节点 LSP报文对应的 虚拟节点与第一互联设备之间的逻辑直连链路的开销 cost值;  The first neighbor information includes a device ID of the virtual node corresponding to the first virtual node LSP message carrying the first neighbor relationship, and a virtual node corresponding to the first female node LSP message carrying the fiber relationship The cost cost of a logical direct link between interconnected devices;
第二邻居关系包括每个 节点的设备 ID,还包¾ ^虚拟节点与第一互联设 备之间建立的逻辑链路的 cost值。  The second neighbor relationship includes the device ID of each node, and also includes the cost value of the logical link established between the virtual node and the first interconnect device.
25、根据权利要求 22、 23或 24纖的第一互联设备, 其特征在于, 第一接收 单元具体用于: A first interconnecting device according to claim 22, 23 or 24, wherein the first receiving unit is specifically configured to:
接收第二互联设备通过扩展的边界网关协议 BGP报文发送的第二 TRILL网络中每个 设备的设备信息;  Receiving device information of each device in the second TRILL network sent by the second interconnect device through the extended border gateway protocol BGP packet;
或者,  Or,
接收第二互联设备通过扩展的标签分发协议 LDP报文发送的第二 TRILL网络中每个 设备的设备信息。  Receiving device information of each device in the second TRILL network sent by the second interconnect device through the extended label distribution protocol LDP packet.
26、根据权利要求 22至 25中任意一项腿的第一互联设备, 其特征在于, m 一接收单元接收的所述第二 TRILL网络中每个设备的设备信息包括:第二 TRILL网络中 每个设备的设备 ID、设备别名、设备别名的优先级和设备别名的,优先级, 虚拟 节点的设备信息包括:与虚拟节点对应的设备的设备 ID、与虚拟节点对应的设备的设备 别名、与虚拟节点对应的设备的设备别名的优先级和与虚拟节点对应的设备的设备别名 的树根优先级,第一互联设备的设备信息包括:第一互联设备的设备 ID、设备别名、设 备别名的优先级和设备别名的 优先级 The first interconnection device of the leg according to any one of claims 22 to 25, wherein the device information of each device in the second TRILL network received by the receiving unit comprises: each of the second TRILL network Device ID, device alias, device alias priority, and device alias, priority, virtual The device information of the node includes: a device ID of the device corresponding to the virtual node, a device alias of the device corresponding to the virtual node, a priority of the device alias of the device corresponding to the virtual node, and a tree of the device alias of the device corresponding to the virtual node Root priority, the device information of the first interconnected device includes: the device ID of the first interconnected device, the device alias, the priority of the device alias, and the priority of the device alias
27、根据权利要求 22至 26中任意一项 的第一互联设备, 其特征在于, m 一互联设备还包括: The first interconnection device according to any one of claims 22 to 26, wherein the m-connected device further comprises:
比较单元(705), 用于当第一互联设备检测到第一 TRILL网络中第一设备的设备别 名与第二 TRILL网络中第二设备的设备别名一致时,比较所述第一设备的设备别名的优 先级和所述第二设备的设备别名的优先级,其中所述第一设备的设备别名为第一设备别 名, 所述第二设备的设备别名为第二设备别名;  a comparing unit (705), configured to compare, when the first interconnecting device detects that the device alias of the first device in the first TRILL network is consistent with the device alias of the second device in the second TRILL network, compare the device alias of the first device a priority of the device and a device alias of the second device, where the device alias of the first device is a first device alias, and the device alias of the second device is a second device alias;
如果所述第一设备别名的优先级小于所述第二设备别名的优先级,则所述比较单元 触发腿第一 单元为纖第二设备 虚拟节点;  If the priority of the first device alias is less than the priority of the second device alias, the comparing unit triggers the first unit of the leg to be the second device virtual node;
如果 第一设备别名的优先级大于 第二设备别名的优先级,则 比较单元 在 第二设备的别名被更改之前,使 第一 单元不为 第二设备 虚拟节 点。  If the priority of the first device alias is greater than the priority of the second device alias, the comparison unit makes the first unit not the second device virtual node before the alias of the second device is changed.
28、 根据权利要求 27腿的第一互联设备, 其特征在于, 腿第一互联设备还包 括: 28. The first interconnecting device of claim 27, wherein the first leg interconnecting device further comprises:
第二接收单元(706), 用于在所述第一设备别名的优先级小于所述第二设备别名的 优先级的情况下,从所述第一 TRILL网络接收到包含第三设备别名的 LSP报文, 包 含第三设备别名的 LSP报文中携带的设备 ID为所述第一设备的设备 ID, 所述第三设备 别名为 第一设备的新别名;  a second receiving unit (706), configured to receive, from the first TRILL network, an LSP that includes a third device alias, where a priority of the first device alias is less than a priority of the second device alias a device ID, where the device ID carried in the LSP packet containing the third device alias is the device ID of the first device, and the third device alias is a new alias of the first device;
通知单元 (707),用于通过扩展的边界网关协议 BGP报文或扩展的标签分发协议 LDP 报文通知第二互联设备删除所述第一设备别名、 第一设备别名的优先级以及所述第 一设备别名的,优先级,并加入 第三设备别名、 第三设备别名的优先级和所 述第三设备别名的難优先级。  The notifying unit (707) is configured to notify the second interconnecting device to delete the priority of the first device alias, the first device alias, and the first device by using the extended border gateway protocol BGP message or the extended label distribution protocol LDP message A device alias, priority, and joins a third device alias, a priority of the third device alias, and a hard priority of the third device alias.
29、根据权利要求 22至 28中任意一项纖的第一互联设备, 其特征在于, m 一互联设备还包括: The first interconnecting device of the fiber according to any one of claims 22 to 28, wherein the m-connected device further comprises:
第三接收单元 (708), 用于接收第二互联设备发送的第二 TRILL网络中的全部的接 入 VLAN的信息、 全部的接入 VLAN中的全部的二层组播组的信息和 /或全部的接入 VLAN 中的全部的三层组播组的信息;  The third receiving unit (708) is configured to receive information about all access VLANs in the second TRILL network sent by the second interconnecting device, information of all Layer 2 multicast groups in all access VLANs, and/or All access to the information of all Layer 3 multicast groups in the VLAN;
第二洪泛单元 (709), 用于将 全部的接入 VLAN的信息、全部的接入 VLAN中的 全部的二层组播组的信息和 /或全部的接入 VLAN中的全部的三层组播组的信息洪泛至第 一 TRILL网络中; a second flooding unit (709), configured to store all access VLAN information, all access VLANs The information of all Layer 2 multicast groups and/or the information of all Layer 3 multicast groups in all access VLANs are flooded into the first TRILL network;
建立单元(710), 用于根据所述全部的接入 VLAN的信息、全部的接入 VLAN中的全 部的二层组播组的信息和 /或全部的接入 VLAN中的全部的三层组播组的信息建立本地分 发树剪枝表项, 本地分发树剪枝表项中的出接口包括第一互联设备中通向第二互联 设备的公网出接口;  An establishing unit (710), configured to use, according to the information about all access VLANs, information of all Layer 2 multicast groups in all access VLANs, and/or all Layer 3 groups in all access VLANs The outbound interface in the local distribution tree pruning table includes the public network outbound interface of the first interconnected device to the second interconnected device.
发送单元(711), 用于当第一互联设备确定通过分发树接收到的来自第一 TRILL网 络的组播流量与所述本地分发树剪枝表项匹配时,通过所述公网出接口向所述第二互联 设备发送腿组播流量。  a sending unit (711), configured to: when the first interconnecting device determines that the multicast traffic from the first TRILL network received by the distribution tree matches the local distribution tree prune entry, The second interconnected device sends leg multicast traffic.
30、一种多链路透明互联 TRILL系统, 其特征在于, 纖系统包括第一 TRILL网络 和第二 TRILL网络的网络,第一 TRILL网络包括至少 2个互联设备,第一 TRILL网络中 的 互联设备用于: 30. A multi-link transparent interconnect TRILL system, wherein the fiber system comprises a first TRILL network and a second TRILL network, the first TRILL network includes at least two interconnected devices, and the interconnected devices in the first TRILL network Used for:
接收第二 TRILL网络中互联设备发送的第二 TRILL网络中每个设备的设备信息; 根据第二 TRILL网络中每个设备的设备信息分别生成所述第二 TRILL网络中每个设 备的 节点, 每个互联设备与每个 节点均具有邻居关系;  Receiving device information of each device in the second TRILL network sent by the interconnecting device in the second TRILL network; generating, according to the device information of each device in the second TRILL network, nodes of each device in the second TRILL network, respectively Interconnected devices have a neighbor relationship with each node;
根据 邻居关系 多个链路状态协议 LSP报文, 多个链路状态协议 LSP报 文携带腿邻居关系;  According to the neighbor relationship, multiple link state protocol LSP packets, and multiple link state protocol LSP messages carry leg neighbor relationships;
在第一 TRILL网络内洪泛所述多个 LSP报文。  The multiple LSPs are flooded in the first TRILL network.
31、 根据权利要求 30纖的系统, 其特征在于, 31. A system according to claim 30, characterized in that
第一 TRILL网络中的每个互联设备接收的所述第二 TRILL网络中每个设备的设备信 息包括第二 TRILL网络中每个设备的设备 ID、设备别名、设备别名的优先级和设备别名 的難优先级;  The device information of each device in the second TRILL network received by each interconnected device in the first TRILL network includes a device ID, a device alias, a priority of the device alias, and a device alias of each device in the second TRILL network. Difficult priority
第一 TRILL网络中的每个互联设备用于根据所述邻居关系生成多个 LSP报文包 括- 第一 TRILL网络的每个互联设备用于为每个虚拟节点分别生成虚拟节点 LSP报文, 每个虚拟节点 LSP报文包括本 节点 LSP报文对应的 节点的设备标识 ID、设备别 名、设备别名的优先级和设备别名的觀优先级,还包括用 示本虚拟节点 LSP报文 对应的虚拟节点与每个互联设备之间具有邻居关系的第一邻居信息;  Each interconnecting device in the first TRILL network is configured to generate a plurality of LSP messages according to the neighbor relationship. Each interconnecting device of the first TRILL network is configured to generate a virtual node LSP message for each virtual node. The virtual node LSP packet includes the device ID of the node corresponding to the LSP of the local node, the device alias, the priority of the device alias, and the priority of the device alias, and the virtual node corresponding to the LSP of the virtual node. First neighbor information having a neighbor relationship with each interconnected device;
第一 TRILL网络的每个互联设备用于 互联设备 LSP报文, 互联设备 LSP报 文包括生成本互联设备 LSP报文的互联设备的设备 ID、设备别名、设备别名的优先级和 设备别名的,优先级,还包括用于表示 本互联设备 LSP报文的互联设备和 虚 拟节点之间具有邻居关系的第二邻居信息。 Each of the interconnected devices of the first TRILL network is configured to interconnect LSPs of the device, and the LSPs of the interconnected device include the device ID, the device alias, the priority of the device alias, and the device alias of the interconnect device that generates the LSP message of the interconnect device. The priority includes the second neighbor information that is used to indicate the neighbor relationship between the interconnected device and the virtual node of the interconnect device LSP.
32、 根据权利要求 31 的系统, 其特征在于, 32. The system of claim 31, wherein
第一邻居信息包括每个互联设备的设备 ID,还包括所述第一邻居信息对应的虚 拟节点与每个互联设备之间的逻辑链路的开销 cost值, 腿第一邻居信息对应的繩 节点与每个互联设备之间的逻辑链路的开销 cost值均相等;  The first neighbor information includes a device ID of each interconnected device, and further includes an overhead cost value of a logical link between the virtual node corresponding to the first neighbor information and each interconnected device, and a rope node corresponding to the first neighbor information of the leg. The cost cost of the logical link with each interconnected device is equal;
第二邻居信息包括每个 节点的设备 ID,还包括 第二邻居信息对应的互 联设备与每个雌节点之间的逻辑链路的开销 cost值, 纖第二邻居信息对应的互联 设备与每个虚拟节点之间的逻辑链路的开销 cost值均相等。  The second neighbor information includes the device ID of each node, and the cost value of the logical link between the interconnected device and the female node corresponding to the second neighbor information, and the interconnected device corresponding to the second neighbor information. The cost of the logical link between the virtual nodes is equal.
33、 根据权利要求 30至 32中任一项腿的系统, 其特征在于, 33. A system for a leg according to any of claims 30 to 32, characterized in that
第一 TRILL网络中的每个互联设备进一步用于通过 LSP报文向第一 TRILL网络中的 其它互联设备通告表明自身为互联设备的信息,以使第一 TRILL网络中的每个互联设备 获得该第一 TRILL网络中所有互联设备的信息。  Each interconnected device in the first TRILL network is further configured to notify, by using the LSP message, information indicating that it is an interconnected device to other interconnected devices in the first TRILL network, so that each interconnected device in the first TRILL network obtains the Information about all connected devices in the first TRILL network.
34、 根据权利要求 30至 33中任一项纖的系统, 其特征在于, 34. A system according to any one of claims 30 to 33, wherein
当第一 TRILL网络中的第一互联设备检测到所述第一 TRILL网络中第一设备的设备 别名与所述第二 TRILL网络中第二设备的设备别名一致时,第一互联设备用于比较所述 第一设备的设备别名的优先级和所述第二设备的设备别名的优先级,其中所述第一设备 的设备别名为第一设备别名, 所述第二设备的设备别名为第二设备别名;  When the first interconnect device in the first TRILL network detects that the device alias of the first device in the first TRILL network is consistent with the device alias of the second device in the second TRILL network, the first interconnect device is used to compare a priority of the device alias of the first device and a device alias of the second device, where the device alias of the first device is a first device alias, and the device alias of the second device is a second Device alias
如果所述第一设备别名的优先级小于所述第二设备别名的优先级,则第一互联设备 用于为 第二设备 Λ¾ί节点;  If the priority of the first device alias is less than the priority of the second device alias, the first interconnect device is configured to be a second device;
如果 第一设备别名的优先级大于 第二设备别名的优先级,则第一互联设备 用于在所述第二设备的别名被更改之前, 不为所述第二设备生成虚拟节点。  If the priority of the first device alias is greater than the priority of the second device alias, the first interconnect device is configured not to generate a virtual node for the second device before the alias of the second device is changed.
35、 根据权利要求 34 的系统, 其特征在于, 35. The system of claim 34, wherein
在 第一设备别名的优先级小于 第二设备别名的优先级的情况下, 第一 互联设备用于从所述第一 TRILL网络接收到包含第三设备别名的 LSP报文, 包含第 三设备别名的 LSP报文中携带的设备 ID为所述第一设备的设备 ID, 所述第三设备别名 为 第一设备的新别名;  When the priority of the first device alias is less than the priority of the second device alias, the first interconnect device is configured to receive, from the first TRILL network, an LSP message including the third device alias, including the third device alias. The device ID carried in the LSP packet is the device ID of the first device, and the third device alias is a new alias of the first device.
第一互联设备用于通过扩展的边界网关协议 BGP报文或扩展的标签分发协议 LDP报文通知第二 TRILL网络中的互联设备刪除所述第一设备别名及所述第一设备别名 的优先级, 并加入 第三设备别名及 第三设备别名的优先级。  The first interconnecting device is configured to notify the interconnected device in the second TRILL network to delete the priority of the first device alias and the first device alias by using an extended border gateway protocol BGP message or an extended label distribution protocol LDP message And add the priority of the third device alias and the third device alias.
36、 根据权利要求 30至 35中任一项纖的系统, 其特征在于, 第一 TRILL网络的每个互联设备用于接收第二 TRILL网络中的互联设备通过扩展的 边界网关协议 BGP报文发送的所述第二 TRILL网络中每个设备的设备信息; 36. A system according to any one of claims 30 to 35, wherein Each of the interconnecting devices of the first TRILL network is configured to receive device information of each device in the second TRILL network that is sent by the interconnecting device in the second TRILL network by using the extended border gateway protocol BGP packet;
或者,  Or,
第一 TRILL网络的每个互联设备用于接收第二 TRILL网络中的互联设备通过扩展的 分发协议 LDP报文发送的所述第二 TRILL网络中每个设备的设备信息。  Each of the interconnected devices of the first TRILL network is configured to receive device information of each device in the second TRILL network that is sent by the interconnecting device in the second TRILL network through the extended distribution protocol LDP packet.
37、根据权利要求 30至 36中任一项纖的系统, 其特征在于, 第一 TRILL网络中 的第一互联设备用于: 37. A system according to any one of claims 30 to 36, wherein the first interconnected device in the first TRILL network is for:
接收第二 TRILL网络的互联设备发送的第二 TRILL网络中的全部的接入 VLAN的信 息、 全部的接入 VLAN中的全部的二层组播组的信息和 /或全部的接入 VLAN中的全部的 三层组播组的信息;  Receiving information of all access VLANs in the second TRILL network sent by the interconnection device of the second TRILL network, information of all Layer 2 multicast groups in all access VLANs, and/or all access VLANs Information about all Layer 3 multicast groups;
确定第一互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的信息和 /或 VLAN 中的三层组播组的信息和第二 TRILL网络中的全部的接入 VLAN的信息、全部的接入 VLAN 中的全部的二层组播组的信息和 /或全部的接入 VLAN中的全部的三层组播组的信息的交 集;  Determining the information of the VLAN configured in the first interconnected device, the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN and the access VLAN of the second TRILL network, The intersection of all Layer 2 multicast groups in all access VLANs and/or the information of all Layer 3 multicast groups in all access VLANs;
在第一 TRILL网络中洪泛 交集;  Flooding in the first TRILL network;
根据 交集建立本地分发树剪枝表项, 本地分发树剪枝表项中的出接口包括 第一互联设备中通向第二 TRILL网络的公网出接口;  The outbound interface in the local distribution tree pruning table includes the public network outbound interface of the first interconnected device to the second TRILL network.
当确定通过分发树接收到的来自第一 TRILL网络的组播流量与所述本地分发树剪枝 表项匹配时, 通过所述公网出接口向所述第二 TRILL网络发送所述组播流量。  When the multicast traffic from the first TRILL network received by the distribution tree is matched with the local distribution tree prune entry, the multicast traffic is sent to the second TRILL network by using the public network outbound interface. .
38、根据权利要求 30至 36中任一项所述的系统,其特征在于,第一互联设备用于: 将第一互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的信息和 /或 VLAN中 的三层组播组的信息在第一 TRILL网络中洪泛; The system according to any one of claims 30 to 36, wherein the first interconnection device is configured to: information about a VLAN configured in the first interconnection device, and information of a layer 2 multicast group in the VLAN And/or the information of the Layer 3 multicast group in the VLAN is flooded in the first TRILL network;
根据第一互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的信息和 /或 VLAN 中的三层组播组的信息建立本地分发!^直表项,所述本地分发树剪枝表项中的出接口 包括第一互联设备中通向第二 TRILL网络的公网出接口;  Establish a local distribution according to the information of the VLAN configured in the first interconnected device, the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN. The direct distribution item, the local distribution tree cutter The outbound interface in the branch entry includes a public network outbound interface that leads to the second TRILL network in the first interconnected device;
当确定通过分发树接收到的来自第一 TRILL网络的组播流量与所述本地分发树剪枝 表项匹配时, 通过所述公网出接口向所述第二 TRILL网络发送所述组播流量。  When the multicast traffic from the first TRILL network received by the distribution tree is matched with the local distribution tree prune entry, the multicast traffic is sent to the second TRILL network by using the public network outbound interface. .
39、根据权利要求 34至 38中任一项纖的系统, 其特征在于, 第一互联设备中配 置的 VLAN的信息、 VLAN中的二层组播组的信息和 /或 VLAN中的三层组播组的信息与第 一 TRILL网络中的第二互联设备中配置的 VLAN的信息、 VLAN中的二层组播组的信息和 / 或 VLAN中的三层组播组的信息不存在交集,其中,第一互联设备中配置的 VLAN信息通 过第一 VLAN ID或第一精细标签 Fine- Grained Label进行标识, 第二互联设备中配置 的 VLAN信息通过第二 VLAN ID或第二精细标签 Fine-Grained Label进行标识。 39. A system according to any one of claims 34 to 38, characterized by: information of a VLAN configured in the first interconnected device, information of a layer 2 multicast group in a VLAN, and/or a layer 3 group in a VLAN The information of the broadcast group does not intersect with the information of the VLAN configured in the second interconnect device in the first TRILL network, the information of the Layer 2 multicast group in the VLAN, and/or the information of the Layer 3 multicast group in the VLAN. , the VLAN information communication configured in the first interconnected device The first VLAN ID or the first fine label Fine- Grained Label is used for identification, and the VLAN information configured in the second interconnection device is identified by the second VLAN ID or the second fine label Fine-Grained Label.
40、根据权利要求 37至 39中任一项所述的系统,其特征在于,第二互联设备用于: 当第一互联设备发生节点故障时, 为每个虚拟节点分别生成 LSP第一更新报文,每 个 LSP更新报文包括用于表明与本 LSP第一更新报文对应的虚拟节点与第一 TRILL网络 中除第一互联设备之外的每个互联设备具有邻居关系的信息; The system according to any one of claims 37 to 39, wherein the second interconnecting device is configured to: when the first interconnecting device has a node failure, generate an LSP first update report for each virtual node respectively. The LSP update message includes information indicating that the virtual node corresponding to the first update packet of the LSP has a neighbor relationship with each interconnected device except the first interconnect device in the first TRILL network.
洪泛为每个 节点分别生成的 LSP第一更新报文。  The LSP first update packet generated by each node is flooded.
41、 根据权利要求 37至 39中任一项腿的系统, 其特征在于, 41. A system for a leg according to any of claims 37 to 39, characterized in that
第一互联设备用于:当第一互联设备上与第二 TRILL网络具有通信连接关系的公网 出口或第一互联设备与第二 TRILL网络之间的公网链路发生故障时,在第一 TRILL网络 中洪泛用于表示所述第一互联设备与每个虚拟节点之间的逻辑直连链路被刪除的 LSP刪 除报文;  The first interconnecting device is configured to: when the public network egress of the first interconnecting device has a communication connection relationship with the second TRILL network or the public network link between the first interconnecting device and the second TRILL network fails, the first The flooding of the TRILL network is used to indicate that the logical direct link between the first interconnected device and each virtual node is deleted.
第二互联设备用于:  The second interconnected device is used to:
在接收到 删除报文后, 为每个 节点分别生成 LSP第二更新报文,每个 LSP第二更新报文包括用于表明与本 LSP第二更新报文对应的虚拟节点与第一 TRILL网 络中除第一互联设备之外的每个互联设备具有邻居关系的信息;  After receiving the deleted packet, each node generates an LSP second update packet, and each LSP second update packet includes a virtual node corresponding to the second update packet of the LSP and the first TRILL network. Each of the interconnected devices except the first interconnected device has information of a neighbor relationship;
在所述第一 TRILL网络中洪泛 LSP第二更新报文。  And flooding the LSP second update packet in the first TRILL network.
42、 根据权利要求 40或 41所述的系统, 其特征在于, 42. The system of claim 40 or 41, wherein
第二互联设备或第一 TRILL网络中的第三互联设备中配置有第一互联设备在所述节 点故障、公网出口链路故障或公网链路故障前所使用的故障前转发信息,腿故障前转 发信息包括 VLAN的信息、 VLAN中二层组播组的信息或 VLAN中三层组播组的信息; 第二互联设备或第 联设备用于:将 故障前转发信息通告给第一 TRILL网络 中的设备, 以便第一 TRILL网络中的设备进行分发树剪枝计算。  The second interconnecting device or the third interconnecting device in the first TRILL network is configured to forward information before the fault that the first interconnecting device uses before the node fault, the public network egress link fault, or the public network link fault. The forwarding information before the fault includes the information of the VLAN, the information of the Layer 2 multicast group in the VLAN, or the information of the Layer 3 multicast group in the VLAN. The second interconnected device or the connected device is used to notify the first TRILL of the pre-failure forwarding information. A device in the network, so that devices in the first TRILL network perform distribution tree pruning calculations.
PCT/CN2013/081331 2012-08-14 2013-08-13 Interconnection method, system and equipment of trill network WO2014026584A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210288579.7A CN103595609B (en) 2012-08-14 2012-08-14 TRILL network interconnected method, system and equipment
CN201210288579.7 2012-08-14

Publications (1)

Publication Number Publication Date
WO2014026584A1 true WO2014026584A1 (en) 2014-02-20

Family

ID=50085599

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/081331 WO2014026584A1 (en) 2012-08-14 2013-08-13 Interconnection method, system and equipment of trill network

Country Status (2)

Country Link
CN (1) CN103595609B (en)
WO (1) WO2014026584A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113794684B (en) * 2021-08-10 2023-07-18 新华三信息安全技术有限公司 Message processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075446A (en) * 2011-03-01 2011-05-25 杭州华三通信技术有限公司 Interconnection method of transparent interconnection network of lots of links in different places and operator edge device
CN102123091A (en) * 2011-02-25 2011-07-13 福建星网锐捷网络有限公司 Method, device and network equipment for generating multilink transparent transmission interconnection forwarding table
US20110194403A1 (en) * 2010-02-05 2011-08-11 Cisco Technology, Inc. Fault isolation in trill networks
CN102223303A (en) * 2011-06-14 2011-10-19 杭州华三通信技术有限公司 Load equilibrium method based on transparent interconnection of lots of links (TRILL) and routing bridge (RB)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9628293B2 (en) * 2010-06-08 2017-04-18 Brocade Communications Systems, Inc. Network layer multicasting in trill networks
US8908526B2 (en) * 2010-09-23 2014-12-09 Intel Corporation Controlled interconnection of networks using virtual nodes
CN102404216A (en) * 2011-11-23 2012-04-04 华为技术有限公司 Method for TRILL (transparent interconnection of lots of links) network protection, routing bridge and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110194403A1 (en) * 2010-02-05 2011-08-11 Cisco Technology, Inc. Fault isolation in trill networks
CN102123091A (en) * 2011-02-25 2011-07-13 福建星网锐捷网络有限公司 Method, device and network equipment for generating multilink transparent transmission interconnection forwarding table
CN102075446A (en) * 2011-03-01 2011-05-25 杭州华三通信技术有限公司 Interconnection method of transparent interconnection network of lots of links in different places and operator edge device
CN102223303A (en) * 2011-06-14 2011-10-19 杭州华三通信技术有限公司 Load equilibrium method based on transparent interconnection of lots of links (TRILL) and routing bridge (RB)

Also Published As

Publication number Publication date
CN103595609A (en) 2014-02-19
CN103595609B (en) 2017-06-27

Similar Documents

Publication Publication Date Title
US10003531B2 (en) Method for establishing tunnel, method for allocating label, device and network system
US9049133B2 (en) Virtual private wire services using E-VPN
US8953590B1 (en) Layer two virtual private network having control plane address learning supporting multi-homed customer networks
JP5581441B2 (en) Method and apparatus for MPLS MAC-VPN MPLS label allocation
US11296908B2 (en) Using multiple ethernet virtual private network (EVPN) routes for corresponding service interfaces of a subscriber interface
US8166205B2 (en) Overlay transport virtualization
US7440438B2 (en) Refresh and filtering mechanisms for LDP based VPLS and L2VPN solutions
US8638787B2 (en) Multicast hello on demand
US20120236730A1 (en) Method, device and system for processing service traffic based on pseudo wires
US20070115913A1 (en) Method for implementing the virtual leased line
US7961738B2 (en) Method for accessing virtual private network, virtual private system, virtual private network and provider edge device thereof
JP4109692B2 (en) Session establishment method and label switch node in label switch network
US20100061227A1 (en) Method to reduce routing convergence at the edge
WO2008083590A1 (en) Method and apparatus of rapid convergence of point-to-point service
US20180034722A1 (en) Distributed HSRP Gateway in VxLAN Flood and Learn Environment with Faster Convergence
WO2013026384A1 (en) Service data transmission method, network node and system
CN102739501A (en) Message forwarding method in two or three layer virtual private network (VPN) and system thereof
US9521072B2 (en) Method and network device for distributing multi-protocol label switching labels
WO2013107323A1 (en) Method and device for noticing link information
WO2014032494A1 (en) Discovering a peer provider edge (pe) of a virtual private lan service (vpls) instance
WO2014026584A1 (en) Interconnection method, system and equipment of trill network
He et al. Pure mpls technology
GALEȘ et al. PROPOSED SCENARIOS OF THE LOAD BALANCING MECHANISM IN MULTIPROTOCOL LABEL SWITCHING NETWORKS
CN116886663A (en) E-TREE implementation mode, device and communication equipment based on RFC 8317
WO2012174979A1 (en) Fast rerouting method and system for mpls l3vpn private virtual network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13829395

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13829395

Country of ref document: EP

Kind code of ref document: A1