[go: up one dir, main page]

CN100555992C - Based on network routing scheme - Google Patents

Based on network routing scheme Download PDF

Info

Publication number
CN100555992C
CN100555992C CNB200610072127XA CN200610072127A CN100555992C CN 100555992 C CN100555992 C CN 100555992C CN B200610072127X A CNB200610072127X A CN B200610072127XA CN 200610072127 A CN200610072127 A CN 200610072127A CN 100555992 C CN100555992 C CN 100555992C
Authority
CN
China
Prior art keywords
switch
frame
group
ports
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB200610072127XA
Other languages
Chinese (zh)
Other versions
CN1848815A (en
Inventor
清水刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Publication of CN1848815A publication Critical patent/CN1848815A/en
Application granted granted Critical
Publication of CN100555992C publication Critical patent/CN100555992C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/52Multiprotocol routers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

基于网络的择路方案。提供了一种网络组织和择路方案。这些技术使得网络可以对经过网络的帧所取的路径进行控制。发送帧的设备可以向该帧添加标签,以限定该帧经过网络应当采用的特定路径。例如,这些标签可以表示网络中的多个交换机之间的逐链路路径。作为另一示例,可以将网络组织成一个或更多个交换机组,每个组和组内的交换机都具有唯一的标识符,使得可以通过诸如组/交换机/端口标识的分级标识来指网络中的任何给定交换机或端口。

Figure 200610072127

Network-based routing scheme. A network organization and routing scheme is provided. These techniques allow the network to control the path that frames take through the network. A device sending a frame can add a tag to the frame to define the specific path that the frame should take through the network. For example, these labels can represent link-by-link paths between multiple switches in the network. As another example, a network can be organized into one or more groups of switches, each group and switches within a group have a unique identifier, so that for any given switch or port.

Figure 200610072127

Description

基于网络的择路方案 Network-Based Routing Scheme

技术领域 technical field

本发明总体上涉及网络通信,更具体来说,涉及一种基于网络的择路方案。The present invention relates generally to network communications, and more particularly to a network-based routing scheme.

背景技术 Background technique

在网络中,交换机在不同网络要素之间对帧进行择路。为了对帧进行择路,交换机通常使用以太网择路协议,该以太网择路协议使得交换机能够基于动态学习算法执行择路。In a network, switches route frames between different network elements. To route frames, switches typically use an Ethernet routing protocol that enables the switch to perform routing based on a dynamic learning algorithm.

发明内容 Contents of the invention

根据本发明,提供了针对基于网络的择路方案的技术。根据特定实施例,这些技术描述了使得专用网络能够对帧经过该专用网络所取的路径进行控制的择路方案和网络组织。According to the present invention, techniques for network-based routing schemes are provided. According to particular embodiments, these techniques describe routing schemes and network organizations that enable a private network to control the path a frame takes through the private network.

根据特定实施例,用于对帧进行择路的方法包括使用交换机的一组端口来接收帧的步骤。每个帧都包括源地址、目的地地址以及有效载荷。这些帧的至少某部分还包括一个或更多个标签,其中每个标签都指定了组标识、交换机标识以及端口标识。所述交换机是交换机组的一部分,该交换机组是交换网络的一部分。所述方法还包括以下步骤:在所述交换机中保持表示与所述交换机组中的各其他交换机相对应的输出端口的择路信息。对于每个帧,如果该帧符合特殊择路协议,则所述方法包括按第一操作模式进行操作的步骤,否则,所述方法包括按第二操作模式进行操作的步骤。在第一操作模式中,读取该帧中的第一标签。确定第一标签的交换机标识是否对应于所述交换机。如果所述交换机标识并不对应于所述交换机,则访问所述择路信息,以确定与所述交换机标识相对应的输出端口,并在所述多个端口中的所确定的端口上发送所述帧。如果所述交换机标识对应于所述交换机,则在与第一标签的端口标识相对应的端口上发送所述帧。在第二操作模式中,根据标准择路协议处理所述帧。According to a particular embodiment, a method for routing a frame comprises the step of using a set of ports of a switch to receive the frame. Each frame includes a source address, a destination address, and a payload. At least some of the frames also include one or more labels, where each label specifies a group identification, a switch identification, and a port identification. The switch is part of a switch group which is part of a switching network. The method also includes the step of maintaining in the switch routing information representing output ports corresponding to each other switch in the group of switches. For each frame, if the frame complies with a particular routing protocol, the method includes the step of operating in a first mode of operation, otherwise the method includes the step of operating in a second mode of operation. In the first mode of operation, the first tag in the frame is read. It is determined whether the switch identification of the first label corresponds to the switch. If the switch identification does not correspond to the switch, accessing the routing information to determine an output port corresponding to the switch identification and sending the output port on the determined port of the plurality of ports frame. If the switch identification corresponds to the switch, sending the frame on a port corresponding to the port identification of the first label. In a second mode of operation, the frames are processed according to a standard routing protocol.

本发明的实施例提供了多种技术优点。例如,这些技术可以允许设备指定帧经过专用网络应当采用的特定路径。这些专用择路技术可以结合广泛使用的择路技术(如以太网择路)一起来起作用。例如,在专用网络内,针对选定的网络流量,交换机可以使用专用网络择路协议来代替以太网择路。在特定实施例中,将专用网络内的交换机分成多个组,并且可由表示组、交换机以及端口标识符的标签来唯一地引用多个交换机中的特定交换机的特定端口。这可以使得组内的交换机可以保持只针对该组中的其他交换机而定义的专用择路表。在某些实施例中,可以使用在交换机中需要更少存储器的更小的择路表来实现合适的择路。此外,在特定实施例中,可以向进入专用网络的帧添加标签,以确保对该帧的响应从完全相同的端口上离开所述专用网络。Embodiments of the present invention provide various technical advantages. For example, these techniques may allow a device to specify a particular path a frame should take through a private network. These dedicated routing techniques can work in conjunction with widely used routing techniques such as Ethernet routing. For example, within a private network, a switch may use a private network routing protocol instead of Ethernet routing for selected network traffic. In certain embodiments, the switches within the private network are divided into groups, and a particular port of a particular switch of the plurality of switches can be uniquely referenced by a label representing the group, switch, and port identifier. This allows switches within a group to maintain private routing tables defined only for other switches in the group. In some embodiments, proper routing can be achieved using smaller routing tables that require less memory in the switch. Furthermore, in certain embodiments, a frame entering a private network may be tagged to ensure that responses to the frame leave the private network on the exact same port.

本领域的技术人员根据以下图、说明书以及权利要求很容易想到本发明的其他技术优点。此外,尽管以上列举了多个具体优点,但是各种实施例可以包括所列举的优点中的全部、一些,或者不包括其中的任何优点。Other technical advantages of the present invention can be readily conceived by those skilled in the art from the following figures, descriptions and claims. Furthermore, while specific advantages have been enumerated above, various embodiments may include all, some, or none of the enumerated advantages.

附图说明 Description of drawings

为了更完全地理解本发明及其优点,结合附图参照以下说明,在附图中:For a more complete understanding of the invention and its advantages, reference is made to the following description taken in conjunction with the accompanying drawings, in which:

图1例示了使用基于网络的择路方案来控制帧经过交换网络的路径的系统;Figure 1 illustrates a system for controlling the path of frames through a switching network using a network-based routing scheme;

图2A到2C例示了交换网络中采用基于网络的择路方案的一组交换机以及存储有这些交换机中的一个所保持的择路信息的表;2A to 2C illustrate a group of switches adopting a network-based routing scheme in a switching network and a table storing routing information held by one of these switches;

图3A到3C例示了出站(outbound)帧的路径和该帧在经过交换网络中的各种交换机时的对应结构;3A to 3C illustrate the path of an outbound (outbound) frame and the corresponding structure of the frame when passing through various switches in the switching network;

图4是例示了用于对在交换网络中的交换机处接收到的网络管理消息进行处理的方法的流程图;以及Figure 4 is a flowchart illustrating a method for processing network management messages received at a switch in a switched network; and

图5是例示了用于对在交换系统中的交换机处接收到的帧进行处理的方法的流程图。Figure 5 is a flowchart illustrating a method for processing frames received at a switch in a switching system.

具体实施方式 Detailed ways

图1例示了使用基于网络的择路方案来控制帧经过交换网络的路径的系统(总体上以10表示)。如所例示的,系统10包括交换网络12、管理设备14、网络设备16、因特网18以及外部网络20。可以使用任何合适的技术或协议将系统10的多个要素互连。通常,系统10内的要素相互操作,以控制帧经过交换网络12所取的路径。Figure 1 illustrates a system (generally indicated at 10) that uses a network-based routing scheme to control the path of frames through a switching network. As illustrated, system 10 includes switching network 12 , management device 14 , network device 16 , Internet 18 , and external network 20 . The various elements of system 10 may be interconnected using any suitable technology or protocol. Generally, elements within system 10 interoperate to control the path that frames take through switching network 12 .

交换网络12包括交换机22,并表示将交换机22与耦合到交换网络12的要素互连起来的硬件、软件以及控制逻辑的任何合适集合。因此,交换网络12提供了支持所附接的设备之间的通信的基础结构。如所例示的,交换网络12包括组成多个组24的多个交换机22。在某些实施例中,交换网络12是允许设备具体地确定帧通过网络的路径的专用网络。Switching network 12 includes switches 22 and represents any suitable collection of hardware, software, and control logic that interconnects switches 22 with elements coupled to switching network 12 . Thus, switching network 12 provides an infrastructure that supports communication between attached devices. As illustrated, switching network 12 includes a plurality of switches 22 organized into a plurality of groups 24 . In some embodiments, switched network 12 is a dedicated network that allows devices to specifically determine the path of frames through the network.

交换机22表示在网络内和/或在不同网络之间对帧进行择路的网络连接设备。根据特定实施例,各交换机22表示带有多个端口的网络设备,其能够在所述多个端口间交换网络流量。例如,交换机22可以各自表示能够基于标准以太协议在多个端口间交换帧的芯片型交换设备。然而,如这里使用和描述的,交换机22可以包括交换机、路由器或能够互连多个网络要素的任何合适的网络设备。此外,交换机22可以在交换网络12内使用通信用的任何合适技术或协议来进行通信。此外,如以下更详细地论述的,交换机22实现了基于网络的择路方案,以允许对经过交换网络12的帧进行源择路。Switch 22 represents a network connection device that routes frames within a network and/or between different networks. According to a particular embodiment, each switch 22 represents a network device with a plurality of ports capable of switching network traffic between the ports. For example, switches 22 may each represent a chip-type switching device capable of exchanging frames between multiple ports based on a standard Ethernet protocol. However, as used and described herein, switch 22 may comprise a switch, router, or any suitable network device capable of interconnecting multiple network elements. Furthermore, switches 22 may communicate within switching network 12 using any suitable technique or protocol for communicating. Additionally, as discussed in more detail below, switch 22 implements a network-based routing scheme to allow source routing of frames traversing switching network 12 .

如所例示的,将多个交换机22组成多个组24。交换网络12可以包括一个或更多个组24,而各组24可以包括一个或更多个交换机22。在一个组24内,可以使用任何合适的技术或协议按任何配置来互连多个构成交换机22。在多个组24之间的边界处,一个组24中的交换机22可以连接到另一组24中的交换机22。这提供了组内链路和外部链路。如进一步例示的,交换机22还连接到管理设备14、网络设备16、因特网18、外部网络20。根据本例示应当理解,交换机22可以连接到任何合适的网络或设备。如所例示的,交换网络12包括3个组24:组X、组Y以及组Z。组X包括3个交换机22:交换机X.A、交换机X.B以及交换机X.C。组Y也包括3个交换机22:交换机Y.A、交换机Y.B以及交换机Y.C。组Z包括4个交换机22:交换机Z.A、交换机Z.B、交换机Z.C以及交换机Z.D。出于例示的目的给出了该具体构成,但应当理解,交换网络12可以包括交换机22的任何合适的分组。As illustrated, multiple switches 22 are grouped into multiple groups 24 . Switching network 12 may include one or more groups 24 , and each group 24 may include one or more switches 22 . Within a group 24, a plurality of constituent switches 22 may be interconnected in any configuration using any suitable technique or protocol. At boundaries between groups 24 , switches 22 in one group 24 may be connected to switches 22 in another group 24 . This provides intra-group and external links. As further illustrated, the switch 22 is also connected to the management device 14 , the network device 16 , the Internet 18 , the external network 20 . It should be understood from this illustration that switch 22 may be connected to any suitable network or device. As illustrated, the switching network 12 includes three groups 24: Group X, Group Y, and Group Z. Group X includes 3 switches 22: switch X.A, switch X.B and switch X.C. Group Y also includes three switches 22: switch Y.A, switch Y.B and switch Y.C. Group Z comprises 4 switches 22: switch Z.A, switch Z.B, switch Z.C and switch Z.D. This specific composition is given for purposes of illustration, but it should be understood that switching network 12 may include any suitable grouping of switches 22 .

在某些实施例中,对每个组24分配了交换网络12内的唯一标识符。在所例示的实施例中,各组24具有唯一标识符:X、Y或Z。在特定实施例中,对特定组24中的各交换机22分配了该特定组24内的唯一标识符。一个组24中的特定交换机22的标识符可以被不同组24中的不同交换机22共用。例如,交换机X.A和交换机Y.A共用共同的交换机标识符A,但是它们各自是可识别的,因为它们具有不同的组标识符X和Y。此外,每个交换机22都可以具有多个端口。因此,在交换网络12内,可以通过使用组/交换机/端口标识符,唯一地引用特定端口。例如,X.A.5唯一地指组X中的交换机A上的端口5。此外,在特定组24内,可以仅通过使用交换机/端口标识符来唯一地引用特定端口。例如,在组X内,A.5可以唯一地指交换机X.A上的端口5。In some embodiments, each group 24 is assigned a unique identifier within the switching network 12 . In the illustrated embodiment, each group 24 has a unique identifier: X, Y or Z. In particular embodiments, each switch 22 in a particular group 24 is assigned a unique identifier within that particular group 24 . The identifier of a particular switch 22 in one group 24 may be shared by different switches 22 in a different group 24 . For example, switch X.A and switch Y.A share a common switch identifier A, but they are each identifiable because they have different group identifiers X and Y. Additionally, each switch 22 may have multiple ports. Thus, within the switched network 12, a particular port can be uniquely referenced through the use of a group/switch/port identifier. For example, X.A.5 uniquely refers to port 5 on switch A in group X. Furthermore, within a particular group 24, a particular port may be uniquely referenced simply by using a switch/port identifier. For example, within group X, A.5 may uniquely refer to port 5 on switch X.A.

此外,可以只针对特定组24来限定该特定组24内的择路信息。在某些实施例中,将网络择路信息存储在网络择路表中。针对特定组24中的各构成交换机22的网络择路表可以只提供针对该特定组24中的其他交换机22的择路信息。在特定实施例中,网络择路表基于交换机/端口标识符来保持择路信息。这使得可以实现更小的表大小和更简单的查找机制,这是因为一个组24中的交换机22不必保持针对其他组24中的交换机22的择路信息。各交换机22还可以保持针对交换网络12中的其他组24的基本择路信息。例如,组X中的各交换机22可以保持为寻址到组Y的帧指定特定端口的一个择路表条目。在特定实施例中,这使得无需冗长的择路表就可以进行合适的择路。尽管将择路信息描述成被存储为表的形式,但是应当理解,可以按任何合适的方式(包括数据库、文件、散列表等)来存储择路信息。以下参照图2A到2C进一步阐述交换机22存储的选定择路信息的一个实施例。此外,尽管未明确地例示或详细描述,但是交换机22还可以保持其他择路信息,如以太择路表。因此,交换机22可以针对选定网络流量使用基于网络的择路方案,而针对其他网络流量使用另一择路方案。Furthermore, the routing information within a particular group 24 may be limited only for that particular group 24 . In some embodiments, the network routing information is stored in a network routing table. The network routing table for each constituent switch 22 in a particular group 24 may only provide routing information for other switches 22 in that particular group 24 . In a particular embodiment, the network routing table maintains routing information based on switch/port identifiers. This enables smaller table sizes and simpler lookup mechanisms, since switches 22 in one group 24 do not have to maintain routing information for switches 22 in other groups 24 . Each switch 22 may also maintain basic routing information for other groups 24 in the switching network 12 . For example, each switch 22 in group X may maintain a routing table entry specifying a particular port for frames addressed to group Y. In certain embodiments, this enables proper routing without lengthy routing tables. Although the routing information is described as being stored as a table, it should be understood that the routing information may be stored in any suitable manner, including databases, files, hash tables, and the like. One embodiment of selected routing information stored by switch 22 is further described below with reference to FIGS. 2A through 2C. In addition, although not explicitly illustrated or described in detail, switch 22 may also maintain other routing information, such as an Ethernet routing table. Thus, switch 22 may use a network-based routing scheme for selected network traffic, while using another routing scheme for other network traffic.

在操作中,设备可以使用帧中的标签对帧经过交换网络12的路径进行控制。帧可以包括表示该帧包含这些标签的报头信息。在某些实施例中,存在两种类型的标签:进站(inbound)标签和出站标签。当帧进入交换网络12时例如可以使用进站标签,以确保在最初接收到该帧的同一端口上从交换网络12发送对该帧的响应。当进站帧在特定端口处进入交换网络12时,接收交换机22可以添加表示接收到该帧的组/交换机/端口的进站标签。在特定实施例中,交换机22只对该交换机22从交换网络12外部接收的帧添加进站标签。In operation, the devices may use the tags in the frames to control the path of the frames through the switching network 12 . A frame may include header information indicating that the frame contains these tags. In some embodiments, there are two types of tags: inbound tags and outbound tags. Inbound tags may be used, for example, when a frame enters switching network 12 to ensure that a response to the frame is sent from switching network 12 on the same port on which the frame was originally received. When an inbound frame enters switching network 12 at a particular port, receiving switch 22 may add an inbound tag representing the group/switch/port that received the frame. In a particular embodiment, switch 22 only adds inbound tags to frames that switch 22 receives from outside switching network 12 .

例如,在所例示的实施例中,交换机Z.C可能从外部网络20接收到以管理设备14为目的地的帧。交换机Z.C可以先于在由交换机Z.C保持的择路信息表示的端口上转发该帧(可能将该帧转发到交换机Y.C)而添加进站标签。交换机Y.C可以在由它的择路信息表示的端口上转发该帧,依此类推,直到该帧到达它的目的地:管理设备14。在其他实施例中,接收到一进站帧的各交换机22添加表示接收该帧的组/交换机/端口的进站标签。在特定实施例中,接收交换机22添加仅表示接收交换机22在其上接收该帧的端口的进站标签,并且接收该帧的各后续交换机22可以添加表示交换机22在其上接收该帧的端口的其他进站标签。在某些实施例中,通过检查帧中的进站标签,在某些情况下,通过获知交换网络12的结构,可以获知该帧经过交换网络12所取的路径。For example, in the illustrated embodiment, the switch Z.C may receive a frame from the external network 20 destined for the management device 14 . Switch Z.C may add an inbound tag before forwarding the frame (possibly forwarding the frame to switch Y.C) on the port indicated by the routing information held by switch Z.C. The switch Y.C can forward the frame on the port indicated by its routing information, and so on, until the frame reaches its destination: the management device 14 . In other embodiments, each switch 22 that receives an inbound frame adds an inbound tag representing the group/switch/port that received the frame. In a particular embodiment, the receiving switch 22 adds an inbound label indicating only the port on which the receiving switch 22 received the frame, and each subsequent switch 22 receiving the frame may add an inbound label indicating the port on which the switch 22 received the frame Additional inbound labels for . In some embodiments, the path the frame takes through the switching network 12 can be known by examining the inbound tags in the frame and, in some cases, by knowing the structure of the switching network 12 .

可以使用出站标签来确定帧经过交换网络12应当采用的特定路径。例如,管理设备14和网络设备16可以发送带有出站标签的帧,以限定希望的帧路径。在某些情况下,知道由交换网络12和它的构成交换机22使用的出站标签协议的任何设备都可以发送带有出站标签的帧。为了使用出站标签,发送设备可以向帧的报头添加一个或更多个标签。各出站标签可以使得交换网络12能够沿交换网络12的设定部分(如通过两个交换机22之间的链路或跨过一个组24)传送帧。Outbound tags may be used to determine the particular path a frame should take through switching network 12 . For example, management device 14 and network device 16 may send outbound tagged frames to define a desired frame path. In some cases, any device that is aware of the outbound labeling protocol used by switched network 12 and its constituent switches 22 can send outbound labeled frames. To use outbound tags, the sending device can add one or more tags to the frame's header. Each outbound label may enable switching network 12 to transmit a frame along a set portion of switching network 12 (eg, across a link between two switches 22 or across a group 24).

在某些实施例中,出站标签是矢量型的。对于矢量型出站标签,每个出站标签都可以指定一组输出端口。帧中的这些出站标签的序列可以指定该帧逐链路地经过交换网络12的路径。每个接收交换机22都仅识别由当前出站标签指定的端口,从帧中删除当前出站标签,然后在所指定的端口上转发该帧。例如,在所例示的实施例中,交换机X.A可以接收带有矢量型出站标签的帧。第一标签标识端口4。为了将该帧传送给合适的下一交换机22,交换机X.A删除第一标签,并在端口4上发送该帧。然后该帧将由交换机Y.A接收,并且交换机Y.A重复类似的处理,以将该帧传送给合适的下一交换机22。在一个实施例中,各矢量型标签是与交换机22的端口相对应的位映像(bit map)。在另一实施例中,矢量型标签可以引用表示一个或更多个出站端口的存储器位置(如VLAN表条目)。In some embodiments, outbound tags are vectorized. For vectored outbound labels, each outbound label can specify a set of output ports. The sequence of these outbound tags in a frame may specify the frame's path through switching network 12 link by link. Each receiving switch 22 recognizes only the port specified by the current outbound label, removes the current outbound label from the frame, and then forwards the frame on the specified port. For example, in the illustrated embodiment, switch X.A may receive frames with vectored outbound tags. The first label identifies port 4. To pass the frame on to the appropriate next switch 22, switch X.A removes the first tag and sends the frame on port 4. The frame will then be received by switch Y.A, and switch Y.A repeats a similar process to pass the frame to the appropriate next switch 22 . In one embodiment, each vector tag is a bit map corresponding to a port of switch 22. In another embodiment, a vectored tag may reference a memory location (eg, a VLAN table entry) representing one or more egress ports.

在其他实施例中,出站标签是端口标识(端口ID)型的。对于端口ID型出站标签,各出站标签都可以指定组/交换机/端口。帧中的这些出站标签的序列指定了从一个组24到下一组24、或到外部网络(如因特网18或外部网络20)或到设备(如管理设备14或网络设备16)的跳程(hop)。使用端口ID型出站标签,当帧经过特定组24时,“当前”出站标签可以保持不变,而当帧被转发到特定组24的外部时,可以删除它。例如,在所例示的实施例中,交换机Y.B可能接收到以网络设备16m(其连接到交换机Z.D)为最终目的地的帧。如果该帧具有端口ID型出站标签,则交换机Y.B确定该帧中的第一标签所指定的组/交换机/端口。对于该示例,它可以是端口Y.C.2。例如,考虑接收到带有表示端口Y.C.2的初始标签的帧的交换机Y.B。交换机Y.B首先评价由该标签指定的组标识是否与交换机Y.B是其中成员的组相匹配。若是,则交换机Y.B查看由第一标签指定的交换机标识,以确定该标签是否标识交换机Y.B(在此情况下为否)。由于该交换机标识指定了组Y中的另一交换机,所以交换机B访问它的择路信息,以确定要在其上将帧发送到交换机Y.C的合适端口。然后,交换机Y.B在该端口上转发该帧,其中第一标签仍然是该帧的一部分。当接收到该帧时,交换机Y.C检查该标签表示的组标识和交换机标识。在此情况下,由于该标签中的组标识和交换机标识指定交换机Y.C,所以交换机Y.C可以从该帧删除第一标签,并在由该标签指定的端口(在本示例中是端口2)上转发该帧。In other embodiments, the outbound tag is of the port identification (port ID) type. For port ID type outbound tags, each outbound tag can specify a group/switch/port. A sequence of these outbound tags in a frame specifies a hop from one group 24 to the next group 24, or to an external network such as the Internet 18 or external network 20, or to a device such as the management device 14 or network device 16 (hop). Using a port ID type outbound label, the "current" outbound label can remain unchanged when the frame passes through the particular group 24, and can be removed when the frame is forwarded outside the particular group 24. For example, in the illustrated embodiment switch Y.B may receive a frame destined for network device 16m (which is connected to switch Z.D) as its final destination. If the frame has an outbound label of type Port ID, switch Y.B determines the group/switch/port specified by the first label in the frame. For this example it could be port Y.C.2. For example, consider switch Y.B that receives a frame with an initial label representing port Y.C.2. The switch Y.B first evaluates whether the group identification specified by the tag matches the group of which the switch Y.B is a member. If so, switch Y.B looks at the switch identification specified by the first label to determine if the label identifies switch Y.B (no in this case). Since this switch identification designates another switch in group Y, switch B accesses its routing information to determine the appropriate port on which to send the frame to switch Y.C. Switch Y.B then forwards the frame on that port, with the first label still being part of the frame. When the frame is received, the switch Y.C checks the group identity and the switch identity indicated by the label. In this case, switch Y.C can remove the first label from the frame and forward it on the port specified by the label (port 2 in this example) since the groupID and switchID in the label specify switch Y.C. the frame.

尽管将交换网络12描述为组成既定组24的多个交换机22,但是应当指出这是逻辑描述。交换网络12的组成部分可以位于一个或更多个物理位置处,并且/或者可以包括附加的或更少的组成部分。此外,可以通过多个组成部分的任何合适的集合和布置,来提供交换机22和组24的功能性。可以通过用于控制帧经过网络的路径的任何合适设备,来实现由交换网络12的各种组成部分执行的功能。Although switching network 12 is described as a plurality of switches 22 organized into a given group 24, it should be noted that this is a logical description. Components of switching network 12 may be located at one or more physical locations and/or may include additional or fewer components. Furthermore, the functionality of switch 22 and bank 24 may be provided by any suitable collection and arrangement of components. The functions performed by the various components of switching network 12 may be accomplished by any suitable device for controlling the path of frames through the network.

如所例示的,系统10还包括通过交换机X.A连接到交换网络12的管理设备14。管理设备14可以对交换网络12的操作和/或交换网络12内的不同交换机22之间的相互操作进行控制。在特定实施例中,管理设备14执行对交换网络12的初始配置。该初始配置将多个交换机22分成多个组24,对各交换机22分配交换机标识,对各组24分配组标识,并向各交换机22发布与该特定交换机22相对应的交换机标识和组标识。此外,管理设备14可以将该初始配置结果发送给可以使用基于网络的择路方案的任何其他设备。管理设备14可以按任何合适的方式(包括自动化方式或手动方式)执行初始配置。As illustrated, system 10 also includes a management device 14 connected to switching network 12 through switch X.A. Management device 14 may control the operation of switching network 12 and/or the interoperation between different switches 22 within switching network 12 . In particular embodiments, management device 14 performs initial configuration of switching network 12 . The initial configuration divides switches 22 into groups 24 , assigns a switch ID to each switch 22 , assigns a group ID to each group 24 , and issues to each switch 22 the switch ID and group ID corresponding to that particular switch 22 . In addition, management device 14 may send this initial configuration result to any other device that may use the network-based routing scheme. Management device 14 may perform initial configuration in any suitable manner, including automated or manual.

在某些实施例中,管理设备14从网络设备16、因特网18、外部网络20和/或交换机22接收网络管理消息。为了控制对到管理设备14的管理消息的择路,交换网络12内的交换机22可以提供对接收的管理消息的特殊处理。例如,当特定交换机22检测到接收的网络管理消息时,交换机22可以访问它的择路信息,以确定在其上转发该网络管理消息的端口。在特定实施例中,各交换机22都具有应当在其上发送网络管理消息的限定端口。该限定端口可以随交换机22而变化。然而,由例如交换机Z.C接收的网络管理消息可以始终沿同一路径经过同一交换机22,而到达管理设备14。在特定实施例中,一个或更多个交换机22向网络管理消息添加进站标签,使得管理设备14获知该网络管理消息进入交换网络12的端口和/或每个网络管理消息到达管理设备14所经过的精确路线。In some embodiments, management device 14 receives network management messages from network device 16 , Internet 18 , external network 20 and/or switch 22 . In order to control the routing of management messages to management devices 14, switches 22 within switching network 12 may provide special handling of received management messages. For example, when a particular switch 22 detects a received network management message, the switch 22 may access its routing information to determine the port on which to forward the network management message. In particular embodiments, each switch 22 has defined ports on which network management messages should be sent. The defined ports may vary from switch 22 to switch 22 . However, network management messages received by eg a switch Z.C may always follow the same path through the same switch 22 to reach the management device 14 . In particular embodiments, one or more switches 22 add inbound tags to network management messages so that management device 14 knows the port at which the network management message enters switching network 12 and/or where each network management message arrives at management device 14. The exact route traveled.

此外,如上所述,系统10可以包括任何合适数量的管理设备14。在这些情况下,交换机22可以将管理消息发送给一些或所有管理设备14。例如,不同的管理设备14可以负责不同的管理功能,并且交换机22可以基于类型或其他合适的因素转发管理消息。Furthermore, as noted above, system 10 may include any suitable number of management devices 14 . In these cases, switch 22 may send management messages to some or all management devices 14 . For example, different management devices 14 may be responsible for different management functions, and switches 22 may forward management messages based on type or other suitable factors.

网络设备16代表可连接到交换网络12的任何设备。例如,网络设备16可以包括个人计算机、服务器、文件存储部、网络打印机以及其他具备网络功能的设备。网络设备16通过交换网络12与其他网络设备16、管理设备14、因特网18以及外部网络20进行通信。尽管未例示,但是网络设备16还可以连接到其他网络或其他设备、组成部分或要素。如所例示的,系统10包括3个网络设备:16l、16m以及16n。网络设备16l通过交换机Y.B连接到交换网络12;网络设备16m通过交换机Z.D连接到交换网络12;而网络设备16n通过交换机Z.A连接到交换网络12。尽管系统10包括3个网络设备16,但是应当理解,任何数量和类型的网络设备16都可以连接到交换网络12。Network device 16 represents any device that may be connected to switched network 12 . For example, network devices 16 may include personal computers, servers, file storage units, network printers, and other network-capable devices. Network device 16 communicates with other network devices 16 , management device 14 , Internet 18 and external network 20 through switching network 12 . Although not illustrated, network device 16 may also connect to other networks or other devices, components or elements. As illustrated, system 10 includes three network devices: 161, 16m, and 16n. Network device 161 is connected to switching network 12 through switch Y.B; network device 16m is connected to switching network 12 through switch Z.D; and network device 16n is connected to switching network 12 through switch Z.A. Although system 10 includes three network devices 16 , it should be understood that any number and type of network devices 16 may be connected to switched network 12 .

因特网18和外部网络20表示连接到交换网络12的网络,通过该交换网络12可以向连接到交换网络12的其他要素发送消息并且/或者从连接到交换网络12的其他要素接收消息。因特网18可以是连接在一起的任何网络组,如可以使用TCP/IP网络协议来实现数据传输和交换的世界范围的计算机和计算机网络的集合。外部网络20表示能够在多个设备之间实现通信的另一设备网络。例如,外部网络20可以包括一个或更多个网络,如电信网、卫星网、电缆网、局域网(LAN)、广域网(WAN)、公共交换电话网和/或任何其他合适的网络。尽管未明确例示,但是与针对交换网络12所描述的类似,对于外部网络20内的通信,外部网络20可以单独采用基于网络的择路方案。Internet 18 and external network 20 represent networks connected to switching network 12 through which messages may be sent to and/or received from other elements connected to switching network 12 . The Internet 18 may be any group of networks connected together, such as a worldwide collection of computers and computer networks that can use the TCP/IP network protocol for data transmission and exchange. The external network 20 represents another network of devices enabling communication between a plurality of devices. For example, external network 20 may include one or more networks such as a telecommunications network, a satellite network, a cable network, a local area network (LAN), a wide area network (WAN), a public switched telephone network, and/or any other suitable network. Although not explicitly illustrated, external network 20 may solely employ a network-based routing scheme for communications within external network 20 similar to that described for switched network 12 .

在所例示的实施例中,因特网18通过交换机Y.B连接到交换网络12,而外部网络20通过交换机Z.C连接到交换网络12。因特网18和外部网络20可以与网络设备16、管理设备14进行通信,并且可以通过交换网络12相互进行通信。尽管未例示,但应当理解,因特网18和外部网络20各自还可以连接到其他网络或其他设备、组成部分或要素。尽管系统10包括两个网络(因特网18和外部网络20),但是任何数量和类型的网络16都可以连接到交换网络12。In the illustrated embodiment, the Internet 18 is connected to the switched network 12 through a switch Y.B, while the external network 20 is connected to the switched network 12 through a switch Z.C. The Internet 18 and the external network 20 can communicate with the network device 16 , the management device 14 , and can communicate with each other through the switching network 12 . Although not illustrated, it should be understood that each of Internet 18 and external network 20 may also be connected to other networks or other devices, components or elements. Although system 10 includes two networks (Internet 18 and external network 20 ), any number and type of networks 16 may be connected to switched network 12 .

已对使用基于网络的择路方案的系统的特定实施例进行了描述,这并不包括所有实施例。尽管将系统10描述为包含要素的特定配置和布置,但是应当指出,这是一种逻辑描述,并且在逻辑上和物理上均可以对系统10的组成部分和功能进行合适的组合、分离以及分布。此外,可由组成部分的任何合适的集合和布置来提供系统10的功能性。所描述并例示的交换网络12中的交换机22的组织、数量以及结构仅是例示性的。可以按任何合适的方式来组织并构成交换机22,并且交换机22可以包括任何合适配置和数量的组24。可以按任何合适的方式构成系统10,以对帧经过交换网络12的路径进行控制。While specific embodiments of systems using network-based routing schemes have been described, this is not an inclusive example. Although system 10 is described as comprising a specific configuration and arrangement of elements, it should be noted that this is a logical description and that the components and functions of system 10 can be combined, separated, and distributed as appropriate, both logically and physically. . Furthermore, the functionality of system 10 may be provided by any suitable collection and arrangement of components. The described and illustrated organization, number, and structure of switches 22 in switching network 12 are exemplary only. Switch 22 may be organized and configured in any suitable manner, and switch 22 may include any suitable configuration and number of groups 24 . System 10 may be configured in any suitable manner to control the routing of frames through switching network 12 .

图2A到2C例示了多个组24中的一个:组Z,其使用基于网络的择路方案和与组Z中的交换机Z.A相对应的样本网络择路表。图2A例示了多个组24中的一个(组Z)及其构成交换机22(交换机Z.A、交换机Z.B、交换机Z.C以及交换机Z.D)的实施例。通过组内链路30和外部链路32连接这些构成交换机22。组内链路30将构成交换机22连接到其他构成交换机22,而外部链路32将构成交换机22连接到其他组24中的交换机22和网络设备16m、16n。尽管未例示,但是外部链路32可以将构成交换机22连接到各种网络、组成部分、要素或设备,例如包括其他网络设备16、管理设备14、因特网18以及外部网络20。Figures 2A to 2C illustrate one of groups 24: group Z, which uses a network-based routing scheme and a sample network routing table corresponding to a switch Z.A in group Z. Figure 2A illustrates an embodiment of one of the plurality of groups 24 (group Z) and its constituent switches 22 (switch Z.A, switch Z.B, switch Z.C and switch Z.D). These constituent switches 22 are connected by intragroup links 30 and external links 32 . Intra-group links 30 connect constituent switches 22 to other constituent switches 22 , while external links 32 connect constituent switches 22 to switches 22 and network devices 16m , 16n in other groups 24 . Although not illustrated, external links 32 may connect constituent switch 22 to various networks, components, elements, or devices, including other network devices 16 , management devices 14 , the Internet 18 , and external networks 20 , for example.

如所例示的,交换机Z.A具有由端口0到5表示的6个组内链路30和外部链路32。在所例示的实施例中,端口0连接到交换机X.B;端口1连接到交换机Z.B;端口2连接到交换机Z.D;而端口4连接到网络设备16n。可以通过使用任何合适通信或协议的任何合适逻辑或设备来实现交换机Z.A与其他设备或网络之间的这些连接。尽管未例示,但是端口3和5可以连接到任何网络设备16、交换机22、网络(例如因特网18或外部网络20)或任何其他网络、组成部分、要素或设备。尽管将交换机22描述为只具有6个端口,但是应当理解,交换机22可以包括任何合适数量个端口。As illustrated, switch Z.A has 6 intra-team links 30 and external links 32 represented by ports 0-5. In the illustrated embodiment, port 0 is connected to switch X.B; port 1 is connected to switch Z.B; port 2 is connected to switch Z.D; and port 4 is connected to network device 16n. These connections between switch Z.A and other devices or networks may be achieved by any suitable logic or device using any suitable communication or protocol. Although not illustrated, ports 3 and 5 may be connected to any network device 16, switch 22, network (such as the Internet 18 or external network 20), or any other network, component, element or device. Although switch 22 is described as having only six ports, it should be understood that switch 22 may include any suitable number of ports.

图2B例示了交换机22可以如何存储择路信息的一个示例。在所例示的实施例中,交换机Z.A将择路信息存储为网络择路表34。网络择路表34包括:交换机列36,表示应当接收帧的交换机或设备;和出站端口列38,表示应当在其上发送帧的对应的出站端口。当交换机Z.A接收到以标识的交换机22或设备(如网络设备16m、16n或管理设备14)为目的地的帧时,其查询表34以确定应当在哪个端口上发送该帧。Figure 2B illustrates one example of how switch 22 may store routing information. In the illustrated embodiment, switch Z.A stores routing information as network routing table 34 . The network routing table 34 includes a switch column 36 indicating the switch or device that should receive the frame, and an egress port column 38 indicating the corresponding egress port on which the frame should be sent. When switch Z.A receives a frame destined for an identified switch 22 or device (eg, network device 16m, 16n or management device 14), it looks up table 34 to determine on which port the frame should be sent.

在特定实施例中,将交换网络12分成交换机22的组24,使得可以通过使用组/交换机/端口标识符来唯一地引用交换网络12中的任何特定端口。此外,在组24内,可以仅通过使用交换机/端口标识符来唯一地引用特定端口。因此,在特定组24(如组Z)内,可以只针对组来定义网络择路表。如所例示的,交换机Z.A的网络择路表34只提供了针对组Z中的其他交换机22、连接到交换机Z.A的设备以及管理设备14的择路信息。由于交换机Z.A不必保持针对除组Z以外的其他组24中的交换机22的择路信息,所以交换机Z.A可以具有更小的网络择路表大小和更简单的查找机制。在特定实施例中,按表的形式存储择路信息,而在其他实施例中,按多种不同方式存储并/或保持择路信息。将择路信息例示和描述为存储在表34中,但是应当理解,这只是出于例示性的目的,而可以按任何合适的方式存储择路信息。此外,尽管未明确地例示,但是交换机22也可以包括便于使用其他协议对帧进行择路的择路信息。例如,交换机22可以保持用于基于寻址信息(其可以包括帧的源地址和目的地地址)对帧进行择路的基于以太网的择路信息。In certain embodiments, the switched network 12 is divided into groups 24 of switches 22 such that any particular port in the switched network 12 can be uniquely referenced through the use of a group/switch/port identifier. Furthermore, within a group 24, a particular port can be uniquely referenced simply by using a switch/port identifier. Thus, within a particular group 24 (eg, group Z), network routing tables may be defined for the group only. As illustrated, the network routing table 34 of switch Z.A only provides routing information for the other switches 22 in group Z, the devices connected to switch Z.A, and the management device 14 . Since switch Z.A does not have to maintain routing information for switches 22 in groups 24 other than group Z, switch Z.A can have a smaller network routing table size and a simpler lookup mechanism. In certain embodiments, the routing information is stored in the form of a table, while in other embodiments, the routing information is stored and/or maintained in a variety of different ways. Routing information is illustrated and described as being stored in table 34, but it should be understood that this is for illustrative purposes only and that routing information may be stored in any suitable manner. Additionally, although not explicitly illustrated, switch 22 may also include routing information to facilitate routing frames using other protocols. For example, switch 22 may maintain Ethernet-based routing information for routing frames based on addressing information (which may include the frame's source address and destination address).

例如,交换机Z.A可以接收带有端口ID型出站标签的帧。交换机Z.A查看第一标签,并确定该标签的组标识是否等于组Z。如果是,则交换机Z.A确定该标签的交换机标识是否等于交换机Z.A。如果该标签的交换机标识与交换机Z.A的交换机标识相同,则交换机Z.A从该帧中去除第一标签,并在由该标签标识的端口上转发该帧。否则,交换机Z.A获知由该标签的交换机标识所标识的交换机应当接收该帧。通过查询网络择路表34,交换机Z.A可以确定用于该帧的合适的出站端口,使得该帧到达由该标签标识的交换机。For example, switch Z.A can receive frames with outbound tags of type Port ID. Switch Z.A looks at the first label and determines if the label's group identification is equal to group Z. If so, switch Z.A determines if the label's switch identification is equal to switch Z.A. If the switch identification of the label is identical to the switch identification of the switch Z.A, the switch Z.A removes the first label from the frame and forwards the frame on the port identified by the label. Otherwise, switch Z.A knows that the switch identified by the label's switch identification should receive the frame. By consulting the network routing table 34, the switch Z.A can determine the appropriate egress port for the frame so that the frame reaches the switch identified by the label.

作为另一示例,交换机Z.A可以接收以管理设备14为目的地的网络管理消息。在对表34进行访问之后,交换机Z.A确定应当在端口0上转发以管理设备14为目的地的帧。在所例示的实施例中,交换机X.B从交换机Z.A接收该网络管理消息,并类似地基于其择路信息转发该网络管理消息。在特定实施例中,存储在交换机22中的择路信息标识要在其上转发任何和所有网络管理消息的特定出站端口。在特定实施例中,择路信息表示用于通过更复杂的方法把网络管理消息转发到管理设备14的出站端口。As another example, switch Z.A may receive network management messages destined for management device 14 . After accessing table 34, switch Z.A determines that frames destined for management device 14 should be forwarded on port 0. In the illustrated embodiment, switch X.B receives the network management message from switch Z.A and similarly forwards the network management message based on its routing information. In particular embodiments, the routing information stored in switch 22 identifies the particular outbound port on which to forward any and all network management messages. In certain embodiments, the routing information indicates the outbound ports used to forward network management messages to management device 14 through more complex methods.

图2C例示了可由交换机Z.A存储并保持的组择路信息的示例。如所例示的,交换网络12包括组Z、组Y以及组X。在许多实施例中,交换机Z.A不保持针对位于组Y或组X中的交换机22的择路信息。因此,在特定实施例中,交换机Z.A保持表40,表40提供针对组Y整体的择路信息和针对组X整体的择路信息。由列42列出的针对各组24的基本择路信息与由列44列出的出站端口相关联。由此,交换机Z.A可以保持表40,以指定寻址到组X的帧的特定出站端口(在所例示的实施例中是端口0)。在特定实施例中,按各种不同的格式存储针对其他组24的基本择路信息,并且对表40的使用是例示性的而非限制性的。尽管将表40例示为只存储有两个组24,但是表40可以包括与任何数量个不同的组24、设备、网络等相对应的择路信息。在某些实施例中,交换机22不存储组择路信息。Figure 2C illustrates an example of group routing information that may be stored and maintained by switch Z.A. As illustrated, switching network 12 includes group Z, group Y, and group X. As shown in FIG. In many embodiments, switch Z.A does not maintain routing information for switches 22 located in group Y or group X. Thus, in a particular embodiment, switch Z.A maintains a table 40 providing routing information for group Y as a whole and routing information for group X as a whole. The basic routing information for each group 24 listed by column 42 is associated with the outbound ports listed by column 44 . Thus, switch Z.A may maintain a table 40 to designate a particular egress port (port 0 in the illustrated embodiment) of frames addressed to group X. In certain embodiments, the basic routing information for other groups 24 is stored in various formats, and the use of table 40 is illustrative and not limiting. Although table 40 is illustrated as storing only two groups 24, table 40 may include routing information corresponding to any number of different groups 24, devices, networks, and the like. In some embodiments, switch 22 does not store group routing information.

参照图2A到2C例示并描述的组Z和表34、40只是例示性的。应当理解,可以按任何合适的方式对操作方式和被表示为执行不同操作的设备进行修改。尽管按表的形式描述了择路信息,但是特定实施例包括按任何合适的方式存储的择路信息。此外,尽管将组Z描述为具有组成部分的特定配置和布置,但是组24可以包括被合适地布置以提供对帧经过网络的路径进行控制的系统的任何合适设备。Group Z and tables 34, 40 illustrated and described with reference to FIGS. 2A to 2C are exemplary only. It should be understood that the manner of operation and devices represented as performing different operations may be modified in any suitable manner. Although routing information is described in table form, certain embodiments include routing information stored in any suitable manner. Furthermore, although group Z is described as having a particular configuration and arrangement of components, group 24 may include any suitable device suitably arranged to provide a system for controlling the path of frames through the network.

图3A到3C例示了出站帧的路径和该帧在经过各种交换机22时的对应结构。图3A例示了帧的路径50。在所例示的实施例中,管理设备14发送帧,该帧经过4个交换机22(它们是3个不同的组24的构成部分),并到达外部网络20。管理设备14可以将帧构造成,使得交换网络12中的各种交换机22知道按哪个特定方向对该帧进行择路。管理设备14可以将帧构造成,使得采用最高效的路线、使用流量最少的路线、避免有故障的交换机22,或者出于任何合适的原因来构造帧。管理设备14可以发送帧,作为对由外部网络20发送的帧的响应。可以将由管理设备14选择的路线选择为,使得外部网络20在发送原始消息的同一端口处接收帧。3A to 3C illustrate the path of an outbound frame and the corresponding structure of the frame as it passes through various switches 22 . Figure 3A illustrates the path 50 of a frame. In the illustrated embodiment, the management device 14 sends the frame, which passes through 4 switches 22 (which are part of 3 different groups 24 ) and to the external network 20 . The management device 14 may structure the frame such that the various switches 22 in the switching network 12 know in which particular direction to route the frame. The management device 14 may structure the frame so that the most efficient route is taken, the route with the least traffic is used, a faulty switch 22 is avoided, or the frame is structured for any suitable reason. Management device 14 may send frames in response to frames sent by external network 20 . The routing selected by the management device 14 may be chosen such that the external network 20 receives the frame at the same port on which the original message was sent.

如所例示的,路径50包括5个不同的跳程(1到5)。首先,管理设备14通过跳程1将帧发送到交换机X.A。然后,交换机X.A在跳程2中将帧发送到交换机X.C;交换机X.C在跳程3中将帧发送到交换机Y.C;然后,交换机Y.C在跳程4中将帧发送到交换机Z.C。最后,交换机Z.C在跳程5中将帧发送到外部网络20。在某些实施例中,将帧构造成包括矢量型标签。在图3B中,针对路径50的各跳程(1到5),示出了带有矢量型标签的帧的结构。在特定实施例中,将帧构造成包括端口ID型标签。在图3C中,针对路径50的各跳程(1到5),示出了带有端口ID型标签的帧的结构。As illustrated, path 50 includes 5 different hops (1 to 5). First, the management device 14 sends the frame to the switch X.A via hop 1 . Switch X.A then sends the frame to switch X.C in hop 2; switch X.C sends the frame to switch Y.C in hop 3; switch Y.C then sends the frame to switch Z.C in hop 4. Finally, the switch Z.C sends the frame to the external network 20 in hop 5 . In some embodiments, frames are structured to include vector-type tags. In FIG. 3B, for each hop (1 to 5) of the path 50, the structure of a frame with a vector type label is shown. In a particular embodiment, the frame is structured to include a port ID type tag. In FIG. 3C, for each hop (1 to 5) of the path 50, the structure of a frame with a port ID type tag is shown.

图3B示出了经过路径50的各种跳程(1到5)的帧的对应结构。在所例示的实施例中,帧构成有表示路径50上的下一交换机22的矢量型标签。如所例示的,帧包括目的地地址52、源地址54、一个或更多个(或者没有)标签56以及有效载荷58。目的地地址52可以是对帧的目的地采用任何合适格式或协议的表示。类似地,源地址54可以是对帧的源采用任何合适格式或协议的表示。标签56对帧经过交换网络12的路径进行操作控制。有效载荷58表示任何类型的信息,并且可以包括不包含在帧的报头中的所有信息。在某些实施例中,有效载荷58就是要由帧传送的信息。在其他实施例中,有效载荷58表示不由交换机22处理或分析的任何信息。FIG. 3B shows the corresponding structure of frames for various hops (1 to 5) through path 50. In FIG. In the illustrated embodiment, the frame is structured with a vector-type label representing the next switch 22 on the path 50 . As illustrated, a frame includes a destination address 52 , a source address 54 , one or more (or none) tags 56 , and a payload 58 . Destination address 52 may be an indication of the frame's destination in any suitable format or protocol. Similarly, source address 54 may be an indication of the source of the frame in any suitable format or protocol. Tag 56 operates to control the path of frames through switching network 12 . Payload 58 represents any type of information, and may include all information not contained in the frame's header. In some embodiments, the payload 58 is the information to be conveyed by the frame. In other embodiments, payload 58 represents any information that is not processed or analyzed by switch 22 .

与跳程1相对应的帧表示从管理设备14发送到交换机X.A的帧的结构。在跳程1中,该帧包含目的地地址52、源地址54、4个标签56以及有效载荷58。交换机X.A接收该帧并提取标签56a。由于标签56a包含值5,所以交换机X.A在从该帧中删除了标签56a之后在端口5上发送该帧。因此,在跳程2中,该帧包含目的地地址52、源地址54、3个标签56以及有效载荷58。在跳程2之后,交换机X.C接收该帧并提取标签56b。如所例示的,标签56b包含值4。交换机X.C从该帧中删除标签56b,并在端口4上把该帧发送出去。在跳程3中,该帧包含目的地地址52、源地址54、2个标签56以及有效载荷58。交换机Y.C接收该帧并提取标签56c。标签56c包含值0,因此交换机Y.C在从该帧中删除了标签56c之后在端口0上发送该帧。对于跳程4,该帧包含目的地地址52、源地址54、1个标签56以及有效载荷58。交换机Z.C接收该帧并提取最后一个标签56:标签56d。标签56d包含值3。交换机Z.C从该帧中删除标签56d,并在端口3上把该帧发送出去,然后由外部网络20接收该帧。The frame corresponding to hop 1 represents the structure of the frame sent from the management device 14 to the switch X.A. In Hop 1 , the frame contains a destination address 52 , a source address 54 , four tags 56 and a payload 58 . Switch X.A receives the frame and extracts the tag 56a. Since tag 56a contains the value 5, switch X.A sends the frame on port 5 after removing tag 56a from the frame. Thus, in Hop 2 the frame contains a destination address 52 , a source address 54 , three tags 56 and a payload 58 . After Hop 2, the switch X.C receives the frame and extracts the label 56b. As illustrated, tag 56b contains a value of 4. Switch X.C removes tag 56b from the frame and sends the frame out on port 4. In Hop 3 the frame contains a destination address 52 , a source address 54 , 2 tags 56 and a payload 58 . The switch Y.C receives the frame and extracts the label 56c. Tag 56c contains the value 0, so switch Y.C sends the frame on port 0 after removing tag 56c from the frame. For Hop 4, the frame contains a destination address 52, a source address 54, a tag 56 and a payload 58. The switch Z.C receives the frame and extracts the last label 56: label 56d. Tag 56d contains the value 3. The switch Z.C removes the tag 56d from the frame and sends the frame out on port 3, which is then received by the external network 20.

图3B中的帧结构仅出于例示的目的描述了包含在多个矢量型标签中的逻辑信息。然而,如上所述,矢量型标签可以包括采用任何合适格式编码的信息,以允许交换机22恰当地识别一个或更多个出站端口。如上所述,每个矢量型标签都可以包括位矢量、对存储在存储器中的位矢量的引用或适于表示一个或更多个出站端口的任何其他数据结构。The frame structure in FIG. 3B depicts logical information contained in multiple vector-type tags for illustrative purposes only. However, as noted above, a vectored tag may include information encoded in any suitable format to allow switch 22 to properly identify one or more outbound ports. As noted above, each vector-type tag may comprise a bit-vector, a reference to a bit-vector stored in memory, or any other data structure suitable for representing one or more outbound ports.

图3C表示经过路径50的各种跳程(1到5)的帧的对应结构。在所例示的实施例中,帧构成有表示路径50中的下一组24的端口ID型标签。如所例示的,帧包括目的地地址52、源地址54、一个或更多个(或者没有)标签60以及有效载荷58。在某些实施例中,目的地地址52、源地址54以及有效载荷58与图3B中表示的类似。标签60对帧经过交换网络12的路径进行操作控制。FIG. 3C shows the corresponding structure of frames for various hops (1 to 5) through path 50. In FIG. In the illustrated embodiment, the frame is constructed with a port ID type tag representing the next group 24 in the path 50 . As illustrated, a frame includes a destination address 52 , a source address 54 , one or more (or none) tags 60 , and a payload 58 . In some embodiments, destination address 52, source address 54, and payload 58 are similar to those shown in Figure 3B. Tag 60 operates to control the path of frames through switching network 12 .

与跳程1相对应的帧表示从管理设备14发送到交换机X.A的帧的结构。在跳程1中,该帧包含目的地地址52、源地址54、3个标签60以及有效载荷58。交换机X.A接收该帧并提取标签60a。标签60a指定端口X.C.4:交换机X.C的端口4。交换机X.A首先对标签60a的组标识“X”与它自己的组标识进行比较。交换机X.A发现它们是匹配的,然后交换机X.A对标签60a的交换机标识“C”与它自己的交换机标识进行比较。由于它们不相匹配,所以交换机X.A查看它的择路信息,来确定以交换机X.C为目的地的帧的合适的出站端口。交换机X.A把端口5识别为正确的端口,并在端口5上向交换机X.C发送该帧。在所例示的实施例中,交换机X.A不从该帧中删除标签60a,这是因为标签60a中的交换机标识与交换机X.A的交换机标识不匹配。The frame corresponding to hop 1 represents the structure of the frame sent from the management device 14 to the switch X.A. In Hop 1 , the frame contains a destination address 52 , a source address 54 , three tags 60 and a payload 58 . Switch X.A receives the frame and extracts the tag 60a. Label 60a designates port X.C.4: port 4 of switch X.C. Switch X.A first compares the group identification "X" of tag 60a with its own group identification. Switch X.A finds that they match, and switch X.A compares the switch identity "C" of label 60a with its own switch identity. Since they do not match, switch X.A looks at its routing information to determine the appropriate egress port for frames destined for switch X.C. Switch X.A recognizes port 5 as the correct port and sends the frame on port 5 to switch X.C. In the illustrated embodiment, switch X.A does not remove tag 60a from the frame because the switch identification in tag 60a does not match the switch identification of switch X.A.

在跳程2中,该帧仍然包含目的地地址52、源地址54、3个标签60以及有效载荷58。交换机X.C接收该帧并提取标签60a。交换机X.C首先对标签60a的组标识“X”与它自己的组标识进行比较。交换机X.C发现它们是相匹配的,然后交换机X.C对标签60a的交换机标识“C”与它自己的交换机标识进行比较。由于它们是相匹配的,所以交换机X.C对端口标识(其为4)进行评价。交换机X.C首先删除标签60a,然后在端口4上向交换机Y.C发送该帧。In Hop 2, the frame still contains a destination address 52, a source address 54, three tags 60 and a payload 58. Switch X.C receives the frame and extracts the tag 60a. The exchange X.C first compares the group identification "X" of the tag 60a with its own group identification. Switch X.C finds that they match, and switch X.C compares the switch identity "C" of label 60a with its own switch identity. Since they match, switch X.C evaluates the port ID (which is 4). Switch X.C first removes tag 60a and then sends the frame on port 4 to switch Y.C.

对于跳程3,该帧包含目的地地址52、源地址54、2个标签60以及有效载荷58。交换机Y.C接收该帧,并提取标签60b。类似地,交换机Y.C首先对标签60a的组标识“Y”与它自己的组标识进行比较。交换机Y.C发现它们是相匹配的,然后交换机Y.C对标签60b的交换机标识“C”与它自己的交换机标识进行比较。由于它们是相匹配的,所以交换机Y.C对端口标识(其为0)进行评价。交换机Y.C删除标签60b,然后在端口0上发送该帧。For Hop 3, the frame contains a destination address 52 , a source address 54 , 2 tags 60 and a payload 58 . The switch Y.C receives the frame and extracts the label 60b. Similarly, switch Y.C first compares the group identification "Y" of tag 60a with its own group identification. Switch Y.C finds that they match, and switch Y.C compares the switch identity "C" of label 60b with its own switch identity. Since they match, the switch Y.C evaluates the port identification (which is 0). Switch Y.C removes tag 60b and sends the frame on port 0.

因此,在跳程4中,该帧包含目的地地址52、源地址54、1个标签60c以及有效载荷58。交换机Z.C接收该帧并提取标签60c。首先,交换机Z.C对标签60a的组标识“Z”与它自己的组标识进行比较。交换机Z.C发现它们相匹配,接着对标签60c的交换机标识与它自己的交换机标识进行比较。由于又是匹配的,所以交换机Y.C对端口标识(端口3)进行评价。交换机Z.C删除标签60c,并在端口3上发送该帧。在跳程5中,该帧包含目的地地址52、源地址54以及有效载荷58。在跳程5之后,由外部网络20接收该帧。Thus, in Hop 4 , the frame contains destination address 52 , source address 54 , 1 tag 60 c and payload 58 . The switch Z.C receives the frame and extracts the label 60c. First, the switch Z.C compares the group identification "Z" of the tag 60a with its own group identification. The exchange Z.C finds that they match and then compares the exchange identification of the label 60c with its own exchange identification. Since there is a match again, the switch Y.C evaluates the port identification (port 3). Switch Z.C removes tag 60c and sends the frame on port 3. In Hop 5 , the frame contains a destination address 52 , a source address 54 and a payload 58 . The frame is received by the external network 20 after hop 5 .

参照图3A到3C例示并描述的设备和帧结构仅仅是例示性的。应当理解,可以按任何合适的方式对操作方式和被表示为执行不同操作的设备进行修改。尽管将帧描述为包括特定协议和结构,但是在特定实施例中帧可以按任何合适的方式来构造,并且使用任何协议。具体来说,尽管将帧示出为带有目的地地址52、源地址54以及有效载荷58,但是特定实施例可以构思出带有对帧经过交换网络12的路径进行控制的标签的任何帧结构。此外,尽管将帧经过的路径描述为具有交换机22的特定集合,但是该路径也可以包括任何合适的设备,这些设备被恰当地布置成提供对帧经过网络的路径进行控制的系统。The devices and frame structures illustrated and described with reference to FIGS. 3A to 3C are merely exemplary. It should be understood that the manner of operation and devices represented as performing different operations may be modified in any suitable manner. Although frames are described as including particular protocols and structures, frames may be structured in any suitable manner and use any protocol in particular embodiments. In particular, although a frame is shown with a destination address 52, a source address 54, and a payload 58, particular embodiments contemplate any frame structure with tags that control the path of the frame through the switching network 12. . Furthermore, although the path traversed by the frame is described as having a particular set of switches 22, the path may include any suitable device suitably arranged to provide a system for controlling the path of the frame through the network.

图4是例示了用于对在一个交换机22处接收的网络管理消息进行处理的方法80的流程图。在所例示的实施例中,将端口ID型标签添加给进站网络管理消息,使得管理设备14可以确定管理设备14接收的网络管理消息的精确入口点。FIG. 4 is a flowchart illustrating a method 80 for processing network management messages received at a switch 22 . In the illustrated embodiment, a port ID type tag is added to inbound network management messages so that management device 14 can determine the precise entry point of the network management message received by management device 14 .

在步骤82处,交换机22接收帧。在步骤84中,交换机22确定该帧是否为网络管理消息。例如,可以通过包含在帧的报头中的信息、通过在特定时间接收帧、通过从特定位置接收帧或者按任何其他合适的方式,来识别网络管理消息。如果该帧不是网络管理消息,则如步骤86所示,可以进行到与图5中所示类似的方法。然而,如果该帧是网络管理消息,则方法80继续到步骤88,在步骤88处,交换机22访问存储在交换机22上的择路信息。在步骤90中,交换机22利用该择路信息,确定针对网络管理消息的合适输出端口。在某些实施例中,交换机22访问该择路信息,该择路信息标识针对任何和所有网络消息的合适输出端口。例如,该择路信息可以与参照图2B例示并描述的类似。在其他实施例中,交换机22利用该择路信息来计算针对网络管理消息的合适输出端口。At step 82, switch 22 receives the frame. In step 84, switch 22 determines whether the frame is a network management message. For example, network management messages may be identified by information contained in a header of a frame, by receiving the frame at a particular time, by receiving the frame from a particular location, or in any other suitable manner. If the frame is not a network management message, as shown in step 86, a method similar to that shown in FIG. 5 may proceed. However, if the frame is a network management message, method 80 proceeds to step 88 where switch 22 accesses routing information stored on switch 22 . In step 90, switch 22 uses the routing information to determine the appropriate output port for the network management message. In some embodiments, switch 22 has access to this routing information, which identifies the appropriate output port for any and all network messages. For example, the routing information may be similar to that illustrated and described with reference to FIG. 2B. In other embodiments, switch 22 uses this routing information to calculate the appropriate output port for network management messages.

在计算出针对网络管理消息的输出端口之后,在步骤92中,交换机22确定交换机22是否从外部链路接收到该帧。如果是,则在步骤94处,交换机22向该帧添加指定交换机在其上接收到该帧的输入端口的标签。如果该帧不是从外部链路接收的,则方法80简单地进行到步骤96。最后,在步骤96中,交换机22在步骤90中识别出的输出端口上发送该帧。然后,方法80回到步骤82,在步骤82中,交换机22接收另一帧。After calculating the output port for the network management message, in step 92 switch 22 determines whether switch 22 received the frame from an external link. If so, then at step 94 switch 22 adds to the frame a tag specifying the input port on which the switch received the frame. If the frame was not received from an external link, method 80 simply proceeds to step 96 . Finally, in step 96 switch 22 sends the frame on the output port identified in step 90 . Method 80 then returns to step 82 where switch 22 receives another frame.

参照图4描述的方法只是例示性的,应当理解,可以按任何合适的方式对操作方式和被表示为执行这些操作的设备进行修改。例如,在某些实施例中,将端口ID型标签添加给进站网络管理消息。尽管该方法描述了按特定顺序执行的特定步骤,但是应当理解,系统10可构思出用于按任何可操作顺序执行这些步骤中的一些、全部或不执行这些步骤中的任何步骤的多个要素的任何合适的集合和布置。The method described with reference to FIG. 4 is exemplary only, and it is to be understood that the manner of operation and the apparatus represented as performing those operations may be modified in any suitable manner. For example, in some embodiments, port ID type tags are added to inbound network management messages. Although the method describes certain steps performed in a certain order, it should be understood that system 10 contemplates elements for performing some, all, or none of these steps in any operative order. any suitable collection and arrangement of .

图5是例示了用于对在交换机22处接收的帧进行处理的方法100的流程图。在所例示的实施例中,使用端口ID型标签来控制帧经过交换网络12的路径。在步骤102处,交换机22接收帧。然后,在步骤104处,交换机22确定该帧是否采用了特殊择路协议的格式。在某些实施例中,位于该帧的起始处的虚拟局域网标识标签包含表示可以使用特殊择路协议的特定值。在其他实施例中,交换机22确定该帧使用或符合采用各种不同方式的特殊择路协议。如果未对该帧应用特殊择路协议,则在步骤106中,交换机22根据标准择路来处理该帧,然后方法100结束。在某些实施例中,标准择路包括基于以太网和/或因特网协议(IP)的择路,尽管交换机22可以使用任何合适的择路协议。FIG. 5 is a flowchart illustrating a method 100 for processing frames received at the switch 22 . In the illustrated embodiment, port ID type tags are used to control the path of frames through switching network 12 . At step 102, switch 22 receives the frame. Then, at step 104, switch 22 determines whether the frame is in the format of a particular routing protocol. In some embodiments, the VLAN ID tag at the beginning of the frame contains a specific value indicating that a particular routing protocol may be used. In other embodiments, switch 22 determines that the frame uses or complies with a particular routing protocol in a variety of different ways. If no special routing protocol is applied to the frame, then in step 106 switch 22 processes the frame according to standard routing and method 100 ends. In some embodiments, standard routing includes Ethernet and/or Internet Protocol (IP) based routing, although switch 22 may use any suitable routing protocol.

如果使用了特殊择路协议,则方法100进行到步骤108,在步骤108中,交换机22提取(或读取)该帧中的第一标签。在某些实施例中,第一标签是在最靠近帧的起始处找到的标签。在其他实施例中,第一标签就是交换机22处理的帧的多个标签中的第一个标签。在步骤110中,交换机22确定在该标签中找到的组标识是否为该特定交换机22所属的组。如果该组标识与交换机22的组不匹配,则在步骤112处,交换机22从该帧中删除该第一标签。在步骤114中,交换机22对该帧是否还有标签进行评价。如果有,则方法100回到步骤108,在步骤108中,交换机22读取该帧中的第一标签。否则,在步骤116中交换机22丢弃该帧,然后方法100结束。If a special routing protocol is used, method 100 proceeds to step 108 where switch 22 extracts (or reads) the first tag in the frame. In some embodiments, the first label is the label found closest to the beginning of the frame. In other embodiments, the first tag is the first tag of a plurality of tags for the frame processed by the switch 22 . In step 110, the switch 22 determines whether the group identification found in the label is a group to which this particular switch 22 belongs. If the group identification does not match the group of switch 22, then at step 112, switch 22 deletes the first tag from the frame. In step 114, switch 22 evaluates whether the frame still has a tag. If so, method 100 returns to step 108 where switch 22 reads the first tag in the frame. Otherwise, switch 22 discards the frame in step 116 and method 100 ends.

如果交换机22确定标签的组标识等于交换机22的组标识,则方法100进行到步骤118。在步骤118中,交换机22确定该标签的交换机标识是否等于交换机22的交换机标识。如果是,则在步骤120处,交换机22确定针对该帧的合适输出端口等于该标签中的端口标识。交换机22在步骤122中从该帧中删除第一标签,并在步骤124中在所确定的输出端口上发送该帧;然后,方法100结束。如果该标签的交换机标识不等于交换机22的交换机标识,则方法100从步骤118进行到步骤126。在步骤126中,交换机22访问由交换机22存储的择路信息。在某些实施例中,交换机22按表的形式存储择路信息。在步骤128中,交换机22根据该择路信息确定,应当在哪个端口上转发帧,使得由该帧中的交换机标识所指定的特定交换机22来接收该帧。在步骤130中,交换机22在该输出端口上发送该帧,然后方法100结束。If the switch 22 determines that the tag's group identification is equal to the switch 22 group identification, the method 100 proceeds to step 118 . In step 118 , the switch 22 determines whether the label's switch identification is equal to the switch 22 switch identification. If so, then at step 120 switch 22 determines that the appropriate output port for the frame is equal to the port identification in the label. Switch 22 removes the first tag from the frame in step 122 and sends the frame on the determined output port in step 124; method 100 then ends. If the switch identification of the label is not equal to the switch identification of switch 22 , then method 100 proceeds from step 118 to step 126 . In step 126 , the switch 22 accesses the routing information stored by the switch 22 . In some embodiments, switch 22 stores routing information in the form of a table. In step 128, the switch 22 determines from the routing information on which port the frame should be forwarded so that the frame is received by the specific switch 22 designated by the switch identification in the frame. In step 130, switch 22 sends the frame on the output port, and method 100 ends.

参照图5描述的方法仅仅是例示性的,应当理解,可以按任何合适的方式对操作方式和被表示为执行这些操作的设备进行修改。尽管该方法描述了按特定顺序执行的特定步骤,但是应当理解,系统10可构思出用于按任何可操作顺序执行这些步骤中的一些、全部或不执行这些步骤中的任何步骤的多个要素的任何合适集合和布置。The method described with reference to FIG. 5 is merely exemplary, and it should be understood that the manner of operation and the apparatus represented as performing those operations may be modified in any suitable manner. Although the method describes certain steps performed in a certain order, it should be understood that system 10 contemplates elements for performing some, all, or none of these steps in any operative order. any suitable collection and arrangement of .

尽管在几个实施例中对本发明进行了描述,但是本领域的技术人员可以提出各种修改和变型,并且本发明包括落在所附权利要求的范围内的这种修改和变型。Although the present invention has been described in several embodiments, various modifications and variations can be suggested by those skilled in the art, and the present invention includes such modifications and variations within the scope of the appended claims.

Claims (21)

1、一种用于对帧进行择路的方法,其包括以下步骤:1. A method for routing a frame, comprising the following steps: 使用交换机的多个端口来接收多个帧,每个所述帧都包括源地址、目的地地址以及有效载荷,所述帧的至少某部分包括一个或更多个标签,每个所述标签都指定了交换机组标识、交换机标识以及端口标识,其中,所述交换机是交换机组的一部分,而所述交换机组是交换网络的一部分;receiving a plurality of frames using a plurality of ports of the switch, each of the frames including a source address, a destination address, and a payload, at least some portion of the frame including one or more tags, each of the tags specifying a switch group identifier, a switch identifier, and a port identifier, wherein the switch is part of a switch group and the switch group is part of a switched network; 在所述交换机中保持择路信息,该择路信息表示所述多个端口中针对所述交换机组中的各其他交换机的输出端口;maintaining routing information in the switch, the routing information representing an output port of the plurality of ports for each other switch in the group of switches; 对于每个所述帧,如果该帧符合特殊择路协议,则按第一操作模式进行操作,而如果该帧不符合该特殊择路协议,则按第二操作模式进行操作;for each said frame, operating in a first mode of operation if the frame conforms to a particular routing protocol, and operating in a second mode of operation if the frame does not conform to the particular routing protocol; 在第一操作模式中:In the first operating mode: 读取所述帧中的第一标签;reading a first tag in the frame; 确定第一标签的交换机标识是否对应于所述交换机;determining whether the switch identification of the first label corresponds to the switch; 如果所述第一标签的交换机标识不对应于所述交换机,则访问所述择路信息,以确定所述多个端口中与所述第一标签的交换机标识相对应的输出端口,并在所述多个端口中的所确定的输出端口上发送所述帧;以及If the switch identification of the first label does not correspond to the switch, accessing the routing information to determine the output port corresponding to the switch identification of the first label among the plurality of ports, and in the sending the frame on the determined output port of the plurality of ports; and 如果所述第一标签的交换机标识对应于所述交换机,则在所述多个端口中与所述第一标签的端口标识相对应的输出端口上发送所述帧;并且if the switch identification of the first label corresponds to the switch, sending the frame on an output port of the plurality of ports corresponding to the port identification of the first label; and 在第二操作模式中,根据标准择路协议来处理所述帧,其中所述标准择路协议包括基于以太网和/或因特网协议的择路。In the second mode of operation, the frames are processed according to standard routing protocols, including Ethernet and/or Internet Protocol based routing. 2、根据权利要求1所述的方法,在第一操作模式中还包括以下步骤:2. The method of claim 1, in the first mode of operation, further comprising the step of: 确定所述第一标签的交换机组标识是否对应于所述交换机组;和determining whether the switch group identification of the first label corresponds to the switch group; and 如果所述第一标签的交换机组标识不对应于所述交换机组,则从所述帧中删除所述第一标签;deleting the first label from the frame if the switch group identifier of the first label does not correspond to the switch group; 其中,确定所述第一标签的交换机标识是否对应于所述交换机,是在确定所述第一标签的交换机组标识是否对应于所述交换机组之后进行的。Wherein, determining whether the switch identifier of the first label corresponds to the switch is performed after determining whether the switch group identifier of the first label corresponds to the switch group. 3、根据权利要求2所述的方法,还包括以下步骤:3. The method of claim 2, further comprising the step of: 在从所述帧中删除了所述第一标签之后,确定所述帧是否包括第二标签;after deleting the first tag from the frame, determining whether the frame includes a second tag; 如果所述帧包括第二标签,则读取该第二标签,并确定第二标签的交换机组标识是否对应于所述交换机组;以及If the frame includes a second tag, reading the second tag and determining whether the switch group identification of the second tag corresponds to the switch group; and 如果所述帧不包括第二标签,则丢弃所述帧。If the frame does not include the second tag, the frame is discarded. 4、根据权利要求1所述的方法,还包括以下步骤:4. The method of claim 1, further comprising the steps of: 在所述多个端口中的一个输入端口处接收网络管理消息;receiving a network management message at an input port of the plurality of ports; 确定所述多个端口中要在其上发送所接收的网络管理消息的一个输出端口;determining an output port of the plurality of ports on which to send the received network management message; 如果所述网络管理消息是在将所述交换机连接到所述交换网络外部的设备的链路上接收的,则在所述网络管理消息中插入一标签,该标签表示所述交换机的所述多个端口中的接收到所述网络管理消息的所述一个输入端口;以及If the network management message is received on a link connecting the switch to a device external to the switched network, inserting a tag in the network management message indicating the multiple The one of the ports that receives the network management message; and 在所述多个端口中的所确定的输出端口上发送所述帧。The frame is sent on the determined output port of the plurality of ports. 5、根据权利要求4所述的方法,其中,所述择路信息包括一个条目,该条目指定了所述多个端口中要在其上发送由所述交换机接收的所有网络管理消息的一个端口。5. The method of claim 4, wherein the routing information includes an entry specifying a port of the plurality of ports on which to send all network management messages received by the switch . 6、根据权利要求1所述的方法,在第一操作模式中,还包括以下步骤:如果所述第一标签的交换机标识对应于所述交换机,则在发送所述帧之前,从所述帧中删除所述第一标签。6. The method of claim 1, in the first mode of operation, further comprising the step of: if the switch identification of the first tag corresponds to the switch, before sending the frame, from the frame Remove the first label in the . 7、根据权利要求1所述的方法,其中:7. The method of claim 1, wherein: 所述交换网络中的每个交换机组都具有交换机组标识符,与各交换机组相对应的交换机组标识符不同于与任何其他交换机组相对应的交换机组标识符;并且each switch group in the switching network has a switch group identifier, the switch group identifier corresponding to each switch group being different from the switch group identifier corresponding to any other switch group; and 对于每个交换机组,该交换机组中的每个交换机都具有对应的交换机标识符,与各交换机相对应的交换机标识符不同于与该交换机组中的任何其他交换机相对应的交换机标识符。For each switch group, each switch in the switch group has a corresponding switch identifier, the switch identifier corresponding to each switch being different from the switch identifier corresponding to any other switch in the switch group. 8、一种交换机,其包括:8. A switch, comprising: 多个端口,每个所述端口都可以进行操作以接收多个帧,每个所述帧都包括源地址、目的地地址以及有效载荷,所述帧的至少某部分包括一个或更多个标签,每个所述标签都指定了交换机组标识、交换机标识以及端口标识;a plurality of ports, each operable to receive a plurality of frames, each of which includes a source address, a destination address, and a payload, at least some portion of which includes one or more tags , each of the tags specifies a switch group ID, a switch ID, and a port ID; 存储器,其可以进行操作以保持网络择路信息和标准择路信息,所述网络择路信息表示所述多个端口中针对交换机组中的一个或更多个其他交换机的输出端口,所述标准择路信息将寻址信息映射到所述多个端口中的输出端口,其中,所述交换机是所述交换机组的一部分,而所述交换机组是交换网络的一部分;a memory operable to maintain network routing information representing output ports of the plurality of ports for one or more other switches in the group of switches, and standard routing information, the standard routing information routing information maps addressing information to output ports of the plurality of ports, wherein the switch is part of the group of switches that is part of a switching network; 其中,对于每个所述帧,所述交换机都可以进行操作以确定所述帧是否符合特殊择路协议,如果所述帧不符合所述特殊择路协议,则使用标准择路协议对所述帧进行处理,其中所述标准择路协议包括基于以太网和/或因特网协议的择路;其中,如果所述帧符合所述特殊择路协议,则所述交换机还可以进行操作以读取所述帧中的第一标签,并确定所述第一标签的交换机标识是否对应于所述交换机;如果所述第一标签的交换机标识不对应于所述交换机,则所述交换机还可以进行操作以访问所述网络择路信息,来确定所述多个端口中与所述第一标签的交换机标识相对应的输出端口,并在所述多个端口中的所确定的输出端口上发送所述帧;如果所述第一标签的交换机标识对应于所述交换机,则所述交换机还可以进行操作,以在所述多个端口中与所述第一标签的端口标识相对应的输出端口上发送所述帧。Wherein, for each frame, the switch can operate to determine whether the frame conforms to a special routing protocol, and if the frame does not conform to the special routing protocol, use a standard routing protocol to frames, wherein the standard routing protocols include Ethernet and/or Internet Protocol-based routing; wherein, if the frames conform to the special routing protocol, the switch is also operable to read the the first label in the frame, and determine whether the switch identification of the first label corresponds to the switch; if the switch identification of the first label does not correspond to the switch, the switch is also operable to accessing the network routing information to determine an output port of the plurality of ports corresponding to the switch identification of the first label, and sending the frame on the determined output port of the plurality of ports ; if the switch identification of the first label corresponds to the switch, the switch is further operable to send the output port on the output port corresponding to the port identification of the first label among the plurality of ports frame. 9、根据权利要求8所述的交换机,其中:9. The switch of claim 8, wherein: 所述交换机还可以进行操作以确定所述第一标签的交换机组标识是否对应于所述交换机组,如果所述第一标签的交换机组标识不对应于所述交换机组,则从所述帧中删除所述第一标签;并且The switch is further operable to determine whether the switch group identifier of the first label corresponds to the switch group, and if the switch group identifier of the first label does not correspond to the switch group, from the frame delete said first tag; and 确定所述第一标签的交换机标识是否对应于所述交换机,是在确定所述第一标签的交换机组标识是否对应于所述交换机组之后进行的。Determining whether the switch identifier of the first label corresponds to the switch is performed after determining whether the switch group identifier of the first label corresponds to the switch group. 10、根据权利要求9所述的交换机,其中,所述交换机还可以进行操作以执行以下步骤:10. The switch of claim 9, wherein the switch is further operable to: 在从所述帧中删除了所述第一标签之后,确定所述帧是否包括第二标签;after deleting the first tag from the frame, determining whether the frame includes a second tag; 如果所述帧包括第二标签,则读取第二标签,并确定第二标签的交换机组标识是否对应于所述交换机组;以及If the frame includes a second tag, reading the second tag and determining whether the switch group identification of the second tag corresponds to the switch group; and 如果所述帧不包括第二标签,则丢弃所述帧。If the frame does not include the second tag, the frame is discarded. 11、根据权利要求8所述的交换机,其中,所述交换机还可以进行操作以执行以下步骤:11. The switch of claim 8, wherein the switch is further operable to: 在所述多个端口中的一个输入端口处接收网络管理消息;receiving a network management message at an input port of the plurality of ports; 确定所述多个端口中要在其上发送所接收的网络管理消息的一个输出端口;determining an output port of the plurality of ports on which to send the received network management message; 如果所述网络管理消息是在将所述交换机连接到所述交换网络外部的设备的链路上接收的,则在所述网络管理消息中插入一标签,该标签表示所述交换机的所述多个端口中的接收到所述网络管理消息的输入端口;以及If the network management message is received on a link connecting the switch to a device external to the switched network, inserting a tag in the network management message indicating the multiple The input port that receives the network management message among the ports; and 在所述多个端口中的所确定的输出端口上发送所述帧。The frame is sent on the determined output port of the plurality of ports. 12、根据权利要求11所述的交换机,其中,所述网络择路信息包括一个条目,该条目指定了所述多个端口中要在其上发送由所述交换机接收的所有网络管理消息的一个输出端口。12. The switch of claim 11, wherein the network routing information includes an entry specifying one of the plurality of ports on which to send all network management messages received by the switch output port. 13、根据权利要求8所述的交换机,其中,如果所述第一标签的交换机标识对应于所述交换机,则所述交换机还进行操作以在发送所述帧之前从所述帧中删除所述第一标签。13. The switch of claim 8, wherein if the switch identification of the first tag corresponds to the switch, the switch is further operative to remove the first tab. 14、根据权利要求8所述的交换机,其中:14. The switch of claim 8, wherein: 所述交换网络中的每个交换机组都具有交换机组标识符,与各交换机组相对应的交换机组标识符不同于与任何其他交换机组相对应的交换机组标识符;并且each switch group in the switching network has a switch group identifier, the switch group identifier corresponding to each switch group being different from the switch group identifier corresponding to any other switch group; and 对于每个交换机组,该交换机组中的每个交换机都具有对应的交换机标识符,与各交换机相对应的交换机标识符不同于与该交换机组中的任何其他交换机相对应的交换机标识符。For each switch group, each switch in the switch group has a corresponding switch identifier, the switch identifier corresponding to each switch being different from the switch identifier corresponding to any other switch in the switch group. 15、用于对多个帧进行择路的系统,其包括:15. A system for routing a plurality of frames comprising: 用于使用交换机的多个端口来接收多个帧的装置,每个所述帧都包括源地址、目的地地址以及有效载荷,所述帧的至少某部分包括一个或更多个标签,每个所述标签都指定交换机组标识、交换机标识以及端口标识,其中,所述交换机是交换机组的一部分,而所述交换机组是交换网络的一部分;means for receiving a plurality of frames using a plurality of ports of a switch, each of the frames comprising a source address, a destination address and a payload, at least some portion of the frame comprising one or more tags, each The tags all specify a switch group identifier, a switch identifier, and a port identifier, wherein the switch is part of a switch group, and the switch group is part of a switching network; 用于在所述交换机中保持择路信息的装置,该择路信息表示所述多个端口中针对所述交换机组中的各其他交换机的输出端口;means for maintaining routing information in said switch, the routing information representing an output port of said plurality of ports for each other switch in said group of switches; 装置,用于:对于每个所述帧,如果该帧符合特殊择路协议,则用于按第一操作模式进行操作,和如果该帧不符合该特殊择路协议,则用于按第二操作模式进行操作;means for: for each said frame, for operating in a first mode of operation if the frame conforms to a special routing protocol, and for operating in a second mode if the frame does not conform to the special routing protocol operating mode to operate; 在第一操作模式中:In the first operating mode: 读取所述帧中的第一标签;reading a first tag in the frame; 确定所述第一标签的交换机标识是否对应于所述交换机;determining whether the switch identification of the first label corresponds to the switch; 如果所述第一标签的交换机标识不对应于所述交换机,则访问所述择路信息以确定所述多个端口中与所述第一标签的交换机标识相对应的输出端口,并在所述多个端口中的所确定的输出端口上发送所述帧;以及If the switch identification of the first label does not correspond to the switch, accessing the routing information to determine an output port of the plurality of ports corresponding to the switch identification of the first label, and in the sending the frame on the determined output port of the plurality of ports; and 如果所述第一标签的交换机标识对应于所述交换机,在所述多个端口中与所述第一标签的端口标识相对应的输出端口上发送所述帧;并且if the switch identification of the first label corresponds to the switch, sending the frame on an output port of the plurality of ports corresponding to the port identification of the first label; and 在第二操作模式中,根据标准择路协议来处理所述帧,其中所述标准择路协议包括基于以太网和/或因特网协议的择路。In the second mode of operation, the frames are processed according to standard routing protocols, including Ethernet and/or Internet Protocol based routing. 16、根据权利要求15所述的系统,还包括,在第一操作模式中:16. The system of claim 15, further comprising, in the first mode of operation: 确定所述第一标签的交换机组标识是否对应于所述交换机组;和determining whether the switch group identification of the first label corresponds to the switch group; and 如果所述第一标签的交换机组标识不对应于所述交换机组,则从所述帧中删除所述第一标签;deleting the first label from the frame if the switch group identifier of the first label does not correspond to the switch group; 其中,确定所述第一标签的交换机标识是否对应于所述交换机,是在确定所述第一标签的交换机组标识是否对应于所述交换机组之后进行的。Wherein, determining whether the switch identifier of the first label corresponds to the switch is performed after determining whether the switch group identifier of the first label corresponds to the switch group. 17、根据权利要求16所述的系统,还包括:在第一操作模式中:17. The system of claim 16, further comprising: in the first mode of operation: 在从所述帧中删除了所述第一标签之后确定所述帧是否包括第二标签;determining whether the frame includes a second tag after deleting the first tag from the frame; 如果所述帧包括第二标签,则读取该第二标签和确定所述第二标签的交换机组标识是否对应于所述交换机组;以及If the frame includes a second tag, reading the second tag and determining whether the switch group identification of the second tag corresponds to the switch group; and 如果所述帧不包括第二标签,则丢弃所述帧。If the frame does not include the second tag, the frame is discarded. 18、根据权利要求15所述的系统,还包括:18. The system of claim 15, further comprising: 用于在多个端口中的一个输入端口处接收网络管理消息的装置;means for receiving network management messages at an input port of a plurality of ports; 用于确定所述多个端口中要在其上发送所接收的网络管理消息的一个输出端口的装置;means for determining an output port of the plurality of ports on which to send the received network management message; 装置,用于:如果所述网络管理消息是在将所述交换机连接到所述交换网络外部的设备的链路上接收的,则在所述网络管理消息中插入一标签,该标签表示所述交换机的所述多个端口中的接收到所述网络管理消息的输入端口;以及means for inserting a tag in the network management message if the network management message is received on a link connecting the switch to a device external to the switched network, the tag indicating the an input port of the plurality of ports of the switch that receives the network management message; and 用于在所述多个端口中的所确定的输出端口上发送所述帧的装置。means for sending the frame on the determined output port of the plurality of ports. 19、根据权利要求18所述的系统,其中,所述择路信息包括一个条目,该条目指定了所述多个端口中要在其上发送由所述交换机接收的所有网络管理消息的一个输出端口。19. The system of claim 18, wherein the routing information includes an entry specifying an output of the plurality of ports on which to send all network management messages received by the switch port. 20、根据权利要求15所述的系统,还包括,在第一操作模式中,在所述第一标签的交换机标识对应于所述交换机时,在发送所述帧之前从所述帧中删除所述第一标签。20. The system of claim 15, further comprising, in a first mode of operation, removing all of the Describe the first tab. 21、根据权利要求15所述的系统,其中:21. The system of claim 15, wherein: 所述交换网络中的每个交换机组都具有交换机组标识符,与各交换机组相对应的交换机组标识符不同于与任何其他交换机组相对应的交换机组标识符;并且each switch group in the switching network has a switch group identifier, the switch group identifier corresponding to each switch group being different from the switch group identifier corresponding to any other switch group; and 对于每个交换机组,该交换机组中的每个交换机都具有对应的交换机标识符,与各交换机相对应的交换机标识符不同于与该交换机组中的任何其他交换机相对应的交换机标识符。For each switch group, each switch in the switch group has a corresponding switch identifier, the switch identifier corresponding to each switch being different from the switch identifier corresponding to any other switch in the switch group.
CNB200610072127XA 2005-04-12 2006-04-12 Based on network routing scheme Expired - Fee Related CN100555992C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US67036905P 2005-04-12 2005-04-12
US60/670,369 2005-04-12

Publications (2)

Publication Number Publication Date
CN1848815A CN1848815A (en) 2006-10-18
CN100555992C true CN100555992C (en) 2009-10-28

Family

ID=36581799

Family Applications (5)

Application Number Title Priority Date Filing Date
CNB2006100721250A Expired - Fee Related CN100547984C (en) 2005-04-12 2006-04-12 Filter frames at the input port of the switch
CNB200610072127XA Expired - Fee Related CN100555992C (en) 2005-04-12 2006-04-12 Based on network routing scheme
CNB2006100721265A Expired - Fee Related CN100481772C (en) 2005-04-12 2006-04-12 Filtering method for link aggregation marker protocol
CNB2006100721301A Expired - Fee Related CN100481773C (en) 2005-04-12 2006-04-12 Distribution-tuning mechanism for link aggregation group management
CNB2006100721299A Expired - Fee Related CN100477601C (en) 2005-04-12 2006-04-12 Characteristic identifying message for link aggregation marker protocol

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CNB2006100721250A Expired - Fee Related CN100547984C (en) 2005-04-12 2006-04-12 Filter frames at the input port of the switch

Family Applications After (3)

Application Number Title Priority Date Filing Date
CNB2006100721265A Expired - Fee Related CN100481772C (en) 2005-04-12 2006-04-12 Filtering method for link aggregation marker protocol
CNB2006100721301A Expired - Fee Related CN100481773C (en) 2005-04-12 2006-04-12 Distribution-tuning mechanism for link aggregation group management
CNB2006100721299A Expired - Fee Related CN100477601C (en) 2005-04-12 2006-04-12 Characteristic identifying message for link aggregation marker protocol

Country Status (1)

Country Link
CN (5) CN100547984C (en)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8693308B2 (en) 2006-02-10 2014-04-08 Aviat U.S., Inc. System and method for resilient wireless packet communications
JP4830942B2 (en) * 2007-03-28 2011-12-07 日本電気株式会社 Communication apparatus, communication system, and LAG management table management method used therefor
CN101094157B (en) * 2007-08-20 2011-09-21 中兴通讯股份有限公司 A Method of Realizing Network Interconnection Using Link Aggregation
US8264953B2 (en) 2007-09-06 2012-09-11 Harris Stratex Networks, Inc. Resilient data communications with physical layer link aggregation, extended failure detection and load balancing
CN101257458B (en) * 2008-04-01 2010-07-07 北京星网锐捷网络技术有限公司 Method, apparatus and system for distributing and mounting filtering meter item
JP5585219B2 (en) 2010-06-03 2014-09-10 富士通株式会社 Switching device and virtual LAN construction method
US8630287B2 (en) * 2010-08-20 2014-01-14 Marvell Israel (M.I.S.L) Ltd. Multiple core network device with core redundancy
CN102316031A (en) * 2011-09-05 2012-01-11 西安和利时系统工程有限公司 Switching system
CN102447619B (en) * 2011-11-10 2014-09-17 华为技术有限公司 Load sharing mode selecting method, device and system
CN103516617A (en) * 2012-06-25 2014-01-15 国基电子(上海)有限公司 Router, network connection recovering system and network connection recovering method
CN103581057B (en) * 2012-07-24 2018-07-20 中兴通讯股份有限公司 Message control method, system and node when a kind of aggregated links switching
CN103685043A (en) * 2012-09-19 2014-03-26 国基电子(上海)有限公司 Router, network connection recovery system and network connection recovery method
CN103023698A (en) * 2012-11-30 2013-04-03 中兴通讯股份有限公司 LACP (link aggregation control protocol) link aggregation optimization method and device based on Ethernet link-level OAM (operation, administration and maintenance)
CN103873336B (en) * 2012-12-14 2019-04-23 中兴通讯股份有限公司 The service bearer method and device of distributed elastic network interconnection
EP2784998B1 (en) * 2013-03-29 2018-10-17 Mitsubishi Electric R&D Centre Europe B.V. Method and device for allocating resources in a mesh communications network for setting up a data stream transmission
US9497132B2 (en) 2013-04-23 2016-11-15 Telefonaktiebolaget Lm Ericsson (Publ) Method and system of implementing conversation-sensitive collection for a link aggregation group
US9461880B2 (en) 2013-04-23 2016-10-04 Telefonaktiebolaget L M Ericsson (Publ) Method and system for network and intra-portal link (IPL) sharing in distributed relay control protocol (DRCP)
US9553798B2 (en) * 2013-04-23 2017-01-24 Telefonaktiebolaget L M Ericsson (Publ) Method and system of updating conversation allocation in link aggregation
US9762532B2 (en) * 2013-08-14 2017-09-12 Coriant Oy Method and network device for configuring a data transfer network
CN106656842A (en) * 2015-10-29 2017-05-10 华为数字技术(苏州)有限公司 Load balancing method and flow forwarding device
CN105791115B (en) * 2016-02-26 2019-08-06 新华三技术有限公司 A kind of flow path calculation method and device
CN106911533B (en) * 2017-02-13 2020-01-03 杭州迪普科技股份有限公司 Link state detection method and device
US10887037B2 (en) * 2018-05-17 2021-01-05 Juniper Networks, Inc. Symmetric path/link over LAG interface using LLDP for time synchronization between two nodes using PTP
CN113472562B (en) * 2020-03-31 2023-09-01 华为技术有限公司 A device management method, device and computer system

Also Published As

Publication number Publication date
CN1848767A (en) 2006-10-18
CN1848769A (en) 2006-10-18
CN100481772C (en) 2009-04-22
CN100477601C (en) 2009-04-08
CN1848814A (en) 2006-10-18
CN1848768A (en) 2006-10-18
CN100547984C (en) 2009-10-07
CN100481773C (en) 2009-04-22
CN1848815A (en) 2006-10-18

Similar Documents

Publication Publication Date Title
CN100555992C (en) Based on network routing scheme
US11979322B2 (en) Method and apparatus for providing service for traffic flow
JP4744723B2 (en) Multi-protocol redundant router protocol support method and apparatus
US10164838B2 (en) Seamless segment routing
JP4115721B2 (en) Classification and tagging rules for switching nodes
US6807182B1 (en) Stacked network devices including a protocol engine and distributed trunk ports and method of operating same
US8565124B2 (en) Node, network, correspondence relationship generation method and frame transfer program
US9887917B2 (en) Port extender
US8194664B2 (en) Two-level load-balancing of network traffic over an MPLS network
US8189585B2 (en) Techniques for virtual private network fast convergence
CN101601232B (en) Triple-tier anycast addressing
US10958481B2 (en) Transforming a service packet from a first domain to a second domain
CN103931147B (en) Path diversity in a connection-oriented network
US20090135833A1 (en) Ingress node and egress node with improved packet transfer rate on multi-protocol label switching (MPLS) network, and method of improving packet transfer rate in MPLS network system
US8081633B2 (en) Network node unit and method for forwarding data packets
JP2001189751A (en) System, device and method for supporting virtual private network in label switching communication network
JP4547349B2 (en) Network type routing mechanism
CN102792651B (en) At the device of MAC layer application service path Route Selection
US20040105440A1 (en) Packet-switched network and network switches having a network layer forwarding action performed by data link switching
US6751220B1 (en) Apparatus and method of managing virtual private network routing data
CN101171802B (en) Network node, network, method for generating correspondence for transmitting information in network
CN111147376B (en) Route updating method, device, equipment and medium
CN119583443A (en) Message forwarding method, device, computer equipment and readable storage medium
US7801149B1 (en) Packet forwarding using intermediate policy information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091028

CF01 Termination of patent right due to non-payment of annual fee