CN107547325B - Message forwarding method and device - Google Patents

Message forwarding method and device Download PDF

Info

Publication number
CN107547325B
CN107547325B CN201710892546.6A CN201710892546A CN107547325B CN 107547325 B CN107547325 B CN 107547325B CN 201710892546 A CN201710892546 A CN 201710892546A CN 107547325 B CN107547325 B CN 107547325B
Authority
CN
China
Prior art keywords
vxlan
message
request message
session request
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
CN201710892546.6A
Other languages
Chinese (zh)
Other versions
CN107547325A (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 Information Technologies Co Ltd
Original Assignee
Hangzhou 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201710892546.6A priority Critical patent/CN107547325B/en
Publication of CN107547325A publication Critical patent/CN107547325A/en
Application granted granted Critical
Publication of CN107547325B publication Critical patent/CN107547325B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The disclosure relates to a message forwarding method and device. The method is used in a forwarding plane of a BRAS transfer control separation network, and comprises the following steps: establishing a first VXLAN tunnel with a convergence layer switch; establishing a second VXLAN tunnel with the control plane; acquiring a session request message from the convergence layer switch through the first VXLAN tunnel; and sending the session request message to the control plane through the second VXLAN tunnel so that the control plane generates session information according to the session request message. The message forwarding method and the message forwarding device can facilitate the user equipment which is far away or has a more biased position to access the forwarding plane, and also facilitate the operator to uniformly manage the user equipment to access the forwarding plane.

Description

Message forwarding method and device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for forwarding a packet.
Background
Currently, the diversion separation technique is applied in an operator environment such as a BRAS (Broadband Remote Access Server) scenario. The transfer control separation technique is to separate a Control Plane (CP) and a forwarding Plane (UP, User Plane) so that the control Plane and the forwarding Plane work independently and cooperatively. The control plane can be used for controlling and managing the operation of various network protocols, providing the router or the switch with accurate knowledge of network equipment, connection links and interaction protocols in the whole network environment through the network protocols, and making timely adjustment when the network condition changes so as to maintain the normal operation of the network. The forwarding plane may be used to perform various traffic processing and data forwarding.
Disclosure of Invention
In view of this, the present disclosure provides a message forwarding method and apparatus, so as to solve the problem that the user equipment affects the access forwarding plane due to a longer distance or a more biased location in the related art.
According to one aspect of the present disclosure, a method for forwarding a packet is provided, where the method is used in a forwarding plane of a BRAS relay separation network, and the method includes:
establishing a first VXLAN tunnel with a convergence layer switch;
establishing a second VXLAN tunnel with the control plane;
acquiring a session request message from the convergence layer switch through the first VXLAN tunnel;
and sending the session request message to the control plane through the second VXLAN tunnel so that the control plane generates session information according to the session request message.
According to another aspect of the present disclosure, a method for forwarding a packet is provided, where the method is used in a convergence layer switch, and includes:
establishing a first VXLAN tunnel with a forwarding plane;
receiving a session request message from user equipment and carrying out VXLAN packaging on the session request message to obtain a first VXLAN message;
and sending the first VXLAN message to the forwarding plane through the first VXLAN tunnel so that the forwarding plane decapsulates the first VXLAN message to obtain the session request message.
According to another aspect of the present disclosure, a packet forwarding apparatus is provided, where the apparatus is used in a forwarding plane of a BRAS relay separation network, and the apparatus includes:
the first tunnel establishment module is used for establishing a first VXLAN tunnel with the convergence layer switch;
the second tunnel establishment module is used for establishing a second VXLAN tunnel with the control plane;
a session request message acquisition module, configured to acquire a session request message from the convergence layer switch through the first VXLAN tunnel;
and the session request message sending module is used for sending the session request message to the control plane through the second VXLAN tunnel so that the control plane generates session information according to the session request message.
According to another aspect of the present disclosure, there is provided a packet forwarding apparatus, where the apparatus is used in a convergence layer switch, and includes:
the tunnel establishing module is used for establishing a first VXLAN tunnel with the forwarding plane;
the message encapsulation module is used for receiving a session request message from user equipment and carrying out VXLAN encapsulation on the session request message to obtain a first VXLAN message;
and the message sending module is used for sending the first VXLAN message to the forwarding plane through the first VXLAN tunnel so that the forwarding plane decapsulates the first VXLAN message to obtain the session request message.
According to another aspect of the present disclosure, there is provided a packet forwarding apparatus, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the above method.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the above-described method.
According to the message forwarding method and device, the first VXLAN tunnel is established with the convergence layer switch, the second VXLAN tunnel is established with the control plane, the session request message from the convergence layer switch is acquired through the first VXLAN tunnel, and the session request message is sent to the control plane through the second VXLAN tunnel, so that the control plane generates session information according to the session request message, and therefore, the user equipment which is far away or has a more biased position can be conveniently accessed into the forwarding plane, and operators can conveniently and uniformly manage the user equipment access into the forwarding plane.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1a shows a networking schematic diagram of a device in which a forwarding plane is separated from a control plane in the related art.
Fig. 1b shows a networking schematic diagram of a device with a separate forwarding plane and control plane according to an embodiment of the present disclosure.
Fig. 2 shows a flowchart of a packet forwarding method according to an embodiment of the present disclosure.
Fig. 3 shows a networking schematic diagram of a device with a separate forwarding plane and control plane according to an embodiment of the present disclosure.
Fig. 4 shows a flowchart of a packet forwarding method according to an embodiment of the present disclosure.
Fig. 5 shows a flowchart of a packet forwarding method according to an embodiment of the present disclosure.
Fig. 6 shows a block diagram of a message forwarding device according to an embodiment of the present disclosure.
Fig. 7 shows a schematic block diagram of a message forwarding apparatus according to an embodiment of the present disclosure.
Fig. 8 shows a block diagram of a message forwarding device according to an embodiment of the present disclosure.
Fig. 9 is a block diagram illustrating an apparatus 900 for message forwarding according to an example embodiment.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
In the related art, a plurality of user equipments under the forwarding plane are connected to a router through a two-layer device or other transmission devices. When the distance between the user equipment and the forwarding plane is long, it is inconvenient to establish a link and configure parameters if the user equipment needs to access the forwarding plane. In other words, the multiple user equipments under the forwarding plane are limited by distance and location, and when the user equipments are far away from each other or have a biased location, the process of forwarding the packet through the two-layer equipment is complex and limited.
The networking schematic diagram of a device in which a forwarding plane is separated from a control plane in the related art may be as follows: the user equipment may be connected to a two-tier switch. The two-tier switch may be directly connected to the forwarding plane in the event that the distance between the two-tier switch and the forwarding plane is short. In the case of a long distance between the two-layer switch and the forwarding plane, the two-layer switch may be connected to the convergence layer switch first, and the convergence layer switch may be connected to the forwarding plane again. The forwarding plane may be connected to the control plane. The control plane may be connected to a first server, and the first server may be a DHCP (Dynamic host configuration Protocol) server or an AAA (authentication authorization Accounting, authentication authorization and Accounting) server, and the disclosure does not limit this. In addition, the forwarding plane may be connected to a network side device, and the network side device may be a core router. The forwarding plane and the control plane may also be connected to the management orchestration system, respectively.
The control plane can be used for controlling and managing the operation of various network protocols, providing the router or the switch with accurate knowledge of network equipment, connection links and interaction protocols in the whole network environment through the network protocols, and making timely adjustment when the network condition changes so as to maintain the normal operation of the network. The forwarding plane may be used to perform various traffic processing and data forwarding. The control plane or the forwarding plane is respectively provided with a Central Processing Unit (CPU) and a memory, and the control plane and the forwarding plane can work independently and cooperatively. A convergence layer switch may refer to a convergence point of multiple access layer switches, which has a processing function of VXLAN (Virtual Extensible LAN) and a transmission function of a three-layer link. An access layer switch may refer to a switch, such as a two layer switch, that directly connects user devices.
The two-layer switch is abbreviated as lsw (Local Access Network switch), the forwarding plane is abbreviated as up (user plane), the control plane is abbreviated as cp (control plane), the core router is abbreviated as cr (core router), the management and organization system is abbreviated as mano (management and organization), and the convergence layer switch is abbreviated as hjlsw (hui Ju Local Access Network switch).
Fig. 1a shows a networking schematic diagram of a device in which a forwarding plane is separated from a control plane in the related art. As shown in FIG. 1a, user device 1 is connected to LSW1 and LSW1 is connected to UP. User device 2 is connected to LSW2, LSW2 is connected to HJLSW, and HJLSW is connected to UP. UP is connected with CP, CP is connected with AAA server. UP is also connected to CR. UP and CP are connected to the MANO, respectively. The session request message is transmitted between the HJLSW and the UP through a two-layer link, so that link establishment and parameter configuration are inconvenient, and the process is complex and limited.
Fig. 1b shows a networking schematic diagram of a device with a separate forwarding plane and control plane according to an embodiment of the present disclosure. As shown in FIG. 1b, user device 1 is connected to LSW1 and LSW1 is connected to UP. User device 2 is connected to LSW2, LSW2 is connected to HJLSW, and HJLSW is connected to UP. UP is connected with CP, CP is connected with AAA server. UP is also connected to CR. UP and CP are connected to the MANO, respectively. The session request message is transmitted between the HJLSW and the UP through a three-layer link, so that the transmission of the session message is not limited by distance, and the user equipment with a longer distance or a more biased position can access the UP conveniently.
Fig. 2 shows a flowchart of a packet forwarding method according to an embodiment of the present disclosure. The method is used in a forwarding plane of a BRAS transfer separation network, such as a BRAS device with transfer separation, and the disclosure does not limit this. As shown in fig. 2, the method includes steps S21 through S24.
In step S21, a first VXLAN tunnel is established with the aggregation layer switch.
In step S22, a second VXLAN tunnel is established with the control plane.
In step S23, the session request message from the aggregation layer switch is obtained through the first VXLAN tunnel.
In step S24, the session request message is sent to the control plane through the second VXLAN tunnel, so that the control plane generates session information according to the session request message.
Fig. 3 shows a networking schematic diagram of a device with a separate forwarding plane and control plane according to an embodiment of the present disclosure. As shown in FIG. 3, user device 1 is connected to LSW1 and LSW1 is connected to UP. User device 2 is connected to LSW2, LSW2 is connected to HJLSW, and HJLSW is connected to UP. UP is connected with CP, CP is connected with AAA server. UP is also connected to CR. UP and CP are connected to the MANO, respectively. Wherein, VXLAN Tunnel 1(Tunnel1) is established between UP and HJLSW, and VXLAN Tunnel 2(Tunnel2) is established between UP and CP. UP and HJLSW are VTEPs across Tunnel1 (VXLAN Tunnel End Point ), UP and CP are VTEPs across Tunnel 2.
In one implementation, in the case that the CP is connected to the AAA server, the session request message may be an authentication request message. As shown in fig. 3, UP obtains the authentication request message from HJLSW through Tunnel 1. The UP sends an authentication request message to the CP through Tunnel 2. And the CP sends the authentication request message to the AAA server under the condition of receiving the authentication request message. And the AAA server receives the authentication request message and authenticates according to the authentication request message. After the AAA server authentication is completed, the CP generates a Session. The Session includes, but is not limited to, an IP address, a MAC address, a user name, and AAA information (e.g., authentication information, traffic statistics information, or accounting statistics information of the user equipment 2, etc.) of the user equipment 2. The CP sends a Session to the UP. After receiving the Session, the UP establishes a forwarding table locally, and implements functions of message forwarding, speed limiting, or traffic statistics. Thus, the UP transfers the packet between the user equipment 2 and the CR.
Those skilled in the art will appreciate that the mechanism of operation of VXLAN can be summarized as: the remote VTEPs are discovered, VXLAN tunnels are established between the VTEPs, and the VXLAN tunnels are associated with VXLAN. Identifying the VXLAN to which the received message belongs so as to learn the source MAC address of the message to a VSI (Virtual Switch Instance) corresponding to the VXLAN, and forwarding the message within the VSI. The MAC (Media Access Control) address of the virtual machine is learned. And forwarding the message according to the learned MAC address table entry.
Wherein VTEP is the edge device of VXLAN. The VXLAN processing is performed on the VTEP, for example, to identify the VXLAN to which the ethernet data frame belongs, to perform two-layer forwarding on the data frame based on the VXLAN, and to encapsulate/decapsulate the packet. The VTEP may be an independent physical device or a server where the virtual machine is located. The VXLAN tunnel is a point-to-point logical tunnel between two VTEPs. After encapsulating a VXLAN header, a User Datagram Protocol (UDP) header, and an Internet Protocol (IP) header in a data frame, the VTEP forwards the encapsulated packet to a remote VTEP through a VXLAN tunnel, and the remote VTEP decapsulates the packet. The VSI provides a virtual switching instance of the two-layer switching service for a VXLAN on the VTEP. The VSI can be viewed as a VXLAN-based virtual switch on a VTEP that performs layer two forwarding with all the functions of a traditional ethernet switch, including source MAC address learning, MAC address aging, flooding, etc. VSIs correspond one-to-one to VXLANs. An AC (access Circuit) is a physical Circuit or a virtual Circuit that the VTEP connects to the local site. On VTEP, the three-tier interface or ethernet Service Instance (Service Instance) associated with the VSI is referred to as the AC. Wherein an ethernet service instance is created on a layer two ethernet interface that defines a series of matching rules for matching data frames received from the layer two ethernet interface.
In one implementation, the method further comprises: and binding the corresponding AC into a first VXLAN tunnel, so that VXLAN encapsulation is carried out on the session request message to obtain a second VXLAN message under the condition that the session request message from the convergence layer switch is obtained through the first VXLAN tunnel, and the second VXLAN message is sent to the control plane through the second VXLAN tunnel.
In VXLAN networking, the following configuration needs to be performed on VTEP: the method comprises the steps of creating VSI and VXLAN, configuring VXLAN tunnel, associating VXLAN with VXLAN tunnel, and configuring AC to be associated with VSI. In one implementation, as shown in fig. 3, for UP, VXLAN needs to associate both Tunnel1 between UP and HJLSW and Tunnel2 between UP and CP. The settings of UP are as follows: { VSI VXLAN1, Gateway VSI-Interface 1, VXLAN 100, Tunnel1U-VTEP, Tunnel2 }. Wherein, designating Tunnel1 as U-VTEP means that the UP will release VXLAN encapsulation and re-encapsulate into the second VXLAN message and then re-enter Tunnel2 for transmission, the first VXLAN message is received from Tunnel 1. In other words, Tunnel1 corresponds to an AC of UP, and a packet from Tunnel1 corresponds to a packet coming from the AC side of UP. When the bottom layer driving table entry is actually issued for the message from Tunnel1, it is only necessary to issue as an AC.
In one implementation, acquiring the session request message from the aggregation layer switch through the first VXLAN tunnel (step S23) may include: receiving a first VXLAN message from a convergence layer switch through a first VXLAN tunnel; and de-encapsulating the first VXLAN message to obtain a session request message.
In one implementation, sending the session request message to the control plane through the second VXLAN tunnel (step S24) may include: carrying out VXLAN packaging on the session request message to obtain a second VXLAN message; and sending a second VXLAN message to the control plane through the second VXLAN tunnel so that the control plane decapsulates the second VXLAN message to obtain the session request message.
In one implementation, in the case that the CP is connected to the AAA server, the session request message may be an authentication request message. As shown in fig. 3, HJLSW sends VXLAN message 1 to UP through Tunnel 1. And the UP decapsulates the VXLAN message 1 to obtain an authentication request message under the condition of receiving the VXLAN message 1. And the UP performs VXLAN packaging on the authentication request message to obtain a VXLAN message 2. UP sends VXLAN message 2 to CP through Tunnel 2. And the CP decapsulates the VXLAN message 2 to obtain an authentication request message under the condition of receiving the VXLAN message 2. The CP sends an authentication request message to the AAA server. And the AAA server receives the authentication request message and authenticates according to the authentication request message. After the AAA server authentication is completed, the CP generates a Session. The Session includes, but is not limited to, an IP address, a MAC address, a user name, and AAA information (e.g., authentication information, traffic statistics information, or accounting statistics information of the user equipment 2, etc.) of the user equipment 2. The CP sends a Session to the UP. After receiving the Session, the UP establishes a forwarding table locally, and implements functions of message forwarding, speed limiting, or traffic statistics. Thus, the UP transfers the packet between the user equipment 2 and the CR.
The message forwarding method establishes a VXLAN tunnel between HJLSW and UP, encapsulates a session request message from user equipment into a VXLAN message, and transmits the VXLAN message through the VXLAN tunnel. The VXLAN message is transmitted in a three-layer link without the limitation of distance and position. Therefore, the transmission of the session request message is not limited by the distance and the position of the user equipment, thereby facilitating the access of the user equipment with a longer distance or a more biased position to the UP and facilitating the unified management of the user equipment access to the UP by an operator.
Fig. 4 shows a flowchart of a packet forwarding method according to an embodiment of the present disclosure. The method is used in a convergence layer switch, and the disclosure is not limited thereto. As shown in fig. 4, the method includes steps S41 through S43.
In step S41, a first VXLAN tunnel is established with the forwarding plane.
In step S42, a session request message from the user equipment is received and VXLAN encapsulation is performed on the session request message, so as to obtain a first VXLAN message.
In step S43, the first VXLAN message is sent to the forwarding plane through the first VXLAN tunnel, so that the forwarding plane decapsulates the first VXLAN message to obtain the session request message.
In VXLAN networking, the following configuration needs to be performed on VTEP: the method comprises the steps of creating VSI and VXLAN, configuring VXLAN tunnel, associating VXLAN with VXLAN tunnel, and configuring AC to be associated with VSI. In one implementation, as shown in fig. 3, for HJLSW, HJLSW needs to associate Tunnel1 between UP and HJLSW. The setting of HJLSW is as follows: { VSI VXLAN2, gateway VSI-Interface 1, VXLAN 100, Tunnel1 }.
In one implementation, in the case that the CP is connected to the AAA server, the session request message may be an authentication request message. As shown in fig. 3, user equipment 2 sends an authentication request message to LSW 2. Upon receiving the authentication request message, LSW2 transmits the authentication request message to HJLSW. And when the HJLSW receives the authentication request message, carrying out VXLAN packaging on the authentication request message to obtain a VXLAN message 1. The HJLSW sends VXLAN message 1 to the UP through Tunnel1, so that the UP decapsulates the VXLAN message 1 to obtain an authentication request message.
The message forwarding method disclosed by the invention is completely established by depending on the three-layer link for the VXLAN tunnel between the UP and the HJLSW, the user equipment requests to access the UP, can package the session request message into the VXLAN message, and transmits the VXLAN message on the three-layer link. Therefore, the transmission of the session request message is not limited by the distance and the position of the user equipment, thereby facilitating the access of the user equipment with a longer distance or a more biased position to the UP and facilitating the unified management of the user equipment access to the UP by an operator.
Fig. 5 shows a flowchart of a packet forwarding method according to an embodiment of the present disclosure. The method is used in the networking between the aggregation layer switch and the device with the forwarding plane and the control plane separated, and the disclosure does not limit this. As shown in fig. 5, the method includes steps S51 through S57.
In step S51, a first VXLAN tunnel is established between the forwarding plane and the aggregation layer switch.
In step S52, a second VXLAN tunnel is established between the forwarding plane and the control plane.
In step S53, the convergence layer switch receives the session request message from the user equipment and performs VXLAN encapsulation on the session request message to obtain a first VXLAN message.
In step S54, the aggregation layer switch sends a first VXLAN message to the forwarding plane through the first VXLAN tunnel.
In step S55, the forwarding plane decapsulates the first VXLAN message to obtain the session request message when receiving the first VXLAN message from the aggregation layer switch.
In step S56, the forwarding plane performs VXLAN encapsulation on the session request message to obtain a second VXLAN message.
In step S57, the forwarding plane sends the second VXLAN packet to the control plane through the second VXLAN tunnel, so that the control plane decapsulates the second VXLAN packet to obtain the session request packet, and generates session information according to the session request packet.
In one implementation, in the case that the CP is connected to the AAA server, the session request message may be an authentication request message. As shown in fig. 3, user equipment 2 sends an authentication request message to LSW 2. Upon receiving the authentication request message, LSW2 transmits the authentication request message to HJLSW. And when the HJLSW receives the authentication request message, carrying out VXLAN packaging on the authentication request message to obtain a VXLAN message 1. HJLSW sends VXLAN message 1 to UP through Tunnel 1. And the UP decapsulates the VXLAN message 1 to obtain an authentication request message under the condition of receiving the VXLAN message 1. And the UP performs VXLAN packaging on the authentication request message to obtain a VXLAN message 2. UP sends VXLAN message 2 to CP through Tunnel 2. And the CP decapsulates the VXLAN message 2 to obtain an authentication request message under the condition of receiving the VXLAN message 2. The CP sends an authentication request message to the AAA server. And the AAA server receives the authentication request message and authenticates according to the authentication request message. After the AAA server authentication is completed, the CP generates a Session. The Session includes, but is not limited to, an IP address, a MAC address, a user name, and AAA information (e.g., authentication information, traffic statistics information, or accounting statistics information of the user equipment 2, etc.) of the user equipment 2. The CP sends a Session to the UP. After receiving the Session, the UP establishes a forwarding table locally, and implements functions of message forwarding, speed limiting, or traffic statistics. Thus, the UP transfers the packet between the user equipment 2 and the CR.
Fig. 6 shows a block diagram of a message forwarding device according to an embodiment of the present disclosure. The device is used in a forwarding plane of a BRAS transfer control separation network, such as a BRAS device with transfer control separation, and the disclosure does not limit this. As shown in fig. 6, the apparatus includes:
a first tunnel establishing module 61, configured to establish a first VXLAN tunnel with a convergence layer switch; a second tunnel establishing module 62, configured to establish a second VXLAN tunnel with the control plane; a session request message obtaining module 63, configured to obtain, through the first VXLAN tunnel, a session request message from the convergence layer switch; a session request message sending module 64, configured to send the session request message to the control plane through the second VXLAN tunnel, so that the control plane generates session information according to the session request message.
Fig. 7 shows a schematic block diagram of a message forwarding apparatus according to an embodiment of the present disclosure. As shown in fig. 7:
in one implementation, the session request packet obtaining module 63 includes: a receiving submodule 631, configured to receive, through the first VXLAN tunnel, a first VXLAN message from the aggregation layer switch; and a decapsulation submodule 632 configured to decapsulate the first VXLAN packet to obtain the session request packet.
In one implementation, the session request packet sending module 64 includes: an encapsulation submodule 641, configured to perform VXLAN encapsulation on the session request message to obtain a second VXLAN message; the sending submodule 642 is configured to send the second VXLAN packet to the control plane through the second VXLAN tunnel, so that the control plane decapsulates the second VXLAN packet to obtain the session request packet.
In one implementation, the apparatus further comprises: a setting module 65, configured to bind the corresponding access circuit AC as the first VXLAN tunnel, so that when the session request packet from the convergence layer switch is obtained through the first VXLAN tunnel, VXLAN encapsulation is performed on the session request packet to obtain a second VXLAN packet, and the second VXLAN packet is sent to the control plane through the second VXLAN tunnel.
Fig. 8 shows a block diagram of a message forwarding device according to an embodiment of the present disclosure. The apparatus is used in a convergence layer switch, which is not limited by this disclosure. As shown in fig. 8, the apparatus includes:
a tunnel establishing module 81, configured to establish a first VXLAN tunnel with a forwarding plane; the message encapsulation module 82 is used for receiving a session request message from user equipment and carrying out VXLAN encapsulation on the session request message to obtain a first VXLAN message; a message sending module 83, configured to send the first VXLAN message to the forwarding plane through the first VXLAN tunnel, so that the forwarding plane decapsulates the first VXLAN message to obtain the session request message.
The message forwarding device establishes a VXLAN tunnel between the HJLSW and the UP, encapsulates a session request message from user equipment into a VXLAN message, and transmits the VXLAN message through the VXLAN tunnel. The VXLAN message is transmitted in a three-layer link without the limitation of distance and position. Therefore, the transmission of the session request message is not limited by the distance and the position of the user equipment, thereby facilitating the access of the user equipment with a longer distance or a more biased position to the UP and facilitating the unified management of the user equipment access to the UP by an operator.
Fig. 9 is a block diagram illustrating an apparatus 900 for message forwarding according to an example embodiment. Referring to fig. 9, the apparatus 900 may include a processor 901, a machine-readable storage medium 902 having stored thereon machine-executable instructions. The processor 901 and the machine-readable storage medium 902 may communicate via a system bus 903. Also, the processor 901 executes the message forwarding method described above by reading machine-executable instructions in the machine-readable storage medium 902 corresponding to the message forwarding logic. For a specific forwarding method, reference may be made to the methods shown in fig. 2, fig. 4, and fig. 5 and the above specific embodiments, which are not described in detail in this embodiment.
The machine-readable storage medium 902 referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (12)

1. A message forwarding method is characterized in that the method is used in a forwarding plane of a BRAS transfer control separation network, and the method comprises the following steps:
establishing a first VXLAN tunnel with a convergence layer switch;
establishing a second VXLAN tunnel with the control plane;
acquiring a session request message from the convergence layer switch through the first VXLAN tunnel;
and sending the session request message to the control plane through the second VXLAN tunnel so that the control plane generates session information according to the session request message.
2. The method of claim 1, wherein obtaining the session request message from the aggregation layer switch via the first VXLAN tunnel comprises:
receiving a first VXLAN message from the convergence layer switch through the first VXLAN tunnel;
and decapsulating the first VXLAN message to obtain the session request message.
3. The method of claim 1, wherein sending the session request message to the control plane via the second VXLAN tunnel comprises:
carrying out VXLAN packaging on the session request message to obtain a second VXLAN message;
and sending the second VXLAN message to the control plane through the second VXLAN tunnel so that the control plane decapsulates the second VXLAN message to obtain the session request message.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
and binding the corresponding access circuit AC as the first VXLAN tunnel, so that VXLAN encapsulation is carried out on the session request message to obtain a second VXLAN message under the condition that the session request message from the convergence layer switch is obtained through the first VXLAN tunnel, and the second VXLAN message is sent to the control plane through the second VXLAN tunnel.
5. A message forwarding method is used in a convergence layer switch, and comprises the following steps:
establishing a first VXLAN tunnel with a forwarding plane;
receiving a session request message from user equipment and carrying out VXLAN packaging on the session request message to obtain a first VXLAN message;
and sending the first VXLAN message to the forwarding plane through the first VXLAN tunnel so that the forwarding plane decapsulates the first VXLAN message to obtain the session request message.
6. A message forwarding device is characterized in that the device is used in a forwarding plane of a BRAS transfer control separation network, and the device comprises:
the first tunnel establishment module is used for establishing a first VXLAN tunnel with the convergence layer switch;
the second tunnel establishment module is used for establishing a second VXLAN tunnel with the control plane;
a session request message acquisition module, configured to acquire a session request message from the convergence layer switch through the first VXLAN tunnel;
and the session request message sending module is used for sending the session request message to the control plane through the second VXLAN tunnel so that the control plane generates session information according to the session request message.
7. The apparatus according to claim 6, wherein the session request message obtaining module comprises:
the receiving submodule is used for receiving a first VXLAN message from the convergence layer switch through the first VXLAN tunnel;
and the decapsulation submodule is used for decapsulating the first VXLAN message to obtain the session request message.
8. The apparatus of claim 6, wherein the session request messaging module comprises:
the encapsulation submodule is used for carrying out VXLAN encapsulation on the session request message to obtain a second VXLAN message;
and the sending submodule is used for sending the second VXLAN message to the control plane through the second VXLAN tunnel so that the control plane unpacks the second VXLAN message to obtain the session request message.
9. The apparatus of claim 6 or 7, further comprising:
and the setting module is used for binding the corresponding access circuit AC as the first VXLAN tunnel so as to carry out VXLAN encapsulation on the session request message to obtain a second VXLAN message under the condition of acquiring the session request message from the convergence layer switch through the first VXLAN tunnel, and sending the second VXLAN message to the control plane through the second VXLAN tunnel.
10. A message forwarding apparatus, wherein the apparatus is used in a convergence layer switch, and comprises:
the tunnel establishing module is used for establishing a first VXLAN tunnel with the forwarding plane;
the message encapsulation module is used for receiving a session request message from user equipment and carrying out VXLAN encapsulation on the session request message to obtain a first VXLAN message;
and the message sending module is used for sending the first VXLAN message to the forwarding plane through the first VXLAN tunnel so that the forwarding plane decapsulates the first VXLAN message to obtain the session request message.
11. A message forwarding apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of any one of claims 1 to 5.
12. A non-transitory computer readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the method of any of claims 1 to 5.
CN201710892546.6A 2017-09-27 2017-09-27 Message forwarding method and device Active CN107547325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710892546.6A CN107547325B (en) 2017-09-27 2017-09-27 Message forwarding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710892546.6A CN107547325B (en) 2017-09-27 2017-09-27 Message forwarding method and device

Publications (2)

Publication Number Publication Date
CN107547325A CN107547325A (en) 2018-01-05
CN107547325B true CN107547325B (en) 2020-07-07

Family

ID=60964575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710892546.6A Active CN107547325B (en) 2017-09-27 2017-09-27 Message forwarding method and device

Country Status (1)

Country Link
CN (1) CN107547325B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337118B (en) * 2018-01-31 2021-01-26 新华三技术有限公司 Message forwarding method and device
CN109561004B (en) * 2019-01-29 2020-12-08 新华三技术有限公司 Message forwarding method and device and switch
CN110012084B (en) * 2019-03-26 2021-10-01 新华三技术有限公司 Equipment identification method, device, system and storage medium
CN113645174B (en) * 2020-04-27 2023-04-18 华为技术有限公司 VXLAN access authentication method and VTEP device
CN114124618B (en) * 2021-12-06 2024-01-23 新华三技术有限公司成都分公司 Message transmission method and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123549A (en) * 2006-08-11 2008-02-13 华为技术有限公司 Access network system with separated control and carrier and its communication implementation method
US8339959B1 (en) * 2008-05-20 2012-12-25 Juniper Networks, Inc. Streamlined packet forwarding using dynamic filters for routing and security in a shared forwarding plane
CN104115453A (en) * 2013-12-31 2014-10-22 华为技术有限公司 Method and device for achieving virtual machine communication
CN104272668A (en) * 2012-05-23 2015-01-07 博科通讯系统有限公司 Layer-3 overlay gateways
CN105763385A (en) * 2016-04-27 2016-07-13 杭州华三通信技术有限公司 Flow scheduling method and apparatus
CN106059923A (en) * 2016-05-30 2016-10-26 杭州华三通信技术有限公司 Message forwarding method and device
CN106230749A (en) * 2016-08-30 2016-12-14 锐捷网络股份有限公司 A kind of method E-Packeted in virtual expansible LAN and convergence switch
WO2017054757A1 (en) * 2015-09-29 2017-04-06 杭州华三通信技术有限公司 Broadband access
CN107104872A (en) * 2016-02-23 2017-08-29 华为技术有限公司 Connection control method, apparatus and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123549A (en) * 2006-08-11 2008-02-13 华为技术有限公司 Access network system with separated control and carrier and its communication implementation method
US8339959B1 (en) * 2008-05-20 2012-12-25 Juniper Networks, Inc. Streamlined packet forwarding using dynamic filters for routing and security in a shared forwarding plane
CN104272668A (en) * 2012-05-23 2015-01-07 博科通讯系统有限公司 Layer-3 overlay gateways
CN104115453A (en) * 2013-12-31 2014-10-22 华为技术有限公司 Method and device for achieving virtual machine communication
WO2017054757A1 (en) * 2015-09-29 2017-04-06 杭州华三通信技术有限公司 Broadband access
CN107104872A (en) * 2016-02-23 2017-08-29 华为技术有限公司 Connection control method, apparatus and system
CN105763385A (en) * 2016-04-27 2016-07-13 杭州华三通信技术有限公司 Flow scheduling method and apparatus
CN106059923A (en) * 2016-05-30 2016-10-26 杭州华三通信技术有限公司 Message forwarding method and device
CN106230749A (en) * 2016-08-30 2016-12-14 锐捷网络股份有限公司 A kind of method E-Packeted in virtual expansible LAN and convergence switch

Also Published As

Publication number Publication date
CN107547325A (en) 2018-01-05

Similar Documents

Publication Publication Date Title
CN107547325B (en) Message forwarding method and device
US10122574B2 (en) Methods and apparatus for a common control protocol for wired and wireless nodes
US11552863B2 (en) Packet processing method, forwarding plane device and network device
CN115333883B (en) Interaction between broadband network service gateway and fifth generation core network
US10193707B2 (en) Packet transmission method and apparatus
CN107786613B (en) Broadband remote access server BRAS forwarding implementation method and device
EP2712128B1 (en) Message processing method and related device thereof
CN110650076B (en) VXLAN implementation method, network equipment and communication system
EP3001635B1 (en) Method, device and system for controlling access of user terminal
WO2018040529A1 (en) Message processing method, device and system
US20120099602A1 (en) End-to-end virtualization
US11296985B2 (en) Normalized lookup and forwarding for diverse virtual private networks
EP3962028A1 (en) Method, apparatus and system for establishing user plane connection
CN111193644A (en) vBRAS service transmission method, device, terminal equipment and medium
CN107547340A (en) A kind of message forwarding method and device
WO2015100585A1 (en) Fiber-to-the-distribution point device and communication method therefor
US11817970B2 (en) Method, device, and system for determining generic routing encapsulation GRE tunnel identifier
CN108259339B (en) Message sending method and device
WO2019086129A1 (en) Providing subscriber data from unified data manager in transparent containers
CN108234255B (en) Online processing method and device
US9998376B2 (en) Control device, communication system, control method, and non-transitory recording medium
WO2015188706A1 (en) Data frame processing method, device and system
CN113300998A (en) Method and device for realizing data encryption transmission and communication system
CN112702251A (en) Message detection method, connectivity negotiation relationship establishment method and related equipment
CN115037566A (en) Communication 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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230703

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.