Nothing Special   »   [go: up one dir, main page]

WO2016188081A1 - 扩展端口的处理方法、装置及系统 - Google Patents

扩展端口的处理方法、装置及系统 Download PDF

Info

Publication number
WO2016188081A1
WO2016188081A1 PCT/CN2015/096867 CN2015096867W WO2016188081A1 WO 2016188081 A1 WO2016188081 A1 WO 2016188081A1 CN 2015096867 W CN2015096867 W CN 2015096867W WO 2016188081 A1 WO2016188081 A1 WO 2016188081A1
Authority
WO
WIPO (PCT)
Prior art keywords
port
extended
status
creation message
virtual
Prior art date
Application number
PCT/CN2015/096867
Other languages
English (en)
French (fr)
Inventor
盛威
刘虎
曾万梅
郑宝文
盛利军
耿春敬
张强
敖婷
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to RU2017144315A priority Critical patent/RU2693903C1/ru
Publication of WO2016188081A1 publication Critical patent/WO2016188081A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • H04L45/583Stackable routers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • H04L49/253Routing or path finding in a switch fabric using establishment or release of connections between ports
    • H04L49/254Centralised controller, i.e. arbitration or scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • H04L49/3054Auto-negotiation, e.g. access control between switch gigabit interface connector [GBIC] and link

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, an apparatus, and a system for processing an extended port.
  • the 802.1BR standard is a standard specified by the IEEE for local and metropolitan networks. The purpose is to break the physical limitations, extend the management objects of bridges and bridges through 802LAN technology and interactive interfaces, and remove a large number of strategies and security and management methods from the network card.
  • the virtual machine and blade server are unmounted and handed over to the physical Ethernet switch that connects the storage and computing resources, simplifying the management of the data center system.
  • Ethernet switch that connects the storage and computing resources
  • the 802.1BR standard establishes an expansion bridge system, including a Controlling Bridge (CB) and one or more Extension Devices (PEs).
  • the CB configures and monitors the PE through the PE client server protocol (CSP).
  • CSP PE client server protocol
  • the PE reports the existing extended port to the CB through the extended port creation message defined by the PE CSP.
  • the CB creates a corresponding virtual port, so that the user can pass the physical bridge port through the point-to-point LAN (Local).
  • Area Net work (LAN) is extended to the remote PE.
  • the PE reports the port status (MAC_Operational) of the extended port to the CB through the port status parameter set (Status Parameters Set) message.
  • the CB feeds back the MAC_Operational status of the extended port to the corresponding virtual port through the link status (MAC_Enabled) parameter. .
  • the CB cannot directly know the status of the PE by initially creating the corresponding virtual port.
  • the method adopted by most device manufacturers is that after the PE is started, only the extended port with the MAC_Operational state of TRUE is notified to the CB device through the extended port creation message (Extended Port Create), and the CB directly receives the corresponding virtual The port's MAC_Enabled is set to TRUE.
  • the disadvantage of this method is that the extended port with the MAC_Operational state is FALSE cannot be quickly discovered and monitored.
  • the FALSE state expansion port may have a corresponding virtual interface or may not have a corresponding virtual interface. Case.
  • the invention provides a processing method, device and system for an expansion port to at least solve the related art control device
  • the CB cannot quickly discover and monitor the status information of the expansion port of the extension device PE.
  • a method for processing an extended port including:
  • the extended device PE sends an extended port creation message to the control device CB, where the extended port creation message carries the port status of the extended port of the PE, and the extended port creation message is used to notify the CB to create the extended port. a virtual port, and for the CB to feed back the port status to the virtual port.
  • the method further includes:
  • the PE After receiving the response message of the extended port creation message, the PE sets the link state of the extended port to be on.
  • the port status of the extended port creation message carrying the extended port of the PE includes:
  • the port state triplet TLV field in the extended port creation message carries the port state.
  • a method for processing an extended port including:
  • the control device CB receives the extended port creation message sent by the extension device PE, where the extended port creation message carries the port status of the extended port of the PE;
  • the CB creates a virtual port of the extended port according to the extended port creation message, and feeds back the port status to the virtual port.
  • feeding back the port status to the virtual port includes:
  • the CB feeds back the port status to the virtual port through a parameter value indicating a link status.
  • the port status is carried in a port state triplet TLV in the extended port creation message.
  • an apparatus for processing an expansion port including:
  • the sending module is configured to send the extended port creation message to the control device CB, where the extended port creation message carries the port status of the extended port of the PE, and the extended port creation message is used to notify the CB to create a virtual port of the expansion port, and for the CB to feed back the port status to the virtual port.
  • the device further includes:
  • the response module is configured to set the link state of the extended port to be on after the PE receives the response message of the extended port creation message.
  • the port status of the extended port creation message carrying the extended port of the PE includes:
  • the port state triplet TLV field in the extended port creation message carries the port state.
  • a processing device for an expansion port including:
  • a receiving module configured to receive, by the control device CB, an extended port creation message sent by the extended device PE, where The extended port creation message carries the port status of the extended port of the PE;
  • feeding back the port status to the virtual port includes:
  • the CB feeds back the port status to the virtual port through a parameter value indicating a link status.
  • the port status is carried in a port state triplet TLV in the extended port creation message.
  • an extension port processing system comprising: a control device CB and one or more expansion devices PE;
  • the CB creates a virtual port of the extended port according to the extended port creation message, and feeds back the port status to the virtual port.
  • the extended device PE is used to send an extended port creation message to the control device CB, where the extended port creation message carries the port status of the extended port of the PE, and the extended port creation message is used to notify the CB to create the extended port.
  • the virtual port and the CB are used to feed back the status of the port to the virtual port, which solves the problem that the control device CB cannot quickly discover and monitor the status information of the extended port of the extended device PE, so that the CB can quickly discover and monitor the PE. All expansion ports and status information improve processing efficiency.
  • FIG. 1 is a flowchart 1 of a method for processing an expansion port according to an embodiment of the present invention
  • FIG. 2 is a second flowchart of a method for processing an expansion port according to an embodiment of the present invention
  • FIG. 3 is a structural block diagram 1 of an apparatus for processing an expansion port according to an embodiment of the present invention
  • FIG. 4 is a block diagram 2 of a processing apparatus of an expansion port according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a CB and PE networking according to a preferred embodiment of the present invention.
  • FIG. 6 is a schematic diagram of quickly discovering and monitoring a PE workflow according to the CB in the related art
  • FIG. 7 is a schematic diagram of a CB fast discovery and monitoring PE workflow in accordance with a preferred embodiment of the present invention.
  • FIG. 1 is a flowchart 1 of a method for processing an extended port according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • Step S102 the extension device PE sends an extended port creation message to the control device CB, where the extended port creation message carries the port status of the extended port of the PE;
  • Step S104 The CB creates a virtual port of the extended port according to the extended port creation message, and feeds back the port status to the virtual port.
  • the extended device PE sends an extended port creation message to the control device CB, where the extended port creation message carries the port status of the extended port of the PE, and the extended port creation message is used to notify the CB to create the virtual port of the extended port.
  • the port and the CB are used to feed back the status of the port to the virtual port, which solves the problem that the control device CB cannot quickly discover and monitor the status information of the extended port of the extended device PE, so that the CB can quickly discover and monitor all the PEs. Expand port and status information to improve processing efficiency.
  • the PE after receiving the response message of the extended port creation message, the PE sets the link state of the extended port to be on.
  • the port state triplet TLV (Type-length-Value) field in the extended port creation message carries the port state.
  • FIG. 2 is a second flowchart of a method for processing an extended port according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
  • Step S202 the control device CB receives the extended port creation message sent by the extension device PE, where the extended port creation message carries the port status of the extended port of the PE;
  • Step S204 The CB creates a virtual port of the extended port according to the extended port creation message, and feeds back the port status to the virtual port.
  • the control device CB receives the extended port creation message sent by the extension device PE, where the extended port creation message carries the port status of the extended port of the PE, and the CB creates the virtual port of the extended port according to the extended port creation message.
  • the port and the status of the port are fed back to the virtual port, which solves the problem that the control device CB cannot quickly discover and monitor the status information of the extended port of the extended device PE, so that the CB can quickly discover and monitor all the extended ports and states of the PE. Information improves processing efficiency.
  • the CB feeds back the port status to the virtual port by using a parameter value for indicating the link status.
  • the port status is carried in the port state triplet TLV in the extended port creation message.
  • a processing device for the expansion port is provided, which is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 3 is a structural block diagram 1 of an apparatus for processing an expansion port according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes:
  • the sending module 32 is configured to send the extended port creation message to the control device CB, where the extended port creation message carries the port status of the extended port of the PE, and the extended port creation message is used to notify the CB to create the extended port.
  • the virtual port, and the CB is used to feed back the port status to the virtual port.
  • the extension device PE sends an extended port creation message to the control device CB, where the extended port creation message carries the port status of the extended port of the PE, and the extended port creation message is used to notify the CB to create the virtual port of the extended port.
  • the port and the CB are used to feed back the status of the port to the virtual port, which solves the problem that the control device CB cannot quickly discover and monitor the status information of the extended port of the extended device PE, so that the CB can quickly discover and monitor all the PEs. Expand port and status information to improve processing efficiency.
  • the device further includes:
  • the answering module is configured to set the link state of the extended port to be on after the PE receives the response message of the extended port creation message.
  • FIG. 4 is a structural block diagram 2 of an apparatus for processing an expansion port according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes:
  • the receiving module 42 is configured to receive, by the control device CB, an extended port creation message sent by the extended device PE, where the extended port creation message carries the port status of the extended port of the PE;
  • the creating module 44 is configured to create a virtual port of the extended port according to the extended port creation message, and feed back the port status to the virtual port.
  • the control device CB receives the extended port creation message sent by the extension device PE, where the extended port creation message carries the port status of the extended port of the PE, and the CB creates the virtual port of the extended port according to the extended port creation message.
  • the port and the status of the port are fed back to the virtual port, which solves the problem that the control device CB cannot quickly discover and monitor the status information of the extended port of the extended device PE, so that the CB can quickly discover and monitor all the extended ports and states of the PE. Information improves processing efficiency.
  • feeding back the port status to the virtual port includes:
  • the CB feeds back the port status to the virtual port through a parameter value indicating the link status.
  • a processing system for an extended port including: a control device CB and an OR Multiple expansion devices PE;
  • the PE sends an extended port creation message to the CB, where the extended port creation message carries the port status of the extended port of the PE;
  • the CB creates a virtual port of the extended port according to the extended port creation message, and feeds back the port status to the virtual port.
  • the preferred embodiment of the present invention speeds up the discovery and monitoring of the PE extension port by the CB, avoids the inconsistency between the CB virtual port and the PE extension port, and reduces the number of message transmissions.
  • a preferred embodiment of the present invention provides a method for CB to quickly discover and monitor a PE extension port, including:
  • the PE directly adds a Port Status TLV in the Extended Port Create message, and carries the MAC_Operational state of the extended port.
  • the CB After receiving the Extended Port Create message, the CB creates a virtual port corresponding to the extended port and sets the status of the virtual port and the MAC_Enabled parameter according to the MAC_Operational status in the Port Status TLV.
  • FIG. 5 is a schematic diagram of a CB and a PE networking according to a preferred embodiment of the present invention. As shown in FIG. 5, the CB and the PE establish a connection. At this time, the MAC_Operational of the three extension ports of the PE are in the FALSE state.
  • FIG. 6 is a schematic diagram of quickly discovering and monitoring a PE workflow according to the CB in the related art.
  • the virtual port can not quickly discover and monitor the expansion port 1 of the PE from the CB; when the extension port 3MAC_Operational becomes FALSE again, the CB is still two virtual ports, and the expansion ports 1 and 3 are in the same state but on the CB. Only the corresponding virtual port of expansion port 3, and the virtual port of expansion port 1 can only monitor expansion port 3.
  • FIG. 7 is a schematic diagram of a CB fast discovery and monitoring PE workflow according to a preferred embodiment of the present invention.
  • the PE when a connection is established between a CB and a PE, the PE will expand the port. 1, 2, and 3 are all notified to the CB by using the Extended Port Create message.
  • the CB creates three corresponding virtual interfaces according to the message.
  • the parameters of the three extension ports of the PE can be set and monitored from the CB;
  • the MAC_Operational of 3 becomes TRUE, and the PE sends a Status Parameters Set message.
  • the CB can quickly monitor the extended port.
  • the extension port 3 MAC_Operational changes to FALSE, the PE also sends a Status Parameters Set message, the virtual port status of the CB and the extension of the PE.
  • the port status still remains the same.
  • the preferred embodiment discloses a method for implementing CB fast discovery and monitoring of a PE in a data center network technology, the method comprising: establishing an extended bridge system, including a CB and one or more PEs; defining a PE CSP protocol, thereby The CB configures and monitors the PE; the PE reports the existing extended port to the CB through the Extended Port Create message defined by the PE CSP; adds the port status of the extended port (MAC_Operational state) in the Extended Port Create message, and the CB passes the The message dynamically discovers the PE extension port and obtains the status information of the extension port.
  • the CB can quickly discover the extended port of the PE device and obtain the status information of the extended port in time.
  • the PE reports the existing extended port to the CB through the Extended Port Create message, and reports the MAC_Operational status of the corresponding extended port to the CB;
  • the CB After receiving the Extended Port Create message, the CB creates a corresponding virtual port, so that the user can extend the port of the physical bridge to the remote PE through the point-to-point LAN connection, and feed back the MAC_Operational status of the extended port to the corresponding virtual port through the MAC_Enabled parameter. ;
  • the MAC_Enabled parameter of the extended port is set to TRUE.
  • a Port Status TLV is added to the Extended Port Create message, and the MAC_Operational state of the extended port is carried.
  • the preferred embodiment of the present invention provides a method for quickly discovering and monitoring a CB in a data center network technology.
  • the CB can quickly discover and monitor all the extended ports of the PE.
  • the sending of the Status Parameters Set message is reduced, and the processing efficiency is improved.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for executing the method of the above embodiment:
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor executes the method of the above embodiment according to the stored program code in the storage medium.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the extension device PE sends an extended port creation message to the control device CB, where the extended port creation message carries the port status of the extended port of the PE, and the extended port creation message is used to notify the
  • the CB creates a virtual port of the extended port, and uses the CB to feed back the status of the port to the virtual port, which solves the problem that the control device CB cannot quickly discover and monitor the status information of the extended port of the extended device PE, and implements the CB. Quickly discover and monitor all expansion ports and status information of PEs, improving processing efficiency.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明提供了一种扩展端口的处理方法、装置及系统,其中,该方法采用扩展设备PE向控制设备CB发送扩展端口创建消息,其中,该扩展端口创建消息携带该PE的扩展端口的端口状态,该扩展端口创建消息用于通知该CB创建该扩展端口的虚端口,及用于该CB将该端口状态反馈至该虚端口,解决了控制设备CB无法快速发现和监控扩展设备PE的扩展端口的状态信息的问题,实现了CB可以快速发现和监控PE的所有扩展端口及状态信息,提高了处理效率。

Description

扩展端口的处理方法、装置及系统 技术领域
本发明涉及通信领域,具体而言,涉及一种扩展端口的处理方法、装置及系统。
背景技术
随着云计算概念的火热,数据中心网络技术迎来了一次剧烈的变革,大量新技术标准在近几年内出现,各家设备厂商也纷纷投入海量资源来迎接这一新的挑战。随着云计算的发展,虚拟机激增,企业的数据中心也不可避免的引发了管理难题,网络必须适应新的虚拟化技术趋势。于是网络侧针对数据中心的虚拟机迁移等新技术趋势和需求调整做出了一些新的802.1标准。802.1BR标准是IEEE为本地和大城市网络指定的标准,目的就是打破物理的限制,通过802LAN技术和交互接口来扩展桥和桥的管理对象,把大量策略以及安全和管理方面的处理方法从网卡上的虚拟机和刀片服务器上卸下来,将其重新交给连接存储和计算资源的物理以太交换机,简化数据中心系统的管理。借助新的以太网标准,数据中心使用数据中心桥接可以支持融合的网络,进行基于优先级的流量控制,增加拥塞控制。
802.1BR标准建立了一个扩展桥系统,包括控制设备(Controlling Bridge,简称为CB)和一个或多个扩展设备(Port Extender,简称为PE)。CB通过PE客户端服务器协议(Client Server Protocol,简称为CSP),配置和监控PE。其中PE通过PE CSP定义的扩展端口创建消息(Extended Port Create)向CB报告存在的扩展端口,CB收到消息后,创建一个相应的虚端口,以便用户可以将物理桥的端口通过点对点局域网(Local Area Net work,简称为LAN)连接扩展到远端PE。PE通过端口状态参数设置(Status Parameters Set)消息向CB报告扩展端口的端口状态(MAC_Operational),CB收到消息后,将扩展端口的MAC_Operational状态通过链路状态(MAC_Enabled)参数反馈到相应的虚端口。
CB在最初创建对应虚拟端口无法直接获知PE的状态。目前多数设备厂商采用的方法是,在PE启动后,只将MAC_Operational状态为通(TRUE)的扩展端口通过扩展端口创建消息(Extended Port Create)通报给CB设备,CB收到消息后直接将相应虚端口的MAC_Enabled置为TRUE。该方法的缺点是MAC_Operational状态为断(FALSE)的扩展端口无法快速发现和监控,另外如果扩展端口状态由TRUE变为FALSE,就会出现FALSE状态扩展端口可能有对应虚接口也可能没有对应虚接口的情况。
针对相关技术中,控制设备CB无法快速发现和监控扩展设备PE的扩展端口的状态信息的问题,目前尚未提出有效的解决方案。
发明内容
本发明提供了一种扩展端口的处理方法、装置及系统,以至少解决相关技术中控制设备 CB无法快速发现和监控扩展设备PE的扩展端口的状态信息的问题。
根据本发明的一个方面,提供了一种扩展端口的处理方法,包括:
扩展设备PE向控制设备CB发送扩展端口创建消息,其中,所述扩展端口创建消息携带所述PE的扩展端口的端口状态,所述扩展端口创建消息用于通知所述CB创建所述扩展端口的虚端口,及用于所述CB将所述端口状态反馈至所述虚端口。
在本发明的实施例中,所述方法还包括:
所述PE接收所述扩展端口创建消息的应答消息后,将所述扩展端口的链路状态设置为通。
在本发明的实施例中,所述扩展端口创建消息携带所述PE的扩展端口的端口状态包括:
通过所述扩展端口创建消息中的端口状态三元组TLV字段携带所述端口状态。
根据本发明的另一个实施例,还提供了一种扩展端口的处理方法,包括:
控制设备CB接收扩展设备PE发送的扩展端口创建消息,其中,所述扩展端口创建消息携带有所述PE的扩展端口的端口状态;
所述CB根据所述扩展端口创建消息创建所述扩展端口的虚端口,并将所述端口状态反馈至所述虚端口。
在本发明的实施例中,将所述端口状态反馈至所述虚端口包括:
所述CB将所述端口状态通过用于指示链路状态的参数值反馈到所述虚端口。
在本发明的实施例中,所述端口状态携带于所述扩展端口创建消息中的端口状态三元组TLV中。
根据本发明的另一个实施例,还提供了一种扩展端口的处理装置,包括:
发送模块,设置为扩展设备PE向控制设备CB发送扩展端口创建消息,其中,所述扩展端口创建消息携带所述PE的扩展端口的端口状态,所述扩展端口创建消息用于通知所述CB创建所述扩展端口的虚端口,及用于所述CB将所述端口状态反馈至所述虚端口。
在本发明的实施例中,所述装置还包括:
应答模块,设置为所述PE接收所述扩展端口创建消息的应答消息后,将所述扩展端口的链路状态设置为通。
在本发明的实施例中,所述扩展端口创建消息携带所述PE的扩展端口的端口状态包括:
通过所述扩展端口创建消息中的端口状态三元组TLV字段携带所述端口状态。
根据本发明的再一个实施例,还提供了一种扩展端口的处理装置,括:
接收模块,设置为控制设备CB接收扩展设备PE发送的扩展端口创建消息,其中,所述 扩展端口创建消息携带有所述PE的扩展端口的端口状态;
创建模块,设置为所述CB根据所述扩展端口创建消息创建所述扩展端口的虚端口,并将所述端口状态反馈至所述虚端口。
在本发明的实施例中,将所述端口状态反馈至所述虚端口包括:
所述CB将所述端口状态通过用于指示链路状态的参数值反馈到所述虚端口。
在本发明的实施例中,所述端口状态携带于所述扩展端口创建消息中的端口状态三元组TLV中。
根据本发明的再一个实施例,还提供了一种扩展端口的处理系统,其中,包括:控制设备CB和一个或多个扩展设备PE;
所述PE向所述CB发送扩展端口创建消息,其中,所述扩展端口创建消息携带所述PE的扩展端口的端口状态;
所述CB根据所述扩展端口创建消息创建所述扩展端口的虚端口,并将所述端口状态反馈至所述虚端口。
通过本发明,采用扩展设备PE向控制设备CB发送扩展端口创建消息,其中,该扩展端口创建消息携带该PE的扩展端口的端口状态,该扩展端口创建消息用于通知该CB创建该扩展端口的虚端口,及用于该CB将该端口状态反馈至该虚端口,解决了控制设备CB无法快速发现和监控扩展设备PE的扩展端口的状态信息的问题,实现了CB可以快速发现和监控PE的所有扩展端口及状态信息,提高了处理效率。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的一种扩展端口的处理方法的流程图一;
图2是根据本发明实施例的一种扩展端口的处理方法的流程图二;
图3是根据本发明实施例的一种扩展端口的处理装置的结构框图一;
图4是根据本发明实施例的一种扩展端口的处理装置的结构框图二;
图5是根据本发明优选实施例的CB和PE组网示意图;
图6是根据相关技术中的CB快速发现和监控PE工作流程的示意图;
图7是根据本发明优选实施例的CB快速发现和监控PE工作流程的示意图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
在本实施例中提供了一种扩展端口的处理方法,图1是根据本发明实施例的一种扩展端口的处理方法的流程图一,如图1所示,该流程包括如下步骤:
步骤S102,扩展设备PE向控制设备CB发送扩展端口创建消息,其中,该扩展端口创建消息携带该PE的扩展端口的端口状态;
步骤S104,CB根据该扩展端口创建消息创建该扩展端口的虚端口,将该端口状态反馈至该虚端口。
通过上述步骤,扩展设备PE向控制设备CB发送扩展端口创建消息,其中,该扩展端口创建消息携带该PE的扩展端口的端口状态,该扩展端口创建消息用于通知该CB创建该扩展端口的虚端口,及用于该CB将该端口状态反馈至该虚端口,解决了控制设备CB无法快速发现和监控扩展设备PE的扩展端口的状态信息的问题,实现了CB可以快速发现和监控PE的所有扩展端口及状态信息,提高了处理效率。
在本实施例中,该PE接收该扩展端口创建消息的应答消息后,将该扩展端口的链路状态设置为通。
在本实施例中,可以通过该扩展端口创建消息中的端口状态三元组TLV(Type-length-Value,类型-长度-值)字段携带该端口状态。
在本实施例中提供了一种扩展端口的处理方法,图2是根据本发明实施例的一种扩展端口的处理方法的流程图二,如图2所示,该流程包括如下步骤:
步骤S202,控制设备CB接收扩展设备PE发送的扩展端口创建消息,其中,该扩展端口创建消息携带有该PE的扩展端口的端口状态;
步骤S204,该CB根据该扩展端口创建消息创建该扩展端口的虚端口,并将该端口状态反馈至该虚端口。
通过上述步骤,控制设备CB接收扩展设备PE发送的扩展端口创建消息,其中,该扩展端口创建消息携带有该PE的扩展端口的端口状态,该CB根据该扩展端口创建消息创建该扩展端口的虚端口,并将该端口状态反馈至该虚端口,解决了控制设备CB无法快速发现和监控扩展设备PE的扩展端口的状态信息的问题,实现了CB可以快速发现和监控PE的所有扩展端口及状态信息,提高了处理效率。
在本实施例中,该CB将该端口状态通过用于指示链路状态的参数值反馈到该虚端口。
在本实施例中,该端口状态携带于该扩展端口创建消息中的端口状态三元组TLV中。
在本实施例中还提供了一种扩展端口的处理装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图3是根据本发明实施例的一种扩展端口的处理装置的结构框图一,如图3所示,该装置包括:
发送模块32,设置为扩展设备PE向控制设备CB发送扩展端口创建消息,其中,该扩展端口创建消息携带该PE的扩展端口的端口状态,该扩展端口创建消息用于通知该CB创建该扩展端口的虚端口,及用于该CB将该端口状态反馈至该虚端口。
通过上述装置,扩展设备PE向控制设备CB发送扩展端口创建消息,其中,该扩展端口创建消息携带该PE的扩展端口的端口状态,该扩展端口创建消息用于通知该CB创建该扩展端口的虚端口,及用于该CB将该端口状态反馈至该虚端口,解决了控制设备CB无法快速发现和监控扩展设备PE的扩展端口的状态信息的问题,实现了CB可以快速发现和监控PE的所有扩展端口及状态信息,提高了处理效率。
在本实施例中,该装置还包括:
应答模块,设置为该PE接收该扩展端口创建消息的应答消息后,将该扩展端口的链路状态设置为通。
图4是根据本发明实施例的一种扩展端口的处理装置的结构框图二,如图4所示,该装置包括:
接收模块42,设置为控制设备CB接收扩展设备PE发送的扩展端口创建消息,其中,该扩展端口创建消息携带有该PE的扩展端口的端口状态;
创建模块44,设置为该CB根据该扩展端口创建消息创建该扩展端口的虚端口,并将该端口状态反馈至该虚端口。
通过上述装置,控制设备CB接收扩展设备PE发送的扩展端口创建消息,其中,该扩展端口创建消息携带有该PE的扩展端口的端口状态,该CB根据该扩展端口创建消息创建该扩展端口的虚端口,并将该端口状态反馈至该虚端口,解决了控制设备CB无法快速发现和监控扩展设备PE的扩展端口的状态信息的问题,实现了CB可以快速发现和监控PE的所有扩展端口及状态信息,提高了处理效率。
在本实施例中,将该端口状态反馈至该虚端口包括:
该CB将该端口状态通过用于指示链路状态的参数值反馈到该虚端口。
在本发明的实施例中,还提供了一种扩展端口的处理系统,包括:控制设备CB和一个或 多个扩展设备PE;
该PE向该CB发送扩展端口创建消息,其中,该扩展端口创建消息携带该PE的扩展端口的端口状态;
该CB根据该扩展端口创建消息创建该扩展端口的虚端口,并将该端口状态反馈至该虚端口。
下面结合优选实施例和实施方式对本发明进行详细说明。
本发明的提供的优选实施例,加快了CB对PE扩展端口的发现和监控,避免CB虚端口与PE扩展端口的不一致,同时减少消息发送次数。
本发明的优选实施例提供了一种CB快速发现和监控PE扩展端口的方法,包括:
PE在Extended Port Create消息中直接增加端口参数(Port Status)TLV,携带扩展端口的MAC_Operational状态;
CB收到Extended Port Create消息后,创建一个与扩展端口相应的虚端口,并根据Port Status TLV中MAC_Operational状态,设置虚端口的状态和MAC_Enabled参数。
图5是根据本发明优选实施例的CB和PE组网示意图,如图5所示,CB和PE建立连接,此时PE的三个扩展口的MAC_Operational都处于FALSE状态。
本发明的优选实施例提出的MAC转发条目跨设备的方法在本实施例中主备设备上的相关工作流程如下:
图6是根据相关技术中的CB快速发现和监控PE工作流程的示意图,如图6所示,根据其他设备厂商工作流程,当PE扩展口2、3的MAC_Operational变为TRUE,创建了两个对应的虚端口,此时无法从CB快速发现和监控PE的扩展口1;当扩展口3MAC_Operational再变为FALSE,CB仍然是两个虚端口,此时扩展端口1和3虽然状态相同,但CB上只有扩展端口3的对应虚端口,没有扩展端口1的虚端口,只可以监控扩展端口3。
图7是根据本发明优选实施例的CB快速发现和监控PE工作流程的示意图,如图7所示,根据本发明优选实施例的工作流程,当CB和PE建立连接后,PE便将扩展端口1、2、3全部用Extended Port Create消息通知给CB,CB根据该消息创建三个对应的虚接口,此时可以从CB设置和监控PE的三个扩展口的参数;当PE扩展口2、3的MAC_Operational变为TRUE,PE发送Status Parameters Set消息,CB能快速对扩展端口进行监控;当扩展口3 MAC_Operational再变为FALSE,PE也发送Status Parameters Set消息,CB的虚端口状态和PE的扩展端口状态仍然对应保持一致。
本优选实施例公开了一种数据中心网络技术中实现CB快速发现和监控PE的方法,该方法包括:建立一个扩展桥系统,包括CB和一个或多个PE;定义PE CSP协议,以此通过CB配置和监控PE;PE通过PE CSP定义的Extended Port Create消息向CB报告存在的扩展端口;在Extended Port Create消息中增加扩展端口的端口状态(MAC_Operational状态),CB通过该 消息动态发现PE扩展端口,并获得扩展端口的状态信息。采用本发明后,CB可以快速发现PE设备的扩展端口,并能及时获取到扩展端口的状态信息。
另外,在扩展桥系统中,PE通过Extended Port Create消息向CB报告存在的扩展端口的同时,向CB报告对应扩展端口的MAC_Operational状态;
CB收到Extended Port Create消息后,创建一个相应的虚端口,以便用户可以将物理桥的端口通过点对点LAN连接扩展到远端PE,并将扩展端口的MAC_Operational状态通过MAC_Enabled参数反馈到相应的虚端口;
PE收到Extended Port Create应答消息后,扩展端口的MAC_Enabled参数置TRUE。
在原有PE CSP协议基础上,在Extended Port Create消息中增加一个Port Status TLV,携带扩展端口MAC_Operational状态。
本优选实施例提出了一种数据中心网络技术中实现CB快速发现和监控PE的方法,通过在Extended Port Create消息中直接携带扩展端口的MAC_Operational状态,使CB可以快速发现和监控PE的所有扩展端口,同时减少了Status Parameters Set消息的发送,提高了处理效率。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行上述实施例方法的程序代码:
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行上述实施例的方法。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员 来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
基于本发明实施例提供的上述技术方案,扩展设备PE向控制设备CB发送扩展端口创建消息,其中,该扩展端口创建消息携带该PE的扩展端口的端口状态,该扩展端口创建消息用于通知该CB创建该扩展端口的虚端口,及用于该CB将该端口状态反馈至该虚端口,解决了控制设备CB无法快速发现和监控扩展设备PE的扩展端口的状态信息的问题,实现了CB可以快速发现和监控PE的所有扩展端口及状态信息,提高了处理效率。

Claims (13)

  1. 一种扩展端口的处理方法,包括:
    扩展设备PE向控制设备CB发送扩展端口创建消息,其中,所述扩展端口创建消息携带所述PE的扩展端口的端口状态,所述扩展端口创建消息用于通知所述CB创建所述扩展端口的虚端口,及用于所述CB将所述端口状态反馈至所述虚端口。
  2. 根据权利要求1所述的方法,其中,所述方法还包括:
    所述PE接收所述扩展端口创建消息的应答消息后,将所述扩展端口的链路状态设置为通。
  3. 根据权利要求1所述的方法,其中,所述扩展端口创建消息携带所述PE的扩展端口的端口状态包括:
    通过所述扩展端口创建消息中的端口状态三元组TLV字段携带所述端口状态。
  4. 一种扩展端口的处理方法,包括:
    控制设备CB接收扩展设备PE发送的扩展端口创建消息,其中,所述扩展端口创建消息携带有所述PE的扩展端口的端口状态;
    所述CB根据所述扩展端口创建消息创建所述扩展端口的虚端口,并将所述端口状态反馈至所述虚端口。
  5. 根据权利要求4所述的方法,其中,将所述端口状态反馈至所述虚端口包括:
    所述CB将所述端口状态通过用于指示链路状态的参数值反馈到所述虚端口。
  6. 根据权利要求4所述的方法,其中,包括:
    所述端口状态携带于所述扩展端口创建消息中的端口状态三元组TLV中。
  7. 一种扩展端口的处理装置,包括:
    发送模块,设置为扩展设备PE向控制设备CB发送扩展端口创建消息,其中,所述扩展端口创建消息携带所述PE的扩展端口的端口状态,所述扩展端口创建消息用于通知所述CB创建所述扩展端口的虚端口,及用于所述CB将所述端口状态反馈至所述虚端口。
  8. 根据权利要求7所述的装置,其中,所述装置还包括:
    应答模块,用于所述PE接收所述扩展端口创建消息的应答消息后,将所述扩展端口的链路状态设置为通。
  9. 根据权利要求7所述的装置,其中,所述扩展端口创建消息携带所述PE的扩展端口的端口状态包括:
    通过所述扩展端口创建消息中的端口状态三元组TLV字段携带所述端口状态。
  10. 一种扩展端口的处理装置,包括:
    接收模块,设置为控制设备CB接收扩展设备PE发送的扩展端口创建消息,其中,所述扩展端口创建消息携带有所述PE的扩展端口的端口状态;
    创建模块,设置为所述CB根据所述扩展端口创建消息创建所述扩展端口的虚端口,并将所述端口状态反馈至所述虚端口。
  11. 根据权利要求10所述的装置,其中,将所述端口状态反馈至所述虚端口包括:
    所述CB将所述端口状态通过设置为指示链路状态的参数值反馈到所述虚端口。
  12. 根据权利要求10所述的装置,其中,包括:
    所述端口状态携带于所述扩展端口创建消息中的端口状态三元组TLV中。
  13. 一种扩展端口的处理系统,包括:控制设备CB和一个或多个扩展设备PE;
    所述PE向所述CB发送扩展端口创建消息,其中,所述扩展端口创建消息携带所述PE的扩展端口的端口状态;
    所述CB根据所述扩展端口创建消息创建所述扩展端口的虚端口,并将所述端口状态反馈至所述虚端口。
PCT/CN2015/096867 2015-05-27 2015-12-09 扩展端口的处理方法、装置及系统 WO2016188081A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2017144315A RU2693903C1 (ru) 2015-05-27 2015-12-09 Способ, устройство и система обработки для расширенного порта

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510280185.0A CN106169982B (zh) 2015-05-27 2015-05-27 扩展端口的处理方法、装置及系统
CN201510280185.0 2015-05-27

Publications (1)

Publication Number Publication Date
WO2016188081A1 true WO2016188081A1 (zh) 2016-12-01

Family

ID=57359020

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/096867 WO2016188081A1 (zh) 2015-05-27 2015-12-09 扩展端口的处理方法、装置及系统

Country Status (3)

Country Link
CN (1) CN106169982B (zh)
RU (1) RU2693903C1 (zh)
WO (1) WO2016188081A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809672B (zh) * 2017-04-26 2022-04-19 中兴通讯股份有限公司 一种虚拟端口的管理方法及装置
CN109728991B (zh) * 2017-10-31 2021-11-02 中兴通讯股份有限公司 一种快速恢复扩展桥系统的方法、装置、设备及存储介质
CN109274516B (zh) * 2017-12-22 2022-01-25 新华三技术有限公司 一种扩展网桥及其上线控制方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480412A (zh) * 2010-11-24 2012-05-30 中兴通讯股份有限公司 实现S-channel建立的方法和系统
CN102769558A (zh) * 2011-05-06 2012-11-07 中兴通讯股份有限公司 获知端口扩展拓扑信息的方法、系统和控制桥
US8495551B2 (en) * 2009-12-17 2013-07-23 International Business Machines Corporation Shaping ports in integrated circuit design
CN104427012A (zh) * 2013-09-04 2015-03-18 杭州华三通信技术有限公司 端口协商方法和设备

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8249104B2 (en) * 2008-10-30 2012-08-21 Futurewei Technologies, Inc. Optical network terminal management and control interface over Ethernet
CN102684979B (zh) * 2011-03-11 2018-08-14 中兴通讯股份有限公司 一种支持虚拟终端的组播数据转发方法及装置
CN102223312B (zh) * 2011-07-26 2014-09-10 杭州华三通信技术有限公司 一种基于链路状态的流量控制方法和设备
US9077650B2 (en) * 2012-05-31 2015-07-07 Broadcom Corporation Multi-homing in an extended bridge
RU2549120C2 (ru) * 2012-12-21 2015-04-20 Акционерное общество "Концерн "Созвездие" Средство передачи данных телекоммуникационной сети и телекоммуникационная сеть
US9294396B2 (en) * 2013-03-12 2016-03-22 Dell Products L.P. Port extender
CN104092595B (zh) * 2014-07-21 2017-10-27 新华三技术有限公司 基于802.1br的虚拟化系统中的报文处理方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8495551B2 (en) * 2009-12-17 2013-07-23 International Business Machines Corporation Shaping ports in integrated circuit design
CN102480412A (zh) * 2010-11-24 2012-05-30 中兴通讯股份有限公司 实现S-channel建立的方法和系统
CN102769558A (zh) * 2011-05-06 2012-11-07 中兴通讯股份有限公司 获知端口扩展拓扑信息的方法、系统和控制桥
CN104427012A (zh) * 2013-09-04 2015-03-18 杭州华三通信技术有限公司 端口协商方法和设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IEEE STANDARDS ASSOCIATION: "IEEE Standard for Local and Metropolitan Area Networks-Virtual Bridged Local Area Networks-Bridge Port Extension", IEEE STD 802.1 BR TM-2012, 16 July 2012 (2012-07-16), pages 46 - 66 *

Also Published As

Publication number Publication date
CN106169982A (zh) 2016-11-30
CN106169982B (zh) 2020-09-08
RU2693903C1 (ru) 2019-07-05

Similar Documents

Publication Publication Date Title
US10778528B2 (en) Method and system of connecting to a multipath hub in a cluster
US9872205B2 (en) Method and system for sideband communication architecture for supporting manageability over wireless LAN (WLAN)
WO2015117401A1 (zh) 信息的处理方法及装置
CN107347205B (zh) 一种网络切片选择方法、装置及系统
US20170373931A1 (en) Method for updating network service descriptor nsd and apparatus
CN102123105B (zh) Vrrp标准协议与vrrp负载均衡协议之间的切换方法和设备
US20160344633A1 (en) Load balancing method, device, system and computer storage medium
WO2018024121A1 (zh) 一种网络功能nf管理方法及nf管理设备
WO2017084450A1 (zh) 云管理方法和系统
US20130201875A1 (en) Distributed fabric management protocol
CN111464454B (zh) 一种数据中心内虚拟bras设备负载分担方法及系统
CN104639913A (zh) 一种网络视频录像机及其自动接入ipc的方法
CN106506717A (zh) 一种自动发现方法及设备
KR101139836B1 (ko) 웹 서비스 기반 관리 서비스를 발견하기 위한 2단계 방식의방법 및 시스템
WO2016188081A1 (zh) 扩展端口的处理方法、装置及系统
CN103188171B (zh) 一种报文调度方法和设备
CN105960817B (zh) 通信设备和用于配置通信设备的方法、存储介质
WO2016180156A1 (zh) 路由器集群的升级系统、方法及装置
US10084656B2 (en) TRILL network establishing method, node, and system
CN105429900B (zh) 一种带宽提速的方法、装置及系统
CN114531357B (zh) 配置信息的对账方法及装置
EP3573303B1 (en) Forwarder network-access recognition method, sdn controller, and forwarder
WO2017080499A1 (zh) 管理指示发送、vnf自动伸缩功能的管理方法及装置
CN107666443B (zh) 一种报文转发方法及装置
WO2017219667A1 (zh) Mss的修改方法、装置及系统

Legal Events

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

Ref document number: 15893149

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2017144315

Country of ref document: RU

122 Ep: pct application non-entry in european phase

Ref document number: 15893149

Country of ref document: EP

Kind code of ref document: A1