CN113452593B - Method and device for coexistence of OLT VXLAN and multiple slices - Google Patents

Method and device for coexistence of OLT VXLAN and multiple slices Download PDF

Info

Publication number
CN113452593B
CN113452593B CN202110649099.8A CN202110649099A CN113452593B CN 113452593 B CN113452593 B CN 113452593B CN 202110649099 A CN202110649099 A CN 202110649099A CN 113452593 B CN113452593 B CN 113452593B
Authority
CN
China
Prior art keywords
port
vxlan
service message
slice
forwarding
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
CN202110649099.8A
Other languages
Chinese (zh)
Other versions
CN113452593A (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202110649099.8A priority Critical patent/CN113452593B/en
Publication of CN113452593A publication Critical patent/CN113452593A/en
Application granted granted Critical
Publication of CN113452593B publication Critical patent/CN113452593B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0073Provisions for forwarding or routing, e.g. lookup tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0086Network resource allocation, dimensioning or optimisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

A method and a device for coexistence of an OLT VXLAN and a multi-slice relate to the field of passive optical networks and comprise the following steps: allocating a forwarding domain for each VLAN of the OLT virtual slice; configuring VTEP attribute of OLT VXLAN, creating VNI, and allocating a forwarding domain for each VNI; each forwarding domain adopts a unique forwarding domain ID mark; forming VXLAN mapping between part of service messages and VNIs according to preset condition information, and establishing a VXLAN tunnel next hop and a virtual port for each VNI, an opposite terminal VTEP attribute and an uplink physical port to acquire encapsulation information of the VXLAN service messages; learning message source MAC + forwarding domain ID + source port, searching for a destination port according to destination MAC + forwarding domain ID, and packaging and forwarding according to the destination port. The invention realizes the coexistence and mutual isolation of the network slice and the VXLAN function through one OLT device.

Description

Method and device for coexistence of OLT VXLAN and multi-slice
Technical Field
The invention relates to the field of passive optical networks, in particular to a method and a device for coexistence of an OLT VXLAN and multiple slices.
Background
With the continuous improvement of broadband service demand of people, the continuous emergence of broadband applications such as high-speed internet, interactive television, 3D high-definition video, cloud computing, cloud storage, internet of things and the like promotes the doubled bandwidth demand of a transmission network from backbone to a metropolitan area network. Meanwhile, with the continuous development and update of communication technology, broadband services are also developed towards the direction of integration, digitization, intelligence and virtualization.
A PON (Passive Optical Network) system is the most mainstream broadband Optical Network access technology, and is composed of an OLT (Optical Line Terminal) at a central office end, an ODN (Optical Distribution Network) and an ONU (Optical Network Unit) at a user side. The OLT is a core device of the PON system, is responsible for a comprehensive access function of a plurality of services such as a general family wide user, a government and enterprise user, and provides a plurality of services such as a broadband, a video, a voice, a private line, and the like.
The existing mainstream OLT equipment mostly adopts a card-inserting type architecture system, which consists of a main control panel and a line card, wherein the main control panel is responsible for the network service exchange function, the line card panel provides a PON interface, a user side ONU is hung below the PON interface, the service is gathered on the main control panel through a slot position physical port for exchange and forwarding, and the main control panel is accessed to a network side core backbone network through an upper connection physical port.
The OLT equipment is regarded as an open platform by the OLT network slicing technology, one equipment is divided into a plurality of virtual network slices, each slice has an independent management object, a hardware table item and a user management interface, services of different slices are isolated, no influence is caused between the slices, and the requirements of a multi-tenant scene are met.
VXLAN (Virtual eXtensible Local Area Network), which is one of NVO3(Network Virtualization over Layer 3) standard technologies defined by IETF, adopts a message encapsulation mode of L2 over L4(MAC-in-UDP) to encapsulate a two-Layer message with a three-Layer protocol, so that a two-Layer Network can be extended in a three-Layer range, and requirements of large two-Layer Virtual migration and multiple tenants in a data center are met.
The existing OLT equipment has insufficient support for two virtualization technologies of network slice and VXLAN function, and the simultaneous coexistence and mutual isolation of the two services cannot be realized on the same OLT equipment.
Disclosure of Invention
In view of the defects in the prior art, the present invention aims to provide a method and an apparatus for coexistence of OLT VXLAN and multiple slices, which realize coexistence and mutual isolation of network slice and VXLAN functions by one OLT device.
In order to achieve the above object, in one aspect, a method for coexistence of OLT VXLAN and multiple slices is adopted, which includes the steps of:
allocating a forwarding domain for each VLAN of the OLT virtual slice; configuring VTEP attribute of OLT VXLAN, creating VNI, and allocating a forwarding domain for each VNI; each forwarding domain adopts a unique forwarding domain ID mark;
each slot position physical port of the master control disk is mapped with at least one internal port, and each internal port only belongs to one slice;
forming VXLAN mapping between part of service messages and VNIs according to preset condition information, and establishing a VXLAN tunnel next hop and a virtual port for each VNI, an opposite terminal VTEP attribute and an uplink physical port to acquire encapsulation information of the VXLAN service messages;
learning message source MAC + forwarding domain ID + source port, searching a destination port according to destination MAC + forwarding domain ID, and packaging and forwarding according to the destination port;
the main control panel receives an uplink service message forwarded by the line card after adding the field, wherein the uplink service message after adding the field is obtained by the line card through learning an uplink service message source MAC, adding an external tag OTAG field to the service message according to condition information, and identifying a slice to which the service message belongs;
and adding a PON label PTAG field for identifying the source ONU of the service message or the PON interface to the service message which accords with VXLAN mapping and has the ONU ID or the line card PON interface in the mapping condition.
In some embodiments, the VTEP attributes include a MAC and an IP of the VTEP;
the condition information includes at least one of an ONU ID, a line card PON interface, a line card, an uplink physical port, a message VLAN, a message MAC, a message IP protocol type, and a message L4 port.
In some embodiments, each of the OLTs comprises a plurality of slices, each slice comprising a plurality of VLANs; a plurality of internal ports mapped by the same slot physical port belong to different slices respectively, and each slice comprises a plurality of internal ports.
In some embodiments, the obtaining manner of the peer VTEP attribute includes:
and configuring an opposite-end OLT VTEP IP, initiating an ARP request by using the MAC corresponding to the local-end OLT VTEP IP, and requesting the MAC corresponding to the opposite-end OLT VTEP IP.
In some embodiments, the OTAG field is obtained by adding a layer of outer VLAN to an original service packet, and a slice ID is represented by a VLAN value;
the PTAG field is a layer of outer layer VLAN which is added outside the original service message and in the OTAG field, in the VLAN value, the high 4bit represents the PON interface number, and the low 8bit represents the ONU ID.
In some embodiments, the processing, by the OLT master, of forwarding the uplink service packet includes:
the master control disk analyzes the service message and strips the OTAG field to obtain the section to which the service message belongs, and determines the corresponding internal port;
acquiring an ONU ID or a line card PON interface from a service message carrying a PTAG field according to the PTAG field, judging whether the analyzed service message is matched with preset condition information, and acquiring a forwarding domain ID corresponding to a VXLAN VNI if the analyzed service message is matched with the preset condition information; acquiring a forwarding domain ID corresponding to a service message slice and a VLAN from a service message which is not matched or does not carry a PTAG field;
the master control disk learns the source MAC + forwarding domain ID + source port of the service message and writes the source MAC + forwarding domain ID + source port into an MAC address table;
and the master control panel searches an MAC address table according to the destination MAC + forwarding domain ID of the service message, and forwards the service message from the corresponding forwarding domain to the corresponding destination port.
In some embodiments, the master control disk is in the MAC address table, and if it finds that the destination port is an uplink physical port, directly forwards the service packet to the uplink physical port;
if the found destination port is an internal port, forwarding to a slot physical port to which the internal port belongs;
and if the destination port is found to be the virtual port, acquiring a VXLAN tunnel next hop corresponding to the virtual port, and forwarding the message to the uplink physical port after carrying out VXLAN encapsulation.
In some embodiments, if the master control disk does not find the corresponding table entry in the MAC address table,
when a forwarding domain ID corresponding to the slice + service message VLAN is obtained, the service message is flooded to all uplink physical ports in the slice;
and when the forwarding domain ID corresponding to the VXLAN VNI is obtained, all VXLAN tunnel next hops corresponding to the VNI of the service message are subjected to VXLAN encapsulation, and then the service message is flooded to the corresponding uplink physical port.
In some embodiments, the processing, by the OLT, of the forwarding of the downlink traffic packet includes:
an uplink physical port of a master control disk receives and analyzes a downlink service message, and if the downlink service message is a VXLAN encapsulation message and conforms to the encapsulation mode of VNI + opposite-end VTEP attribute + uplink physical port, a corresponding virtual port is obtained to serve as a subsequent learning port, and a forwarding domain ID corresponding to VNI is obtained;
otherwise, according to the slices divided by the condition information in the downlink service message, obtaining the forwarding domain ID of the corresponding service message slice + VLAN, and using the physical port of the service message source uplink as the port of the subsequent learning;
learning message source MAC + forwarding domain ID + virtual port/uplink physical port, and writing into an MAC address table;
and searching an MAC address table for forwarding according to the destination MAC + forwarding domain ID of the message.
In some embodiments, the master control disk is in the MAC address table, and if it finds that the destination port is an uplink physical port, it directly forwards the packet to the uplink physical port of the port;
if the found destination port is an internal port, forwarding to a slot physical port to which the internal port belongs;
if the destination port is found to be a virtual port, acquiring a VXLAN tunnel next hop corresponding to the virtual port, and forwarding the message to the uplink physical port after carrying out VXLAN encapsulation;
when the table entry cannot be found, when a forwarding domain ID corresponding to the slice + the service message VLAN is obtained, the service message floods the internal ports corresponding to the same slice to all slot position physical ports; when the forwarding domain ID corresponding to the VNI is obtained, flooding is carried out on all slot position physical ports to which the internal ports corresponding to the slices mapped to the VXLAN service message belong;
and the line card forwards or floods the service message to the corresponding PON interface and the ONU according to the destination MAC of the service message received by the slot position physical port.
In another aspect, the present invention further provides an OLT VXLAN coexisting with multiple slices, including:
the slice forwarding configuration module is used for allocating a forwarding domain for each VLAN of the OLT virtual slice, each slot position physical port of the master control panel is mapped with at least one internal port, and each internal port only belongs to one slice;
the VXLAN forwarding configuration module is used for configuring VTEP attributes of OLT VXLAN, creating VNI, allocating a forwarding domain for each VNI, creating a VXLAN tunnel next hop and virtual ports for each VNI, opposite end VTEP attributes and uplink physical ports, and obtaining encapsulation information of VXLAN service messages;
the dividing module is used for forming VXLAN mapping between part of the service messages and VNI by preset condition information;
the service analysis and classification module is used for analyzing the service message, searching the condition information of the division module to acquire a forwarding domain ID, stripping the slice and VXLAN information in the service message and transmitting the information to the forwarding module; when the service message is an uplink service message which is forwarded by the line card and added with a field, the uplink service message after the field is added is a slice which is added by the line card through learning an uplink service message source MAC, and adding an OTAG field to the service message according to condition information to identify the service message; adding a PON label PTAG field for identifying the source ONU of the service message or the PON interface to the service message which accords with VXLAN mapping and has the ONU ID or the line card PON interface in the mapping condition;
and the forwarding module learns the message source MAC + forwarding domain ID + source port information, searches a destination port according to the destination MAC + forwarding domain ID, and encapsulates and forwards the message according to the destination port.
One of the above technical solutions has the following beneficial effects:
1. different internal ports of each slot physical port of the OLT master control disk are used for identifying different slices, different VXLAN opposite end VTEP (VXLAN Tunnel end point) is identified by using a virtual port VNI (VXLAN Network Identifier ), and the difference between VXLAN and the slices is stripped, so that multi-slice service and VXLAN access service are simultaneously realized on one OLT device, the hardware resources of the device are saved, the networking complexity is reduced, and the unified management is facilitated.
2. The forwarding domain does not concern the slice or VXLAN, and the isolation coexistence of the slice and the VXLAN service is realized by mapping different slice services and different VXLAN services to different forwarding domains. Through analyzing and de-encapsulating the service message, information such as complex slices, VXLAN and the like in the service message is stripped, message source MAC + forwarding domain ID + source port is learned, a target port is searched according to the target MAC + forwarding domain ID, the service message is forwarded, encapsulation information of an uplink VXLAN is obtained in a mode that a virtual port is used for binding the VXLAN tunnel next hop, coexistence and independence of VXLAN and slice services are achieved, complexity of forwarding and software layers is reduced, and portability, universality and expansibility of software are improved.
3. The condition information comprises at least one of an ONU, a line card PON interface, a line card board card, an uplink physical port, a message VLAN, a message MAC, a message IP, an IP protocol type and a message L4 port; the OLT can map the slice and the VXLAN service according to the condition information specified by the user side.
Drawings
Fig. 1 is a flowchart of a method for coexistence of OLT VXLAN and multiple slices according to an embodiment of the present invention;
fig. 2 is a processing flow chart of uplink service packet forwarding according to an embodiment of the present invention;
fig. 3 is a processing flow chart of downlink service packet forwarding according to an embodiment of the present invention;
fig. 4 is a schematic diagram of packet forwarding in an actual scenario according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
As shown in fig. 1, a method for providing OLT VXLAN coexistence with multi-slice includes the steps of:
s101, creating an OLT virtual slice, and allocating a forwarding domain to each VLAN of each slice; and configuring VTEP attributes of the OLT VXLAN, creating VNIs, and allocating a forwarding domain to each VNI. Whether the forwarding domain assigned by each VLAN or the forwarding domain assigned by each VNI is identified by a unique forwarding domain ID.
Each slot physical port of the master control disk is mapped with at least one internal port, each internal port only belongs to one slice, and a plurality of internal ports mapped by the same slot physical port respectively belong to different slices.
Each OLT includes multiple slices, each slice includes multiple VLANs, and each slice may include multiple internal ports. For example: physical slot port1 maps internal port1 to slice 1, and maps internal port2 to slice 2; physical slot port2 maps internal port 3 to slice 1 and internal port 4 to slice 2. Then, slice 1 includes internal port1 and internal port 3.
S102, forming VXLAN mapping between part of service messages and VNIs according to preset condition information, and creating a VXLAN tunnel next hop and Virtual Ports (VPs) for each VNI, opposite-end VTEP attributes and uplink physical ports, wherein the VXLAN tunnel next hop and Virtual Ports (VPs) are used for acquiring encapsulation information of the VXLAN service messages, and the encapsulation information is used for being bound to the virtual ports.
It can be understood that the slot physical port is a port where the OLT is connected to the line card, and the upstream physical port OLT is connected to an interface of an upstream backbone network. One OLT is provided with a plurality of slot positions and can be inserted into a plurality of line card boards.
Further, the VTEP attribute includes MAC and IP of the VTEP.
S103, learning a message source MAC + a forwarding domain ID + a source port, searching a destination port according to the destination MAC + the forwarding domain ID, and encapsulating and forwarding according to the destination port, wherein the service message is encapsulated by adopting the encapsulation information.
Further, the condition information includes at least one of an ONU ID (a line card indicating which slot), a line card PON interface, a line card, an uplink physical port, a message VLAN, a message MAC, a message IP, an IP protocol type, and a message L4 port. Wherein, the message MAC comprises a message source MAC and a message destination MAC; the message IP comprises a message source IP and a message destination IP; the message L4 ports include a message L4 source port and a message L4 destination port.
The preset condition information refers to that in the condition information, the service message can be selected and preset according to requirements, for example, the service message is divided into slices according to the combination of the ONU ID and the message VLAN; on the basis, the ONU ID, the line card PON interface, the message VLAN and the message source MAC can be combined, and the corresponding service message in the slice and the VNI form VXLAN mapping.
In step S102, the obtaining manner of the VTEP attribute of the peer includes: configuring an opposite-end OLT VTEP IP, initiating an ARP (Address Resolution Protocol) request by using the MAC corresponding to the local-end OLT VTEP IP, and requesting the MAC corresponding to the opposite-end OLT VTEP IP.
Based on the above embodiment, after receiving the service packet, the OLT may perform corresponding forwarding processing flows according to the uplink service packet and the downlink service packet.
As shown in fig. 2, providing a processing flow of an OLT for forwarding an uplink service packet specifically includes the steps of:
s201, the line card learns the uplink service message source MAC, finds the slice to which the uplink service message belongs according to the condition information in the uplink service message, adds an OTAG (Out Tag) field to the message, and identifies the slice to which the uplink service message belongs. The OTAG field is obtained by adding a layer of outer VLAN to the original service packet, and indicates the slice ID by the VLAN value.
Finding the slice to which the uplink service message belongs according to the condition information, for example, according to the content of the message: message VLAN, message MAC, message IP, IP protocol type, and message L4 port, source of the message: and comparing the ONU ID, the line card PON interface and the line card with preset condition information, and if the preset condition information is met, acquiring the section to which the uplink message belongs.
S202, the line card forms VXLAN mapping in the slice according to the slice to which the uplink service message belongs, the mapping condition is provided with the ONU ID or the service message of the PON interface of the line card, and the line card adds a PTAG (passive optical network Tag, PON label) field for the uplink service message and identifies the source ONU or PON interface information of the uplink service message. And the line card forwards the uplink service message to the master control panel through the slot physical port. The PTAG field is an outer VLAN layer added in the OTAG field and outside the original traffic packet.
Of the 12 bits of the VLAN value, the upper 4 bits indicate a PON interface number, and the lower 8 bits indicate an ONU ID. An internal line card of the OLT transmits information of the ONU or the PON port to a main control panel through a PTAG field, so that a fixed division is agreed, wherein a high 4bit (value range of 0-15) identifies 16 PON interfaces, and a low 8bit (value range of 0-255) identifies 256 ONU IDs.
S203, the main control panel analyzes and strips the OTAG field of the uplink service message, and determines the slice to which the uplink service message belongs and the internal port corresponding to the slot physical port according to the OTAG field content.
S204, judging whether the uplink service message carries a PTAG field, if so, entering S205; if not, the process proceeds to S207.
S205, the main control panel analyzes and peels off the PTAG field, obtains the ONU ID or the line card PON interface of the message uplink service message source according to the PTAG field, and judges whether the uplink service message is matched with preset condition information, if yes, the S206 is entered; if not, the process proceeds to S207.
S206, acquiring the forwarding domain ID of the uplink service message corresponding to the VXLAN VNI, and entering S208.
S207, acquiring a forwarding domain ID corresponding to the service message slice and the VLAN.
S208, the master control disk learns the source MAC + forwarding domain ID + source port of the service message, writes the source MAC + forwarding domain ID + source port into an MAC address table, and for the uplink service message, the internal port is the source port.
S209, the master control panel searches an MAC address table according to the destination MAC + forwarding domain ID of the uplink service message, and forwards the message from the corresponding forwarding domain to the corresponding destination port; because the forwarding domain ID is added to the lookup condition, the destination port obtained by looking up the address table is always in the corresponding forwarding domain.
If the destination port is found to be an uplink physical port, directly forwarding the uplink service message to the uplink physical port;
if the found destination port is an internal port, forwarding the internal port to the slot physical port to which the internal port belongs;
and if the destination port is found to be the virtual port, the next hop of the VXLAN tunnel corresponding to the virtual port is taken, and the message is forwarded to the uplink physical port after being subjected to VXLAN encapsulation.
If the corresponding table entry is not found, the process proceeds to S210.
S210, when the forwarding domain ID corresponding to the obtained slice + the service message VLAN, the service message is flooded to all uplink physical ports in the slice;
and when the forwarding domain ID corresponding to the VXLAN VNI is obtained, all VXLAN tunnels corresponding to the VNI of the service message are subjected to VXLAN encapsulation on the next hop, and then the service message is flooded to the corresponding uplink physical port.
As shown in fig. 3, providing a processing flow of the OLT for forwarding a downlink service packet specifically includes the steps of:
s301, the uplink interface transmits the downlink service message to the uplink physical port of the master control disk, and the uplink physical port of the master control disk analyzes the message content.
S302, judging whether the packet is a VXLAN packaging message and accords with a packaging mode of VNI + opposite-end VTEP attribute + uplink physical port in S104, if so, entering S303; if not, the process proceeds to S304.
S303, acquiring the corresponding virtual port as a subsequent learning port, acquiring a forwarding domain ID corresponding to the VNI, and entering S305.
S304, according to the slices divided by the condition information in the downlink service message, obtaining the forwarding domain ID of the corresponding service message slice + VLAN, and using the physical port of the service message source uplink as the port for subsequent learning.
S305, learning message source MAC + forwarding domain ID + virtual port/uplink physical port, and writing into an MAC address table.
S306, the master control panel searches an MAC address table for forwarding according to the message destination MAC + forwarding domain ID;
if the destination port is found to be the uplink physical port, the message is directly forwarded to the uplink physical port of the port, and the step S308 is carried out;
if the destination port is found to be the internal port, forwarding to the slot physical port to which the internal port belongs, and entering S308;
if the destination port is found to be a virtual port, acquiring a VXLAN tunnel next hop corresponding to the virtual port, performing VXLAN encapsulation on the message, forwarding the message to the uplink physical port, and entering S308;
if the entry cannot be found, S307 is entered.
S307, when the forwarding domain ID corresponding to the slice + service message VLAN is obtained, the service message floods the internal ports corresponding to the same slice to all slot position physical ports; for example: physical slot port1 maps internal port1 to slice 1, and maps internal port2 to slice 2; physical slot port2 maps internal port 3 to slice 1 and internal port 4 to slice 2; physical slot port 3 maps internal port 5 to slice 1 and internal port 6 to slice 2, so all physical ports are flooded to internal port1, internal port 3, internal port 5 for slice 1.
And when the forwarding domain ID corresponding to the VNI is obtained, flooding is carried out to all slot position physical ports to which the internal ports corresponding to the slices mapped to the VXLAN service message belong.
S308, the line card forwards or floods the downlink service message to the corresponding PON interface and the ONU according to the destination MAC of the downlink service message received by the slot physical port.
Based on the above embodiments, an embodiment of message forwarding in an actual scene is provided. As shown in fig. 4, the OLT includes a line card and a master controller, and the master controller uses an actual physical port to connect to the line card as an upper link to access a core backbone network or as a lower link slot physical port.
According to the line card, the ONU, the PON interface of the line card or the partition configuration from the whole line card to the slice are hung, the line card adds OTAG field identification slice information for all uplink service messages, according to the configuration of further dividing and accessing VXLAN service by a specified ONU or PON interface under a certain slice, the line card adds PTAG field identification ONU ID and PON interface for part of uplink service messages needed in the slice, and the information is transmitted to a master control panel through a slot position physical port; and the upper link is accessed into a backbone network, and a common service message, a VXLAN encapsulation service message which is transmitted by the backbone network after the far-end VXLAN VTEP equipment is encapsulated and a VXLAN service message encapsulated by the uplink outlet of the main control panel are transmitted.
As shown in fig. 4, the OLT is divided into two slices, namely, VOLT1 and VOLT2, traffic subdivision, which matches VLAN1 and specifies ONU ID and line card PON interface in VOLT1, is mapped to VXLAN VNI1000 traffic, an identifier FID1 of a forwarding domain ID1 is allocated to it, an identifier FID2 of a forwarding domain ID2 is allocated to VLAN1 traffic in VOLT2, forwarding learning is performed separately, and the forwarding domain itself has a flooding domain function.
Analyzing and stripping an OTAG field at an entrance of a slot physical port of a master control disk slot, mapping to a corresponding internal port (internal port), mapping an OTAG1 field to a VOLT1, mapping internal port1, mapping an OTAG2 field to a VOLT2, and mapping internal port 2. Analyzing condition information in uplink and downlink message contents, namely VLAN, MAC, IP protocol type, L4 port number information, line card PON interface and ONU ID in uplink service message PTAG, VXLAN encapsulation information in downlink service message, mapping to slice VLAN or VNI forwarding domain ID according to specific configuration, mapping VP (virtual port) aiming at downlink VXLAN service message, binding the virtual port with OLT as VXLAN VTEP equipment and VXLAN tunnel next hop (VXLAN tunnel) which is obtained by learning opposite terminal VTEP ARP and contains VXLAN encapsulation and destination uplink physical port (uplink port) information.
And according to the SCL analysis result, the internal port of the message inlet and the uplink physical port, learning source MAC + source port (physical/internal/virtual port) + Forwarding domain ID (Forwarding ID, FID), and searching and Forwarding according to the destination MAC + FID. And the uplink VXLAN service message is subjected to VXLAN encapsulation and forwarding according to the VXLAN tunnel nexthop bound by the searched target virtual port, the uplink slicing service message is forwarded according to the target uplink physical port, and the downlink service message is forwarded according to the slot position physical port corresponding to the target internal port.
And aiming at the configuration of each slice service message and VXLAN service message, mapping the configuration to a corresponding forwarding domain to realize independence on each service configuration.
The invention also provides a device for coexistence of the OLT VXLAN and the multi-slice, which is used for realizing the method.
The slice forwarding configuration module is used for allocating a forwarding domain for each VLAN of the OLT virtual slice, each slot position physical port of the master control panel is mapped with at least one internal port, and each internal port only belongs to one slice;
the VXLAN forwarding configuration module is used for configuring VTEP attributes of OLT VXLAN, creating VNI, allocating a forwarding domain for each VNI, creating a VXLAN tunnel next hop and virtual ports for each VNI, opposite end VTEP attributes and uplink physical ports, and obtaining encapsulation information of VXLAN service messages;
the dividing module is used for forming VXLAN mapping between part of the service messages and VNI by preset condition information;
the service analysis and classification module is used for analyzing the service message, searching the condition information of the division module to acquire a forwarding domain ID, stripping the slice and VXLAN information in the service message and transmitting the information to the forwarding module;
and the forwarding module learns the message source MAC + forwarding domain ID + source port information, searches a destination port according to the destination MAC + forwarding domain ID, and encapsulates and forwards the message according to the destination port.
Under the scene of coexistence of multiple slices and VXLAN, each slice is virtualized into an independent network element, and has independent configuration management and forwarding domain IDs corresponding to 4095 VLANs; each VNI of VXLAN services has an independent forwarding domain ID. The forwarding and configuration of each slice service and VXLAN service can be mapped to corresponding independent forwarding domains, so that the forwarding and configuration of each slice service and VXLAN service of the OLT are independent.
The present invention is not limited to the above embodiments, and any modifications, equivalent substitutions, improvements, etc. within the spirit and principle of the present invention are included in the scope of the claims of the present invention as filed.

Claims (11)

1. A method for OLT VXLAN to coexist with multiple slices, comprising the steps of:
allocating a forwarding domain for each VLAN of the OLT virtual slice; configuring VTEP attribute of OLT VXLAN, creating VNI, and allocating a forwarding domain for each VNI; each forwarding domain adopts a unique forwarding domain ID mark;
each slot position physical port of the master control disk is mapped with at least one internal port, and each internal port only belongs to one slice;
forming VXLAN mapping between part of service messages and VNIs according to preset condition information, and establishing a VXLAN tunnel next hop and a virtual port for each VNI, an opposite terminal VTEP attribute and an uplink physical port to acquire encapsulation information of the VXLAN service messages;
learning message source MAC + forwarding domain ID + source port, searching a destination port according to destination MAC + forwarding domain ID, and packaging and forwarding according to the destination port;
the main control panel receives an uplink service message forwarded by the line card after adding the field, wherein the uplink service message after adding the field is obtained by the line card through learning an uplink service message source MAC, adding an external tag OTAG field to the service message according to condition information, and identifying a slice to which the service message belongs;
and adding a PON label PTAG field for identifying the source ONU of the service message or the PON interface to the service message which accords with VXLAN mapping and has the ONU ID or the line card PON interface in the mapping condition.
2. The OLT VXLAN coexisting with multi-slice method of claim 1, wherein the VTEP attributes comprise MAC and IP of VTEP;
the condition information comprises at least one of an ONUID, a line card PON interface, a line card, an uplink physical port, a message VLAN, a message MAC, a message IP protocol type and a message L4 port.
3. The OLT VXLAN coexisting with multi-slice method of claim 2, wherein each of the OLTs comprises a plurality of slices, each slice comprising a plurality of VLANs;
a plurality of internal ports mapped by the same slot physical port belong to different slices respectively, and each slice comprises a plurality of internal ports.
4. The OLT VXLAN coexisting with multi-slice method of claim 3, wherein the peer-to-peer VTEP attributes are obtained by:
and configuring an opposite-end OLT VTEPIP, initiating an ARP request by using the MAC corresponding to the local-end OLT VTEP IP, and requesting the MAC corresponding to the opposite-end OLT VTEP IP.
5. The OLT VXLAN and multi-slice coexistence method according to claim 1, wherein the OTAG field is an outer layer VLAN added to the original traffic packet, and the slice ID is represented by a VLAN value;
the PTAG field is a layer of outer layer VLAN which is added outside the original service message and in the OTAG field, in the VLAN value, the high 4bit represents the PON interface number, and the low 8bit represents the ONU ID.
6. The OLT VXLAN and multi-slice coexistence method of claim 1, wherein the processing of upstream traffic packet forwarding by the OLT master comprises:
the master control disk analyzes the service message and strips the OTAG field to obtain the section to which the service message belongs, and determines the corresponding internal port;
acquiring an ONUID (one-to-one device identifier) or a line card PON (passive optical network) interface from a service message carrying a PTAG (packet access gateway) field according to the PTAG field, judging whether the analyzed service message is matched with preset condition information, and acquiring a forwarding domain ID (identity) corresponding to a VXLAN VNI (virtual extensible network interface) if the analyzed service message is matched with the preset condition information; acquiring a forwarding domain ID corresponding to a service message slice and a VLAN from service messages which are not matched or do not carry a PTAG field;
the master control disk learns the source MAC + forwarding domain ID + source port of the service message and writes the source MAC + forwarding domain ID + source port into an MAC address table;
and the master control panel searches an MAC address table according to the destination MAC + forwarding domain ID of the service message, and forwards the service message from the corresponding forwarding domain to the corresponding destination port.
7. The OLT VXLAN and multi-slice coexistence method according to claim 6, wherein a master control disk directly forwards the service packet to an upstream physical port if it finds that a destination port is the upstream physical port in a MAC address table;
if the found destination port is an internal port, forwarding to a slot physical port to which the internal port belongs;
and if the destination port is found to be the virtual port, acquiring a VXLAN tunnel next hop corresponding to the virtual port, and forwarding the message to the uplink physical port after carrying out VXLAN encapsulation.
8. The OLT VXLAN and multi-slice coexistence method of claim 6, wherein if no corresponding entry is found in the MAC address table by the master control,
when a forwarding domain ID corresponding to the slice + service message VLAN is obtained, the service message is flooded to all uplink physical ports in the slice;
and when the forwarding domain ID corresponding to the VXLAN VNI is obtained, all VXLAN tunnel next hops corresponding to the VNI of the service message are subjected to VXLAN encapsulation, and then the service message is flooded to the corresponding uplink physical port.
9. The OLT VXLAN coexistence method according to claim 3, wherein the OLT processing the downstream traffic packet forwarding comprises:
an uplink physical port of a master control disk receives and analyzes a downlink service message, and if the downlink service message is a VXLAN encapsulation message and conforms to the encapsulation mode of VNI + opposite-end VTEP attribute + uplink physical port, a corresponding virtual port is obtained to serve as a subsequent learning port, and a forwarding domain ID corresponding to VNI is obtained;
otherwise, according to the slices divided by the condition information in the downlink service message, obtaining a forwarding domain ID of the corresponding service message slice + VLAN, and using the service message source uplink physical port as a subsequent learning port;
learning message source MAC + forwarding domain ID + virtual port/uplink physical port, and writing into an MAC address table;
and searching an MAC address table for forwarding according to the destination MAC + forwarding domain ID of the message.
10. The OLT VXLAN and multi-slice coexistence method according to claim 9, wherein the master control disk directly forwards the packet to the physical port of the port uplink if it finds that the destination port is the physical port of the uplink in the MAC address table;
if the found destination port is an internal port, forwarding to a slot physical port to which the internal port belongs;
if the destination port is found to be a virtual port, acquiring a VXLAN tunnel next hop corresponding to the virtual port, and forwarding the message to the uplink physical port after carrying out VXLAN encapsulation;
when the table entry cannot be found, when a forwarding domain ID corresponding to the slice + the service message VLAN is obtained, the service message floods the internal ports corresponding to the same slice to all slot position physical ports; when a forwarding domain ID corresponding to a VNI is obtained, flooding is carried out on all slot position physical ports to which internal ports corresponding to the slices mapped to the VXLAN service message belong;
and the line card forwards or floods the service message to the corresponding PON interface and the ONU according to the destination MAC of the service message received by the slot position physical port.
11. An apparatus for OLT VXLAN to coexist with multiple slices, comprising:
the slice forwarding configuration module is used for allocating a forwarding domain for each VLAN of the OLT virtual slice, each slot position physical port of the master control panel is mapped with at least one internal port, and each internal port only belongs to one slice;
the VXLAN forwarding configuration module is used for configuring VTEP attributes of OLT VXLAN, creating VNI, allocating a forwarding domain for each VNI, creating a VXLAN tunnel next hop and virtual ports for each VNI, opposite end VTEP attributes and uplink physical ports, and obtaining encapsulation information of VXLAN service messages;
the dividing module is used for forming VXLAN mapping between part of the service messages and VNI by preset condition information;
the service analysis and classification module is used for analyzing the service message, searching the condition information of the division module to acquire a forwarding domain ID, stripping the slice and VXLAN information in the service message and transmitting the information to the forwarding module; when the service message is an uplink service message which is forwarded by the line card and added with a field, the uplink service message after the field is added is a slice which is added by the line card through learning an uplink service message source MAC, and adding an OTAG field to the service message according to condition information to identify the service message; adding a PON label PTAG field for identifying the source ONU of the service message or the PON interface to the service message which accords with VXLAN mapping and has the ONU ID or the line card PON interface in the mapping condition;
and the forwarding module learns the message source MAC + forwarding domain ID + source port information, searches a destination port according to the destination MAC + forwarding domain ID, and encapsulates and forwards the message according to the destination port.
CN202110649099.8A 2021-06-10 2021-06-10 Method and device for coexistence of OLT VXLAN and multiple slices Active CN113452593B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110649099.8A CN113452593B (en) 2021-06-10 2021-06-10 Method and device for coexistence of OLT VXLAN and multiple slices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110649099.8A CN113452593B (en) 2021-06-10 2021-06-10 Method and device for coexistence of OLT VXLAN and multiple slices

Publications (2)

Publication Number Publication Date
CN113452593A CN113452593A (en) 2021-09-28
CN113452593B true CN113452593B (en) 2022-06-03

Family

ID=77811170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110649099.8A Active CN113452593B (en) 2021-06-10 2021-06-10 Method and device for coexistence of OLT VXLAN and multiple slices

Country Status (1)

Country Link
CN (1) CN113452593B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113824991A (en) * 2021-10-29 2021-12-21 中国电信股份有限公司 Overseas television signal transmission system, method, apparatus, terminal and storage medium
CN114363102A (en) * 2021-12-30 2022-04-15 苏州盛科通信股份有限公司 Multicast implementation method and device based on multicast and VXLAN linkage
CN117439890B (en) * 2023-12-20 2024-02-27 江苏未来网络集团有限公司 End-to-end slicing network system of 5G private network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007031000A1 (en) * 2005-09-13 2007-03-22 Zte Corporation Virtual circuit exchanging method based on mac studying
WO2014028094A1 (en) * 2012-08-14 2014-02-20 Vmware, Inc. Method and system for virtual and physical network integration
WO2018001242A1 (en) * 2016-06-30 2018-01-04 中兴通讯股份有限公司 Data-message processing method and apparatus
CN110730478A (en) * 2019-10-18 2020-01-24 腾讯科技(深圳)有限公司 Slice association method, device, end-to-end slice organizer and storage medium
CN112769584A (en) * 2019-10-21 2021-05-07 中兴通讯股份有限公司 Method, device and storage medium for sharing uplink port by network slice

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007031000A1 (en) * 2005-09-13 2007-03-22 Zte Corporation Virtual circuit exchanging method based on mac studying
WO2014028094A1 (en) * 2012-08-14 2014-02-20 Vmware, Inc. Method and system for virtual and physical network integration
WO2018001242A1 (en) * 2016-06-30 2018-01-04 中兴通讯股份有限公司 Data-message processing method and apparatus
CN110730478A (en) * 2019-10-18 2020-01-24 腾讯科技(深圳)有限公司 Slice association method, device, end-to-end slice organizer and storage medium
CN112769584A (en) * 2019-10-21 2021-05-07 中兴通讯股份有限公司 Method, device and storage medium for sharing uplink port by network slice

Also Published As

Publication number Publication date
CN113452593A (en) 2021-09-28

Similar Documents

Publication Publication Date Title
CN113452593B (en) Method and device for coexistence of OLT VXLAN and multiple slices
CN109660443B (en) SDN-based physical device and virtual network communication method and system
US11463279B2 (en) Method and apparatus for implementing a flexible virtual local area network
KR102429560B1 (en) Network slice control method and apparatus and computer-readable storage medium
US9565033B2 (en) Multicast processing method, apparatus and system
US7515592B2 (en) Fast-path implementation for transparent LAN services using double tagging
US8958431B2 (en) Access method and apparatus for multi-protocol label switching layer 2 virtual private network
CN104869042A (en) Message forwarding method and message forwarding device
US9722923B2 (en) Method operating in a fixed access network and UEs
US7924880B2 (en) Method and system for establishing hierarchical network with provider backbone bridges
WO2016177145A1 (en) Packet transmission method and device
CN109121026B (en) Method and system for realizing VOLT (Voice over Internet protocol) based on logic port
EP1766530A2 (en) Scaling vlans in a data network
CN112422398B (en) Message transmission method and communication device
US20220385497A1 (en) Method for network slices to share uplink port, apparatus, and storage medium
JP2022537296A (en) EVPN message transfer method, system, storage medium and terminal
EP2897328A1 (en) Method, system and apparatus for establishing communication link
CN104734930B (en) Method and device for realizing access of Virtual Local Area Network (VLAN) to Variable Frequency (VF) network and Fiber Channel Frequency (FCF)
CN110191042B (en) Message forwarding method and device
CN111404797B (en) Control method, SDN controller, SDN access point, SDN gateway and CE
CN111385026A (en) OLT equipment virtualization method and OLT equipment
CN117811875A (en) Household intercommunication network access method and device
WO2016101515A1 (en) Method and apparatus for determining information technology (it) device port
WO2020259085A1 (en) Network slice-based data processing method and apparatus
CN113973045B (en) Message transmission method and device

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