CN112511400B - Message processing method and device - Google Patents

Message processing method and device Download PDF

Info

Publication number
CN112511400B
CN112511400B CN202011290498.1A CN202011290498A CN112511400B CN 112511400 B CN112511400 B CN 112511400B CN 202011290498 A CN202011290498 A CN 202011290498A CN 112511400 B CN112511400 B CN 112511400B
Authority
CN
China
Prior art keywords
identifier
vlan
srv6
message
tunnel
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
CN202011290498.1A
Other languages
Chinese (zh)
Other versions
CN112511400A (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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN202011290498.1A priority Critical patent/CN112511400B/en
Publication of CN112511400A publication Critical patent/CN112511400A/en
Application granted granted Critical
Publication of CN112511400B publication Critical patent/CN112511400B/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
    • 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/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/34Source routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a message processing method and device. The embodiment of the invention obtains the first identifier and the second identifier from the first SRv6 message received through the SRv6 tunnel; SRv6, the tunnel is a tunnel between an access gateway and a convergence router, a first SRv6 message is obtained by packaging based on SRv6 tunnel, the first identification is an equipment identification of an OLT accessing the convergence router, a second identification is an equipment identification of the convergence router, a first VLAN corresponding to the first identification and the second identification is determined, different OLTs are configured with different first VLANs under the same metropolitan area network, the first SRv6 message is unpacked to obtain a first IPv6 message, a second VLAN in the first IPv6 message is updated to be the first VLAN and forwarded, the second VLAN is a VLAN accessed by the OLT, a new unique VLAN is planned for each OLT on the basis of reserving original VLAN planning, VLAN conflict is avoided, workload is less, service interruption is not needed, network upgrading is realized at lower cost, and user experience is improved.

Description

Message processing method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for processing a packet.
Background
At present, each large operator in China upgrades a bearer network to perform DC (Data Center) resource pooling and SR (Segment Routing)/SRv 6(Segment Routing IPv6, Segment Routing based on IPv6 forwarding plane) technology bearer.
In technology upgrade and Network migration, the planning of the existing Network has some difficulties, one of them is the problem of VLAN (Virtual Local Area Network) collision.
The main reason for VLAN collision is due to centralized pooling of BRAS (Broadband Access Server). In the existing network, HJSW (convergence switch) and BRAS appear in pairs, and an OLT (Optical Line Terminal) is hung under HJSW only by dividing and planning VLANs in a region (one HJSW is a region), so that VLAN collision of OLTs under different HJSWs is not influenced.
When CT (Communication Technology) resources are pooled and different HJSWs need to access the same CT cloud for BRAS processing, a VLAN collision occurs when the DC-leaf (leaf data center) unpacks SRv6, that is, different OLTs use the same VLAN.
In the related art, the problem of VLAN collision is solved by replanning the VLAN through the network, which has a large workload and requires service interruption, so that the cost is high.
Disclosure of Invention
In order to overcome the problems in the related art, the invention provides a message processing method and a message processing device, which can avoid VLAN conflict of an OLT (optical line terminal) at lower cost.
In a first aspect, the present invention provides a method for processing a packet, where the method is applied to an access gateway of a metropolitan area network, and includes:
acquiring a first identifier and a second identifier from a first SRv6 message received through a segment routing SRv6 tunnel based on an internet protocol version 6 IPv6 forwarding plane; the SRv6 tunnel is a tunnel between the access gateway and a convergence router, the first SRv6 message is obtained by encapsulation based on the SRv6 tunnel, the first identifier is a device identifier of an OLT accessing the convergence router, and the second identifier is a device identifier of the convergence router;
determining a first VLAN corresponding to the first identifier and the second identifier, wherein different OLTs are configured with different first VLANs under the same metropolitan area network;
and decapsulating the first SRv6 message to obtain a first IPv6 message, updating a second VLAN in the first IPv6 message to the first VLAN and forwarding the first VLAN, wherein the second VLAN is a VLAN accessed by the OLT.
With reference to the first aspect, in a first possible implementation manner, the determining a first VLAN corresponding to the first identifier and the second identifier includes:
and searching the VLAN corresponding to the first identifier and the second identifier in the configured VLAN corresponding table entry, and determining the searched VLAN as the first VLAN.
With reference to the first aspect, in a second possible implementation manner, the first identifier and the second identifier are disposed in a segment identifier SID in the first SRv6 message; the SID includes a location identifier Locaor; the first identification and the second identification are field values of two fields in the locator.
With reference to the first aspect, in a third possible implementation manner, the first identifier and the second identifier occupy two bytes in the locator.
With reference to the first aspect, in a fourth possible implementation manner, the method further includes:
recording the corresponding relation between the second VLAN and the first VLAN;
receiving a second IPv6 message;
determining a second VLAN corresponding to the first VLAN in the second IPv6 message from the recorded corresponding relation; updating the first VLAN in the second IPv6 message into the second VLAN;
and encapsulating the second IPv6 message based on the SRv6 tunnel to obtain a second SRv6 message, and forwarding the second SRv6 message to the aggregation router through the SRv6 tunnel.
In a second aspect, the present invention provides a packet processing method, which is applied to a convergence router of a metropolitan area network, and the method includes:
receiving a first IPv6 message;
packaging the first IPv6 message according to a segment routing SRv6 tunnel based on an IPv6 forwarding plane of an Internet protocol version 6 to obtain a first SRv6 message, wherein the first SRv6 message comprises a first identifier and a second identifier; the first identifier is a device identifier of an Optical Line Terminal (OLT) accessing the aggregation router, and the second identifier is a device identifier of the aggregation router;
forwarding the first SRv6 message to the access gateway through the SRv6 tunnel.
In a third aspect, the present invention provides a packet processing apparatus, which is applied to an access gateway of a metropolitan area network, and includes:
a first receiving module, configured to receive a first SRv6 packet through a segment routing SRv6 tunnel based on an internet protocol version 6 IPv6 forwarding plane; the first SRv6 message is encapsulated based on the SRv6 tunnel;
the identifier obtaining module is used for obtaining a first identifier and a second identifier from the first SRv6 message; the first identifier is an equipment identifier of a first OLT, and the second identifier is an equipment identifier of the aggregation router;
a first VLAN determining module, configured to determine a first VLAN corresponding to the first identifier and the second identifier, where different OLTs in the same metropolitan area network are configured with different first VLANs;
and the updating and forwarding module is used for decapsulating the first SRv6 message to obtain a first IPv6 message, updating a second VLAN in the first IPv6 message to the first VLAN, and forwarding the first VLAN, where the second VLAN is a VLAN accessed by the OLT.
With reference to the third aspect, in a first possible implementation manner, the first VLAN determining module is specifically configured to:
and searching the VLAN corresponding to the first identifier and the second identifier in the configured VLAN corresponding table entry, and determining the searched VLAN as the first VLAN.
With reference to the third aspect, in a second possible implementation manner, the method further includes:
the recording module is used for recording the corresponding relation between the second VLAN and the first VLAN;
the second receiving module is used for receiving a second IPv6 message;
a second VLAN determining module, configured to determine, from the recorded correspondence, a second VLAN corresponding to the first VLAN in the second IPv6 message; updating the first VLAN in the second IPv6 message into the second VLAN;
and an encapsulating and forwarding module, configured to encapsulate the second IPv6 packet based on the SRv6 tunnel to obtain a second SRv6 packet, and forward the second SRv6 packet to the aggregation router through the SRv6 tunnel.
In a fourth aspect, the present invention provides a packet processing apparatus, which is applied to a convergence router of a metropolitan area network, and the apparatus includes:
the receiving module is used for receiving a first IPv6 message;
a packaging module, configured to package the first IPv6 packet according to a segment routing SRv6 tunnel based on an internet protocol version 6 IPv6 forwarding plane, so as to obtain a first SRv6 packet, where the first SRv6 packet includes a first identifier and a second identifier; the first identifier is an equipment identifier of a first Optical Line Terminal (OLT), and the second identifier is an equipment identifier of the aggregation router;
a forwarding module, configured to forward the first SRv6 packet to the access gateway through the SRv6 tunnel.
Therefore, the message processing method provided by the invention obtains the first identifier and the second identifier from the first SRv6 message received through the segment routing SRv6 tunnel based on the IPv6 forwarding plane of the Internet protocol version 6; the SRv6 tunnel is a tunnel between the access gateway and a convergence router, the first SRv6 message is encapsulated based on the SRv6 tunnel, the first identification is the equipment identification of the OLT accessed to the aggregation router, the second identification is the equipment identification of the aggregation router, the first VLAN corresponding to the first identification and the second identification is determined, different first VLANs are configured for different OLTs under the same metropolitan area network, decapsulating the first SRv6 message to obtain a first IPv6 message, updating a second VLAN in the first IPv6 message to the first VLAN and forwarding the first VLAN, where the second VLAN is a VLAN accessed by the OLT, by planning a new unique VLAN for each OLT on the basis of keeping the original VLAN planning, the VLAN conflict is avoided, the workload is low, the service does not need to be interrupted, the network upgrading is realized at lower cost, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the specification.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present specification and together with the description, serve to explain the principles of the specification.
Fig. 1 is a schematic diagram of a network architecture before pooling of DC resources.
Fig. 2 is a schematic diagram of a network architecture after DC resource pooling.
Fig. 3 is a flowchart illustrating a message processing method according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of SRv6 message and SID structures.
Fig. 5 is a diagram illustrating a structure of a Locator in a SID according to an embodiment of the present invention.
Fig. 6 is a diagram illustrating another flow of a message processing method according to an embodiment of the present invention.
Fig. 7 is a functional block diagram of a message processing apparatus according to an embodiment of the present invention.
Fig. 8 is another functional block diagram of a message processing apparatus according to an embodiment of the present invention.
Fig. 9 is a hardware structure diagram of an access gateway according to an embodiment of the present invention.
Fig. 10 is a hardware structure diagram of a convergence router according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of embodiments of the invention, as detailed in the following claims.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of embodiments of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used to describe various information in embodiments of the present invention, the information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of embodiments of the present invention. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Fig. 1 is a schematic diagram of a network architecture before pooling of DC resources. As shown in fig. 1, before DC resource pooling, the aggregation switch HJSW1 is connected to the broadband access server BRAS1, the aggregation switch HJSW2 is connected to the broadband access server BRAS2, and the BRAS1 and BRAS2 are connected to the egress Router CR (Core Router) of the metro network. Although optical line terminals OLT1 and OLT2 have the same VLAN (i.e. VLAN100), since OLT1 and OLT2 are accessed by different access servers (OLT1 is accessed by BRAS1 and OLT2 is accessed by BRAS 2), the same VLAN for OLT1 and OLT2 has no effect on both access networks.
Fig. 2 is a schematic diagram of a network architecture after DC resource pooling. As shown in fig. 2, after the DC resources are pooled, both the aggregation switches HJSW1 and HJSW2 need to access the same CT cloud through the access gateway DC-leaf of the metropolitan area network by the aggregation router M-leaf to perform BRAS processing, a SRv6 tunnel is established between the M-leaf and the DC-leaf of the CT cloud, and when the DC-leaf is unpacked SRv6, VLANs of the OLT1 and the OLT2 are the same, and a VLAN collision occurs, that is, different OLTs use the same VLAN.
It should be noted that a metro network includes one DC-leaf, but a metro network may include a plurality of M-leaf branches as shown in fig. 2, and the plurality of M-leaf branches are all connected to the same DC-leaf in the metro network.
The related art solves the VLAN collision problem in fig. 2 by network re-planning VLANs. The number and scale of the OLTs in the same metropolitan area network of the operator network are huge, if the VLAN is planned again, the workload is huge, the planning cost is very high, the service needs to be interrupted, economic loss is caused to the operator, and the use experience of a user is influenced.
In order to solve the above problem, an embodiment of the present invention provides a method for processing a message, where the method configures a new VLAN for each OLT in a metropolitan area network without changing an original VLAN in the network, and the new VLANs configured for different OLTs are different; and configuring a device identifier capable of uniquely identifying the OLT in the metropolitan area network for each OLT, and configuring a device identifier capable of uniquely identifying the M-leaf in the metropolitan area network for each M-leaf. In the message processing method provided by the embodiment of the invention, in the process that an M-Leaf encapsulates an IPv6 message based on an SRv6 tunnel to obtain a SRv6 message, an equipment identifier of the M-Leaf and an equipment identifier of an access OLT are added to the SRv6 message, and a SRv6 message is forwarded to a DC-Leaf through an SRv6 tunnel; after receiving SRv6 messages carrying M-Leaf equipment identifications and access OLT equipment identifications, the DC-Leaf decapsulates the SRv6 messages to obtain IPv6 messages, obtains the M-Leaf equipment identifications and the access OLT equipment identifications carried in SRv6 messages, determines a new VLAN accessed to the OLT according to the M-Leaf equipment identifications and the access OLT equipment identifications, replaces the original VLAN in the IPv6 messages with the new VLAN, and forwards the IPv6 messages replacing the VLAN.
Therefore, the original VLAN division of the OLT is not changed, so that the workload can be simplified, and the network can be upgraded without interrupting the service.
The following describes a message processing method according to the present invention by way of an embodiment.
Fig. 3 is a flowchart illustrating a message processing method according to an embodiment of the present invention. The message processing method is applied to an access gateway of a metropolitan area network, and as shown in fig. 3, the method may include:
s301, acquiring a first identifier and a second identifier from a first SRv6 message received through an SRv6 tunnel; the SRv6 tunnel is a tunnel between the access gateway and the aggregation router, the first SRv6 packet is obtained by encapsulation based on the SRv6 tunnel, the first identifier is a device identifier of an OLT accessing the aggregation router, and the second identifier is a device identifier of the aggregation router.
S302, determining a first VLAN corresponding to the first identifier and the second identifier, wherein different OLTs are configured with different first VLANs in the same metropolitan area network.
And S303, decapsulating the first SRv6 message to obtain a first IPv6 message, updating a second VLAN in the first IPv6 message to the first VLAN and forwarding the first VLAN, wherein the second VLAN is a VLAN accessed by the OLT.
Wherein the access gateway is the DC-Leaf in fig. 2, and the aggregation router is the M-Leaf in fig. 2.
The first identification is the equipment identification of the OLT accessing the aggregation router M-leaf, and the second identification is the equipment identification of the M-leaf.
In one example, the first identifier may be an OLT serial number configured by an operator for the OLT, and the OLT serial numbers configured by different OLTs are different. The second identifier may be a converged router serial number configured by the operator for a converged router, and the converged router serial numbers configured for different converged routers are different.
In this embodiment, the first VLAN is the new VLAN configured for the OLT, and the second VLAN is the original VLAN of the OLT in the network planning, for example, the original VLAN of the OLT1 in fig. 2 is 100.
In this embodiment, because different OLTs in the same metro network are configured with different VLANs (the VLAN refers to the new VLAN configured for the OLT), the first IPv6 messages corresponding to different OLTs in the same aggregation router have different VLANs after being updated, thereby solving the problem of VLAN collision.
In an exemplary implementation, the determining the first VLAN corresponding to the first identifier and the second identifier may include:
and searching the VLAN corresponding to the first identifier and the second identifier in the configured VLAN corresponding table entry, and determining the searched VLAN as the first VLAN.
The operator may pre-configure the VLAN corresponding entry in the access gateway (e.g., DC-leaf in fig. 2). The VLAN corresponding entry may include a first identifier, a second identifier, a first VLAN, and a second VLAN.
In one example, the contents of the VLAN corresponding entry may be as shown in table 1.
TABLE 1
Second oneIdentification First mark Second VLAN A first VLAN
For example, taking the network architecture shown in fig. 2 as an example, the content of the VLAN corresponding entry may be as shown in table 2.
TABLE 2
M-leaf device identification OLT equipment identification Original VLAN of OLT New VLAN of OLT
When a new OLT is added under a certain M-leaf in the metropolitan area network, the maintenance personnel of the operator can configure an original VLAN for the new OLT according to the original VLAN plan of the network, configure a new VLAN for the new OLT according to the new plan, update the corresponding entry of the VLAN configured in the access gateway, and add the device identifier of the new OLT, the device identifier of the M-leaf connected to the device identifier of the new OLT, the original VLAN of the new OLT, and the new VLAN of the new OLT to the corresponding entry of the VLAN.
In this embodiment, the first VLAN is determined by searching the configured entry corresponding to the VLAN, so that the first VLAN can be automatically determined, and the processing efficiency is improved.
In an exemplary implementation, the first identifier and the second identifier are set in a segment identifier SID in the first SRv6 message; the SID includes a location identifier Locaor; the first identifier and the second identifier are field values of two fields in the locator.
Fig. 4 is a schematic structural diagram of SRv6 message and SID (Segment Identifier). As shown in fig. 4, SRv6 messages include fields such as IPv6 Header (IPv6 Header), IPv6 SRH (Segment Routing Header) and payload. The IPv6 SRH part is the SID of each segment node between SRv6 tunnels for transmitting SRv6 messages, and the SID is expressed as a 128-bit IPv6 address. Each SID comprises two parts, namely a Locator (position identifier) and a Function (instruction), wherein the Function part can also be divided into an optional parameter section (identifiers), and the format is that the Locator: Function: identifiers, wherein the Locator occupies the high bits of the IPv6 address, the Function part occupies the rest of the IPv6 address, and the optional parameter identifiers occupy the low bits of the IPv6 address.
The Locator has a routing positioning function, and needs to be unique in SRv6 domain, other segmented nodes in the network can be positioned to the node through the router segment routing, and all SRv6 SIDs issued by the node can also reach through the router segment routing.
The Function represents instructions of the device to instruct the node of SRv6SID to perform corresponding functional operations, such as end.dxx 6 SID: the operation requires that Segments Left be 0 and the packet with IPv6 encapsulated within it has its outer IPv6 header removed and the inner IPv6 packet forwarded to the specified next hop address.
The segment routing extension header SRH in fig. 4 includes 4 SIDs (respectively corresponding to 128bits in fig. 4), because the SRv6 packet in fig. 4 needs to pass through 4 nodes in the SRv6 tunnel, and the 4 SIDs respectively correspond to the 4 nodes. In one example, the first identifier and the second identifier are set in a SID corresponding to a last node in a segment routing extension header SRH of the first SRv6 packet. In the scenario shown in fig. 2, the last node in the segment routing extension header SRH of the SRv6 message is the access gateway DC-leaf.
Fig. 5 is a diagram illustrating a structure of a Locator in a SID according to an embodiment of the present invention. As shown in fig. 5, in this embodiment, on the basis of the structure of the Locator in the prior art, one of two fields in the Locator is set as an M-leaf device identifier, and the other is set as an OLT device identifier.
In one example, the first identifier and the second identifier occupy two bytes in the locator.
In one example, the method further comprises:
recording the corresponding relation between the second VLAN and the first VLAN;
receiving a second IPv6 message;
determining a second VLAN corresponding to the first VLAN in the second IPv6 message from the recorded corresponding relation; updating the first VLAN in the second IPv6 message into the second VLAN;
and encapsulating the second IPv6 message based on the SRv6 tunnel to obtain a second SRv6 message, and forwarding the second SRv6 message to the aggregation router through the SRv6 tunnel.
The correspondence between the second VLAN and the first VLAN may be as shown in table 1.
According to the table 1, the access gateway can obtain not only the second VLAN corresponding to the first VLAN, but also which aggregation router the end point of the SRv6 tunnel transmitting the second SRv6 message is, so that the second SRv6 message can be accurately routed to the corresponding aggregation router.
The second IPv6 message is from a terminal corresponding to the destination address in the first IPv6 message. For example, assuming that OLT1 sends a first IPv6 message to OLT3 in another metropolitan area network (the metropolitan area network is different from the metropolitan area network in which OLT1 is located) in fig. 2, OLT3 returns a second IPv6 message to OLT1 in response to the received first IPv6 message, where the second IPv6 message is tunneled by access gateway DC-leaf through SRv6 and then forwarded to aggregation router M-leaf, and then is de-SRv 6 and then forwarded to OLT 1.
The message processing method shown in fig. 3 is further described in detail by way of example.
Assume that, based on fig. 2, the new VLAN configured for OLT1 is 10, the new VLAN configured for OLT2 is 20, and the original VLANs of OLT1 and OLT2 are both 100. Meanwhile, the device id configured for M-leaf is 100, and the device ids configured for OLT1 and OLT2 are 0001 and 0002, respectively.
The processing procedure of the DC-leaf to SRv6 message 1 corresponding to the OLT1 is as follows:
the DC-leaf receives SRv6 message 1 corresponding to OLT1 through SRv6 tunnel between the DC-leaf and the M-leaf, and SRv6 message 1 comprises equipment identification 0001 of OLT1 and equipment identification 100 of the M-leaf; the configured VLAN forwarding entry in the DC-leaf is shown in table 3.
TABLE 3
100 0001 100 10
100 0002 100 20
The DC-leaf finds out that the new VLAN corresponding to the device identifier 0001 of the OLT1 and the device identifier 100 of the M-leaf is 10 from the locally configured VLAN forwarding table entry (as shown in table 3);
and the DC-leaf decapsulates the SRv6 message 1 to obtain an IPv6 message 1, updates the original VLAN100 in the IPv6 message 1 to 10 and forwards the 10, wherein the VLAN100 is the VLAN accessed by the OLT 1.
The processing procedure of the DC-leaf to SRv6 message 2 corresponding to the OLT2 is as follows:
the DC-leaf receives SRv6 message 2 corresponding to OLT2 through SRv6 tunnel between the DC-leaf and the M-leaf, and SRv6 message 2 comprises equipment identification 0002 of OLT2 and equipment identification 100 of the M-leaf; the VLAN forwarding table entries configured in the DC-leaf are shown in table 3;
the DC-leaf finds out that the new VLAN corresponding to the device identifier 0002 of the OLT2 and the device identifier 100 of the M-leaf is 20 from the locally configured VLAN forwarding table entry (shown in table 3);
and the DC-leaf decapsulates the SRv6 message 2 to obtain an IPv6 message 2, updates the original VLAN100 in the IPv6 message 2 to 20, and forwards the updated VLAN, wherein the VLAN100 is the VLAN accessed by the OLT 2.
It can be seen that at DC-leaf, messages from OLT1 and OLT2 are forwarded out with different VLANs, respectively, avoiding VLAN collisions.
In the message processing method provided by the embodiment of the invention, a first identifier and a second identifier are obtained from a first SRv6 message received through a segment route SRv6 tunnel based on an IPv6 forwarding plane of an Internet protocol version 6; the SRv6 tunnel is a tunnel between the access gateway and a convergence router, the first SRv6 packet is obtained based on the SRv6 tunnel encapsulation, the first identification is the equipment identification of the OLT accessed to the aggregation router, the second identification is the equipment identification of the aggregation router, the first VLAN corresponding to the first identification and the second identification is determined, different first VLANs are configured for different OLTs under the same metropolitan area network, decapsulating the first SRv6 message to obtain a first IPv6 message, updating a second VLAN in the first IPv6 message to the first VLAN and forwarding the first VLAN, where the second VLAN is a VLAN accessed by the OLT, by planning a new unique VLAN for each OLT on the basis of keeping the original VLAN planning, the VLAN conflict is avoided, the workload is low, the service does not need to be interrupted, the network upgrading is realized at lower cost, and the user experience is improved.
Fig. 6 is a diagram illustrating another flow of a message processing method according to an embodiment of the present invention. The message processing method is applied to a convergence router of a metropolitan area network, and as shown in fig. 6, the method may include:
s601, receiving a first IPv6 message.
S602, the first IPv6 message is encapsulated according to the SRv6 tunnel to obtain a first SRv6 message, and the first SRv6 message comprises a first identifier and a second identifier; the SRv6 tunnel is a tunnel between the aggregation router and the access gateway, the first identifier is an equipment identifier of an Optical Line Terminal (OLT) accessing the aggregation router, and the second identifier is an equipment identifier of the aggregation router.
S603, forwarding the first SRv6 message to the access gateway through the SRv6 tunnel.
The aggregation router pre-configures the device identities of all the OLTs to be hung down, for example, in the M-leaf in fig. 2. When the convergence router receives the message of the OLT, it can distinguish which OLT the message comes from according to the receiving port or according to the receiving port and the VLAN corresponding to the OLT.
When the OLTs are distinguished according to the receiving ports, different ports of the aggregation router are connected to different OLTs, and a corresponding entry of the port and the OLT device identifier is pre-configured in the aggregation router, which may be as shown in table 4 in one example.
TABLE 4
Port(s) OLT OLT equipment identification
Port 1 OLT1 0001
Port 2 OLT2 0002
…… …… ……
When the OLT is distinguished according to the combination of the receiving port and the VLAN, the VLANs corresponding to the OLT received by the aggregation router through the same port are different, and a corresponding entry of the combination of the port and the VLAN and the identifier of the OLT device is preconfigured in the aggregation router, which may be shown in table 5 in one example.
TABLE 5
Port(s) VLAN OLT OLT equipment identification
Port 1 100 OLT1 0001
Port 2 100 OLT2 0002
Port 2 200 OLT3 0003
Port 3 300 OLT4 0004
…… …… …… ……
When encapsulating the IPv6 message, the aggregation router adds the device identifier of the aggregation router and the device identifier of the access OLT to the SRv6 message, so that after the access gateway receives the SRv6 message through the SRv6 tunnel, the SRv6 message can be processed by the message processing method described in the foregoing fig. 3, so as to avoid VLAN collision.
The message processing method shown in fig. 6 is further described in detail by way of example.
Still taking the previous examples of OLT1 and OLT2 in fig. 2, assuming that the device id configured for M-leaf is 100, the device ids configured for OLT1 and OLT2 are 0001 and 0002, respectively.
The processing process of the M-leaf on the IPv6 message 1 corresponding to the OLT1 is as follows:
the M-leaf receives an IPv6 message 1;
the M-leaf encapsulates the IPv6 message 1 according to the SRv6 tunnel to obtain SRv6 message 1, wherein the SRv6 message 1 comprises an equipment identifier 0001 of the OLT2 and an equipment identifier 100 of the M-leaf;
the M-leaf tunnels SRv6 message 1 through SRv6 so that the DC-leaf tunnels SRv6 message 1 through SRv 6.
The processing procedure of the M-leaf on the IPv6 message 2 corresponding to the OLT2 is as follows:
the M-leaf receives an IPv6 message 2;
the M-leaf encapsulates the IPv6 message 2 according to the SRv6 tunnel to obtain SRv6 message 2, wherein the SRv6 message 2 comprises an equipment identifier 0002 of the OLT2 and an equipment identifier 100 of the M-leaf;
the M-leaf tunnels SRv6 message 2 to the DC-leaf through SRv6 so that the DC-leaf tunnels SRv6 message 2 through SRv 6.
According to the message processing method provided by the embodiment of the invention, a first IPv6 message is received, the first IPv6 message is packaged according to a SRv6 tunnel to obtain a first SRv6 message, and the first SRv6 message comprises a first identifier and a second identifier; the first identifier is an equipment identifier of an Optical Line Terminal (OLT) accessing the aggregation router, the second identifier is an equipment identifier of the aggregation router, and the SRv6 tunnel forwards the first SRv6 message to the access gateway, so that the access gateway can update an original VLAN in the first IPv6 message to a new VLAN according to the first identifier and the second identifier, and VLAN collision is avoided.
It should be noted that, although the foregoing examples all use VLANs as an example, the embodiments of the present invention are also applicable to VxLAN.
It should be noted that the message that the access network and the edge network device perform SRv6 encapsulation needs to be an IPv6 message, but the message that the access network and the edge network device receive outside the SRv6 tunnel may be an IPv6 message, or an IPv4 message. When the received message is an IPv4 message, the access network and the edge network device may convert the IPv4 message into an IPv6 message, and then perform SRv6 encapsulation on the converted IPv6 message.
Corresponding to the embodiments of the method, the present specification also provides embodiments of the device and the applied equipment.
Fig. 7 is a functional block diagram of a message processing apparatus according to an embodiment of the present invention. The message processing apparatus is applied to an access gateway of a metropolitan area network, and as shown in fig. 7, the apparatus includes:
a first receiving module 710, configured to receive a first SRv6 packet through a segment routing SRv6 tunnel based on an internet protocol version 6 IPv6 forwarding plane; the SRv6 tunnel is a tunnel between the access gateway and a convergence router, and the first SRv6 message is obtained by encapsulation based on the SRv6 tunnel;
an identifier obtaining module 720, configured to obtain a first identifier and a second identifier from the first SRv6 message; the first identifier is an equipment identifier of a first OLT, and the second identifier is an equipment identifier of the aggregation router;
a first VLAN determining module 730, configured to determine a first VLAN corresponding to the first identifier and the second identifier, where different OLTs in the same metropolitan area network are configured with different first VLANs;
the update forwarding module 740 is configured to decapsulate the first SRv6 message to obtain a first IPv6 message, update a second VLAN in the first IPv6 message to the first VLAN, and forward the second VLAN, where the second VLAN is a VLAN accessed by the OLT.
In an exemplary implementation process, the first VLAN determining module 730 is specifically configured to:
and searching the VLAN corresponding to the first identifier and the second identifier in the configured VLAN corresponding table entry, and determining the searched VLAN as the first VLAN.
In an exemplary implementation process, the first identifier and the second identifier are set in a segment identifier SID in the first SRv6 message; the SID includes a location identifier Locaor; the first identifier and the second identifier are field values of two fields in the locator.
In an exemplary implementation, the first identifier and the second identifier occupy two bytes in the locator.
In an exemplary implementation, the method further includes:
the recording module is used for recording the corresponding relation between the second VLAN and the first VLAN;
the second receiving module is used for receiving a second IPv6 message;
a second VLAN determination module, configured to determine, from the recorded correspondence, a second VLAN corresponding to the first VLAN in the second IPv6 message; updating the first VLAN in the second IPv6 message into the second VLAN;
and the encapsulation forwarding module is configured to encapsulate the second IPv6 packet based on the SRv6 tunnel to obtain a second SRv6 packet, and forward the second SRv6 packet to the aggregation router through the SRv6 tunnel.
Fig. 8 is another functional block diagram of a message processing apparatus according to an embodiment of the present invention. The message processing apparatus is applied to a convergence router of a metropolitan area network, and as shown in fig. 8, the apparatus includes:
a receiving module 810, configured to receive a first IPv6 message;
an encapsulating module 820, configured to encapsulate the first IPv6 packet according to a segment routing SRv6 tunnel based on an internet protocol version 6 IPv6 forwarding plane to obtain a first SRv6 packet, where the SRv6 tunnel is a tunnel between the aggregation router and an access gateway, and the first SRv6 packet includes a first identifier and a second identifier; the first identifier is a device identifier of an Optical Line Terminal (OLT) accessing the aggregation router, and the second identifier is a device identifier of the aggregation router;
a forwarding module 830, configured to forward the first SRv6 packet to the access gateway through the SRv6 tunnel.
An embodiment of the present invention further provides an access gateway, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the following operations when executing the program:
acquiring a first identifier and a second identifier from a first SRv6 message received through a segment routing SRv6 tunnel based on an internet protocol version 6 IPv6 forwarding plane; the SRv6 tunnel is a tunnel between the access gateway and a convergence router, the first SRv6 message is obtained by encapsulation based on the SRv6 tunnel, the first identifier is a device identifier of an OLT accessing the convergence router, and the second identifier is a device identifier of the convergence router;
determining a first VLAN corresponding to the first identifier and the second identifier, wherein different OLTs are configured with different first VLANs in the same metropolitan area network;
and decapsulating the first SRv6 message to obtain a first IPv6 message, updating a second VLAN in the first IPv6 message to the first VLAN and forwarding the first VLAN, wherein the second VLAN is a VLAN accessed by the OLT.
In an exemplary implementation, the determining the first VLAN corresponding to the first identifier and the second identifier includes:
and searching the VLAN corresponding to the first identifier and the second identifier in the configured VLAN corresponding table entry, and determining the searched VLAN as the first VLAN.
In an exemplary implementation, the first identifier and the second identifier are set in a segment identifier SID in the first SRv6 message; the SID includes a location identifier Locaor; the first identifier and the second identifier are field values of two fields in the locator.
In an exemplary implementation, the first identifier and the second identifier occupy two bytes in the locator.
In one exemplary implementation, the method further comprises:
recording the corresponding relation between the second VLAN and the first VLAN;
receiving a second IPv6 message;
determining a second VLAN corresponding to the first VLAN in the second IPv6 message from the recorded corresponding relation; updating the first VLAN in the second IPv6 message into the second VLAN;
and encapsulating the second IPv6 message based on the SRv6 tunnel to obtain a second SRv6 message, and forwarding the second SRv6 message to the aggregation router through the SRv6 tunnel.
The access gateway according to the embodiment of the present invention may adopt a hardware structure as shown in fig. 9. Fig. 9 is a hardware structure diagram of an access gateway according to an embodiment of the present invention, in fig. 9, a memory includes a memory and a nonvolatile memory, and a computer program for implementing a message processing method is stored in the memory.
It should be noted that, besides the processor, the network interface, the memory and the nonvolatile memory shown in fig. 9, the access gateway may also generally include other hardware in other embodiments, which is not shown in detail in fig. 9.
The embodiment of the present invention further provides a convergence router, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor implements the following operations when executing the program:
receiving a first IPv6 message;
encapsulating the first IPv6 message according to a segment routing SRv6 tunnel based on an IPv6 forwarding plane of an internet protocol version 6 to obtain a first SRv6 message, where the SRv6 tunnel is a tunnel between the aggregation router and an access gateway, and the first SRv6 message includes a first identifier and a second identifier; the first identifier is a device identifier of an Optical Line Terminal (OLT) accessing the aggregation router, and the second identifier is a device identifier of the aggregation router;
forwarding the first SRv6 message to the access gateway through the SRv6 tunnel.
The aggregation router of the embodiment of the present invention may adopt a hardware structure as shown in fig. 10. Fig. 10 is a hardware structure diagram of a convergence router according to an embodiment of the present invention, in fig. 10, a memory includes a memory and a nonvolatile memory, and a computer program for implementing a message processing method is stored in the memory.
It should be noted that, in addition to the processor, the network interface, the memory and the non-volatile memory shown in fig. 10, the aggregation router may also generally include other hardware in other embodiments, which is not shown in detail in fig. 10.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the program, when executed by a processor, implements the following operations:
acquiring a first identifier and a second identifier from a first SRv6 message received through a segment routing SRv6 tunnel based on an internet protocol version 6 IPv6 forwarding plane; the SRv6 tunnel is a tunnel between the access gateway and a convergence router, the first SRv6 message is obtained by encapsulation based on the SRv6 tunnel, the first identifier is a device identifier of an OLT accessing the convergence router, and the second identifier is a device identifier of the convergence router;
determining a first VLAN corresponding to the first identifier and the second identifier, wherein different OLTs are configured with different first VLANs in the same metropolitan area network;
and decapsulating the first SRv6 message to obtain a first IPv6 message, updating a second VLAN in the first IPv6 message to the first VLAN and forwarding the first VLAN, wherein the second VLAN is a VLAN accessed by the OLT.
In an exemplary implementation, the determining the first VLAN corresponding to the first identifier and the second identifier includes:
and searching the VLAN corresponding to the first identifier and the second identifier in the configured VLAN corresponding table entry, and determining the searched VLAN as the first VLAN.
In an exemplary implementation, the first identifier and the second identifier are set in a segment identifier SID in the first SRv6 message; the SID includes a location identifier Locaor; the first identifier and the second identifier are field values of two fields in the locator.
In an exemplary implementation, the first identifier and the second identifier occupy two bytes in the locator.
In an exemplary implementation, the method further includes:
recording the corresponding relation between the second VLAN and the first VLAN;
receiving a second IPv6 message;
determining a second VLAN corresponding to the first VLAN in the second IPv6 message from the recorded corresponding relation; updating the first VLAN in the second IPv6 message into the second VLAN;
and encapsulating the second IPv6 message based on the SRv6 tunnel to obtain a second SRv6 message, and forwarding the second SRv6 message to the aggregation router through the SRv6 tunnel.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the program, when executed by a processor, implements the following operations:
receiving a first IPv6 message;
encapsulating the first IPv6 message according to a segment routing SRv6 tunnel based on an IPv6 forwarding plane of an internet protocol version 6 to obtain a first SRv6 message, where the SRv6 tunnel is a tunnel between the aggregation router and an access gateway, and the first SRv6 message includes a first identifier and a second identifier; the first identifier is a device identifier of an Optical Line Terminal (OLT) accessing the aggregation router, and the second identifier is a device identifier of the aggregation router;
forwarding the first SRv6 message to the access gateway through the SRv6 tunnel.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution in the specification. One of ordinary skill in the art can understand and implement it without inventive effort.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Other embodiments of the present description will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This specification is intended to cover any variations, uses, or adaptations of the specification following the general principles of the specification and including such departures from the present disclosure as come within known or customary practice in the art to which the specification pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the specification being indicated by the following claims.
It will be understood that the present description is not limited to the precise arrangements described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.
The above description is only a preferred embodiment of the present disclosure, and should not be taken as limiting the present disclosure, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (10)

1. A message processing method is characterized in that the method is applied to an access gateway of a metropolitan area network, and comprises the following steps:
acquiring a first identifier and a second identifier from a first SRv6 message received through a segment routing SRv6 tunnel based on an internet protocol version 6 IPv6 forwarding plane, where the SRv6 tunnel is a tunnel between the access gateway and a convergence router, the first SRv6 message is obtained based on SRv6 tunnel encapsulation, the first identifier is a device identifier of an optical line terminal OLT accessing the convergence router, and the second identifier is a device identifier of the convergence router; the first identifier and the second identifier are arranged in a Segment Identifier (SID) in the first SRv6 message;
determining a first VLAN corresponding to the first identifier and the second identifier, wherein different OLTs are configured with different first VLANs in the same metropolitan area network;
and decapsulating the first SRv6 message to obtain a first IPv6 message, updating a second VLAN in the first IPv6 message to the first VLAN and forwarding the first VLAN, wherein the second VLAN is a VLAN accessed by the OLT.
2. The method of claim 1, wherein determining the first VLAN corresponding to the first identifier and the second identifier comprises:
and searching the VLAN corresponding to the first identifier and the second identifier in the configured VLAN corresponding table entry, and determining the searched VLAN as the first VLAN.
3. The method of claim 1, wherein the SID includes a location identity Locaor; the first identifier and the second identifier are field values of two fields in the locator.
4. The method of claim 3, wherein the first identifier and the second identifier occupy two bytes in the locator.
5. The method of claim 1, further comprising:
recording the corresponding relation between the second VLAN and the first VLAN;
receiving a second IPv6 message;
determining a second VLAN corresponding to the first VLAN in the second IPv6 message from the recorded corresponding relation; updating the first VLAN in the second IPv6 message into the second VLAN;
and encapsulating the second IPv6 message based on the SRv6 tunnel to obtain a second SRv6 message, and forwarding the second SRv6 message to the aggregation router through the SRv6 tunnel.
6. A message processing method is characterized in that the method is applied to a convergence router of a metropolitan area network, and comprises the following steps:
receiving a first IPv6 message;
encapsulating the first IPv6 message according to a segment routing SRv6 tunnel based on an IPv6 forwarding plane of an internet protocol version 6 to obtain a first SRv6 message, where the SRv6 tunnel is a tunnel between the aggregation router and an access gateway, and the first SRv6 message includes a first identifier and a second identifier; the first identifier is a device identifier of an Optical Line Terminal (OLT) accessing the aggregation router, and the second identifier is a device identifier of the aggregation router; the first identifier and the second identifier are arranged in a Segment Identifier (SID) in the first SRv6 message;
forwarding the first SRv6 message to the access gateway through the SRv6 tunnel.
7. A message processing apparatus, applied to an access gateway of a metropolitan area network, comprising:
a first receiving module, configured to receive a first SRv6 packet through a segment routing SRv6 tunnel based on an internet protocol version 6 IPv6 forwarding plane; the SRv6 tunnel is a tunnel between the access gateway and a convergence router, and the first SRv6 message is obtained by encapsulation based on the SRv6 tunnel; the first identifier and the second identifier are arranged in a Segment Identifier (SID) in the first SRv6 message;
the identifier obtaining module is used for obtaining a first identifier and a second identifier from the first SRv6 message; the SRv6 tunnel is a tunnel between the access gateway and a convergence router, the first identifier is a device identifier of an OLT accessing the convergence router, and the second identifier is a device identifier of the convergence router;
a first VLAN determining module, configured to determine a first VLAN corresponding to the first identifier and the second identifier, where different OLTs in the same metropolitan area network are configured with different first VLANs;
and the update forwarding module is configured to decapsulate the first SRv6 message to obtain a first IPv6 message, update a second VLAN in the first IPv6 message to the first VLAN, and forward the second VLAN, where the second VLAN is a VLAN accessed by the OLT.
8. The apparatus of claim 7, wherein the first VLAN determination module is specifically configured to:
and searching the VLAN corresponding to the first identifier and the second identifier in the configured VLAN corresponding table entry, and determining the searched VLAN as the first VLAN.
9. The apparatus of claim 7, further comprising:
the recording module is used for recording the corresponding relation between the second VLAN and the first VLAN;
the second receiving module is used for receiving a second IPv6 message;
a second VLAN determination module, configured to determine, from the recorded correspondence, a second VLAN corresponding to the first VLAN in the second IPv6 message; updating the first VLAN in the second IPv6 message into the second VLAN;
and an encapsulating and forwarding module, configured to encapsulate the second IPv6 packet based on the SRv6 tunnel to obtain a second SRv6 packet, and forward the second SRv6 packet to the aggregation router through the SRv6 tunnel.
10. A message processing apparatus, applied to a convergence router of a metropolitan area network, the apparatus comprising:
the receiving module is used for receiving a first IPv6 message;
an encapsulation module, configured to encapsulate the first IPv6 packet according to a segment routing SRv6 tunnel based on an internet protocol version 6 IPv6 forwarding plane to obtain a first SRv6 packet, where the SRv6 tunnel is a tunnel between the aggregation router and an access gateway, and the first SRv6 packet includes a first identifier and a second identifier; the first identifier is a device identifier of an Optical Line Terminal (OLT) accessing the aggregation router, and the second identifier is a device identifier of the aggregation router; the first identifier and the second identifier are arranged in a Segment Identifier (SID) in the first SRv6 message;
a forwarding module, configured to forward the first SRv6 packet to the access gateway through the SRv6 tunnel.
CN202011290498.1A 2020-11-17 2020-11-17 Message processing method and device Active CN112511400B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011290498.1A CN112511400B (en) 2020-11-17 2020-11-17 Message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011290498.1A CN112511400B (en) 2020-11-17 2020-11-17 Message processing method and device

Publications (2)

Publication Number Publication Date
CN112511400A CN112511400A (en) 2021-03-16
CN112511400B true CN112511400B (en) 2022-07-01

Family

ID=74956668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011290498.1A Active CN112511400B (en) 2020-11-17 2020-11-17 Message processing method and device

Country Status (1)

Country Link
CN (1) CN112511400B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115361605B (en) * 2022-10-20 2023-03-24 武汉长光科技有限公司 Method, device, equipment and computer readable storage medium for roaming in virtual domain

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599885A (en) * 2009-07-03 2009-12-09 杭州华三通信技术有限公司 Method and system for each service deployment independence VLAN of each user
CN103220224A (en) * 2013-04-18 2013-07-24 福建星网锐捷网络有限公司 Message forwarding processing method and device and network equipment
CN105530200A (en) * 2015-12-24 2016-04-27 陕西广电网络传媒(集团)股份有限公司 VLAN (Virtual Local Area Network) distribution method for different terminal services
CN105991428A (en) * 2015-03-05 2016-10-05 中兴通讯股份有限公司 Processing method and device of switch routing conflict
CN106209562A (en) * 2016-07-27 2016-12-07 华为技术有限公司 In a kind of network VLAN ID distribution method and controller
CN107645431A (en) * 2016-07-20 2018-01-30 新华三技术有限公司 Message forwarding method and device
CN111294269A (en) * 2018-12-07 2020-06-16 ***通信集团广东有限公司 Method and device for distributing VLAN (virtual local area network) in home wide service inner layer and outer layer

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006118497A1 (en) * 2005-04-29 2006-11-09 Telefonaktiebolaget L M Ericsson (Publ) Operator shop selection
CN1866919B (en) * 2005-12-06 2012-11-14 华为技术有限公司 Service switching method based on VLAN stack
CN103916317B (en) * 2012-12-31 2018-04-27 华为技术有限公司 Communication means, routing bridge and network system
US9544219B2 (en) * 2014-07-31 2017-01-10 Brocade Communications Systems, Inc. Global VLAN services
CN106375206A (en) * 2016-08-31 2017-02-01 杭州迪普科技有限公司 Message forwarding method and device
CN109936492B (en) * 2017-12-15 2021-12-03 华为技术有限公司 Method, device and system for transmitting message through tunnel
CN109688057B (en) * 2018-12-13 2021-08-24 Ut斯达康通讯有限公司 Message forwarding method and device of segment routing network based on IPV6
CN111740907A (en) * 2020-05-29 2020-10-02 新华三信息安全技术有限公司 Message transmission method, device, equipment and machine readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599885A (en) * 2009-07-03 2009-12-09 杭州华三通信技术有限公司 Method and system for each service deployment independence VLAN of each user
CN103220224A (en) * 2013-04-18 2013-07-24 福建星网锐捷网络有限公司 Message forwarding processing method and device and network equipment
CN105991428A (en) * 2015-03-05 2016-10-05 中兴通讯股份有限公司 Processing method and device of switch routing conflict
CN105530200A (en) * 2015-12-24 2016-04-27 陕西广电网络传媒(集团)股份有限公司 VLAN (Virtual Local Area Network) distribution method for different terminal services
CN107645431A (en) * 2016-07-20 2018-01-30 新华三技术有限公司 Message forwarding method and device
CN106209562A (en) * 2016-07-27 2016-12-07 华为技术有限公司 In a kind of network VLAN ID distribution method and controller
CN111294269A (en) * 2018-12-07 2020-06-16 ***通信集团广东有限公司 Method and device for distributing VLAN (virtual local area network) in home wide service inner layer and outer layer

Also Published As

Publication number Publication date
CN112511400A (en) 2021-03-16

Similar Documents

Publication Publication Date Title
CN104601472B (en) The method and message handling system of VXLAN gateways distribution route are realized in the chips
EP3219057B1 (en) Optimized inter-vrf (virtual routing and forwarding ) route leaking in network overlay based environments
US10412008B2 (en) Packet processing method, apparatus, and system
US11038834B2 (en) Selecting an external link of a plurality of external links
US8942238B2 (en) Apparatus and method for establishing tunnels between nodes in a communication network
WO2014136864A1 (en) Packet rewriting apparatus, control apparatus, communication system, packet transmitting method and program
CN109768908B (en) VXLAN configuration method, equipment and system
CN106878136B (en) Message forwarding method and device
CN111988266B (en) Method for processing message
CN108123819B (en) Virtual-real network seamless fusion simulation method
CN113259239A (en) Method, equipment and system for forwarding message in hybrid network
CN112751769B (en) Method, device and system for sending message
US20190036876A1 (en) Virtualized network functions through address space aggregation
CN108429680A (en) A kind of method for configuring route, system, medium and equipment based on virtual private cloud
CN106921573B (en) NVo3 method and device for issuing tenant route in network
EP3457640B1 (en) Route establishment and message sending
CN112822104A (en) Data message processing method, device, storage medium and system
CN112511400B (en) Message processing method and device
EP4336781A1 (en) Message processing method and related device
CN110022263B (en) Data transmission method and related device
CN110391984B (en) Message forwarding method and device
US11811654B2 (en) Packet processing method and apparatus
CN116418632A (en) Message processing method, device, equipment and machine-readable storage medium
EP3979572A1 (en) Route processing method and network device
EP3902211A1 (en) Packet forwarding method and network 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