CN1791016A - Multi-interface port management - Google Patents
Multi-interface port management Download PDFInfo
- Publication number
- CN1791016A CN1791016A CN 200510117132 CN200510117132A CN1791016A CN 1791016 A CN1791016 A CN 1791016A CN 200510117132 CN200510117132 CN 200510117132 CN 200510117132 A CN200510117132 A CN 200510117132A CN 1791016 A CN1791016 A CN 1791016A
- Authority
- CN
- China
- Prior art keywords
- interface
- port
- medium
- dielectric object
- media
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
相关申请的交叉引用Cross References to Related Applications
本申请要求于2004年11月1日提交的、名称为“多接口端口管理”的美国临时专利申请No.60/624,419的优先权,为此将其通过参考引入本申请。This application claims priority to US Provisional Patent Application No. 60/624,419, filed November 1, 2004, entitled "Multiple Interface Port Management," which is hereby incorporated by reference into this application.
技术领域technical field
本发明涉及转发设备的多接口混合端口,更具体地涉及具有多个接口介质的混合端口以及管理该端口的方法。The invention relates to a multi-interface hybrid port of a forwarding device, more particularly to a hybrid port with multiple interface media and a method for managing the port.
背景技术Background technique
以太网交换机目前在一个端口内只能管理一种类型的物理接口或接口介质/介质接口。结果,该端口的配置、控制和使用就只限于当前占用的特定类型的物理接口或接口介质。Ethernet switches currently manage only one type of physical interface or interface medium/media interface within a port. As a result, configuration, control and use of the port is limited to the particular type of physical interface or interface medium currently occupied.
目前还没有方法能够对诸如铜和光纤的接收多种物理接口类型的端口进行管理。因此,当前具有多个物理接口的端口的应用受限于以太网交换机管理的限制。这样一种限制包括,目前不能在没有使用额外的端口和装置的情况下使用多接口端口来执行网络可靠性的网络冗余。There is currently no way to manage ports that accept multiple physical interface types, such as copper and fiber. Therefore, the current application of ports with multiple physical interfaces is limited by the limitations of Ethernet switch management. Such a limitation includes the present inability to use multi-interface ports to perform network redundancy for network reliability without using additional ports and devices.
非常需要一种解决上述问题的方法和设备。本发明解决了这些问题。There is a great need for a method and device for solving the above problems. The present invention solves these problems.
发明内容Contents of the invention
本发明的当前实施例提供用于管理支持混合多接口端口的转发设备的系统和方法。这种类型的设备支持一个或多个物理端口,每个端口支持多个接口介质。例如,每个端口中实现的两个接口介质可以是包括有线和无线的任何介质类型,例如包括铜基导体和光纤。The current embodiments of the present invention provide systems and methods for managing forwarding devices that support hybrid multi-interface ports. This type of device supports one or more physical ports, and each port supports multiple interface media. For example, the two interface media implemented in each port may be of any media type including wired and wireless, including copper-based conductors and optical fibers, for example.
本发明的转发设备也支持失败转移(failover)和冗余。意思是说,与在不同端口例如端口2上进行中继的传统转发设备不同,当端口1上的物理接口失败时,本发明的转发设备使用端口1进行中继,但是使用的是端口1内的不同接口介质。The forwarding device of the present invention also supports failover and redundancy. Meaning, unlike conventional forwarding devices that relay on a different port, such as
本发明的转发设备一般包括一个或多个物理端口,每个物理端口支持多个接口介质,其中一个端口内同时仅一个接口介质是活动的或是工作的。该设备还包括信息数据库,该信息数据库包括用于每个接口介质的介质相关参数或介质参数。该信息数据库还包括端口相关信息,该端口相关信息包括首要接口介质和当前工作接口介质。The forwarding device of the present invention generally includes one or more physical ports, and each physical port supports multiple interface media, and only one interface media in one port is active or working at the same time. The device also includes an information database including media-related parameters or media parameters for each interface media. The information database also includes port related information including primary interface media and current working interface media.
本发明的另一个实施例提供了一种管理混合转发设备的方法。该转发设备支持一个或多个物理端口,每个物理端口支持多个接口介质,其中一个端口内同时仅一个接口介质是工作的。该方法包括以下步骤:为每个端口分配首要接口介质;为每个端口分配工作介质。Another embodiment of the present invention provides a method for managing hybrid forwarding devices. The forwarding device supports one or more physical ports, each physical port supports multiple interface media, and only one interface media is working in one port at the same time. The method includes the following steps: allocating primary interface medium for each port; allocating working medium for each port.
附图说明Description of drawings
用示例的方式对本发明进行说明,但不限于附图,其中:The invention is illustrated by way of example, but not limitation, in the accompanying drawings, in which:
图1为根据本发明的实施例的混合转发设备的高层功能部件的方框图;FIG. 1 is a block diagram of high-level functional components of a hybrid forwarding device according to an embodiment of the present invention;
图2为根据本发明的实施例的由简单网络管理协议(SNMP)管理的网络的方框图;2 is a block diagram of a network managed by the Simple Network Management Protocol (SNMP) according to an embodiment of the present invention;
图3为根据本发明的实施例表示有关在每个物理端口中支持的接口介质或物理接口的信息的对象的高层层次结构;3 is a high-level hierarchy of objects representing information about interface media or physical interfaces supported in each physical port according to an embodiment of the present invention;
图4为根据本发明的实施例说明如何对端口进行索引或参考的示例性表格;FIG. 4 is an exemplary table illustrating how to index or refer to ports according to an embodiment of the present invention;
图5为类似图1的功能方框图,但示出了更多的指令模块细节;Fig. 5 is a functional block diagram similar to Fig. 1, but shows more instruction module details;
图6为根据本发明的实施例示出两个优选的失败转移机制的高层的方框图;FIG. 6 is a high-level block diagram illustrating two preferred fallover mechanisms according to an embodiment of the present invention;
图7为根据本发明的实施例示出如何对已经配置的接口介质或物理接口进行选择以及失败转移是如何发生的高层的流程图;7 is a high-level flowchart showing how to select an already configured interface medium or physical interface and how failover occurs according to an embodiment of the present invention;
图8A为示出了失败转移模块的操作的流程图;Figure 8A is a flowchart illustrating the operation of the failover module;
图8B为示出了链路监控模块的操作的流程图;8B is a flowchart illustrating the operation of the link monitoring module;
图9A、9B和9C为根据本发明的实施例可支持的各种冗余网络配置的高层的示意方框图。9A, 9B and 9C are schematic block diagrams of high levels of various redundant network configurations that may be supported according to embodiments of the present invention.
具体实施方式Detailed ways
下面的详细描述以示例的方式对本发明进行说明,而不是对发明的原理进行限制,这种说明能够清楚地使得本领域的技术人员实施和使用本发明,下面的说明描述了本发明的几个实施例、变化和变形、可选择的技术方案以及本发明的用途,包括当前认为什么是实施本发明的最佳模式。The following detailed description illustrates the present invention by way of example, rather than limiting the principle of the invention. This description can clearly make those skilled in the art implement and use the present invention. The following description describes several aspects of the present invention. Examples, changes and modifications, alternative technical solutions, and uses of the invention, including what is currently believed to be the best mode for carrying out the invention.
为了更好地理解附图,在下面的描述中,各图以及描述中的类似编号的参考标号用来表示同样或类似的结构、动作、操作或处理步骤。另外,100序号的参考标号,例如100和102,最初在图1中引入,而200序号的参考标号,例如200和250,最初在图2中引入,诸如此类。因此,900序号的参考标号,例如902和992,最初在图9中引入。In order to better understand the drawings, in the following descriptions, the same or similar structures, actions, operations or processing steps are denoted by similarly numbered reference numerals in the various drawings and descriptions. Additionally, 100-numbered reference numerals, such as 100 and 102, were originally introduced in FIG. 1, while 200-numbered reference numerals, such as 200 and 250, were originally introduced in FIG. 2, and so on. Accordingly, reference numerals of the 900 serial number, such as 902 and 992, were originally introduced in FIG. 9 .
图1是混合转发设备100的高层的功能方框图,该混合转发设备100诸如交换和/或路由设备,包括多个端口110、120和130。该交换和/或路由设备100在这里也称为交换机,优选地工作在开放系统互连(OSI)参考模型的多层中。所以,这些交换机或转发设备100,可以工作在OSI模型的数据链路层(层2)和网络层(层3)中。FIG. 1 is a high-level functional block diagram of a
与典型的交换机不同,本发明的交换机100包括一个或多个混合端口部件174,用于支持所选择的端口110、120和130中的多个物理接口或接口介质112、114、116、122、124、126、132、134和136。每个端口110、120和130中的多个物理接口可能相互不同,例如,端口1中的接口介质1(M1112)为铜,而同一端口中的接口介质2(M2114)为光纤。接口介质M3116与接口介质M4122可以为同一类型。在一些实施例中,例如,多个物理接口中的一个作为首要接口或用于与相邻节点交换数据的配置介质,而剩余的物理接口为失败转移支持提供冗余。在优选的实施例中,所有的端口优选地支持多个物理接口,但是在该设备100中的一个或多个端口仅可以支持一个物理接口。Unlike typical switches, the
多个物理接口或接口介质选自包括但不限于下列介质的组中,即:有线介质,诸如非屏蔽双绞线(UTP)、屏蔽双绞线、多模光纤、单模光纤以及其它经由光子传输的电缆、更普遍地经由电子传输的电缆;无线介质,诸如无线射频(RF)和红外线。每个物理接口与由它自己的特性、行为、状态、计数器值(counter value)、属性和其它参数化信息组成的区别组相关联。这里将这组数据通称为介质参数或介质相关参数。Multiple physical interfaces or interface media are selected from the group including, but not limited to, wired media such as unshielded twisted pair (UTP), shielded twisted pair, multimode fiber, single mode fiber, and others via photonic Cables for transmission, more generally via electronic transmission; wireless media such as radio frequency (RF) and infrared. Each physical interface is associated with a distinct set consisting of its own characteristics, behavior, state, counter values, attributes, and other parameterized information. Here, this set of data is generally referred to as medium parameters or medium-related parameters.
这些介质参数包括速度(例如,10Mbps和100Mbps)、电缆类型(例如,2对3类双绞线,2芯单模或双模光纤)、网段长度(例如,100m和2000m速度)、帧大小、协议标准、链接状态、备份状态等等。这些介质参数存储在一个信息数据库中,该信息数据库优选地为管理信息数据库(MIB)160。These media parameters include speed (eg, 10Mbps and 100Mbps), cable type (eg, 2-pair Category 3 twisted pair, 2-core single-mode or dual-mode fiber), segment length (eg, 100m and 2000m speed), frame size , protocol standard, link status, backup status, etc. These media parameters are stored in an information database, preferably a management information database (MIB) 160 .
本发明的混合转发设备100一般包括指令模块150、设备硬件部件170和信息数据库160。该信息数据库160也可以作为存储硬件部件170的一部分存储和/或作为软件部件代码150的一部分并入。The
指令模块150一般与交换机或路由计算机的指令或软件类似,从而管理设备100并且使得诸如网络管理系统的外部系统与设备100进行通信和交互。该指令模块150可以是软件部件,并且优选地,为可由计算机处理器执行的指令的模块。The
在本发明的这个实施例中,设备硬件170部件包括一个或多个如前面所述的混合端口部件174,以及执行典型的转发设备或交换机100的各种功能的其它硬件设备部件172。其它设备部件172可能包括,例如,缓冲器、内容可寻址存储器、队列管理器、转发表、转发处理器、分类器。In this embodiment of the invention, device hardware 170 components include one or more hybrid port components 174 as previously described, as well as other hardware device components 172 that perform various functions of a typical forwarding device or
本领域的普通技术人员应当理解,这里讨论的设备100中的一个或多个功能可以并入软件和硬件中,即固件中。在另一个实施例中,信息数据库160被并入软件部件150中。Those of ordinary skill in the art will appreciate that one or more functions in
图2为根据本发明的实施例使用简单网络管理协议(SNMP)管理的网络的高层方框图。SNMP是一种用于管理网络设备的工业标准协议集。也可以使用其它的网络管理协议,如远程监控(RMON)。Figure 2 is a high level block diagram of a network managed using Simple Network Management Protocol (SNMP) according to an embodiment of the present invention. SNMP is an industry standard set of protocols for managing network devices. Other network management protocols such as Remote Monitoring (RMON) may also be used.
该优选实施例的SNMP管理网络一般包括三个部分:网络管理系统(NMS)或SNMP管理器210、一个或多个被管理设备250、260、290以及一个或多个代理252、262和292。The SNMP management network of the preferred embodiment generally includes three parts: a network management system (NMS) or SNMP manager 210 , one or more managed devices 250 , 260 , 290 and one or more agents 252 , 262 and 292 .
NMS 210优选地对被管理设备进行监视和控制。该NMS可以封装在用户接口应用中,以便于网络管理。在任何被管理网络中存在一个或多个NMS。NMS 210 preferably monitors and controls managed devices. The NMS can be encapsulated in a user interface application to facilitate network management. There are one or more NMSs in any managed network.
被管理设备250、260、290为网络节点,包括代理252、262、292。被管理设备收集和存储管理信息,并且经由SNMP代理使该信息对于NMS可用。被管理设备可以为路由器和接入服务器、交换机和网桥、集线器、计算机主机或打印机。在本发明的一个实施例中,转发设备100为被管理网络设备250、260、290。Managed devices 250 , 260 , 290 are network nodes, including proxies 252 , 262 , 292 . Managed devices collect and store management information and make this information available to the NMS via SNMP agents. Managed devices can be routers and access servers, switches and bridges, hubs, host computers, or printers. In one embodiment of the present invention, the
代理252、262、292优选地为网络管理指令模块或程序,一般为驻留在被管理设备250、260、290中的软件程序。代理与管理信息(MIB)254、264、294通过接口连接或通信,并从而获知管理信息,特别是设备信息。在本发明的一个实施例中,代理252、262、292是转发设备100的诸如软件部件的指令模块150的一部分。Agents 252 , 262 , 292 are preferably network management instruction modules or programs, typically software programs residing in managed devices 250 , 260 , 290 . The agents interface or communicate with management information (MIB) 254, 264, 294 and thereby learn management information, particularly device information. In one embodiment of the invention, the proxies 252 , 262 , 292 are part of the
代理对来自SNMP管理器/NMS的读写请求280做出响应,并将称为陷阱(trap)的事件通知280发送给SNMP管理器。陷阱为由被管理网络设备生成以显示变化的非请求异步事件。这些陷阱向NMS通知并警告出现了诸如极限的情况,即超过预定值并且链接断开。被管理设备应这样配置,即指令模块150,特别是代理252、262、292,发送陷阱到NMS,用以指示特定端口内的特定介质接口已经失败。The agent responds to read and write requests 280 from the SNMP manager/NMS and sends event notifications 280 called traps to the SNMP manager. Traps are unsolicited asynchronous events generated by managed network devices to indicate changes. These traps inform and warn the NMS that conditions such as thresholds occur, ie predetermined values are exceeded and links are broken. The managed device should be configured such that the
MIB 254、264、294为一个定义集合,其对被管理设备内被管理对象的属性、状态和特性进行定义和描述。它也包含每个接口介质的介质参数。被管理对象可以是被管理设备中的任何项目,它被挑选出来用于发现、监控、或者用户干预和校正。在该实施例中,端口和接口介质为被管理对象。MIB 254, 264, 294 is a set of definitions, which define and describe the attributes, states and characteristics of managed objects in managed devices. It also contains media parameters for each interface media. A managed object can be any item in a managed device that is selected for discovery, monitoring, or user intervention and correction. In this embodiment, ports and interface media are managed objects.
被管理对象包括一个或多个对象实例,在本示例中,这些对象实例实际上是可变的。一个对象标识符(或者对象ID)唯一地标识一个被管理对象。一般有两种类型的被管理对象:标量(scalar)和表格式(tabular)。标量对象定义一个单独的对象实例。表格式对象定义归类到MIB表格中的多个相关的对象实例。Managed objects consist of one or more object instances, which in this example are actually mutable. An object identifier (or object ID) uniquely identifies a managed object. There are generally two types of managed objects: scalar and tabular. A scalar object defines a single object instance. Tabular objects define multiple related object instances grouped into MIB tables.
该MIB可能来自具有预定值的制造商,诸如对于网络设备可用的每个接口介质的介质参数。MIB中的值也可以被修改,例如由网络管理员使用NMS进行修改。这个MIB优选地作为指令模块150的一部分并入。This MIB may be from the manufacturer with predetermined values, such as media parameters for each interface media available to the network device. Values in the MIB can also be modified, for example by a network administrator using NMS. This MIB is preferably incorporated as part of the
在基于SNMP的网络管理应用中使用的对象标识符之一为接口索引,ifIndex。该ifIndex用于对接口表进行访问。ifIndex为与物理接口或逻辑接口相关的唯一的标识号,与主键(primary key)类似。在本发明的这个实施例中,每个ifIndex与单个端口优选地为物理端口相关并标识该端口。One of the object identifiers used in SNMP-based network management applications is the interface index, ifIndex. The ifIndex is used to access the interface table. ifIndex is a unique identification number related to a physical interface or a logical interface, similar to a primary key. In this embodiment of the invention, each ifIndex is associated with and identifies a single port, preferably a physical port.
图3为在本发明的优选实施例中对于交换机100可以获得并设置的信息的示意图。在逻辑上,MIB如图所示在层次树结构中得以组织,这里的层次结构可以被描述为具有根的树。然而,这样的描述并不必然地表示信息数据库中对象的层次结构。MIB树的上部分结构在注释请求(RFC)1155和RFC 1213中定义。各种其它的RFC掌管MIB结构的其它部分。FIG. 3 is a schematic diagram of the information that can be obtained and set for the
在本发明的优选实施例中,将另一对象添加到接口表中。接口表一般在RFC 2863和RFC 1213中定义。这个端口相关对象被称为“配置介质类型”-包含首要接口介质和失败转移模式。这个介质类型对象一般映射到存在于每个端口或端口号中的各种接口介质或物理接口112、114、116。每个物理端口仍然优选地使用唯一的ifIndex进行索引。In a preferred embodiment of the invention, another object is added to the interface table. Interface tables are generally defined in RFC 2863 and RFC 1213. This port-related object is called a "configuration medium type" - containing the primary interface medium and failover mode. This media type object generally maps to the various interface media or
通过添加配置介质类型对象,NMS可以获得,例如,获取和设置-定义和配置—与特定端口/端口号内的特定物理接口有关的介质相关参数。图1和图3结合在一起描述了这一点。例如,如果本发明的示例性交换机具有设置为介质1M1112的首要介质,并且NMS要求访问与端口110中的接口介质2 M2 114相关的信息,那么NMS优选地执行两步骤的处理:(a)在第一个步骤中,NMS将“首要介质类型”设置为介质接口M2114;(b)在第二个步骤中,NMS使用端口110的ifIndex执行获取/设置操作。在第二个步骤中,这些获取/设置操作在端口1110的接口介质M2114上执行。如果NMS跳过将“首要介质类型”改变为接口介质M2 114的第一个步骤,那么所有的获取/设置操作在当前的首要接口介质112上执行。By adding a configuration media type object, the NMS can obtain, eg get and set - define and configure - media related parameters related to a specific physical interface within a specific port/port number. Figure 1 and Figure 3 together illustrate this point. For example, if the exemplary switch of the present invention has a primary medium set to
网络设备100为转发设备,是具有其自己的MIB的被管理节点。这个MIB包含每个端口,即端口1110、端口2120和端口N 130的信息。它还包含介质接口信息302、304、306和308以及端口信息,从而使得NMS或至少网络管理员理解到,端口1110具有如子树320所示的三个物理接口112、114和116,并且具有配置的首要介质332和工作介质334。The
在本发明的优选实施例中,与每个端口相关的信息经由接口表和SNMP来管理,如上所述。对于这个实施例,物理端口仍然由一个唯一的接口索引进行标识,即,优选地为ifIndex,这样,允许对现有的网络管理应用的向后兼容。另外,管理系统应用,包括基于web的应用,可以容易地使用现有的协议和命令来开发,这些协议和命令包括但不限于SNMP、RMON和超文本传送协议(HTTP),类似于这些应用目前如何利用单独的接口端口工作。In a preferred embodiment of the present invention, information related to each port is managed via the interface table and SNMP, as described above. For this embodiment, the physical port is still identified by a unique interface index, ie preferably ifIndex, thus allowing backward compatibility with existing network management applications. Additionally, management system applications, including web-based applications, can be readily developed using existing protocols and commands, including but not limited to SNMP, RMON, and Hypertext Transfer Protocol (HTTP), similar to those currently How to work with separate interface ports.
优选地存在于交换机100的信息数据库中的另一端口相关的对象为工作介质对象334。在本发明的优选实施例中,在给定时刻,在每个端口110、120和130中仅一个接口是活动的。这个活动端口标识为工作介质334。Another port-related object that preferably exists in the information database of the
配置介质对象332包含或指的是首要接口介质352,该首要接口介质是管理员选择的或者软件默认的,并且被标识为首要接口介质。在优选的实施例中,配置介质对象332也表示失败转移模式350。优选地有两种失败转移模式—冗余的和强制的。冗余模式表示自动失败转移,而强制模式表示手动失败转移。在一个可选的实施例中,失败转移模式信息存储在不同于首要接口介质对象的对象中。Configuration media object 332 contains or refers to
优选的配置介质对象332可以包含默认的首要接口介质值,诸如端口中的第一个接口介质。这可以在设备100启动时由设备软件150设置。优选的配置介质对象值的例子包括,例如,“强制介质1”、“强制介质2”和“冗余介质1”。工作介质334是指目前是活动的和工作的接口介质354。工作介质值的例子包括“介质1”和“介质2”等。A preferred configuration medium object 332 may contain a default primary interface medium value, such as the first interface medium in a port. This can be set by the
配置介质352和工作介质对象354中的接口介质不需要相同。例如,选择的或默认的接口介质失败而可以由另一个冗余的接口介质替代。这样,虽然配置介质332包含由管理员选择的介质,但是工作介质334包含失败转移后当前活动并工作的介质或物理接口。虽然节点/叶节点端口2120、端口N 130、接口2114和接口3116下的各种子树没有明确地画出来,但是本领域的普通技术人员会理解到,与每个端口相关的信息及其各自的物理接口可以类似于前面所述的那样来配置和获取。The interface media in
图4对示例性表402进行了描述,该表示出了ifIndex和端口的关系以及如何使用ifIndex来访问端口的配置首要介质对象和工作介质对象。每个ifIndex值映射到对应的物理端口。例如,在第一行410中,ifIndex值为“1”,代表端口1(图1中的110)。在下一行412中,ifIndex值为“2”,代表端口2(图1中的120),而ifIndex值为“N”,则代表端口N414(图1中的130)。因此,每个端口由对应的ifIndex值唯一地标识,优选地从数字1开始。这样,如果有五个端口,那么对应的ifIndex值从“1”到“5”—“1”为端口1,“2”为端口2,“3”为端口3,等等。但是,示例性表402并不一定是管理员或用户所看到的图形用户接口显示。FIG. 4 depicts an exemplary table 402 showing the relationship between ifIndex and ports and how to use the ifIndex to access the port's configuration primary and working media objects. Each ifIndex value maps to the corresponding physical port. For example, in the first row 410, the ifIndex value is "1", representing port 1 (110 in FIG. 1). In the next row 412, an ifIndex value of "2" represents port 2 (120 in FIG. 1), and an ifIndex value of "N" represents port N 414 (130 in FIG. 1). Therefore, each port is uniquely identified by a corresponding ifIndex value, preferably starting with the
图5是类似于图1的一个高层功能方框图,进一步详细描述示例性的指令程序模块150。在优选的实施例中,指令模块150包括三个部件。第一个部件为代理或数据库通信机508。在本优选实施例中,这个代理为与图2中所述的相一致的SNMP代理。这个模块508与信息数据库160进行通信,以获取和设置用于每个接口介质和每个端口的参数信息。FIG. 5 is a high level functional block diagram similar to FIG. 1, illustrating the exemplary
链路监控模块504为包括程序步骤的部件,当执行这些程序步骤时,该模块504对每个端口中的每个介质接口的工作条件进行连续地监视。这个监视模块504与失败转移模块512进行通信,特别是,通知失败转移模块特定的接口介质不处于可接受的工作条件,即,处于失败转移条件—通知失败转移模块应当启动失败转移处理。The link monitoring module 504 is a component that includes procedural steps that, when executed, continuously monitor the operating conditions of each media interface in each port. This monitoring module 504 communicates with the failover module 512, in particular, informing the failover module that the particular interface medium is not in acceptable working condition, ie, is in a failover condition - informing the fallover module that the failover process should be initiated.
失败转移模块512启动并操作转发设备100的手动或自动失败转移机制。失败转移模块512也与信息数据库160进行通信,以获得和设置信息数据库160中的介质参数信息。优选地,也包括其它的指令模块来执行转发设备100的其它功能502。这些部件可以包括这样的程序指令部件,即当执行它时,该部件进行协议包处理并获取路由信息。The failover module 512 initiates and operates a manual or automatic failover mechanism of the
图6为表示本发明两个优选的一般失败转移机制的高层的方框图。在通过管理员或默认软件分配了首要配置介质之后,这种分配的配置介质602的失败将启动失败转移机制604和606。这里的失败一般是指介质接口的链路处于满足失败转移条件,例如,超过预定的失败阀值,的工作状态/条件中。失败条件可以是一种保证另一个接口介质进行接管的条件,这样的条件包括:链路断开;过多的业务损坏;过多的线路噪声以及过多的循环冗余校验故障。如果配置介质类型对象332指示冗余失败转移模式,则启动自动失败转移604。另一方面,如果配置介质类型对象332包含强制失败转移模式,则启动手动失败转移606。Figure 6 is a block diagram showing a high level of two preferred generic failover mechanisms of the present invention. After a primary configuration medium has been allocated by an administrator or default software, failure of such allocated configuration medium 602 will initiate failover mechanisms 604 and 606 . The failure here generally means that the link of the media interface is in a working state/condition that satisfies a failover condition, for example, exceeds a predetermined failure threshold. A failure condition may be a condition that warrants another interface medium to take over, such conditions include: link down; excessive traffic loss; excessive line noise and excessive cyclic redundancy check failures. If the configuration media type object 332 indicates a redundant failover mode, automatic failover 604 is initiated. On the other hand, if the configuration media type object 332 contains a forced fallover mode, then manual fallover 606 is initiated.
图7为说明操作失败转移的示例性处理的高层的流程图。一般地说,为了开始,启动转发设备100。在这个初始化操作中,设备软件150为每个端口和对应的接口介质设置(702)默认介质参数和默认首要接口介质,包括配置首要介质对象中的失败转移模式。这个默认信息,例如,被载入交换机存储器中。默认参数从信息数据库获得,该信息数据库优选地作为程序指令或指令模块的一部分引入,而不是包含在独立的数据源中。在一个实施例中,这些参数作为由设备制造商提供的交换机软件的一部分来提供。在该实施例中,每个端口中的每个接口介质的默认介质参数包含在程序指令中。7 is a flow diagram illustrating a high level of an exemplary process for operational failover. Generally speaking, to begin,
如果管理员想改变每个端口的配置介质类型对象,例如,选择一个不同的接口介质类型来作为首要(测试706),那么该管理员可以通过将一个新的介质类型分配(704)给所配置的首要介质类型332实现这一操作。利用这个动作,交换新旧介质接口的信息基础,优选地在软件内交换,从而使得ifIndex可以指向新的接口介质类型信息。在优选的实施例中,管理员使用SNMP指令或命令来分配特定的接口介质和失败转移模式,例如,将配置介质类型对象设置为冗余介质1-自动失败转移并且使介质1作为首要接口介质。If the administrator wants to change the configured media type object for each port, for example, select a different interface media type as primary (test 706), then the administrator can assign (704) a new media type to the configured The primary media type 332 implements this operation. With this action, the information base of the old and new media interfaces is exchanged, preferably in software, so that ifIndex can point to the new interface media type information. In a preferred embodiment, the administrator uses SNMP commands or commands to assign specific interface media and failover modes, for example, setting the Configure MediaType object to Redundant Media 1 - Auto Failover and making
如果分配的或默认的配置首要介质类型不是工作在可接受工作条件下(测试708)—意味着它处于失败转移条件中,则调用失败转移处理(步骤716)。接口介质是否处于失败转移条件的判断优选地由链路监控模块504完成。If the assigned or default configured primary media type is not operating under acceptable operating conditions (test 708) - meaning it is in a fallover condition, then failover processing is invoked (step 716). The judgment of whether the interface medium is in the failover condition is preferably completed by the link monitoring module 504 .
但是,如果配置介质类型处于良好的工作条件下—不在失败转移条件下,则将工作介质对象设置为包含在配置介质类型中的同一接口介质(步骤710)。然后将消息,优选地为SNMP陷阱发送到NMS(步骤712),指示所分配的接口介质是工作的。指令模块150然后使用例如配置介质类型或首要介质类型的介质参数(步骤714),根据介质参数在通信网络中交换数据。这样,转发设备100和其它的应用,诸如以太网驱动器、SNMP报告软件应用和其它的软件应用,就可以正常工作了。However, if the configured media type is in good working condition—not in a failover condition, then the working media object is set to the same interface media contained in the configured media type (step 710). A message, preferably an SNMP trap, is then sent to the NMS (step 712) indicating that the assigned interface medium is functional. The
图8A为由失败转移模块512执行的失败转移处理的高层的流程图。这个处理关于这样的情形,其中,可能与首要接口介质不同或相同的工作接口介质处于不可接受的条件下—即,处于失败转移条件中。在第一个操作中,读取与具有失败接口介质的端口相关的配置介质类型对象,以确定失败转移模式和首要接口介质。FIG. 8A is a flow diagram of a high level of failover processing performed by fallover module 512 . This treatment pertains to situations where a working interface medium, which may be different or the same as the primary interface medium, is in an unacceptable condition—ie, in a fallover condition. In the first operation, the configured media type object associated with the port with the failed interface media is read to determine the failover mode and the primary interface media.
如果失败转移模式是冗余的,那么与链路监控模块504通过接口相连接的失败转移模块512判断在同个端口内的其它接口介质或物理接口是否可以使用和工作(步骤814)。如果可用,则将工作介质对象设为可用接口介质(步骤818)。这个可用的接口介质然后被激发以替代失败的接口介质。在一个实施例中,如果首要接口介质为可用接口介质之一,则优选地激发该首要接口介质。If the failover mode is redundant, then the failover module 512 interfaced with the link monitoring module 504 determines whether other interface media or physical interfaces in the same port are available and working (step 814). If available, the working medium object is set to available interface medium (step 818). This usable interface medium is then activated to replace the failed interface medium. In one embodiment, the primary interface medium is preferably activated if that primary interface medium is one of the available interface mediums.
然后将一个消息,优选地为陷阱,发送到NMS 820,指示当前工作接口介质,并指示先前配置的首要接口介质已经被替代。设备软件150然后交换介质接口数据结构,并且使用当前的工作接口介质的介质参数(步骤822)。这样,网络中的数据通信或交换基于这些介质参数进行。A message, preferably a trap, is then sent to the NMS 820 indicating the current working interface medium and indicating that the previously configured primary interface medium has been replaced. The
然而,如果失败转移模式是强制的,即判定框812的“否”分支,或者如果没有可替代的接口介质可以激活,即判定框816的“否”分支,那么将警报,优选地为陷阱,发送到NMS,指示先前的工作接口介质现在不再工作(步骤824)。这样,需要用户干预(步骤826)来选择用于配置介质类型对象的新的首要接口介质。However, if fallover mode is mandatory, i.e. the "no" branch of decision block 812, or if no alternative interface media can be activated, i.e. the "no" branch of
图8B表示由链路监控模块510操作的链路监控处理的高层的流程图。一般地,进行检查以判断当前的接口介质是否处于可接受工作条件下(步骤850)—即,不是处于失败转移条件下850。如果接口介质处于失败转移条件下,则通过发送消息到失败转移模块852来启动失败转移处理。FIG. 8B shows a flow diagram of a high level of the link monitoring process operated by the link monitoring module 510 . Generally, a check is made to determine if the current interface medium is in acceptable working condition (step 850)—ie, not in fallover condition 850. If the interface medium is in a fallover condition, then failover processing is initiated by sending a message to the failover module 852 .
图9A表示本发明的实施例如何在数据通信网络中支持介质/端口的冗余或者空闲。在优选的实施例中,在给定时刻每个端口中仅一个接口是活动的。如前所述,指令模块150,例如交换机软件,通过使每个接口具有独立的介质参数来对每个端口中的每个物理接口或接口介质进行管理。在本发明的这个示例性实施例中,设备硬件170具有支持两个接口介质916B和918B的端口922B。Figure 9A illustrates how an embodiment of the present invention supports media/port redundancy or idling in a data communications network. In a preferred embodiment, only one interface per port is active at a given moment. As mentioned above, the
这个交换机硬件170连接到远程节点,诸如支持多个介质类型的多层交换机970,包括第一接口,例如,诸如这里称为铜接口的双绞线的电传导接口(未示出),和第二接口,例如,这里称为光纤接口的光传导接口(未示出)。铜接口和光纤接口可以驻留在同一物理端口中或在两个不同的物理端口中。实线996表示活动链路,而虚线998表示不活动的、备份的冗余链路。This switch hardware 170 is connected to a remote node, such as a multilayer switch 970 supporting multiple media types, and includes a first interface, e.g., an electrically conductive interface (not shown) such as a twisted pair referred to herein as a copper interface, and a second interface. Two interfaces, for example, an optically conductive interface (not shown) referred to herein as an optical fiber interface. Copper and fiber interfaces can reside in the same physical port or in two different physical ports. A
因为铜和光纤介质类型具有不同的介质参数,包括它们的物理属性、行为和配置,因此,如果铜链路996断开或处于不可接受的工作条件下,那么交换机会使用光纤介质接口998并通过激发该接口继续工作。这个冗余环境提供了网络可靠性,而设备100不需要在根据生成树协议的生成树中的另外的连接,这防止了由端口或接口介质的冗余引起的环路和冗余路径。每个端口一般表示为生成树中的一个连接;这样,端口中的额外的介质接口不需要生成树中的额外连接。现有生成树可以被使用而不需要增加另外的连接。在生成树中不需要额外的连接也是因为,在同一个端口内的多个冗余介质中同时只有一个接口介质是工作的。Because copper and fiber optic media types have different media parameters, including their physical properties, behavior, and configuration, if the
图9B与图9A相类似,但是,在这个数据通信网络中,设备170连接到两个远程节点—多层交换机。交换机硬件170经由第一接口,例如铜接口916B,连接到第一多层交换机980,并且经由第二接口,例如光纤接口918B,连接到第二多层交换机982。在这个例子中,考虑到不需要独立的冗余端口—只使用在同一端口内的另一物理接口,所以可以减少交换机硬件170内的端口的数量。本领域的普通技术人员将认识到,这也提高了网络可靠性。Figure 9B is similar to Figure 9A, however, in this data communications network, device 170 is connected to two remote nodes - a multilayer switch. Switch hardware 170 is connected to a first multilayer switch 980 via a first interface, such as
图9C为本发明的另一数据通信网络实施例,其中,交换机硬件170经由接口1916B连接到网络1992,并且经由接口2918B不活动地连接到另一网络2。这样,例如,这个实施例给设备硬件170提供分开的装置来访问不同的网络而没有单个的失败点,从而提供了更好的网络冗余。网络可以包括局域网、广域网和诸如AOL(TM)和SBC(TM)的提供商网络。Figure 9C is another data communication network embodiment of the present invention wherein switch hardware 170 is connected to network 1992 via interface 1916B, and is inactively connected to another
本领域的普通技术人员将认识到,各种作为示例的交换机配置表明本发明在它几个实施例中提供了前面没有描述到的其它优点。例如,考虑到活动的接口和不活动的接口可以使用同一个索引,所以可减少SNMP环境中的管理接口索引的数量。另外,同一个因特网协议(IP)地址可以分配给特定端口内的所有接口介质,这能够实现更简单的网络管理系统。另一个优点是,可以使用现有的管理应用,例如SNMP和命令行接口(CLI),来控制同一端口上的每一个接口介质,而不需要对MIB组织进行大量的修改。此外,本发明的实施例也减少了对额外的昂贵设备的需求,诸如用于冗余的额外的以太网端口。Those of ordinary skill in the art will recognize that the various exemplary switch configurations demonstrate that the present invention, in its several embodiments, provides other advantages not previously described. For example, the number of management interface indexes in an SNMP environment can be reduced, considering that the same index can be used for both active and inactive interfaces. Additionally, the same Internet Protocol (IP) address can be assigned to all interface media within a particular port, which enables a simpler network management system. Another advantage is that existing management applications, such as SNMP and command-line interface (CLI), can be used to control each interface medium on the same port without extensive modifications to MIB organization. Furthermore, embodiments of the present invention also reduce the need for additional expensive equipment, such as additional Ethernet ports for redundancy.
一般地,需要改变的应用是低层应用而不是高层应用。所以,另一个优点是,无论任何时候发生从一个接口到另一个接口的替换转移或失败转移,通常只有依赖于物理接口/介质类型的应用需要改变,而其它的应用无需改变。Typically, the applications that need to be changed are low-level applications rather than high-level applications. So, another advantage is that whenever a switchover or failover from one interface to another occurs, usually only applications that depend on the physical interface/media type need to change, while others do not.
本说明书中使用的用来描述本发明及其各个实施例的措词应当理解为,不仅表示其通常定义的含义,而且通过在本说明书中进行特别定义,包括超出通常定义的含义范围的结构、材料或动作。这样,如果在本说明书上下文中,一个元素可以被理解为包括超过一个含义,则其在权利要求中的使用应当理解为是被说明书及其自身含义支持的所有可能含义的综合。The terms used in this specification to describe the present invention and its various embodiments should be understood not only to indicate their commonly defined meanings, but also to include structures, structures, material or action. Thus, if, in the context of this specification, an element can be understood to include more than one meaning, its use in a claim should be understood as a combination of all possible meanings supported by the specification and its own meaning.
在不脱离本发明及其在此公开的几个实施例的精神和范围的情况下,由本领域的普通技术人员可以做出许多替换和修改。因此,必须理解到,所描述的实施例仅为示例的目的,而不是对本发明的限制,本发明的范围由下面的权利要求限定。Numerous substitutions and modifications can be made by those skilled in the art without departing from the spirit and scope of the invention and its several embodiments disclosed herein. Therefore, it must be understood that the described embodiments are for the purpose of illustration only and not limiting of the invention, the scope of which is defined by the following claims.
Claims (10)
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US62441904P | 2004-11-01 | 2004-11-01 | |
| US60/624,419 | 2004-11-01 | ||
| US11/018,528 | 2004-12-17 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN1791016A true CN1791016A (en) | 2006-06-21 |
Family
ID=36788543
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 200510117132 Pending CN1791016A (en) | 2004-11-01 | 2005-11-01 | Multi-interface port management |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1791016A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102880583A (en) * | 2012-08-01 | 2013-01-16 | 浪潮(北京)电子信息产业有限公司 | Device and method for configuring dynamic link of multi-way server |
| CN105874746A (en) * | 2013-12-19 | 2016-08-17 | 谷歌公司 | Detecting network devices |
-
2005
- 2005-11-01 CN CN 200510117132 patent/CN1791016A/en active Pending
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102880583A (en) * | 2012-08-01 | 2013-01-16 | 浪潮(北京)电子信息产业有限公司 | Device and method for configuring dynamic link of multi-way server |
| WO2014019346A1 (en) * | 2012-08-01 | 2014-02-06 | 浪潮(北京)电子信息产业有限公司 | Dynamic link configuration device and method for multipath server |
| CN102880583B (en) * | 2012-08-01 | 2015-03-11 | 浪潮(北京)电子信息产业有限公司 | Device and method for configuring dynamic link of multi-way server |
| CN105874746A (en) * | 2013-12-19 | 2016-08-17 | 谷歌公司 | Detecting network devices |
| CN105874746B (en) * | 2013-12-19 | 2019-06-04 | 谷歌有限责任公司 | Detect network devices |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3740060B2 (en) | Virtual port trunking method and apparatus | |
| US6856591B1 (en) | Method and system for high reliability cluster management | |
| US7974219B2 (en) | Network troubleshooting using path topology | |
| US8458305B2 (en) | Method and system for matching and repairing network configuration | |
| US20100309812A1 (en) | Method for logical deployment, undeployment and monitoring of a target ip network | |
| US11362935B2 (en) | Automatic multi-chassis link aggregation configuration with link layer discovery | |
| US20070070975A1 (en) | Storage system and storage device | |
| US8699320B2 (en) | Multi-interface port management | |
| JP2011044955A (en) | Setting change method by network manager equipment and program, control method and program of network equipment, network manager equipment, and network equipment | |
| CN102484603B (en) | Method and device for creating redundant logical connection and storage automation system device | |
| CN1761213A (en) | Apparatus, system, and method for a configuring a network feature for a network fabric | |
| EP1479192B1 (en) | Method and apparatus for managing configuration of a network | |
| US7836358B2 (en) | Method and network element for improving error management in managed networks, and computer program product therefor | |
| CN1791016A (en) | Multi-interface port management | |
| CN1820265A (en) | Single-point management system for devices in a cluster | |
| CN100336342C (en) | Intelligent optical network system and user group management method | |
| EP4160394A1 (en) | Decentralized software upgrade image distribution for network device upgrades | |
| CN1874320A (en) | Method and system for implementing consistency of message forwarding routes | |
| CN1780230A (en) | Network management from resource restricted apparatus | |
| US20250097128A1 (en) | Autospan Network Traffic Based on Monitored Applications | |
| KR100474358B1 (en) | Method and apparatus for implementation function of remote network monitoring in high speed router, and storage medium for recording program thereof | |
| Wang et al. | General Router Management Protocol (GRMP) Version1 | |
| KR100608917B1 (en) | Failure Information Management Method of Distributed Forwarding Architecture Router | |
| CN115941422A (en) | A method, device, switch and storage medium for dynamically generating configuration files | |
| EP4672692A1 (en) | Debugging a virtual private Ethernet network using intent-based graph data |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication |