[go: up one dir, main page]

CN106330782B - Port capacity allocation method and device and switch service board card - Google Patents

Port capacity allocation method and device and switch service board card Download PDF

Info

Publication number
CN106330782B
CN106330782B CN201510374893.0A CN201510374893A CN106330782B CN 106330782 B CN106330782 B CN 106330782B CN 201510374893 A CN201510374893 A CN 201510374893A CN 106330782 B CN106330782 B CN 106330782B
Authority
CN
China
Prior art keywords
port
virtual
ports
switch
cfp2
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.)
Active
Application number
CN201510374893.0A
Other languages
Chinese (zh)
Other versions
CN106330782A (en
Inventor
龙波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510374893.0A priority Critical patent/CN106330782B/en
Priority to PCT/CN2016/087309 priority patent/WO2017000860A1/en
Publication of CN106330782A publication Critical patent/CN106330782A/en
Application granted granted Critical
Publication of CN106330782B publication Critical patent/CN106330782B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses a port capacity allocation method and device and a switch service board card. The port capacity allocation method comprises the following steps: receiving an indication message which is sent by a network management system and used for indicating the dynamic port configuration of a port of a service board card of a switch, wherein the indication message comprises destination port mode information of the port needing to be configured; according to the type of the optical module supported by each port, configuring the port into one or more virtual ports according with the mode information of the destination port; and distributing all the configured virtual ports to a plurality of virtual switches according to the service requirements of users, so that the port capacity of the service board card of the switch is redistributed through the virtual ports of the virtual switches. The invention can meet different service requirements of users, flexibly configure networks and enhance the application scene of the service board card of the switch.

Description

Port capacity allocation method and device and switch service board card
Technical Field
The invention relates to the field of communication, in particular to a port capacity allocation method and device and a switch service board card.
Background
For the 100G standard development reasons, the port 100G standard has 100G CXP of SFF standard and CFP/CFP2/CFP4 of CFP standard. The existing 100G switch service board application mainly focuses on the single capacity mode use of CXP and CFP2/CFP4 ports, that is, all ports of the service board are 100G ports, or all ports of the service board are 10G ports, and the single capacity allocation mode of the ports is difficult to meet different service requirements of different companies, even cannot provide proper port capacity for different departments of the same company, so that network deployment cannot be flexibly developed, and the application scene of the service board of the 100G switch is greatly limited.
However, the prior art does not provide an effective solution to the above technical problems.
Disclosure of Invention
The invention mainly aims to provide a method for providing proper port flow for different companies or different departments so as to meet diversified service requirements of users, flexibly develop network deployment and expand application scenes of service board cards of 100G switches.
In order to achieve the purpose, the invention provides a port capacity allocation method and device and a switch service board card.
According to an aspect of the present invention, there is provided a port capacity allocation method, including: receiving an indication message which is sent by a network management system and used for indicating the dynamic port configuration of a port of a service board card of a switch, wherein the indication message comprises destination port mode information of the port needing to be configured; according to the type of the optical module supported by each port, configuring the port into one or more virtual ports according with the mode information of the destination port; and distributing all the configured virtual ports to a plurality of virtual switches according to the service requirements of users, so that the port capacity of the service board card of the switch is redistributed through the virtual ports of the virtual switches.
Preferably, the types of optical modules supported by each port include: CXP 100G-SR12, CFP2/CFP4100G-SR10, CFP2/CFP4100G-LR4, or CFP2/CFP4100G-ER 4.
Preferably, in the case that the type of the optical module supported by the port is CXP100GE-SR12, configuring the port as one or more virtual ports conforming to the destination port mode information includes: the port is configured as an SFP +12 × 10G SFI virtual port, a QSFP +3 × 40G XLAUI virtual port, or a 1 × 100G GAUI virtual port.
Preferably, in the case that the type of the optical module supported by the port is CFP2/CFP4100G-SR10, configuring the port as one or more virtual ports conforming to the destination port mode information includes: the port is configured as an SFP +10 × 10GSFI virtual port, a QSFP +2 × 40G XLAUI virtual port, or a 1 × 100G GAUI virtual port.
Preferably, in case that the type of the optical module supported by the port is CFP2/CFP4100G-LR4 or CFP2/CFP4100G-ER4, configuring the port as one or more virtual ports conforming to the destination port mode information includes: the port is configured as a 1 x 100G GAUI virtual port.
Preferably, allocating all the configured virtual ports to a plurality of virtual switches according to the service requirements of the users includes: based on a Virtual Logic Device (VLD) function, all virtual ports are grouped according to service requirements, and each group of virtual ports is divided into virtual switches meeting the service requirements.
Preferably, before receiving an indication message sent by the network management system for indicating dynamic port configuration of a port of the service board of the switch, the method further includes: configuring a port mapping relation between a switching chip and a PHY (physical layer) in the service board card of the switch and the signal attribute of the switching chip according to the service type of the service board card of the switch; and initializing the exchange chip and the PHY according to the mapping relation and the signal attribute.
According to another aspect of the present invention, there is provided a port capacity allocation apparatus including: the system comprises a receiving module, a configuration module and a configuration module, wherein the receiving module is used for receiving an indication message which is sent by a network management system and used for indicating the dynamic port configuration of a port of a service board card of a switch, and the indication message comprises destination port mode information of the port needing to be configured; the first configuration module is used for configuring each port into one or more virtual ports according to the type of the optical module supported by the port; and the distribution module is used for distributing all the configured virtual ports to the plurality of virtual switches according to the service requirements of the users, so that the port capacity of the service board card of the switch is redistributed through the virtual ports of the virtual switches.
Preferably, the types of optical modules supported by each port include: CXP 100G-SR12, CFP2/CFP4100G-SR10, CFP2/CFP4100G-LR4, or CFP2/CFP4100G-ER 4.
Preferably, the first configuration module comprises: a first configuration unit, configured to configure a port as an SFP +12 × 10G SFI virtual port, a QSFP +3 × 40G XLAUI virtual port, or a 1 × 100G GAUI virtual port, in a case where a type of an optical module supported by the port is CXP100GE-SR 12.
Preferably, the first configuration module comprises: and a second configuration unit, configured to configure the port as an SFP +10 × 10G SFI virtual port, a QSFP +2 × 40GXLAUI virtual port, or a 1 × 100G GAUI virtual port, in case that the type of the optical module supported by the port is CFP2/CFP4100G-SR 10.
Preferably, the first configuration module comprises: and the third configuration unit is used for configuring the port as a 1 x 100G GAUI virtual port when the type of the optical module supported by the port is CFP2/CFP4100G-LR4 or CFP2/CFP4100G-ER 4.
Preferably, the distribution module comprises: and the dividing unit is used for grouping all the virtual ports according to the service requirement based on a Virtual Logic Device (VLD) function, and dividing each group of virtual ports into virtual switches meeting the service requirement.
Preferably, the above apparatus further comprises: the second configuration module is used for configuring a port mapping relation between a switching chip and a PHY (physical layer) in the service board card of the switch and the signal attribute of the switching chip according to the service type of the service board card of the switch; and the initialization module is used for initializing the exchange chip and the PHY according to the mapping relation and the signal attribute.
According to another aspect of the present invention, a switch service board is further provided, which includes a board system, and the board system includes the port capacity allocation apparatus.
Compared with the prior art, the port capacity allocation method and device and the switch service board card can reconfigure the switch service board card port to a virtual port which more meets the diversification of user service transmission requirements according to the configuration information sent by the network manager and by combining different types of optical modules which can be supported by the switch service board card port, and allocate the virtual port to a plurality of virtual switches, and the dynamic adjustment process can be carried out in the system working process, so that the flexibility of network deployment can be improved, and the application scene of the switch service board card is expanded.
Drawings
FIG. 1 is a flow chart of a port capacity allocation method according to an embodiment of the invention;
FIG. 2 is a schematic diagram of port link establishment according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a logical structure implemented internally in a port link according to an embodiment of the present invention;
fig. 4A is a schematic diagram of an implementation process of a 100G board card port capacity layout according to an embodiment of the present invention;
fig. 4B is a schematic diagram illustrating a port capacity allocation flow of a 100G board card according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a network deployment according to an embodiment of the present invention;
fig. 6 is a block diagram of a configuration of a port capacity allocation apparatus according to an embodiment of the present invention; and
fig. 7 is a block diagram of a preferred port capacity allocation apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the technical defects in the prior art, the main idea of the technical scheme provided by the embodiment of the invention is as follows: on the basis of high-speed signals 4 × 25G, 12/10 × 10G and 1 × 100G between a switching chip and a data interface transceiver (PHY) (i.e., a system side) of a 100G switch service board, ports such as CXP, CFP2 SR10, CFP2LR4/ER4, N QSFP +, N SFP + and the like are supported between the data interface transceiver (PHY) and an optical module (i.e., a link side), so that a free network layout of the service board based on the ports is realized, and on the basis of not changing hardware equipment, dynamic allocation of 100G port capacity is realized through software.
The embodiment of the invention provides a port capacity allocation method. Fig. 1 is a flowchart of a port capacity allocation method according to an embodiment of the present invention, and as shown in fig. 1, the flowchart includes the following steps (step S102-step S106):
step S102, receiving an indication message sent by a network management system and used for indicating the dynamic port configuration of a port of a service board card of a switch, wherein the indication message comprises destination port mode information of the port needing to be configured;
step S104, configuring the port into one or more virtual ports according to the type of the optical module supported by each port, wherein the one or more virtual ports conform to the mode information of the destination port;
step S106, distributing all the configured virtual ports to a plurality of virtual switches according to the service requirements of the users, so that the port capacity of the service board of the switch is redistributed through the virtual ports of the virtual switches.
In practical applications, there are many types of switch service boards, for example, 40G switch service boards and 100G switch service boards, and since the application of the current 100G switch service boards is relatively wide, embodiments of the present invention mainly perform capacity dynamic allocation on ports of optical modules of the 100G switch service boards, and compared with a traditional relatively single port capacity usage mode, the capacity usage mode can meet diversified capacity usage requirements of users.
In the embodiment of the present invention, the types of optical modules supported by each port may include: CXP 100G-SR12, CFP2/CFP4100G-SR10, CFP2/CFP4100G-LR4, or CFP2/CFP4100G-ER 4.
According to the types of the optical modules, the process of configuring the ports of the optical module in step S104 may be implemented as follows:
(1) in case the type of optical module supported by a port is CXP100GE-SR12, the port may be configured as SFP +12 × 10G SFI virtual port, QSFP +3 × 40G XLAUI virtual port, or 1 × 100G GAUI virtual port.
(2) In case the type of optical module supported by a port is CFP2/CFP4100G-SR10, the port may be configured as SFP +10 × 10G SFI virtual port, QSFP +2 × 40G XLAUI virtual port, or 1 × 100G GAUI virtual port.
(3) In the case that the type of the optical module supported by the port is CFP2/CFP4100G-LR4 or CFP2/CFP4100G-ER4, the port may be configured as a 1 × 100G GAUI virtual port.
In the embodiment of the present invention, the step S106 may be implemented by: all virtual ports are grouped according to service requirements based on a Virtual Logic Device (VLD) function, and each group of virtual ports is divided into virtual switches meeting the service requirements.
Preferably, before executing step S102, a port mapping relationship between a switching chip and a PHY in the switch service board and a signal attribute of the switching chip may be configured according to a service type of the switch service board; and initializing the exchange chip and the PHY according to the mapping relation and the signal attribute.
This is done to prepare the port splitting or merging process in the above-described modes (1), (2) and (3).
In practical application, the above embodiment may be applied to a scenario where a 100G switch traffic board accesses a plurality of types of optical modules and compatibly supports and virtualizes a plurality of port capacities, since CXP and CFP2 optical modules have encapsulation differences, ports and mapping relationships used by the traffic boards may be determined according to the type differences of the traffic boards, Serdes rates between a switch chip (MAC) and a physical interface transceiver (PHY) are set to be 4 × 25G, 12/10 × 10G, or 1 × 100G, then, according to corresponding CXP, CFP2 SR10, CFP2LR4/ER4, 10 × SFP + access characteristics between the physical interface transceiver and the optical modules, and physical access types, any port of the 100G traffic board is dynamically split and merged independently, according to the difference of the optical module characteristics, if the port accesses the CXP optical module, the port may be used as a 1 × 100G or 3 × 40G or 12 × 10G port, if the port is accessed to the CFP2 SR10 optical module, the port can be used as a 1X 100G or 2X 40G or 10X 10G port, and if the port is accessed to the CFP2LR4/ER4 optical module, the port can be used as a 100G port.
By combining port-based virtualization technology, the port capacity of the 100G switch board card can be subjected to various combined layouts, and the ports are freely divided into various virtualization switches, so that the dynamic setting of the port capacity of the 100G service board card is realized, and the flexible network deployment and management of the port capacity of the whole network structure can be realized through virtualization.
To facilitate understanding of the implementation process of the port capacity allocation method provided by the above embodiments, the following description is made in more detail with reference to the preferred embodiments and fig. 2 to 5.
PREFERRED EMBODIMENTS
The preferred embodiment is mainly described by using a 100G switch service board card for illustration. The external interface physical terminals include ports of several types, such as 100G CXP, 100G CFP/CFP2/CFP4, and the preferred embodiment can make the switch service board actual physical terminals compatible with different types of 100G optical modules, dynamically manage the port attribute as 1 × 100G/M × 40G/N × 10G, virtualize the ports into different switching devices, and flexibly allocate the port capacity to the network layout.
Fig. 2 is a schematic diagram of port link establishment according to an embodiment of the present invention, please refer to fig. 2 for easy understanding, and assuming that the external port of a single service board in fig. 2 is M CXP ports or N CFP2 ports, the high-speed Serdes of the switch chip MAC interfacing the physical interface transceiver chip PHY can be identified as 12/10 × 10G, 4 × 25G, 1 × 100G channels as the HOST side (i.e., system side) of the 100G link through the type attribute and the switch chip attribute of the service board, and the LINE side (i.e., LINE side) of the PHY chip is piggybacked with 10 × 10G cau, 4 × 28VSR, 3/2 × 40G XLAUI, and 10 × 10G SFI through dynamic port attribute management.
For the service boards of M CXP ports, the optical module to which each port is docked is CXP 100G-SR12, it may be dynamically set whether a single port is 100G or split into 3 40G ports or 12 10G ports through a network management system, and the M CXP100G ports may independently and dynamically allocate port capacities. When 1 CXP port is used as 1 100G port, other CXP100 ports are connected through MPO optical fibers, when 1 CXP port is split into 3 40G ports for use, other 3 40G QSP + ports are connected through MPO switching optical fibers, when 1 CXP port is split into 12 10G ports for use, other 12G SFP + ports are connected through MPO switching optical fibers for use, and the other M-1 CXP ports are similarly applicable to the application.
For the service board cards with N CFP2 ports, the optical module to which each port is connected is CFP2100G-SR10 or CFP 2100G-LR 4/ER4, a single port can be dynamically set to be 100G or split into 2 40G ports or 10G ports through a network management system, and a CFP2100G-SR10 optical module link adopts 10 × 10G, which can be dynamically split and combined. However, since the 100G-LR4/ER4 optical module link employs 4 × 25G, dynamic disassembly cannot be performed. When 1 CFP2 port is split into 2 40G ports or 10G ports, only the butting CFP 2100-2100G-SR 10 optical module can be normally used, 40G or 10G ports are respectively butted through MPO switching optical fibers, when 1 CFP2 port is used as 1 100G port, the CFP 2100-2100G-SR 10 or 100G-LR4/ER4 optical module can be butted, the characteristics of a physical interface transceiver and a switching chip are driven back through the acquisition of the type of the optical module, and the optical module automatically supports the use of different types of optical modules of CFP 2100G. The N CFP2100G ports can independently and dynamically allocate port capacities, and after the upper management device dynamically allocates port attributes, it needs to access optical modules of corresponding types in combination with the CFP2 characteristics.
In practical applications, a port access CXP optical module can be dynamically split into 12 × 10G ports, 3 × 40G ports or combined into 1 × 100G ports, a port access CFP2 SR12 optical module can be dynamically split into 10 × 10G ports, 2 × 40G ports or combined into 1 × 100G ports, and the CFP2LR4 and CFP2 ER4 are suitable for transmission of several hundred meters according to characteristics of optical module devices, and can only be used as 1 × 100G ports, where transmission distances of the ports of each type are as follows: the transmission distance of CXP 100G-SR12 is 100-800m, the transmission distance of 100G CFP2/CFP4-SR10 is 100-800m, the transmission distance of 100G CFP2/CFP4-LR4 is 10Km, and the transmission distance of 100G CFP2/CFP4-ER4 is 30 Km. Therefore, the service board card of the 100G switch is not limited to be used by a single 100GE, the diversified port transmission distance can meet the service requirements of users to a greater extent, and the dynamic allocation based on the ports can flexibly manage the external ports.
Fig. 3 is a schematic diagram of a logical structure implemented inside a port link according to an embodiment of the present invention, and as shown in fig. 3, the logical structure uses a bidirectional circular linked list as a port resource management pool of a driver layer, and a head node is a port general attribute resource, including basic information of a switch service board, a port mapping relationship, a Serdes rate, and port attributes inside a switch chip, and the like.
When the specific service board card type is identified, corresponding port universal attribute resources are loaded, port initialization of a switching chip (MAC) is carried out, and new nodes are added to a bidirectional linked list in combination with related initialization of a hooked data interface transceiver (PHY) and an optical module. And establishing a subsequent initial node according to the capacity distribution characteristic of the saved port operated at the previous time when the service board card is powered on, and correspondingly adding or deleting nodes by a bidirectional linked list in the logic structure when the network management system dynamically splits and merges the ports after the service board card is started.
For example, when all ports are started according to 100G, assuming that each switching chip (MAC) supports two 100G data links, the ports are established as a unit-0/port-1 fabric node and a unit-0/port-13 fabric node, and so on for more switching chip units. And when the service board is started, the port resource management pool is established. For example, for the CXP port operation, if the network management system dynamically splits the unit-0/port-1 into 12 10G ports, the unit-0/port-2 to unit-0/12 nodes and the filling related attribute values can be established by modifying the related attributes of the unit-0/port-1 structure and adding nodes from the unit-0/port-1 position. And if the 12 10G ports from unit-0/port-1 to unit-0/port-12 are dynamically merged, deleting the nodes from unit-0/port-2 to unit-0/12 from the bidirectional circular linked list, and modifying the related attributes of the unit-0/port-1 structure. If the unit-0/port-1 is dynamically split into 3 40G ports, the unit-0/port-5, unit-0/port-9 and filling related attribute values can be established by modifying the related attributes of the unit-0/port-1 structure and adding nodes from the position of the unit-0/port-1. The dynamic split merge operation is performed for unit-0/port-13, which is similar to unit-0/port-1.
Fig. 4A is a schematic diagram of an implementation process of port capacity layout of a 100G board card according to an embodiment of the present invention, as shown in fig. 4, when the 100G board card is started, a system may identify relevant characteristics of a switch service board card to determine whether a CXP service board card or a CFP2/4 service board card is supported, configure a port mapping relationship and a high-speed signal attribute of a switch chip in a case of determining the support, initialize a data interface transceiver (PHY) chip in an initialization process of the switch chip, and automatically manage a port state according to a stored port configuration in combination with an optical module type accessed by an external port.
Fig. 4B is a schematic diagram of a port capacity allocation process of a 100G board card according to an embodiment of the present invention, and as shown in fig. 4B, the process includes the following steps:
step S402, splitting or merging the ports;
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, clearing the port rate, specifically clearing all the bandwidth setting information of each submodule in the port exit direction and the port related access data;
step S410, adjusting port configuration information, removing old port configuration and adding new port configuration;
step S412, setting port rate, specifically setting bandwidth of each submodule of the port in-out direction, wherein the port has message receiving and sending characteristics;
step S414, adjusting the drive of a data interface transceiver (PHY) so as to be compatible with different 100G optical modules;
step S416, finally updating the port resource management pool;
step S418, notify the port change of the related service module.
In the implementation process of the capacity layout shown in fig. 4A, if traffic boards of M CXP ports are identified, the ports can access the CXP 100G-SR12 optical module and can be switched in port modes such as 1 × 100G CAUI, 12 × 10G SFP + and 3 × 40G QSFP +, and all M ports can be dynamically and independently adjusted.
If the service boards of N CFP2 ports are identified, the ports can be accessed to CFP2100G-SR10 or CFP 2100G-LR 4/ER4 optical modules, the port configuration and the optical module access are independent, however, the round-trip port mode switching of 1 × 100G CAUI, 10 × 10G SFP + and 2 × 40G FP + can be performed only when CFP2100G-SR10 is satisfied, the CFP 2100G-LR 4/ER4 only supports 1 × 100G CAUI, and under the condition of such port mode setting, the switch data link port can normally work.
For example, the ports of the service board are CXP 100G-SR12 optical modules, the default is to start according to 100G when starting, if one of the ports is configured as 12 split 10G ports according to the stored ports, the system performs a port splitting action according to the source port mode being 100G CAUI and the destination port mode being 10G SFI, and according to the above operation steps, finally, 1 100G port is split into 12 10G ports, and the 12G ports are fed back to the upper network management system. In the operation process of the service board card, if a certain 12G ports need to be merged, under the condition that the normal work of other ports is not influenced, the system can perform port merging action according to the condition that the source port mode is 10G SFI and the destination port mode is 100G CAUI, the dynamic adjustment of 1 100G port and 3 40G ports is executed in the same manner, and the port conversion between M × 40G and N × 10G needs to be realized by merging into 100G ports and then splitting to realize corresponding port capacity replacement. The CFP2 service board is implemented similarly.
For the upper network management system, the port attribute based on a single port can be dynamically adjusted, VLD (very-low-density-loss) is carried out on the port, and the flexible port capacity allocation and port isolation functions are achieved.
Fig. 5 is a schematic diagram of network deployment according to an embodiment of the present invention, for example, fig. 5 \22014c, so that 100G ports of a switch service board are freely allocated to 12 × 10/10 × 10G SFI, 3 × 40/2 × 40G XLAUI, and 1 × 100G cau, according to the service board characteristics of the M CXP ports or N CFP2 ports, in combination with an actual network use, a port of a certain service board may be flexibly allocated, the port characteristics may be adjusted in time when the switch service board normally operates, the dynamic replacement port capacities of the 100G ports do not affect each other, the use of a current single port mode is solved, and an application scenario of the 100G service board is enhanced.
And combining VLD-virtual multiple functions, flexibly distributing the ports in different virtualization switch equipment, freely combining which ports are butted with lower layer or upper layer network equipment, and performing separate and independent management on the ports. On the basis of dynamic adjustment of a port mode of a service board card of a 100G switch, a VLD virtualization function is combined, and flexible layout of port capacity can be finally achieved.
As shown in fig. 5, a PORT of a switch service board (1) with a physical number 1 is split into a plurality of 40G or 10G logical PORTs, and is connected to a lower layer network device according to network capacity requirements of a department a and a department B of a company ①, a department C similarly connects to a single 100G logical PORT, and divides a plurality of logical PORTs, which are divided according to PORT configuration, into PORTs for physical PORTs 1 to m of the service board, and sets the PORTs as VLD1 virtualization devices, and a company ② similarly distributes according to actual requirements, and sets the PORTs in a VLD2 virtualization device, and can distribute different logical PORTs across service boards to the same virtualization switch device based on a VLD-virtual multifunction of PORT distribution, for example, a VLD3 in fig. 5.
Corresponding to the port capacity allocation method, the embodiment of the invention also provides a port capacity allocation device. Fig. 6 is a block diagram of a port capacity allocation apparatus according to an embodiment of the present invention, as shown in fig. 6, the apparatus including: a receiving module 10, a first configuration module 20 and an assigning module 30. Wherein:
a receiving module 10, configured to receive an indication message sent by a network management system and used to indicate dynamic port configuration on a port of a service board of a switch, where the indication message includes destination port mode information of a port to be configured; a first configuration module 20, configured to configure each port as one or more virtual ports according to the type of optical module supported by the port, where the virtual ports conform to the destination port mode information; the allocating module 30 is configured to allocate all the configured virtual ports to multiple virtual switches according to service requirements of users, so that the port capacity of the switch service board is reallocated through the virtual ports of the virtual switches.
In the embodiment of the present invention, the types of optical modules supported by each port may include: CXP 100G-SR12, CFP2/CFP4100G-SR10, CFP2/CFP4100G-LR4, or CFP2/CFP4100G-ER 4. Of course, in practical applications, no limitation is made on the type of the optical module.
In an embodiment of the present invention, different units are provided in the first configuration module 20 for making adjustments for the ports of different optical module types:
(1) the first configuration module 20 may include: a first configuration unit 22, configured to configure a port as an SFP +12 × 10G SFI virtual port, a QSFP +3 × 40GXLAUI virtual port, or a 1 × 100G GAUI virtual port, if the type of the optical module supported by the port is CXP100GE-SR 12.
(2) The first configuration module 20 may include: and a second configuration unit 24, configured to configure a port as an SFP +10 × 10G SFI virtual port, a QSFP +2 × 40GXLAUI virtual port, or a 1 × 100G GAUI virtual port, in a case where the type of the optical module supported by the port is CFP2/CFP4100G-SR 10.
(3) The first configuration module 20 may include: and a third configuration unit 26, configured to configure the port as a 1 × 100G GAUI virtual port if the type of the optical module supported by the port is CFP2/CFP4100G-LR4 or CFP2/CFP4100G-ER 4.
Further, the distribution module 30 includes: the dividing unit 32 is configured to group all the virtual ports according to service requirements based on a Virtual Logic Device (VLD) function, and divide each group of virtual ports into virtual switches meeting the service requirements.
In an embodiment of the present invention, the apparatus may further include: the second configuration module 40 is configured to configure, according to the service type of the service board card of the switch, a port mapping relationship between a switch chip and a PHY in the service board card of the switch and a signal attribute of the switch chip; and 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 card, where the switch service board card may be a current 40G switch service board card and a 100G switch service board card, and the switch service board card includes a board card system, and the board card system includes the port capacity allocation apparatus shown in fig. 6 or fig. 7.
By the embodiment of the invention, the network deployment can be expanded to a plurality of switch service board cards, the ports of the service board card equipment can be positioned in the same virtual equipment of VLD one virtual multi-environment with the ports of other service board card equipment, so that more complex one virtual multi-environment based on the ports can be combined, and the ports of the same virtual environment can be dynamically adjusted by multiple ports to combine with different port characteristics of different virtual environments, thereby realizing flexible layout of the port capacity of the network deployment.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (15)

1. A method for allocating port capacity, comprising:
receiving an indication message which is sent by a network management system and used for indicating the dynamic port configuration of a port of a service board card of a switch, wherein the indication message comprises destination port mode information of the port needing to be configured;
configuring each port into one or more virtual ports according to the type of the optical module supported by the port, wherein the virtual ports conform to the mode information of the destination port;
and distributing all the configured virtual ports to a plurality of virtual switches according to the service requirements of users, so that the port capacity of the switch service board card is redistributed through the virtual ports of the virtual switches.
2. The method of claim 1, wherein the types of optical modules supported by each port comprise: CXP 100G-SR12, CFP2/CFP4100G-SR10, CFP2/CFP4100G-LR4, or CFP2/CFP4100G-ER 4.
3. The method of claim 2, wherein in case that the type of the optical module supported by the port is CXP100GE-SR12, configuring the port as one or more virtual ports conforming to the destination port mode information comprises:
the port is configured as an SFP +12 × 10G SFI virtual port, a QSFP +3 × 40G XLAUI virtual port, or a 1 × 100GGAUI virtual port.
4. The method of claim 2, wherein in case that the type of the optical module supported by the port is CFP2/CFP4100G-SR10, configuring the port as one or more virtual ports conforming to the destination port mode information comprises:
the port is configured as an SFP +10 × 10G SFI virtual port, a QSFP +2 × 40G XLAUI virtual port, or a 1 × 100GGAUI virtual port.
5. The method according to claim 2, wherein in case that the type of the optical module supported by the port is CFP2/CFP4100G-LR4 or CFP2/CFP4100G-ER4, configuring the port as one or more virtual ports conforming to the destination port mode information comprises:
the port is configured as a 1 x 100G GAUI virtual port.
6. The method according to any one of claims 1 to 5, wherein allocating all the configured virtual ports to a plurality of virtual switches according to the service requirement of the user comprises:
and based on the VLD function of the virtual logic equipment, grouping all the virtual ports according to the service requirement, and dividing each group of virtual ports into virtual switches meeting the service requirement.
7. The method of claim 6, before receiving an indication message sent by the network management system for indicating dynamic port configuration of the port of the service board of the switch, further comprising:
configuring a port mapping relation between a switching chip and a PHY (physical layer) in the switch service board card and a signal attribute of the switching chip according to the service type of the switch service board card;
and initializing the exchange chip and the PHY according to the mapping relation and the signal attribute.
8. A port capacity allocation apparatus, comprising:
the system comprises a receiving module, a configuration module and a configuration module, wherein the receiving module is used for receiving an indication message which is sent by a network management system and used for indicating the dynamic port configuration of a port of a service board card of a switch, and the indication message comprises destination port mode information of the port needing to be configured;
a first configuration module, configured to configure each port as one or more virtual ports that conform to the destination port mode information according to the type of optical module supported by the port;
and the allocation module is used for allocating all the configured virtual ports to a plurality of virtual switches according to the service requirements of users, so that the port capacity of the switch service board card is reallocated through the virtual ports of the virtual switches.
9. The apparatus of claim 8, wherein the types of the optical modules supported by each of the ports comprises: CXP 100G-SR12, CFP2/CFP4100G-SR10, CFP2/CFP4100G-LR4, or CFP2/CFP4100G-ER 4.
10. The apparatus of claim 9, wherein the first configuration module comprises:
a first configuration unit, configured to configure the port as an SFP +12 × 10G SFI virtual port, a QSFP +3 × 40G XLAUI virtual port, or a 1 × 100G GAUI virtual port, in a case where the type of the optical module supported by the port is CXP100GE-SR 12.
11. The apparatus of claim 9, wherein the first configuration module comprises:
a second configuration unit, configured to configure the port as an SFP +10 × 10G SFI virtual port, a QSFP +2 × 40G XLAUI virtual port, or a 1 × 100GGAUI virtual port, in a case where the type of the optical module supported by the port is CFP2/CFP4100G-SR 10.
12. The apparatus of claim 9, wherein the first configuration module comprises:
a third configuration unit, configured to configure the optical module as a 1 × 100G GAUI virtual port if the type of the optical module supported by the port is CFP2/CFP4100G-LR4 or CFP2/CFP4100G-ER 4.
13. The apparatus of any one of claims 8 to 12, wherein the assignment module comprises:
and the dividing unit is used for grouping all the virtual ports according to the service requirement based on the VLD function of the virtual logic equipment, and dividing each group of virtual ports into the virtual switch meeting the service requirement.
14. The apparatus of claim 13, further comprising:
the second configuration module is used for configuring a port mapping relation between a switching chip and a PHY (physical layer) in the service board card of the switch and the signal attribute of the switching chip according to the service type of the service board card of the switch;
and the initialization module is used for initializing the switching chip and the PHY according to the mapping relation and the signal attribute.
15. A switch traffic board comprising a board system, characterized in that the board system comprises the port capacity allocation apparatus of any one of claims 8 to 14.
CN201510374893.0A 2015-06-30 2015-06-30 Port capacity allocation method and device and switch service board card Active CN106330782B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510374893.0A CN106330782B (en) 2015-06-30 2015-06-30 Port capacity allocation method and device and switch service board card
PCT/CN2016/087309 WO2017000860A1 (en) 2015-06-30 2016-06-27 Port capacity distribution method and device and switch service board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510374893.0A CN106330782B (en) 2015-06-30 2015-06-30 Port capacity allocation method and device and switch service board card

Publications (2)

Publication Number Publication Date
CN106330782A CN106330782A (en) 2017-01-11
CN106330782B true CN106330782B (en) 2020-06-26

Family

ID=57607711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510374893.0A Active CN106330782B (en) 2015-06-30 2015-06-30 Port capacity allocation method and device and switch service board card

Country Status (2)

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

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517105A (en) * 2017-09-18 2017-12-26 北京百卓网络技术有限公司 Line Cards and Communications Equipment
CN109450824B (en) * 2018-11-14 2021-05-14 盛科网络(苏州)有限公司 Method for configuring MAP by switch and switch
CN109586956B (en) * 2018-11-16 2022-09-02 上海博达数据通信有限公司 FCoE switch capable of flexibly configuring ports and method
CN109614354B (en) * 2018-12-13 2020-08-25 锐捷网络股份有限公司 Interface distribution method, board card, equipment and storage medium
CN111327455B (en) * 2020-01-20 2022-11-15 深圳震有科技股份有限公司 SDH device-based service migration method, control system and storage medium
CN111277519A (en) * 2020-02-21 2020-06-12 苏州浪潮智能科技有限公司 Exchange chip extension system and switch
CN111786912A (en) * 2020-05-18 2020-10-16 深圳震有科技股份有限公司 Switch port mode switching method, switch and storage medium
CN112162759B (en) * 2020-09-29 2023-11-07 上海移远通信技术股份有限公司 Loading method and system of radio frequency software board card, electronic equipment and storage medium
CN113037654B (en) * 2021-02-25 2022-04-05 迈普通信技术股份有限公司 Distributed switch service board virtualization method and device and electronic equipment
CN112910801B (en) * 2021-03-31 2024-05-28 国家广播电视总局监管中心 Network exchange board card
CN113794639B (en) * 2021-08-25 2023-04-25 新华三信息安全技术有限公司 Communication method and device
CN114143632B (en) * 2021-11-30 2024-04-09 迈普通信技术股份有限公司 Port output state adjusting method and device
CN114629860B (en) * 2022-03-17 2024-01-30 北京恒安嘉新安全技术有限公司 Data transmission method, device, service line card and storage medium
CN115460161B (en) * 2022-08-05 2024-01-05 深圳市飞速创新技术股份有限公司 Optical module code changing method, device, equipment and storage medium

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100563658B1 (en) * 2003-11-20 2006-03-23 한국전자통신연구원 Link Aggregation Device and Method
CN100365995C (en) * 2005-04-04 2008-01-30 华为技术有限公司 A method for opening an Ethernet service
CN101222422A (en) * 2007-09-28 2008-07-16 东南大学 A Fair and Scalable Network Scheduling Method
CN101272338B (en) * 2008-05-14 2011-02-02 杭州华三通信技术有限公司 Method for port band width configuration on non-line speed interface plate and non-line speed interface plate
CN101515888B (en) * 2009-03-06 2012-02-01 华为技术有限公司 port mapping method and device
CN101572673B (en) * 2009-06-19 2013-03-20 杭州华三通信技术有限公司 Distributed packet switching system and distributed packet switching method of expanded switching bandwidth
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
US9294351B2 (en) * 2011-11-10 2016-03-22 Cisco Technology, Inc. Dynamic policy based interface configuration for virtualized environments
EP2858320B1 (en) * 2012-06-21 2016-04-06 Huawei Technologies Co., Ltd. Exchange board of blade server and port configuration method therefor
CN106452857B (en) * 2013-02-18 2021-01-05 华为技术有限公司 Method for generating configuration information and network control unit
US9055005B2 (en) * 2013-03-15 2015-06-09 Oracle International Corporation Virtual-port network switch fabric

Also Published As

Publication number Publication date
CN106330782A (en) 2017-01-11
WO2017000860A1 (en) 2017-01-05

Similar Documents

Publication Publication Date Title
CN106330782B (en) Port capacity allocation method and device and switch service board card
US10616133B2 (en) Resource configuration method and network device thereof
CN109660466A (en) A kind of more live load balance realizing methods towards cloud data center tenant
KR19980070065A (en) System and method for managing the processing of relatively large data objects in a communication stack
EP4106284A1 (en) Service flow transmission method and device based on flexe
CN103609077B (en) Method, apparatus and system for data transmission, and physical adapter
US7266598B2 (en) Programmable data center
CN110034944A (en) Network splitting and disposing method and device thereof
US10007625B2 (en) Resource allocation by virtual channel management and bus multiplexing
US7072348B2 (en) System and method for in-service reconfiguration of a synchronous optical communications network
CN109150747B (en) Method and device for changing service bandwidth and computer readable storage medium
CN112398675A (en) Network element allocation method and device
US10200463B2 (en) Systems and methods to improve the performance of a network by more efficient virtual network resource allocation
US6314488B1 (en) System for segmenting a fibre channel arbitrated loop to a plurality of logical sub-loops using segmentation router as a master to cause the segmentation of physical addresses
CN111800523B (en) Management method, data processing method and system of virtual machine network
CN106713010B (en) A kind of communication means and system of avionics network system
CN106302075B (en) A kind of method and device creating logical volume
KR20250083567A (en) Device, method, and system that virtualize a network
CN110138498A (en) Data interlacing method and data de-interleaving method, storage medium, processor
EP3637685A1 (en) Orchestration multi scheduler for multi slice network
WO2024027194A1 (en) Message forwarding method, device and system, and storage medium
US10992601B2 (en) Packet processing method and apparatus in multi-layered network environment
CN103916719A (en) Priority sending method, device and system for operation, management and maintenance information
CN108712277A (en) The dynamic allocation method and device of system end slogan
US7551853B2 (en) Data communications apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant