WO2017000860A1 - 端口容量分配方法及装置、交换机业务板卡 - Google Patents

端口容量分配方法及装置、交换机业务板卡 Download PDF

Info

Publication number
WO2017000860A1
WO2017000860A1 PCT/CN2016/087309 CN2016087309W WO2017000860A1 WO 2017000860 A1 WO2017000860 A1 WO 2017000860A1 CN 2016087309 W CN2016087309 W CN 2016087309W WO 2017000860 A1 WO2017000860 A1 WO 2017000860A1
Authority
WO
WIPO (PCT)
Prior art keywords
port
virtual
switch
cfp2
service
Prior art date
Application number
PCT/CN2016/087309
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 中兴通讯股份有限公司
Publication of WO2017000860A1 publication Critical patent/WO2017000860A1/zh

Links

Images

Definitions

  • This document relates to but not limited to the field of communications, and relates to a port capacity allocation method and device, and a switch service board.
  • the port 100G standard Due to the development of the 100G standard, the port 100G standard has the SFF (Small Form Factor) standard 100G CXP and the CFP standard CFP/CFP2/CFP4.
  • SFF Small Form Factor
  • CFP2/CFP4 port capacity single mode that is, all ports of the service board are 100G ports, or all ports of the service board are 10G ports, this single port capacity
  • the allocation mode is difficult to meet the different business needs of different companies, and it is not even possible to provide the appropriate port capacity for different departments of the same company, which makes it impossible to flexibly deploy the network and greatly limit the application scenarios of the 100G switch service card.
  • the embodiments of the present invention provide a port capacity allocation method and device, and a switch service board, which can provide suitable port traffic for different companies or different departments to meet diverse service requirements of users and flexibly deploy network deployment and expand.
  • An embodiment of the present invention provides a port capacity allocation method, including: receiving an indication message sent by a network management system to indicate a dynamic port configuration of a port of a service card of a switch, where the indication message includes a port to be configured. Destination port mode information;
  • All the virtual ports obtained by the configuration are allocated to the plurality of virtual switches according to the service requirements of the user, so that the port capacity of the switch service board is redistributed through the virtual ports of the virtual switch.
  • the types of the optical modules supported by the port include: CXP 100G-SR12, CFP2/CFP4 100G-SR10, CFP2/CFP4 100G-LR4, or CFP2/CFP4 100G-ER4.
  • the port is configured as one or more virtual ports that meet the destination port mode information according to the type of the optical module supported by the port, including:
  • the port If the type of the optical module supported by the port is CXP 100GE-SR12, configure the port as SFP+12*10G SFI virtual port, QSFP+3*40G XLAUI virtual port, or 1*100G GAUI virtual port.
  • the port is configured as one or more virtual ports that meet the destination port mode information according to the type of the optical module supported by the port, including:
  • the port configures the port as an SFP+10*10G SFI virtual port, QSFP+2*40G XLAUI virtual port, or 1*100G. GAUI virtual port.
  • the port is configured as one or more virtual ports that meet the destination port mode information according to the type of the optical module supported by the port, including:
  • the port is configured as a 1*100G GAUI virtual port.
  • all the virtual ports that are configured are allocated to multiple virtual switches according to the service requirements of the user, including:
  • all virtual ports are grouped according to the service requirement, and each group of virtual ports is divided into virtual switches that meet the service requirements.
  • the method further includes: before receiving the indication message sent by the network management system to indicate dynamic port configuration of the port of the switch service card, configuring the switch according to the service type of the service card of the switch.
  • Switch chip and data interface transceiver inside the service board a port mapping relationship between the PHYs and a signal attribute of the switch chip;
  • the embodiment of the invention further provides a port capacity allocation device, comprising:
  • the receiving module is configured to receive an indication message that is sent by the network management system to indicate a dynamic port configuration of the port of the service card of the switch, where the indication message includes the destination port mode information of the port to be configured;
  • the first configuration module is configured to configure the port as one or more virtual ports that meet the destination port mode information according to the type of the optical module supported by the port;
  • the allocating module is configured to allocate all the virtual ports obtained by the configuration to the plurality of virtual switches according to the service requirements of the user, so that the port capacity of the switch service card is redistributed through the virtual port of the virtual switch.
  • the type of the optical module supported by the port includes: CXP 100G-SR12, CFP2/CFP4 100G-SR10, CFP2/CFP4 100G-LR4, or CFP2/CFP4 100G-ER4.
  • the first configuration module includes:
  • the first configuration unit is configured to configure the port as an SFP+12*10G SFI virtual port and a QSFP+3*40G XLAUI virtual port if the type of the optical module supported by the port is CXP 100GE-SR12. , or 1*100G GAUI virtual port.
  • the first configuration module includes:
  • a second configuration unit configured to configure the port as an SFP+10*10G SFI virtual port, QSFP+2*40G XLAUI if the type of the optical module supported by the port is CFP2/CFP4 100G-SR10 Virtual port, or 1*100G GAUI virtual port.
  • the first configuration module includes:
  • the third configuration unit is configured to configure the module as a 1*100G GAUI virtual port if the type of the optical module supported by the port is CFP2/CFP4 100G-LR4 or CFP2/CFP4 100G-ER4.
  • the allocation module includes:
  • the dividing unit is set to be based on the virtual logical device VLD function, according to the service requirement All virtual ports are grouped and each set of virtual ports is divided into virtual switches that meet the business needs.
  • the device further includes:
  • the second configuration module is configured to configure, according to the service type of the service card of the switch, a port mapping relationship between the switch chip and the data interface transceiver PHY inside the switch service card and a signal attribute of the switch chip;
  • an initialization module configured to initialize the switch chip and the PHY according to the mapping relationship and the signal attribute.
  • the embodiment of the present invention further provides a switch service board, including a board system, and the board system includes any port capacity allocation device.
  • the embodiment of the invention further provides a computer readable storage medium, wherein the computer readable storage medium stores computer executable instructions, and the computer executable instructions are implemented to implement a port capacity allocation method.
  • the port capacity allocation method and device, and the service card of the switch according to the embodiment of the present invention may be combined with different types of optical modules that can be supported by the service card port of the switch according to the configuration information sent by the network management system.
  • the flexibility of network deployment has expanded the application scenarios of switch service boards. Other aspects will be apparent upon reading and understanding the drawings and detailed description.
  • FIG. 1 is a flowchart of a port capacity allocation method according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic diagram of port link construction according to Embodiment 2 of the present invention.
  • FIG. 3 is a schematic diagram showing the logical structure of an internal implementation of a port link according to Embodiment 2 of the present invention.
  • FIG. 4A is a schematic diagram of an implementation process of a capacity layout of a 100G card port according to Embodiment 2 of the present invention.
  • 4B is a schematic diagram of a capacity allocation process of a 100G card port according to Embodiment 2 of the present invention.
  • FIG. 5 is a schematic diagram of network deployment according to Embodiment 2 of the present invention.
  • FIG. 6 is a structural block diagram of a port capacity allocation apparatus according to Embodiment 3 of the present invention.
  • FIG. 7 is a block diagram showing another structure of a port capacity allocation apparatus according to Embodiment 3 of the present invention.
  • the main idea of the technical solution provided by the embodiment of the present invention is: high speed between the switch chip of the 100G switch service card and the physical interface transceiver (PHY) (ie, the system side) Based on the signals 4*25G, 12/10*10G and 1*100G, CXP, CFP2SR10, CFP2LR4/ER4, N*QSFP+, N are supported in combination with the data interface transceiver (PHY) and the optical module (ie, the link side). *SFP+ and other optical module ports enable the port-based free network layout of the service board. Based on the software, the dynamic allocation of the 100G port capacity can be realized through software.
  • FIG. 1 is a flowchart of a port capacity allocation method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps (step S102-step S106):
  • Step S102 Receive an indication message that is sent by the network management system to indicate a dynamic port configuration of the port of the service card of the switch, where the indication message includes the destination port mode information of the port to be configured.
  • Step S104 Configure the port as one or more virtual ports that meet the destination port mode information according to the type of the optical module supported by each port.
  • Step S106 All the virtual ports obtained by the configuration are allocated to the plurality of virtual switches according to the service requirements of the user, so that the port capacity of the switch service board is redistributed through the virtual port of the virtual switch.
  • switch service boards such as a 40G switch service card and a 100G switch service card. Since the application of the current 100G switch service card is widely used, the embodiment of the present invention focuses on the 100G switch service board.
  • the port of the optical module of the card performs dynamic capacity allocation, which can meet the diversified capacity usage requirements of users compared with the traditional single port capacity usage mode.
  • the type of the optical module supported by the port may include: CXP 100G-SR12, CFP2/CFP4 100G-SR10, CFP2/CFP4 100G-LR4, or CFP2/CFP4 100G-ER4.
  • the process of configuring the ports of the optical module in the foregoing step S104 can be implemented in the following manner:
  • the port is CXP 100GE-SR12, you can configure the port as SFP+12*10G SFI virtual port, QSFP+3*40G XLAUI virtual port, or 1*100G GAUI virtual. port.
  • the port can be configured as SFP+10*10G SFI virtual port, QSFP+2*40G XLAUI virtual port, or 1*100G. GAUI virtual port.
  • the port can be configured as a 1*100G GAUI virtual port.
  • step S106 can be implemented in the following manner: firstly, according to the virtual logical device (VLD) function, all virtual ports are grouped according to service requirements, and each group of virtual ports is divided into service requirements. In the virtual switch.
  • VLD virtual logical device
  • the method further includes: before performing step S102, configuring port mapping relationship between the switch chip and the PHY inside the switch service card and the switch chip according to the service type of the service card of the switch. Signal properties; then initialize the switch chip and PHY according to the mapping relationship and signal properties.
  • the foregoing embodiment can be applied to a scenario in which a 100G switch service card is connected to a plurality of types of optical modules and a plurality of types of port capacity is used. Since the CXP and the CFP2 optical modules have different encapsulations, The type of service board is used to determine the port and mapping relationship used by the service board. The Serdes rate between the switch chip (MAC) and the physical interface transceiver (PHY) is 4*25G, 12/10*10G or 1*100G. According to the corresponding CXP, CFP2SR10, CFP2LR4/ER4, 10*SFP+ access characteristics and physical access optical module types, the physical interface of the 100G service card is dynamically removed.
  • MAC switch chip
  • PHY physical interface transceiver
  • the port is connected to a CXP optical module, it can be used as a 1*100G or 3*40G or 12*10G port. If the port is connected to a CFP2SR10 optical module, it can be used as 1*100G. Or use 2*40G or 10*10G ports. If the port is connected to the CFP2LR4/ER4 optical module, it can be used as a 100G port.
  • the port capacity of the 100G switch board can be combined and configured, and the port can be freely divided into each virtualized switch, which not only realizes the dynamic setting of the port capacity of the 100G service card, but also can be virtualized. Achieve flexible network deployment and management of overall network structure port capacity.
  • the external interface physical port includes several types of ports, such as 100G CXP and 100G CFP/CFP2/CFP4.
  • This embodiment enables the actual physical terminals of the switch service board to be compatible with different types of 100G optical modules, and dynamically manages port attributes to 1. *100G/M*40G/N*10G, based on port virtualization to different switching devices, can flexibly allocate port capacity to the network layout.
  • FIG. 2 is a schematic diagram of port link construction according to an embodiment of the present invention.
  • the external port of the single service card in FIG. 2 is M CXP ports or N CFP2 ports, and the service board is adopted.
  • Type attribute and switch chip attribute which can identify the switch chip MAC
  • the high-speed Serdes link to the physical interface transceiver PHY is 12/10*10G, 4*25G, 1*100G path, as the HOST side of the 100G link (ie, the system side), and the LINE side of the PHY chip (ie, the line side). It is equipped with 10*10G CAUI, 4*28VSR, 3/2*40G XLAUI, and 10*10G SFI through dynamic port attribute management.
  • the optical module connected to each port is CXP 100G-SR12, which can dynamically set a single port to 100G or split into three 40G ports or 12 10G ports through the network management system.
  • M CXP 100G ports can dynamically allocate port capacity independently. When one CXP port is used as one 100G port, it is connected to other CXP 100 ports through MPO (Multi-fiber Push On) fiber. When one CXP port is split into three 40G ports, it needs to be transferred by MPO.
  • MPO Multi-fiber Push On
  • the optical modules connected to each port are CFP2 100G-SR10 or CFP2 100G-LR4/ER4.
  • 10 10G ports the CFP2 100G-SR10 optical module link adopts 10*10G, which can be dynamically split and merged.
  • the 100G-LR4/ER4 optical module link uses 4*25G, it cannot be dynamically removed.
  • the MPO adapter fiber is connected to the 40G or 10G port respectively.
  • the CFP2 100G-SR10 or 100G-LR4/ER4 optical module can be connected to the optical module type and returned to the physical interface transceiver and switch chip to automatically support CFP2 100G optical modules.
  • N CFP2 100G ports can dynamically allocate port capacity independently. After the upper management device dynamically allocates port attributes, you need to access the corresponding types of optical modules in combination with the CFP2 features.
  • the port access CXP optical module can be dynamically split into 12*10G ports, 3*40G ports, or merged into 1*100G ports.
  • Ports connected to CFP2 SR12 optical modules can be dynamically split into 10*10G ports.
  • CFP2 LR4 and CFP2 ER4 are suitable for long-distance transmission and can only be used
  • the transmission distances of different types of ports are: CXP 100G-SR12 transmission distance is 100-800m, 100G CFP2/CFP4-SR10 transmission distance is 100-800m, 100G CFP2/CFP4-LR4 transmission The distance is 10Km, and the transmission distance of 100G CFP2/CFP4-ER4 is 30Km. Therefore, the 100G switch service card is not limited to a single 100GE.
  • the diversified port transmission distance can meet the user's service requirements to a large extent, but the port-based dynamic allocation means that the external port can be flexibly managed.
  • FIG. 3 is a schematic diagram of a logical structure of an internal implementation of a port link according to an embodiment of the present invention.
  • the logical structure uses a bidirectional circular link table as a port resource management pool of a driver layer, and a head node is a port general attribute resource. It includes basic information about the switch service board, port mapping relationship, Serdes rate, and internal port attributes of the switch chip.
  • the corresponding port common attribute resource is loaded, and the port initialization of the switch chip (MAC) is performed, and the associated data interface transceiver (PHY) and the optical module related initialization are performed in the doubly linked list.
  • Add a new node According to the capacity allocation feature of the save port of the previous operation of the service board, the subsequent initial node is established.
  • the network management system dynamically splits the merged port, the doubly linked list in the logical structure increases accordingly. Node or delete a node.
  • each switch chip MAC
  • the ports are established as unit-0/port-1 structure nodes and unit-0/port-13 structures. Nodes, more switching chip units and so on.
  • the port resource management pool is established. For example, for CXP port operation, if the network management system dynamically splits uni-0/port-1 into 12 10G ports, modify the unit-0/port-1 structure related attributes and from unit-0/port. The -1 position increases the node, that is, the unit-0/port-2 to unit-0/12 nodes can be established and the related attribute values are filled.
  • FIG. 4A is a schematic diagram of an implementation process of a capacity layout of a 100G card port according to an embodiment of the present invention.
  • the system will identify the related features of the switch service board to determine whether to support the CXP service board or the CFP2/4 service board. In the case of determining support, configure the port mapping relationship.
  • the high-speed signal property of the switch chip is initialized during the initialization process of the switch chip, and the port state is automatically managed according to the saved port configuration and the type of the optical module accessed by the external port.
  • FIG. 4B is a schematic diagram of a capacity allocation process of a 100G card port according to an embodiment of the present invention. As shown in FIG. 4B, the process includes the following steps:
  • Step S402 performing a splitting or merging action of the port
  • Step S404 setting a source port mode and a destination port mode, and recording a chip number and a port number to be operated;
  • Step S406 creating a new chip port bitmap
  • Step S408 performing clearing of the port rate, setting the bandwidth setting information of each sub-module of the port to the incoming direction, and clearing all the path data related to the port;
  • Step S410 Perform port configuration information adjustment, remove the old port configuration, and add a new port configuration.
  • Step S412 setting a port rate, setting a bandwidth of each sub-module of the port to the inbound direction, and making the port have the characteristics of sending and receiving packets;
  • Step S414 adjusting the data interface transceiver (PHY) driver to be compatible with different 100G optical modules;
  • the port can be connected to the CXP 100G-SR12 optical module, and can be in the 1 ⁇ 100G CAUI, 12 ⁇ 10G SFP+. Switching between port modes such as 3 ⁇ 40G QSFP+, and M ports can be dynamically and independently adjusted.
  • the port can be connected to the CFP2 100G-SR10 or CFP2 100G-LR4/ER4 optical modules.
  • the port configuration and optical module access are independent of each other, but only if the CFP2 100G is satisfied.
  • -SR10 you can perform 1 ⁇ 100G CAUI
  • Switching port mode switching between 10 ⁇ 10G SFP+ and 2 ⁇ 40G QSFP+, CFP2 100G-LR4/ER4 only supports 1 ⁇ 100G CAUI.
  • the switch data link port can work normally. Assume that the connection abnormality occurs, the system will inform the network management system of the port mode mismatch or the associated optical module type mismatch and other related fault information.
  • the port of the service board is the CXP 100G-SR12 optical module.
  • the default is 100G startup. If one port is configured as the split 10G ports according to the saved port, the system will use the source port mode as 100G. In the CAUI, the destination port mode is 10G SFI for port splitting. According to the above operation steps, one 100G port is finally split into 12 10G ports and fed back to the upper network management system.
  • the system can perform port consolidation based on the source port mode being 10G SFI and the destination port mode being 100G CAUI without affecting the normal operation of other ports.
  • the dynamic adjustment of one 100G port and three 40G ports is performed in the same way.
  • the port conversion between M*40G and N*10G needs to be split into 100G ports and then split to achieve the corresponding port capacity replacement.
  • the CFP2 service board is implemented in the same way.
  • the upper-layer network management system can also dynamically adjust the port attributes based on a single port, and implement a flexible port capacity allocation and port isolation function for the port-based VLD.
  • FIG. 5 is a schematic diagram of network deployment according to an embodiment of the present invention.
  • a 100G port of a switch service card is freely allocated as 12*10/10*10G SFI, 3*40/2*40G XLAUI, 1*.
  • the 100G CAUI can flexibly allocate the ports of the service card according to the service card features of the M CXP ports or the N CFP2 ports, and adjust the port characteristics when the switch service card is running normally.
  • the dynamic replacement port capacity of each 100G port does not affect each other, and the current single port mode is used to enhance the application scenario of the 100G service card.
  • the ports can be flexibly distributed in different virtualized switch devices, and the ports can be freely combined with the lower-layer or upper-layer network devices, and can be separately and independently managed. Based on the dynamic adjustment of the port mode of the 100G switch service card, combined with the VLD virtualization function, the port capacity can be flexibly deployed.
  • the physical number 1 port of the switch service card (1) is split into multiple 40G or 10G logical ports, and the lower layer network devices are connected according to the network capacity requirements of department 1 and department B of the company 1.
  • Department C connects to a single 100G logical port and acts on the service board.
  • Physical port PORT1 to m are divided into multiple logical ports divided by port configuration, set to VLD1 virtualization device, company 2 is allocated according to actual needs, and is set in VLD2 virtualization device, and can be based on port distribution VLD Virtually versatile, it is possible to assign different logical ports across service boards to the same virtualized switching device, for example, VLD3 in FIG. This not only realizes the flexible distribution of port capacity of physical ports, but also manages different capacity logical ports independently.
  • FIG. 6 is a structural block diagram of a port capacity allocation apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes: a receiving module 10, a first configuration module 20, and an allocation module 30. among them:
  • the receiving module 10 is configured to receive an indication message that is sent by the network management system to indicate a dynamic port configuration of the port of the service card of the switch, where the indication message includes the destination port mode information of the port to be configured; the first configuration module 20 The configuration is configured to configure the port as one or more virtual ports that meet the destination port mode information according to the type of the optical module supported by the port; the allocation module 30 is configured to allocate all the virtual ports obtained by the configuration according to the service requirement of the user. Multiple virtual switches enable the port capacity of the switch service board to be reallocated through the virtual port of the virtual switch.
  • the types of optical modules supported by each port may include: CXP 100G-SR12, CFP2/CFP4 100G-SR10, CFP2/CFP4 100G-LR4, or CFP2/CFP4 100G-ER4.
  • CXP 100G-SR12 CFP2/CFP4 100G-SR10
  • CFP2/CFP4 100G-LR4 CFP2/CFP4 100G-LR4
  • different units are configured in the first configuration module 20 for making adjustments for ports of different optical module types:
  • the first configuration module 20 may include: a first configuration unit 22 configured to configure the port as an SFP+12*10G SFI virtual port if the type of the optical module supported by the port is CXP 100GE-SR12, QSFP+3*40G XLAUI virtual port, or 1*100G GAUI virtual port.
  • the first configuration module 20 may include: a second configuration unit 24, configured to be supported on the port
  • the port is configured as an SFP+10*10G SFI virtual port, a QSFP+2*40G XLAUI virtual port, or a 1*100G GAUI virtual port.
  • the first configuration module 20 may include: a third configuration unit 26 configured to configure the port to be configured when the type of the optical module supported by the port is CFP2/CFP4 100G-LR4 or CFP2/CFP4 100G-ER4 1*100G GAUI virtual port.
  • the foregoing allocation module 30 includes: a dividing unit 32 configured to group all virtual ports according to service requirements based on a virtual logical device (VLD) function, and divide each group of virtual ports into virtual switches that meet service requirements. in.
  • VLD virtual logical device
  • the foregoing apparatus may further include: a second configuration module 40, configured to configure port mapping between the switch chip and the PHY inside the switch service board according to the service type of the switch service board The signal attribute of the relation and switch chip; the initialization module 50 is configured to initialize the switch chip and the PHY according to the mapping relationship and the signal attribute.
  • a second configuration module 40 configured to configure port mapping between the switch chip and the PHY inside the switch service board according to the service type of the switch service board The signal attribute of the relation and switch chip
  • the initialization module 50 is configured to initialize the switch chip and the PHY according to the mapping relationship and the signal attribute.
  • the embodiment of the present invention further provides a switch service board, where the switch service board can be a current 40G switch service board and a 100G switch service board, and the switch service board includes a board system, and the board system includes Any of the foregoing port capacity allocation devices (such as the port capacity distribution device shown in FIG. 6 or FIG. 7).
  • the network deployment can be extended to multiple switch service boards.
  • the ports of the service board devices can be in the same virtual device as the VLD-virtual multi-device environment.
  • a more complex port-based virtual environment, and multi-ports in the same virtual environment can dynamically adjust port attributes and different port characteristics of different virtual environments to achieve flexible layout of port capacity for network deployment.
  • the embodiment of the invention further provides a computer readable storage medium, wherein the computer readable storage medium stores computer executable instructions, and the computer executable instructions are implemented to implement a port capacity allocation method.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • This application is not limited to any specific combination of hardware and software.
  • the above technical solution can meet the different service requirements of the user, flexibly configure the network, and enhance the application scenario of the switch service card.

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

一种端口容量分配方法及装置、交换机业务板卡。其中,该端口容量分配方法包括:接收网管系统发送的用于指示对交换机业务板卡的端口进行动态端口配置的指示消息,其中,指示消息包括需要配置的端口的目的端口模式信息;根据端口支持的光模块的类型,将该端口配置为符合目的端口模式信息的一个或多个虚拟端口;按照用户的业务需求,将配置得到的所有虚拟端口分配给多个虚拟交换机,使得交换机业务板卡的端口容量通过虚拟交换机的虚拟端口得到重新分配。通过本发明实施例的技术方案,可以满足用户的不同业务需求,能够灵活配置网络,并增强交换机业务板卡的应用场景的效果。

Description

端口容量分配方法及装置、交换机业务板卡 技术领域
本文涉及但不限于通信领域,涉及一种端口容量分配方法及装置、交换机业务板卡。
背景技术
由于100G标准发展原因,端口100G标准有SFF(Small Form Factor,小型化光纤连接器件)标准的100G CXP和CFP标准的CFP/CFP2/CFP4。相关的100G交换机业务板卡应用主要集中在CXP、CFP2/CFP4端口容量单一模式使用,即业务板卡所有端口都为100G端口,或者业务板卡所有端口都为10G端口,这种单一的端口容量分配模式很难满足不同公司的不同业务需求,甚至无法为同一公司的不同部门提供合适的端口容量,导致无法灵活地开展网络部署,并极大限制了100G交换机业务板卡的应用场景。
然而,针对上述技术问题,相关技术并没有给出一种有效的解决方案。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供了一种端口容量分配方法及装置、交换机业务板卡,可以为不同公司或不同部门提供合适的端口流量,以满足用户的多样化的业务需求且能够灵活开展网络部署,扩展100G交换机业务板卡的应用场景。
本发明实施例提供了一种端口容量分配方法,包括:接收网管系统发送的用于指示对交换机业务板卡的端口进行动态端口配置的指示消息,其中,所述指示消息包括需要配置的端口的目的端口模式信息;
根据端口支持的光模块的类型,将该端口配置为符合所述目的端口模式信息的一个或多个虚拟端口;
按照用户的业务需求,将配置得到的所有虚拟端口分配给多个虚拟交换机,使得所述交换机业务板卡的端口容量通过所述虚拟交换机的虚拟端口得到重新分配。
可选地,所述端口支持的所述光模块的类型包括:CXP 100G-SR12、CFP2/CFP4 100G-SR10、CFP2/CFP4 100G-LR4、或者CFP2/CFP4 100G-ER4等。
可选地,所述根据端口支持的光模块的类型,将该端口配置为符合所述目的端口模式信息的一个或多个虚拟端口,包括:
在所述端口支持的所述光模块的类型为CXP 100GE-SR12的情况下,将该端口配置为SFP+12*10G SFI虚拟端口、QSFP+3*40G XLAUI虚拟端口、或1*100G GAUI虚拟端口。
可选地,所述根据端口支持的光模块的类型,将该端口配置为符合所述目的端口模式信息的一个或多个虚拟端口,包括:
在所述端口支持的所述光模块的类型为CFP2/CFP4 100G-SR10的情况下,将该端口配置为SFP+10*10G SFI虚拟端口、QSFP+2*40G XLAUI虚拟端口、或1*100G GAUI虚拟端口。
可选地,所述根据端口支持的光模块的类型,将该端口配置为符合所述目的端口模式信息的一个或多个虚拟端口,包括:
在所述端口支持的所述光模块的类型为CFP2/CFP4 100G-LR4或CFP2/CFP4 100G-ER4的情况下,将该端口配置为1*100G GAUI虚拟端口。
可选地,按照用户的业务需求,将配置得到的所有虚拟端口分配给多个虚拟交换机,包括:
基于虚拟逻辑设备VLD功能,按照所述业务需求对所有虚拟端口进行分组,并将每组虚拟端口划分到符合所述业务需求的虚拟交换机中。
可选地,所述方法还包括:在接收网管系统发送的用于指示对交换机业务板卡的端口进行动态端口配置的指示消息之前,根据所述交换机业务板卡的业务类型,配置所述交换机业务板卡内部的交换芯片和数据接口收发器 PHY之间的端口映射关系和所述交换芯片的信号属性;
根据所述映射关系和所述信号属性初始化所述交换芯片和所述PHY。
本发明实施例还提供一种端口容量分配装置,包括:
接收模块,设置为接收网管系统发送的用于指示对交换机业务板卡的端口进行动态端口配置的指示消息,其中,所述指示消息包括需要配置的端口的目的端口模式信息;
第一配置模块,设置为根据端口支持的光模块的类型,将该端口配置为符合所述目的端口模式信息的一个或多个虚拟端口;
分配模块,设置为按照用户的业务需求,将配置得到的所有虚拟端口分配给多个虚拟交换机,使得所述交换机业务板卡的端口容量通过所述虚拟交换机的虚拟端口得到重新分配。
可选地,所述端口支持的所述光模块的类型包括:CXP 100G-SR12、CFP2/CFP4 100G-SR10、CFP2/CFP4 100G-LR4、或者CFP2/CFP4 100G-ER4。
可选地,所述第一配置模块包括:
第一配置单元,设置为在所述端口支持的所述光模块的类型为CXP 100GE-SR12的情况下,将该端口配置为SFP+12*10G SFI虚拟端口、QSFP+3*40G XLAUI虚拟端口、或1*100G GAUI虚拟端口。
可选地,所述第一配置模块包括:
第二配置单元,设置为在所述端口支持的所述光模块的类型为CFP2/CFP4 100G-SR10的情况下,将该端口配置为SFP+10*10G SFI虚拟端口、QSFP+2*40G XLAUI虚拟端口、或1*100G GAUI虚拟端口。
可选地,所述第一配置模块包括:
第三配置单元,设置为在所述端口支持的所述光模块的类型为CFP2/CFP4 100G-LR4或CFP2/CFP4 100G-ER4的情况下,将该模块配置为1*100G GAUI虚拟端口。
可选地,所述分配模块包括:
划分单元,设置为基于虚拟逻辑设备VLD功能,按照所述业务需求对 所有虚拟端口进行分组,并将每组虚拟端口划分到符合所述业务需求的虚拟交换机中。
可选地,所述装置还包括:
第二配置模块,设置为根据所述交换机业务板卡的业务类型,配置所述交换机业务板卡内部的交换芯片和数据接口收发器PHY之间的端口映射关系和所述交换芯片的信号属性;
初始化模块,设置为根据所述映射关系和所述信号属性初始化所述交换芯片和所述PHY。
本发明实施例还提供了一种交换机业务板卡,包括板卡系统,所述板卡系统包括上述任一端口容量分配装置。
本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令被执行时实现端口容量分配方法。
与相关技术相比,本发明实施例所述的端口容量分配方法及装置、交换机业务板卡,可以根据网管发送的配置信息,并结合交换机业务板卡端口所能够支持的光模块的不同类型,将交换机业务板卡端口重新配置为更符合用户业务传输要求多样化的虚拟端口,并将虚拟端口分配到多个虚拟交换机中,而且动态调整的过程在系统工作过程中就可以进行,从而可以提高了网络部署的灵活性,扩大了交换机业务板卡的应用场景。在阅读并理解了附图和详细描述后,可以明白其它方面。
附图说明
图1是根据本发明实施例一的端口容量分配方法流程图;
图2是根据本发明实施例二的端口链路搭建示意图;
图3是根据本发明实施例二的端口链路内部实现的逻辑结构示意图;
图4A是根据本发明实施例二的100G板卡端口容量布局的实现过程示意图;
图4B是根据本发明实施例二的100G板卡端口容量分配流程示意图;
图5是根据本发明实施例二的网络部署示意图;
图6是根据本发明实施例三的端口容量分配装置的结构框图;
图7是根据本发明实施例三的端口容量分配装置的另一结构框图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域的普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。
为了解决相关技术中存在的上述技术缺陷,本发明实施例提供的技术方案的主要思路是:在100G交换机业务板卡的交换芯片和物理接口收发器(PHY)之间(即系统侧)的高速信号4*25G、12/10*10G和1*100G的基础上,结合数据接口收发器(PHY)和光模块之间(即链路侧)支持CXP、CFP2SR10、CFP2LR4/ER4、N*QSFP+、N*SFP+等光模块端口,实现业务板卡基于端口的自由网络布局,在不改变硬件设备的基础上,通过软件实现100G端口容量的动态可分配。
实施例一
本发明实施例提供了一种端口容量分配方法。图1是根据本发明实施例的端口容量分配方法流程图,如图1所示,该流程包括以下步骤(步骤S102-步骤S106):
步骤S102、接收网管系统发送的用于指示对交换机业务板卡的端口进行动态端口配置的指示消息,其中,指示消息包括需要配置的端口的目的端口模式信息;
步骤S104、根据每个端口支持的光模块的类型,将该端口配置为符合目的端口模式信息的一个或多个虚拟端口;
步骤S106、按照用户的业务需求,将配置得到的所有虚拟端口分配给多个虚拟交换机,使得交换机业务板卡的端口容量通过虚拟交换机的虚拟端口得到重新分配。
在实际应用中,交换机业务板卡的种类有很多,例如40G交换机业务板卡,100G交换机业务板卡,由于目前100G交换机业务板卡的应用比较广泛,因此本发明实施例重点对100G交换机业务板卡的光模块的端口进行容量动态分配,相对于传统比较单一的端口容量使用模式,可以满足用户多样化的容量使用需求。
在本发明实施例中,端口支持的光模块的类型可以包括:CXP 100G-SR12、CFP2/CFP4 100G-SR10、CFP2/CFP4 100G-LR4、或者CFP2/CFP4 100G-ER4。
根据这几种光模块的类型,上述步骤S104中对光模块的端口进行配置的过程可以通过以下方式实现:
(1)在端口支持的光模块的类型为CXP 100GE-SR12的情况下,可以将该端口配置为SFP+12*10G SFI虚拟端口、QSFP+3*40G XLAUI虚拟端口、或1*100G GAUI虚拟端口。
(2)在端口支持的光模块的类型为CFP2/CFP4 100G-SR10的情况下,可以将该端口配置为SFP+10*10G SFI虚拟端口、QSFP+2*40G XLAUI虚拟端口、或1*100G GAUI虚拟端口。
(3)在端口支持的光模块的类型为CFP2/CFP4 100G-LR4或CFP2/CFP4100G-ER4的情况下,可以将该端口配置为1*100G GAUI虚拟端口。
在本发明实施例中,上述步骤S106可以通过这样的方式来实现:先基于虚拟逻辑设备(VLD)功能,按照业务需求对所有虚拟端口进行分组,并将每组虚拟端口划分到符合业务需求的虚拟交换机中。
可选地,所述方法还包括:在执行上述步骤S102之前,还可以先根据交换机业务板卡的业务类型,配置交换机业务板卡内部的交换芯片和PHY之间的端口映射关系和交换芯片的信号属性;再根据映射关系和信号属性初始化交换芯片和PHY。
这样做的目的是为了上述方式(1)(2)(3)中对端口进行拆分或合并 的过程做准备工作。
在实际应用中,上述实施例可针对100G交换机业务板卡接入多种类型光模块的兼容支持和虚拟化多种端口容量的场景进行应用,由于CXP和CFP2光模块具有封装区别,因此可以依据业务板卡的类型区分确定业务板卡使用的端口和映射关系,通过交换芯片(MAC)和物理接口收发器(PHY)间的Serdes速率为4*25G、12/10*10G或1*100G进行设置,再根据物理接口收发器和光模块之间对应的CXP、CFP2SR10、CFP2LR4/ER4,10*SFP+接入特性,以及物理接入光模块类型,对100G业务板卡的任意端口进行独立的动态拆分和合并,依据光模块特性的不同,如果端口接入CXP光模块,可以用作1*100G或3*40G或12*10G端口使用,如果端口接入CFP2SR10光模块,可以用作1*100G或2*40G或10*10G端口使用,如果端口接入CFP2LR4/ER4光模块,可以用作100G端口使用。
结合基于端口的虚拟化技术,可对100G交换机板卡的端口容量进行组合布局,将端口自由划分在每个虚拟化交换机里面,不仅实现了100G业务板卡的端口容量动态设置,且可以通过虚拟化实现整体网络结构端口容量灵活的网络部署和管理。
实施例二
为便于理解上述实施例提供的端口容量分配方法的实现过程,以下结合实施例二和附图2至5进行更加详细的描述。
该实施例主要以100G交换机业务板卡为例进行说明。外部接口物理端子包括100G CXP和100G CFP/CFP2/CFP4等几种类型的端口,该实施例可以使交换机业务板实际物理端子做到对不同类型100G光模块的兼容,并动态管理端口属性为1*100G/M*40G/N*10G,基于端口虚拟化到不同交换设备中,能够将端口容量灵活分配到网络布局中。
图2是根据本发明实施例的端口链路搭建示意图,请参考图2以便于理解,假设图2中的单个业务板卡的外部端口为M个CXP端口或者N个CFP2端口,通过业务板卡的类型属性和交换芯片属性,可以识别交换芯片MAC 对接物理接口收发器PHY的高速Serdes链路为12/10*10G、4*25G、1*100G通路,作为100G链路的HOST侧(即系统侧),PHY芯片的LINE侧(即线路侧)通过动态的端口属性管理搭载10*10G CAUI、4*28VSR、3/2*40G XLAUI、10*10G SFI。
对于M个CXP端口的业务板卡来说,每个端口对接的光模块为CXP 100G-SR12,可以通过网管系统动态设置单个端口为100G还是拆分成3个40G端口或12个10G端口,且M个CXP 100G端口可以独立的动态分配端口容量。当1个CXP端口作为1个100G端口使用时,通过MPO(Multi-fiber Push On)光纤对接其它CXP 100端口使用,当1个CXP端口被拆分成3个40G端口使用时,需要通过MPO转接光纤对接其它的3个40G QSP+端口使用,当1个CXP端口被拆分成12个10G端口使用时,需要通过MPO转接光纤对接其它的12个10G SFP+端口使用,其它的M-1个CXP端口同理适用此应用。
对于N个CFP2端口的业务板卡来说,每个端口对接的光模块为CFP2 100G-SR10或者CFP2 100G-LR4/ER4,可以通过网管系统动态设置单个端口为100G还是拆分成2个40G端口或10个10G端口,CFP2 100G-SR10光模块链路采用10*10G,可以进行动态拆分合并。但是,由于100G-LR4/ER4光模块链路采用4*25G,故无法进行动态拆。当1个CFP2端口拆分成2个40G端口或者10个10G端口时,只有对接CFP2 100G-SR10光模块才能正常使用,通过MPO转接光纤分别对接40G或10G端口,当1个CFP2端口作为1个100G端口使用时,可以对接CFP2 100G-SR10或者100G-LR4/ER4光模块,并通过光模块类型获取,返回驱动物理接口收发器和交换芯片特性,使其自动支持CFP2 100G不同类型光模块的使用。N个CFP2 100G端口可以独立的动态分配端口容量,在上层管理设备动态分配端口属性之后,需要结合前述的CFP2特性接入相应类型的光模块。
在实际应用中,端口接入CXP光模块可以动态拆分为12*10G端口、3*40G端口或合并为1*100G端口,端口接入CFP2 SR12光模块可以动态拆分为10*10G端口、2*40G端口或合并为1*100G端口,依据光模块器件特性适合于几百米的传输,CFP2 LR4以及CFP2 ER4适合于长距离传输且仅能作 为1*100G端口,不同类型的端口的传输距离情况是:CXP 100G-SR12的传输距离为100-800m,100G CFP2/CFP4-SR10的传输距离为100-800m,100G CFP2/CFP4-LR4的传输距离为10Km,100G CFP2/CFP4-ER4的传输距离为30Km。因此,100G交换机业务板卡不仅仅局限于单一的100GE使用,多样化的端口传输距离能较大程度满足用户的业务需求,而是基于端口的动态分配即对外部端口都可灵活管理。
图3是根据本发明实施例的端口链路内部实现的逻辑结构示意图,如图3所示,该逻辑结构采用双向循环链表作为驱动层的端口资源管理池,头结点为端口通用属性资源,包括交换机业务板卡的基本信息、端口映射关系、Serdes速率、以及交换芯片内部端口属性等。
当识别到具体的业务板卡类型时,加载相应的端口通用属性资源,并进行交换芯片(MAC)的端口初始化,结合挂接的数据接口收发器(PHY)和光模块相关初始化,会在双向链表中增加新结点。依据本业务板卡上电前一次运行的保存端口容量分配特性,建立后续初始结点,业务板卡启动完成后,网管系统动态拆分合并端口时,该逻辑结构中的双向链表会相应的增加结点或删除结点。
例如,当全部端口按照100G启动时,假设每个交换芯片(MAC)支持两条100G数据链路,端口建立为unit-0/port-1结构体结点和unit-0/port-13结构体结点,更多的交换芯片unit以此类推。当本业务板启动完成后,该端口资源管理池建立完毕。例如,针对CXP端口操作,若网管系统对uni-0/port-1进行动态拆分成12个10G端口时,通过修改unit-0/port-1结构体相关属性,并从unit-0/port-1位置增加结点,即可以建立unit-0/port-2到unit-0/12结点以及填充相关属性值。若对uni-0/port-1到unit-0/port-12这12个10G端口进行端口动态合并,则在双向循环链表中删除unit-0/port-2到unit-0/12结点,并修改unit-0/port-1结构体相关属性。若对unit-0/port-1进行动态拆分成3个40G端口时,通过修改unit-0/port-1结构体相关属性,并从unit-0/port-1位置增加结点,即可以建立unit-0/port-5、unit-0/port-9结点以及填充相关属性值。对于unit-0/port-13进行动态拆分合并操作,其与unit-0/port-1类似。
图4A是根据本发明实施例的100G板卡端口容量布局的实现过程示意图, 如图4所示,100G板卡启动时,系统会识别交换机业务板卡的相关特性以判断是否支持CXP业务板卡或CFP2/4业务板卡,在确定支持的情况下,配置端口映射关系和交换芯片的高速信号属性,在交换芯片初始化过程中,进行数据接口收发器(PHY)芯片的初始化,依据保存的端口配置,结合外部端口接入的光模块类型,自动管理端口状态。
图4B是根据本发明实施例的100G板卡端口容量分配流程示意图,如图4B所示,该流程包括以下步骤:
步骤S402,进行端口的拆分或合并动作;
步骤S404,设置源端口模式和目的端口模式,并记录要操作的芯片号和端口号;
步骤S406,创建新的芯片端口位图;
步骤S408,进行清除端口速率,将端口出向入向的每个子模块带宽设置信息,以及与端口相关通路数据全部清空;
步骤S410,进行端口配置信息调整,移除旧端口配置,增加新端口配置;
步骤S412,设置端口速率,将端口出向入向的每个子模块带宽进行设置,并且使得端口具备收发报文特性;
步骤S414,对数据接口收发器(PHY)驱动进行调整,以兼容不同100G光模块;
步骤S416,最终更新端口资源管理池;
步骤S418,通告相关业务模块端口变更。
在图4A所示的容量布局的实现过程中,如果识别出是M个CXP端口的业务板卡,那么端口可以接入CXP 100G-SR12光模块,并可在1×100G CAUI、12×10G SFP+和3×40G QSFP+等端口模式中进行切换,且M个端口都可进行动态的独立调整。
如果识别是N个CFP2端口的业务板卡,那么端口就可以接入CFP2 100G-SR10或者CFP2 100G-LR4/ER4光模块,端口配置和光模块接入之间相互独立,但是,只有在满足CFP2 100G-SR10时,可以进行1×100G CAUI、 10×10G SFP+和2×40G QSFP+的来回端口模式切换,CFP2 100G-LR4/ER4仅支持1×100G CAUI,在这样的端口模式设置情况下,交换机数据链路端口才能够正常工作。假设出现对接异常的情况,系统会告知网管系统端口模式不匹配或接入光模块类型不匹配等相关故障信息。
例如,业务板卡的端口为CXP 100G-SR12光模块,启动时默认按照100G启动,若其中一端口根据保存的端口配置为被拆分的12个10G端口,那么系统会依据源端口模式为100G CAUI,目的端口模式为10G SFI进行端口拆分动作,按照上述的操作步骤,最终将1个100G端口拆分成了12个10G端口,并反馈至上层网管系统。在业务板卡运行过程中,若需要对12个10G端口进行合并,在不影响其它端口正常工作情况下,系统可以依据源端口模式为10G SFI,目的端口模式为100G CAUI的情况进行端口合并动作,1个100G端口和3个40G端口的动态调整同理执行,M*40G和N*10G之间的端口变换需要通过合并为100G端口后再拆分实现相应的端口容量更替。CFP2业务板卡同理实现。
对于上层网管系统,其还可以动态调整基于单个端口的端口属性,并对基于端口进行VLD一虚多,达到灵活的端口容量分配和端口隔离功能。
图5是根据本发明实施例的网络部署示意图,如图5所示,交换机业务板卡的100G端口被自由分配为12*10/10*10G SFI、3*40/2*40G XLAUI、1*100G CAUI,依据前述的M个CXP端口或N个CFP2端口的业务板卡特性,结合实际网络用途,可以对业务板卡的端口进行灵活分配,交换机业务板卡正常运行时可适时调整端口特性,每个100G端口动态更换端口容量互不影响,解决当前的单一端口模式的使用,增强100G业务板卡的应用场景。
再结合VLD一虚多功能,将端口灵活分布在不同的虚拟化交换机设备中,可自由组合端口对接下层或上层网络设备,并可以对其进行分开独立的管理。在100G交换机业务板卡端口模式动态调整的基础上,结合VLD虚拟化功能,能够最终实现端口容量灵活布局。
如图5所示,交换机业务板卡(1)的物理编号1的端口被拆分成多个40G或10G逻辑端口,并依据公司①的部门A和部门B的网络容量需求对接下层网络设备,部门C同理对接单个100G逻辑端口,并对本业务板卡的 物理端口PORT1到m个划分按照端口配置划分的多个逻辑端口,设置为VLD1虚拟化设备,公司②同理按照实际需求分配,并设置在VLD2虚拟化设备中,且可以基于端口分布的VLD一虚多功能,能够将跨业务板卡的不同逻辑端口分配到相同虚拟化交换设备中,例如,图5中的VLD3。这样不仅实现了物理端口的端口容量灵活分布问题,还可独立地管理不同容量逻辑端口。
实施例三
对应于上述端口容量分配方法,本发明实施例还提供了一种端口容量分配装置。图6是根据本发明实施例的端口容量分配装置的结构框图,如图6所示,该装置包括:接收模块10、第一配置模块20以及分配模块30。其中:
接收模块10,设置为接收网管系统发送的用于指示对交换机业务板卡的端口进行动态端口配置的指示消息,其中,指示消息包括需要配置的端口的目的端口模式信息;第一配置模块20,设置为根据端口支持的光模块的类型,将该端口配置为符合目的端口模式信息的一个或多个虚拟端口;分配模块30,设置为按照用户的业务需求,将配置得到的所有虚拟端口分配给多个虚拟交换机,使得交换机业务板卡的端口容量通过虚拟交换机的虚拟端口得到重新分配。
在本发明实施例中,每个端口支持的光模块的类型可以包括:CXP 100G-SR12、CFP2/CFP4 100G-SR10、CFP2/CFP4 100G-LR4、或者CFP2/CFP4 100G-ER4。当然,在实际应用中,对光模块的类型并不做出限制。
可选地,在本发明实施例中,第一配置模块20中设了不同的单元,用于为不同的光模块类型的端口做出调整:
(1)第一配置模块20可以包括:第一配置单元22,设置为在端口支持的光模块的类型为CXP 100GE-SR12的情况下,将该端口配置为SFP+12*10G SFI虚拟端口、QSFP+3*40G XLAUI虚拟端口、或1*100G GAUI虚拟端口。
(2)第一配置模块20可以包括:第二配置单元24,设置为在端口支持 的光模块的类型为CFP2/CFP4 100G-SR10的情况下,将该端口配置为SFP+10*10G SFI虚拟端口、QSFP+2*40G XLAUI虚拟端口、或1*100G GAUI虚拟端口。
(3)第一配置模块20可以包括:第三配置单元26,设置为在端口支持的光模块的类型为CFP2/CFP4 100G-LR4或CFP2/CFP4 100G-ER4的情况下,将该端口配置为1*100G GAUI虚拟端口。
可选地地,上述分配模块30包括:划分单元32,设置为基于虚拟逻辑设备(VLD)功能,按照业务需求对所有虚拟端口进行分组,并将每组虚拟端口划分到符合业务需求的虚拟交换机中。
可选地,在本发明实施例中,上述装置还可以包括:第二配置模块40,设置为根据交换机业务板卡的业务类型,配置交换机业务板卡内部的交换芯片和PHY之间的端口映射关系和交换芯片的信号属性;初始化模块50,用于根据映射关系和信号属性初始化交换芯片和PHY。
本发明实施例还提供了一种交换机业务板卡,交换机业务板卡可以是目前的40G交换机业务板卡和100G交换机业务板卡,该交换机业务板卡包括板卡系统,所述板卡系统包括前述任一端口容量分配装置(如图6或图7所示的端口容量分配装置)。
通过本发明实施例,网络部署可以扩展到多台交换机业务板卡,业务板卡设备的端口可以与其它的业务板卡设备的端口处于VLD一虚多环境的同一虚拟设备中,这样可以组合成更为复杂的基于端口的一虚多环境,而且,同一虚拟环境的多端口可动态调整端口属性结合不同虚拟环境的不同端口特性,实现网络部署的端口容量灵活布局。
本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令被执行时实现端口容量分配方法。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分 步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本申请不限制于任何特定形式的硬件和软件的结合。本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或者等同替换,而不脱离本申请技术方案的精神和范围,均应涵盖在本申请的权利要求范围当中。
工业实用性
上述技术方案可以满足用户的不同业务需求,能够灵活配置网络,并增强交换机业务板卡的应用场景的效果。

Claims (15)

  1. 一种端口容量分配方法,包括:
    接收网管系统发送的用于指示对交换机业务板卡的端口进行动态端口配置的指示消息,其中,所述指示消息包括需要配置的端口的目的端口模式信息;
    根据端口支持的光模块的类型,将该端口配置为符合所述目的端口模式信息的一个或多个虚拟端口;
    按照用户的业务需求,将配置得到的所有虚拟端口分配给多个虚拟交换机,使得所述交换机业务板卡的端口容量通过所述虚拟交换机的虚拟端口得到重新分配。
  2. 根据权利要求1所述的方法,其中,所述端口支持的所述光模块的类型包括:CXP 100G-SR12、CFP2/CFP4 100G-SR10、CFP2/CFP4 100G-LR4、或者CFP2/CFP4 100G-ER4。
  3. 根据权利要求2所述的方法,其中,所述根据端口支持的光模块的类型,将该端口配置为符合所述目的端口模式信息的一个或多个虚拟端口,包括:
    在所述端口支持的所述光模块的类型为CXP 100GE-SR12的情况下,将该端口配置为SFP+12*10G SFI虚拟端口、QSFP+3*40G XLAUI虚拟端口、或1*100G GAUI虚拟端口。
  4. 根据权利要求2所述的方法,其中,所述根据端口支持的光模块的类型,将该端口配置为符合所述目的端口模式信息的一个或多个虚拟端口,包括:
    在所述端口支持的所述光模块的类型为CFP2/CFP4 100G-SR10的情况下,将该端口配置为SFP+10*10G SFI虚拟端口、QSFP+2*40G XLAUI虚拟端口、或1*100G GAUI虚拟端口。
  5. 根据权利要求2所述的方法,其特征在于,所述根据端口支持的光模块的类型,将该端口配置为符合所述目的端口模式信息的一个或多个虚拟端 口,包括:
    在所述端口支持的所述光模块的类型为CFP2/CFP4 100G-LR4或CFP2/CFP4 100G-ER4的情况下,将该端口配置为1*100G GAUI虚拟端口。
  6. 根据权利要求1至5中任一项所述的方法,其中,按照用户的业务需求,将配置得到的所有虚拟端口分配给多个虚拟交换机,包括:
    基于虚拟逻辑设备VLD功能,按照所述业务需求对所有虚拟端口进行分组,并将每组虚拟端口划分到符合所述业务需求的虚拟交换机中。
  7. 根据权利要求6所述的方法,所述方法还包括:在接收网管系统发送的用于指示对交换机业务板卡的端口进行动态端口配置的指示消息之前,根据所述交换机业务板卡的业务类型,配置所述交换机业务板卡内部的交换芯片和物理接口收发器PHY之间的端口映射关系和所述交换芯片的信号属性;
    根据所述映射关系和所述信号属性初始化所述交换芯片和所述PHY。
  8. 一种端口容量分配装置,包括:
    接收模块,设置为接收网管系统发送的用于指示对交换机业务板卡的端口进行动态端口配置的指示消息,其中,所述指示消息包括需要配置的端口的目的端口模式信息;
    第一配置模块,设置为根据端口支持的光模块的类型,将该端口配置为符合所述目的端口模式信息的一个或多个虚拟端口;
    分配模块,设置为按照用户的业务需求,将配置得到的所有虚拟端口分配给多个虚拟交换机,使得所述交换机业务板卡的端口容量通过所述虚拟交换机的虚拟端口得到重新分配。
  9. 根据权利要求8所述的装置,其中,所述端口支持的所述光模块的类型包括:CXP 100G-SR12、CFP2/CFP4 100G-SR10、CFP2/CFP4 100G-LR4、或者CFP2/CFP4 100G-ER4。
  10. 根据权利要求9所述的装置,其中,所述第一配置模块包括:
    第一配置单元,设置为在所述端口支持的所述光模块的类型为CXP 100GE-SR12的情况下,将该端口配置为SFP+12*10G SFI虚拟端口、QSFP+ 3*40G XLAUI虚拟端口、或1*100G GAUI虚拟端口。
  11. 根据权利要求9所述的装置,其中,所述第一配置模块包括:
    第二配置单元,设置为在所述端口支持的所述光模块的类型为CFP2/CFP4 100G-SR10的情况下,将该端口配置为SFP+10*10G SFI虚拟端口、QSFP+2*40G XLAUI虚拟端口、或1*100G GAUI虚拟端口。
  12. 根据权利要求9所述的装置,其中,所述第一配置模块包括:
    第三配置单元,设置为在所述端口支持的所述光模块的类型为CFP2/CFP4 100G-LR4或CFP2/CFP4 100G-ER4的情况下,将该模块配置为1*100G GAUI虚拟端口。
  13. 根据权利要求8至12中任一项所述的装置,其中,所述分配模块包括:
    划分单元,设置为基于虚拟逻辑设备VLD功能,按照所述业务需求对所有虚拟端口进行分组,并将每组虚拟端口划分到符合所述业务需求的虚拟交换机中。
  14. 根据权利要求13所述的装置,所述装置还包括:
    第二配置模块,设置为根据所述交换机业务板卡的业务类型,配置所述交换机业务板卡内部的交换芯片和物理接口收发器PHY之间的端口映射关系和所述交换芯片的信号属性;
    初始化模块,用于根据所述映射关系和所述信号属性初始化所述交换芯片和所述PHY。
  15. 一种交换机业务板卡,包括板卡系统,其中,所述板卡系统包括权利要求8至14中任一项所述的端口容量分配装置。
PCT/CN2016/087309 2015-06-30 2016-06-27 端口容量分配方法及装置、交换机业务板卡 WO2017000860A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510374893.0 2015-06-30
CN201510374893.0A CN106330782B (zh) 2015-06-30 2015-06-30 端口容量分配方法及装置、交换机业务板卡

Publications (1)

Publication Number Publication Date
WO2017000860A1 true WO2017000860A1 (zh) 2017-01-05

Family

ID=57607711

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/087309 WO2017000860A1 (zh) 2015-06-30 2016-06-27 端口容量分配方法及装置、交换机业务板卡

Country Status (2)

Country Link
CN (1) CN106330782B (zh)
WO (1) WO2017000860A1 (zh)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327455A (zh) * 2020-01-20 2020-06-23 深圳震有科技股份有限公司 一种基于sdh设备的业务迁移方法、控制系统及存储介质
CN111786912A (zh) * 2020-05-18 2020-10-16 深圳震有科技股份有限公司 一种交换机端口模式切换方法、交换机及存储介质
CN112162759A (zh) * 2020-09-29 2021-01-01 上海移远通信技术股份有限公司 射频软件板卡的加载方法、系统、电子设备和存储介质
CN112910801A (zh) * 2021-03-31 2021-06-04 国家广播电视总局监管中心 一种网络交换板卡
CN113794639A (zh) * 2021-08-25 2021-12-14 新华三信息安全技术有限公司 一种通信方法及装置
CN115460161A (zh) * 2022-08-05 2022-12-09 深圳市飞速创新技术股份有限公司 光模块改码方法、装置、设备及存储介质

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517105A (zh) * 2017-09-18 2017-12-26 北京百卓网络技术有限公司 线卡和通信设备
CN109450824B (zh) * 2018-11-14 2021-05-14 盛科网络(苏州)有限公司 一种交换机配置map的方法及交换机
CN109586956B (zh) * 2018-11-16 2022-09-02 上海博达数据通信有限公司 一种可灵活配置端口的FCoE交换机及方法
CN109614354B (zh) * 2018-12-13 2020-08-25 锐捷网络股份有限公司 接口分配方法、板卡、设备及存储介质
CN111277519A (zh) * 2020-02-21 2020-06-12 苏州浪潮智能科技有限公司 一种交换芯片扩展系统和交换机
CN113037654B (zh) * 2021-02-25 2022-04-05 迈普通信技术股份有限公司 分布式交换机业务板卡虚拟化方法、装置及电子设备
CN114143632B (zh) * 2021-11-30 2024-04-09 迈普通信技术股份有限公司 端口输出状态调整方法及装置
CN114629860B (zh) * 2022-03-17 2024-01-30 北京恒安嘉新安全技术有限公司 数据传输方法、装置、业务线卡和存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515888A (zh) * 2009-03-06 2009-08-26 华为技术有限公司 端口映射方法及装置
CN103930873A (zh) * 2011-11-10 2014-07-16 思科技术公司 用于虚拟化环境的基于动态策略的接口配置
CN103997414A (zh) * 2013-02-18 2014-08-20 华为技术有限公司 生成配置信息的方法和网络控制单元

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100563658B1 (ko) * 2003-11-20 2006-03-23 한국전자통신연구원 링크 애그리게이션 장치 및 방법
CN100365995C (zh) * 2005-04-04 2008-01-30 华为技术有限公司 一种以太网业务的开通方法
CN101222422A (zh) * 2007-09-28 2008-07-16 东南大学 一种公平可扩展网络调度方法
CN101272338B (zh) * 2008-05-14 2011-02-02 杭州华三通信技术有限公司 在非线速接口板进行端口带宽配置的方法和非线速接口板
CN101572673B (zh) * 2009-06-19 2013-03-20 杭州华三通信技术有限公司 扩展交换带宽的分布式包交换系统和分布式包交换方法
US8644194B2 (en) * 2010-10-15 2014-02-04 International Business Machines Corporation Virtual switching ports on high-bandwidth links
US8588224B2 (en) * 2011-05-14 2013-11-19 International Business Machines Corporation Priority based flow control in a distributed fabric protocol (DFP) switching network architecture
WO2013189056A1 (zh) * 2012-06-21 2013-12-27 华为技术有限公司 刀片服务器的交换板及其端口配置方法
US9055005B2 (en) * 2013-03-15 2015-06-09 Oracle International Corporation Virtual-port network switch fabric

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515888A (zh) * 2009-03-06 2009-08-26 华为技术有限公司 端口映射方法及装置
CN103930873A (zh) * 2011-11-10 2014-07-16 思科技术公司 用于虚拟化环境的基于动态策略的接口配置
CN103997414A (zh) * 2013-02-18 2014-08-20 华为技术有限公司 生成配置信息的方法和网络控制单元

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327455A (zh) * 2020-01-20 2020-06-23 深圳震有科技股份有限公司 一种基于sdh设备的业务迁移方法、控制系统及存储介质
CN111327455B (zh) * 2020-01-20 2022-11-15 深圳震有科技股份有限公司 一种基于sdh设备的业务迁移方法、控制系统及存储介质
CN111786912A (zh) * 2020-05-18 2020-10-16 深圳震有科技股份有限公司 一种交换机端口模式切换方法、交换机及存储介质
CN112162759A (zh) * 2020-09-29 2021-01-01 上海移远通信技术股份有限公司 射频软件板卡的加载方法、系统、电子设备和存储介质
CN112162759B (zh) * 2020-09-29 2023-11-07 上海移远通信技术股份有限公司 射频软件板卡的加载方法、系统、电子设备和存储介质
CN112910801A (zh) * 2021-03-31 2021-06-04 国家广播电视总局监管中心 一种网络交换板卡
CN112910801B (zh) * 2021-03-31 2024-05-28 国家广播电视总局监管中心 一种网络交换板卡
CN113794639A (zh) * 2021-08-25 2021-12-14 新华三信息安全技术有限公司 一种通信方法及装置
CN115460161A (zh) * 2022-08-05 2022-12-09 深圳市飞速创新技术股份有限公司 光模块改码方法、装置、设备及存储介质
CN115460161B (zh) * 2022-08-05 2024-01-05 深圳市飞速创新技术股份有限公司 光模块改码方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN106330782B (zh) 2020-06-26
CN106330782A (zh) 2017-01-11

Similar Documents

Publication Publication Date Title
WO2017000860A1 (zh) 端口容量分配方法及装置、交换机业务板卡
US11934341B2 (en) Virtual RDMA switching for containerized
US11005755B2 (en) Packet processing method in cloud computing system, host, and system
CA3109819C (en) Service pool architecture for multitenant services to support canary release
CA2991208C (en) Packet processing method in cloud computing system, host, and system
CN107959582B (zh) 一种切片实例的管理方法及装置
CN108293022A (zh) 一种报文传输的方法、装置和系统
US9928107B1 (en) Fast IP migration in a hybrid network environment
CN109639455B (zh) 一种容器云平台的网络管理方法及系统
WO2023035830A1 (en) Using remote pod in kubernetes
JP2015521779A (ja) 入力/出力仮想化のためのシステムおよび方法
JP2014527768A (ja) 制御方法及び仮想ゲートウェイ
CN111510515B (zh) 一种区分混合应用环境的容器的方法及装置
CN102316043A (zh) 端口虚拟化方法、交换机及通信系统
US20230071714A1 (en) New container storage system in remote pods in kubernetes
CN115858103A (zh) 用于开放堆栈架构虚拟机之间热迁移的方法、设备及介质
CN111800523A (zh) 虚拟机网络的管理方法、数据处理方法及系统
US9344376B2 (en) Quality of service in multi-tenant network
EP4083795A1 (en) Method for deploying virtual machine, and related apparatus
CN110795209B (zh) 一种控制方法和装置
CN115865921A (zh) 一种构建容器网络的方法、系统、存储介质、电子设备
CN109656674A (zh) 一种计算机设备、虚拟化芯片及数据传输方法
CN114124740A (zh) 一种vnf实例化的方法和装置
CN114531351A (zh) 传输报文的方法、装置、设备及计算机可读存储介质
CN114826898A (zh) 跨主机通信方法、装置、设备、系统及可读存储介质

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: 16817224

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16817224

Country of ref document: EP

Kind code of ref document: A1