CN110226307B - Method and device for issuing route - Google Patents

Method and device for issuing route Download PDF

Info

Publication number
CN110226307B
CN110226307B CN201780084706.2A CN201780084706A CN110226307B CN 110226307 B CN110226307 B CN 110226307B CN 201780084706 A CN201780084706 A CN 201780084706A CN 110226307 B CN110226307 B CN 110226307B
Authority
CN
China
Prior art keywords
routing
network device
routing protocol
protocol process
unit
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
CN201780084706.2A
Other languages
Chinese (zh)
Other versions
CN110226307A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN110226307A publication Critical patent/CN110226307A/en
Application granted granted Critical
Publication of CN110226307B publication Critical patent/CN110226307B/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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath

Landscapes

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

Abstract

The application provides a method and a device for route publishing, which are applied to a first network device, wherein the first network device is a virtual broadband network service gateway, the first network device is connected with a second network device through two links, the first network device comprises at least two forwarding units, the at least two forwarding units comprise a first forwarding unit, and the method comprises the following steps: the first network device creates at least two routing protocol processes, wherein one routing protocol process is associated with one forwarding unit, and the at least two routing protocol processes comprise a first routing protocol process. The first network device associates the first routing protocol process with the first forwarding unit. The first network device issues routing information associated with the first routing protocol process received from the first interface of the first forwarding unit from the second interface of the first forwarding unit to the second network device. Which helps to improve the forwarding performance of the first network device.

Description

Method and device for issuing route
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a method and a device for route publishing.
Background
Network Function Virtualization (NFV) technology carries very versatile software processing by using generic hardware (e.g., hardware that supports the x86 general computer column standard promulgated by Intel corporation of america) and Virtualization technologies. For example, a software process that carries the functionality of a traditional dedicated hardware network device is referred to as a virtual network device. The NFV technology enables the functions of the network equipment to be independent of special hardware through software and hardware decoupling and function abstraction, so that the cost of expensive special hardware network equipment is reduced, resources can be fully and flexibly shared, and rapid development and deployment of new services are realized.
In a Network, a Broadband Network service Gateway (BNG) is used to provide functions of authorized access, charging, flow control, data forwarding, and the like for a Network user. For example, a Broadband Remote Access Server (BRAS) is a BNG. Driven by NFV technology, virtual network devices can be employed to implement the functionality of BNGs. The virtual Network device may be referred to as a virtual Broadband Network Gateway (vBNG). For example, a virtual Broadband Remote Access Server (vbrs) is a vBNG.
The vBNG may be composed of a Virtual Machine (VM). Wherein the vBNG comprises a forwarding VM. And the forwarding VM is used for realizing the data forwarding function of the network users in the vBNG. When at least two forwarding VMs are included in the vBNG, data flow forwarding across the VMs may occur, which reduces forwarding performance of the vBNG.
Disclosure of Invention
The method and the device for route distribution provided by the embodiment of the invention solve the problem of low performance caused by cross-board data message forwarding inside the virtual network device, and are beneficial to improving the processing performance of the virtual network device.
Therefore, the embodiment of the invention provides the following technical scheme:
in a first aspect, a method for route distribution is provided, where the method is applied to a first network device, the first network device is a virtual broadband network service gateway, the first network device is connected to a second network device through two links, the first network device includes at least two forwarding units, the at least two forwarding units include a first forwarding unit, and the method includes:
the first network equipment creates at least two routing protocol processes, wherein one routing protocol process is associated with one forwarding unit, and the at least two routing protocol processes comprise a first routing protocol process; the first network device associating the first routing protocol process with the first forwarding unit; the first network device issues routing information associated with the first routing protocol process received from the first interface of the first forwarding unit from the second interface of the first forwarding unit to the second network device.
By associating a routing protocol process with a forwarding unit, the routing received by the forwarding unit is only issued from the interface of the forwarding unit to the second network device on the network side, so that the second network device can only learn the routing issued from the interface of the forwarding unit, thereby avoiding cross-board forwarding and improving the forwarding performance of the vBNG.
In a first possible implementation manner of the first aspect, the associating, by the first network device, the first routing protocol process with the first forwarding unit includes: and the first network equipment instructs the first forwarding unit to set a first mark on the routing information received from the first interface, and introduces the routing information with the first mark into the first routing protocol process for issuing.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the instructing, by the first network device, that the first forwarding unit sets a first flag to the routing information received from the first interface includes: the first network device instructs the first forwarding unit to set a first flag to the routing information received from the first interface through a configuration command.
By setting the mark, the routing information which needs to be introduced into the first routing protocol process can be selected according to the needs of a user or a network administrator, and the routing information to be introduced can be flexibly controlled according to the needs of the user or the network administrator.
With reference to the first or second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the introducing the routing information with the first label into the first routing protocol process for issuing includes: the first network device creating a routing policy indicating that the routing policy is satisfied if a label of a piece of routing information is a first label; and the first network equipment introduces the routing information meeting the routing strategy into the first routing protocol process for issuing.
With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the introducing, by the first network device, the routing information that satisfies the routing policy into the first routing protocol process for issuing includes: and the first network equipment indicates that the routing information meeting the routing strategy is introduced into the first routing protocol process for issuing through a configuration command.
The routing information meeting the matching requirement is introduced into the corresponding routing protocol process by creating the routing strategy, and the routing protocol process to be introduced can be selected according to the needs of a user or a network administrator, so that the routing protocol process to be introduced is flexibly controlled according to the needs of the user or the network administrator, and the configuration management is more flexible.
With reference to the first aspect, or any one of the first to fourth possible implementation manners of the first aspect, in a fifth possible implementation manner of the first aspect, the at least two forwarding units further include a second forwarding unit, the at least two routing protocol processes further include a second routing protocol process, and the method further includes: the first network device associating the second routing protocol process with the second forwarding unit; and the first network equipment issues the routing information which is received from the third interface of the second forwarding unit and is associated with the second routing protocol process from the fourth interface of the second forwarding unit.
In a second aspect, a routed vBNG device is provided, configured to perform the method of the first aspect or any possible implementation manner of the first aspect. In particular, the vBNG device comprises means for performing the method of the first aspect or any possible implementation manner of the first aspect.
In a third aspect, the present invention provides a routed vBNG device, where the routed vBNG device includes: the device comprises a memory, a transceiver and a processor which is respectively connected with the memory and the transceiver. The memory is configured to store a set of program instructions, and the processor is configured to invoke the program instructions stored by the memory to run a plurality of virtual machines to perform the first aspect or the method in any possible implementation manner of the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium having stored therein instructions which, when run on a computer, cause the computer to perform the method of the first aspect or any possible implementation manner of the first aspect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It is obvious that the following figures reflect only some embodiments of the invention, and that other embodiments of the invention can be obtained by those skilled in the art without inventive exercise. And all such embodiments or implementations are within the scope of the present invention.
FIG. 1a is a schematic diagram of a network according to an embodiment of the present invention;
FIG. 1b is a schematic diagram of a network according to an embodiment of the present invention;
FIG. 2 is a simplified diagram of a route distribution method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a vBNG in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another vBNG in an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be obtained by a person skilled in the art without inventive effort based on the embodiments of the present invention, are within the scope of the present invention.
The network architecture and the service scenario described in the embodiment of the present invention are for more clearly illustrating the technical solution of the embodiment of the present invention, and do not form a limitation on the technical solution provided in the embodiment of the present invention, and it can be known by those skilled in the art that the technical solution provided in the embodiment of the present invention is also applicable to similar technical problems along with the evolution of the network architecture and the appearance of a new service scenario.
As shown in fig. 1a, the vBNG and the network device 2 are interconnected by at least two links (e.g., link 1 and link 2), and the vBNG receives user-side routing information from the network device 3 through the interface 1, the routing information includes IP address information of the user device 1, the IP address information may be an IP address such as 10.1.1.1, or IP address prefix information such as 10.1.1.0, or an IP address plus a subnet mask such as 10.1.1.1/24. The virtual network device runs an Interior Gateway Protocol (IGP) routing Protocol process, for example, the IGP may be an Open Shortest Path First (OSPF), an Intermediate System-to-Intermediate System (IS-IS), or the like. After receiving the routing information from the user side, the vBNG issues the routing information from the interface 2 and the interface 4 through the IGP process, respectively. The network device 2 receives the routing information from the interface 5 and the interface 6, respectively, and generates two forwarding entries, where the destination IP address information of the two forwarding entries is the IP address information of the user device 1, and the output interfaces are the interface 5 and the interface 6, respectively. For example, when the cost (english: cost) value of the link 2 is lower than the cost value of the link 1, the forwarding table entry of the egress interface, i.e. the interface 6, is selected, and the data packet is forwarded to the ue 1. After the vBNG receives the data packet addressed to the user equipment 1 from the interface 4, the data packet needs to pass through the switching network, and is sent from the forwarding unit 2 to the forwarding unit 1, and the data packet is sent from the interface 1 of the forwarding unit 1. It should be noted that such forwarding that needs to be performed across a switching network may be referred to as board-crossing forwarding, forwarding across a forwarding unit, or VM-crossing forwarding, and the like, and the corresponding data stream may be referred to as board-crossing forwarding data stream, forwarding across a forwarding unit, or VM-crossing forwarding data stream.
Since vBNG is a software process that replaces a hardware (e.g., chip) process, performance is relatively poor. In particular, when forwarding of data messages within the vBNG requires passing through the switching network, the forwarding performance of the vBNG is further degraded.
The switching network may be a hardware switch or a software virtual switch. The network device 2 may be a physical hardware network device, such as a router or a switch, or may be a virtual network device based on the NFV technology, such as a virtual router or a virtual switch. The User Equipment (UE) may include various handheld devices, vehicle-mounted devices, wearable devices, computer devices or other processing devices connected to a wireless modem with wireless communication functions, as well as various forms of User Equipment, Mobile Stations (MS), terminals (Terminal), Terminal devices (TE), and so on. For convenience of description, the above-mentioned devices are collectively referred to as user equipment or UE in this application.
Based on the application scenario described in fig. 1a, fig. 2 is a schematic flowchart of a method for routing and publishing according to an embodiment of the present invention. The method is applied to a vBNG (as a first network device), where the first network device is connected to a second network device via two links, and the first network device includes at least two forwarding units, at least one control unit, and at least one switching unit (also called a switching network). Wherein the at least two forwarding units comprise a first forwarding unit and a second forwarding unit. And the first network equipment and the second network equipment operate an IGP protocol and establish an IGP neighbor relation between the first network equipment and the second network equipment, and the IGP neighbor relation is in an IGP domain.
The scheme provided by the embodiment of the invention is explained in the following with reference to the attached figure 2.
The scheme provided by the embodiment of the invention comprises a part 201, a part 302 and a part 203, which are respectively explained below.
At element 201, the first network device creates at least two routing protocol processes, wherein one routing protocol process is associated with one forwarding unit, and the at least two routing protocol processes include a first routing protocol process and a second routing protocol process. The routing protocol process may be an IGP routing protocol process such as an OSPF process, an IS-IS process, or the like.
And creating a third routing protocol process on the second network equipment, and respectively establishing an IGP (integrated gate protocol) neighbor relation between the third routing protocol process and the first routing protocol process and the second routing protocol process on the first network equipment. Alternatively, a third routing protocol process and a fourth routing protocol process may be created on the second network device, where the third routing protocol process may establish an IGP neighbor relationship with the first routing protocol process on the first network device, and the fourth routing protocol process may establish an IGP neighbor relationship with the second routing protocol process on the first network device.
At element 202, the first network device associates the first routing protocol process with the first forwarding unit and associates the second routing protocol process with the second forwarding unit.
Associating the first routing protocol process with the first forwarding unit may be understood as that the first routing protocol process is only responsible for issuing (also called announcing) routing information received from an interface of the first forwarding unit that is not joined to the first routing protocol process, from an interface of the first forwarding unit that is joined to the first routing protocol process. For example, as shown in fig. 1a, the first routing protocol process (e.g., ospf process 1) is created at the control element of the vBNG, and interface 2 (which is an interface connected to the network-side network device) joins ospf1 (specifically, for example, joining ospf process 1 may be implemented by joining an IP address configured on interface 2 to ospf1, or enabling ospf capability on interface 2). The vBNG receives the message from the user equipment 1 from the interface 1 (which is an interface connected to the user side equipment and is not added to the ospf process 1), obtains the IP address information of the user equipment 1, and introduces the IP address information as routing information to the ospf process 1. The routing information of the user equipment 1 is published from the interface 2 to the network equipment 2 via the ospf process 1. It should be understood that the interface 2 is a network-side interface, the interface 1 is a user-side interface, there may be a plurality of interfaces 2, and there may also be a plurality of interfaces 1, and each of these interfaces is only illustrated by one interface, but is not limited thereto.
Specifically, the first network device may associate the first routing protocol process with the first forwarding unit in the following two ways.
In a first manner, the first network device directly introduces, by default, the routing information of the user terminal side received from the first interface of the first forwarding unit into the first routing protocol process, and the first routing protocol process issues the routing information from the second interface of the first forwarding unit to the second network device. The method is directly encoded and realized in software in the product development process of the first network equipment, and subsequent manual configuration operation is not needed to participate in realization.
And in a second mode, the first network device instructs the first forwarding unit to set a first flag for the routing information received from the first interface, and introduces the routing information with the first flag into the first routing protocol process for issuing.
Optionally, setting the first flag may be implemented on the first network device by a configuration command. For example, a command line that instructs a user network side route (unr) received on slot1 (i.e., forwarding unit 1) to add tag (English) 100.
[vBNG-slot-1]ip unr host-route-tag 100
By setting the flag, the routing information that needs to be introduced into the first routing protocol process may be selected according to the needs of the user or the network administrator (for example, all or part of the user network side routes received on the forwarding unit 1 may be introduced, and certainly, if not set, may not be introduced), so that the routing information to be introduced is flexibly controlled according to the needs of the user or the network administrator.
Further, the first network device creates a routing policy indicating that the routing policy is satisfied if a label of a piece of routing information is a first label. And the first network equipment introduces the routing information meeting the routing strategy into the first routing protocol process for issuing.
Alternatively, creating a routing policy may be implemented on the first network device through a configuration command. For example,
a routing policy1 (english: policy1) is created under view of vBNG:
[vBNG]route-policy policy1
creating a matching identifier of the routing policy under the view of the routing policy1 as tag 100:
[vBNG-routepolicy-policy1]if-match tag 100
configured under the view of ospf process 1 of vBNG, if a piece of routing information matches tag 200, the routing information is introduced into ospf process 1:
[vBNG-ospf-1]import-route unr route-policy policy1
the routing information meeting the matching requirement is introduced into the corresponding routing protocol process by creating the routing strategy, and the routing protocol process to be introduced can be selected according to the needs of a user or a network administrator, so that the routing protocol process to be introduced is flexibly controlled according to the needs of the user or the network administrator, and the configuration management is more flexible.
The method for associating the second routing protocol process with the second forwarding unit is the same as the above-mentioned method for associating the first routing protocol process with the first forwarding unit, and for brevity, details are not described here again.
In part 203, the first network device issues routing information associated with the first routing protocol process, received from the first interface of the first forwarding unit, from the second interface of the first forwarding unit to the second network device, the routing information including IP address information of the user equipment.
As shown in fig. 1a, network device 1 issues routing information of user equipment 1 received from interface 1 of forwarding unit 1 (the routing information of user equipment 1 has been introduced into the first routing protocol process by the method of section 202) from interface 2 of forwarding unit 1 to network device 2. After receiving the routing information of the user equipment 1 from the interface 5, the network device 2 runs a third routing protocol process to generate a forwarding table entry to the user equipment 1, where the destination IP address information of the forwarding table entry is the IP address information of the user equipment 1, and the output interface is the interface 5. So that only the interface 5 is used when the network device 2 forwards data messages destined for the user device 1; then enters the forwarding unit 1 of the vBNG from the interface 2 of the vBNG through the link 1, and is forwarded out from the interface 1 of the forwarding unit 1; the data message is transmitted and received on the same forwarding unit 1, and cross-board forwarding is avoided.
By associating the first routing protocol process with the first forwarding unit, the routing received by the first forwarding unit is only issued from the interface of the first forwarding unit to the second network device on the network side, so that the second network device can only learn the routing issued from the interface of the first forwarding unit, thereby avoiding cross-board forwarding and improving the forwarding performance of vBNG.
Further, the first network device issues the routing information associated with the second routing protocol process received from the third interface of the second forwarding unit from the fourth interface of the second forwarding unit.
As shown in fig. 1a, the network device 1 issues the routing information of the user equipment 2 received from the interface 3 of the forwarding unit 2 (the routing information of the user equipment 2 has been introduced into the second routing protocol process by the method of part 202) from the interface 4 of the forwarding unit 2 to the network device 2, similarly to the above. After receiving the routing information of the user equipment 2 from the interface 6, the network equipment 2 runs the third routing protocol process (as described in the above part 201, when the network equipment 2 runs one routing protocol process) or the fourth routing protocol process (as described in the above part 201, when the network equipment 2 runs two routing protocol processes) to generate a forwarding table entry to the user equipment 2, where the destination IP address information of the forwarding table entry is the IP address information of the user equipment 2, and the output interface is the interface 6. Thus, as shown in fig. 1b, only the interface 6 is used when the network device 2 forwards the data packet destined for the user device 2; then enters the forwarding unit 2 of the vBNG from the interface 4 of the vBNG through the link 2, and is forwarded out from the interface 3 of the forwarding unit 2; the data message is transmitted and received on the same forwarding unit 2, and cross-board forwarding is avoided.
By associating each forwarding unit with each routing protocol process in a one-to-one correspondence manner, the routing received by each forwarding unit is only issued to the second network equipment on the network side from the interface of the forwarding unit, so that the second network equipment can only learn the routing issued by the interface of the forwarding unit, cross-board forwarding is avoided, and the forwarding performance of the vBNG is improved.
Fig. 3 is a schematic structural diagram of a vBNG device according to an embodiment of the present invention. The vBNG device 300 includes: a creating unit 302, an associating unit 304 and a sending unit 306.
A creating unit 302, configured to create at least two routing protocol processes, where one routing protocol process is associated with one forwarding unit, and the at least two routing protocol processes include a first routing protocol process.
An associating unit 304, configured to associate the first routing protocol process with the first forwarding unit.
Optionally, the associating unit 304 is configured to instruct the first forwarding unit to set a first flag to the routing information received from the first interface, and introduce the routing information with the first flag into the first routing protocol process for issuing. For example, the association unit 304 may perform the above-mentioned function of indicating to set the flag through a configuration command.
Further, the introducing, by the associating unit 304, the routing information with the first label into the first routing protocol process for issuing specifically includes:
the associating unit 304 is further configured to instruct the creating unit 302 to create a routing policy, where the routing policy indicates that the routing policy is satisfied if a label of a piece of routing information is a first label.
The associating unit 304 is further configured to introduce the routing information satisfying the routing policy into the first routing protocol process for issuing.
A sending unit 306, configured to issue, from the second interface of the first forwarding unit to the second network device, the routing information associated with the first routing protocol process received from the first interface of the first forwarding unit.
The vBNG device 300 according to the embodiment of the present invention may implement various implementation functions and steps in the vBNG device (i.e., the first network device) in the embodiment corresponding to fig. 1a to fig. 2, and for brevity, no further description is provided herein.
Fig. 4 is a hardware configuration diagram of a computer device according to an embodiment of the present invention. The computer device 400 is used to generate and run virtual network devices. The virtual network device 400 is configured to implement the function of a BNG, and is a vBNG device.
The computer device 400 comprises a memory 401, a transceiver 402, and a processor 403 connected to the memory 401 and the transceiver 402, respectively. The memory 401 is configured to store a set of program instructions, and the processor 403 is configured to call the program instructions stored in the memory 401 to run a plurality of virtual machines to implement a plurality of units in a virtual network device.
A virtual machine refers to a complete computer system with complete hardware system functionality, which is emulated by software, running in a completely isolated environment. The virtual machines are deployed on hardware devices (e.g., physical servers). Through reading the application, a person skilled in the art can simulate a plurality of gateway devices with the above functions on a general physical server by combining with the NFV technology. And will not be described in detail herein.
The virtual machine running in the processor 403 includes a forwarding unit 4031, a forwarding unit 4032, and a control unit 4033. The control unit 4033 is a virtual machine for implementing a control management function, and the forwarding units 4031 and 4032 are virtual machines for implementing a data forwarding function.
A control unit 4033, configured to create at least two routing protocol processes, where one routing protocol process is associated with one forwarding unit, and the at least two routing protocol processes include a first routing protocol process.
A control unit 4033 further configured to associate the first routing protocol process with the first forwarding unit.
Optionally, the control unit 4033 is configured to instruct the first forwarding unit to set a first flag to the routing information received from the first interface, and introduce the routing information with the first flag into the first routing protocol process for issuing. For example, the control unit 403 may perform the above-described function of instructing to set the flag by a configuration command.
Further, the step of the control unit 4033 introducing the routing information with the first label into the first routing protocol process for issuing specifically includes:
the control unit 4033 is further configured to create a routing policy indicating that the routing policy is satisfied if a label of a piece of routing information is a first label.
The control unit 4033 is further configured to introduce the routing information that satisfies the routing policy into the first routing protocol process for issuing.
A transceiver 4032 configured to publish routing information associated with the first routing protocol process received from the first interface of the first forwarding unit from the second interface of the first forwarding unit to the second network device.
The vBNG device 400 according to the embodiment of the present invention may implement various implementation functions and steps in the vBNG device (i.e., the first network device) according to the embodiments corresponding to fig. 1a to fig. 2. The control unit 4033 is configured to perform all operations of the creating unit 302 and the associating unit 304 of the vBNG device in fig. 3, and the transceiver 402 is configured to perform all operations of the transmitting unit 306 of the vBNG device in fig. 3. For brevity, no further description is provided herein.
In a first possible implementation manner of this embodiment, the virtual machine running in the processor 403 further includes a switch unit, and the switch unit may be a VM that performs a switch function. It should be noted that the forwarding units in the vBNG device 400 may also implement data packet switching through a hardware physical switch.
It should be noted that the vBNG device in the embodiment of the present invention includes at least two forwarding units and at least one control unit, where the forwarding unit 4031, the forwarding unit 4032, and the control unit 4033 are merely examples, and are not limited.
It should be understood that, on reading the present application, those skilled in the art may make various combinations of optional features, steps or methods described in the embodiments of the present application without making any special details, all of which belong to the embodiments disclosed in the present application, and only because the descriptions or the texts are simple, the descriptions of the various combinations are not repeated.
It should be understood that the term "and/or" herein is merely one type of association relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A method for route distribution is applied to a first network device, wherein the first network device is a virtual broadband network service gateway, the first network device is connected to a second network device through two links, the first network device includes at least two forwarding units, the at least two forwarding units include a first forwarding unit, and the method includes:
the first network equipment creates at least two routing protocol processes, wherein one routing protocol process is associated with one forwarding unit, and the at least two routing protocol processes comprise a first routing protocol process;
the first network device associating the first routing protocol process with the first forwarding unit;
the first network device issues the routing information associated with the first routing protocol process received from the first interface of the first forwarding unit to the second network device through the second interface of the first forwarding unit.
2. The method of claim 1, wherein associating, by the first network device, the first routing protocol process with the first forwarding unit comprises:
and the first network equipment instructs the first forwarding unit to set a first mark on the routing information received from the first interface, and introduces the routing information with the first mark into the first routing protocol process for issuing.
3. The method of claim 2, wherein the first network device instructing the first forwarding unit to set the routing information received from the first interface with a first flag comprises: the first network device instructs the first forwarding unit to set a first flag to the routing information received from the first interface through a configuration command.
4. The method according to claim 2 or 3, wherein said introducing the routing information with the first label into the first routing protocol process for publishing comprises:
the first network device creating a routing policy indicating that the routing policy is satisfied if a label of a piece of routing information is a first label;
and the first network equipment introduces the routing information meeting the routing strategy into the first routing protocol process for issuing.
5. The method of claim 4, wherein the first network device introducing the routing information satisfying the routing policy into the first routing protocol process for publishing comprises: and the first network equipment indicates that the routing information meeting the routing strategy is introduced into the first routing protocol process for issuing through a configuration command.
6. A virtual broadband network service gateway apparatus, used as a first network device, wherein the virtual broadband network service gateway apparatus is applied to a connection between the first network device and a second network device through two links, the first network device includes at least two forwarding units, the at least two forwarding units include a first forwarding unit, and the apparatus includes:
the system comprises a creating unit, a forwarding unit and a forwarding unit, wherein the creating unit is used for creating at least two routing protocol processes, one of which is associated with one forwarding unit, and the at least two routing protocol processes comprise a first routing protocol process;
an associating unit for associating the first routing protocol process with the first forwarding unit;
a sending unit, configured to issue, to the second network device through the second interface of the first forwarding unit, the routing information associated with the first routing protocol process received from the first interface of the first forwarding unit.
7. The apparatus of claim 6, wherein the first network device associating the first routing protocol process with the first forwarding unit comprises:
the association unit is configured to instruct the first forwarding unit to set a first flag for the routing information received from the first interface, and introduce the routing information with the first flag into the first routing protocol process for issuing.
8. The apparatus of claim 7, wherein the associating unit is configured to indicate that the routing information received from the first interface is to be set to a first flag, and wherein the associating unit is configured to: the association unit instructs the first forwarding unit to set a first flag to the routing information received from the first interface through a configuration command.
9. The apparatus according to claim 7 or 8, wherein said introducing the routing information with the first label into the first routing protocol process for publishing comprises:
the creating unit is used for creating a routing policy, and the routing policy indicates that the routing policy is satisfied if the mark of one piece of routing information is a first mark;
the association unit is configured to introduce the routing information that satisfies the routing policy into the first routing protocol process for issuing.
10. The apparatus as claimed in claim 9, wherein the associating unit is configured to introduce the routing information satisfying the routing policy into the first routing protocol process for publishing, including: and the association unit indicates the routing information meeting the routing strategy to be introduced into the first routing protocol process for issuing through a configuration command.
CN201780084706.2A 2017-01-26 2017-01-26 Method and device for issuing route Active CN110226307B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/072778 WO2018137252A1 (en) 2017-01-26 2017-01-26 Route issuing method and device

Publications (2)

Publication Number Publication Date
CN110226307A CN110226307A (en) 2019-09-10
CN110226307B true CN110226307B (en) 2021-01-29

Family

ID=62977925

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780084706.2A Active CN110226307B (en) 2017-01-26 2017-01-26 Method and device for issuing route

Country Status (2)

Country Link
CN (1) CN110226307B (en)
WO (1) WO2018137252A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459630A (en) * 2008-12-08 2009-06-17 福建星网锐捷网络有限公司 IGP routing method and apparatus
CN101674221A (en) * 2008-09-09 2010-03-17 ***通信集团公司 Static routing generation method, method and device for implementing terminal routing
CN101902391A (en) * 2010-03-15 2010-12-01 杭州华三通信技术有限公司 Intelligent static route based method and equipment for forwarding messages
CN105610632A (en) * 2016-02-14 2016-05-25 华为技术有限公司 Virtual network device and related method
CN105634956A (en) * 2015-12-31 2016-06-01 华为技术有限公司 Message forwarding method, device and system
CN106357433A (en) * 2016-08-30 2017-01-25 上海寰创网络科技有限公司 Implementation method of solid-interface and multi-WAN-port gateway

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10425322B2 (en) * 2015-04-13 2019-09-24 Ciena Corporation Scalable broadband metro network architecture
CN105554176B (en) * 2015-12-29 2019-01-18 华为技术有限公司 Send the method, apparatus and communication system of message

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674221A (en) * 2008-09-09 2010-03-17 ***通信集团公司 Static routing generation method, method and device for implementing terminal routing
CN101459630A (en) * 2008-12-08 2009-06-17 福建星网锐捷网络有限公司 IGP routing method and apparatus
CN101902391A (en) * 2010-03-15 2010-12-01 杭州华三通信技术有限公司 Intelligent static route based method and equipment for forwarding messages
CN105634956A (en) * 2015-12-31 2016-06-01 华为技术有限公司 Message forwarding method, device and system
CN105610632A (en) * 2016-02-14 2016-05-25 华为技术有限公司 Virtual network device and related method
CN106357433A (en) * 2016-08-30 2017-01-25 上海寰创网络科技有限公司 Implementation method of solid-interface and multi-WAN-port gateway

Also Published As

Publication number Publication date
WO2018137252A1 (en) 2018-08-02
CN110226307A (en) 2019-09-10

Similar Documents

Publication Publication Date Title
CN110784411B (en) Method, device and system for establishing BIER forwarding table item
EP3125476B1 (en) Service function chaining processing method and device
CN102301663B (en) Message processing method and associated devices
EP3270546B1 (en) Message processing method, device and system
CN103200069B (en) A kind of method and apparatus of Message processing
EP3070895B1 (en) Encapsulation method and system for flow identifier
CN108964940B (en) Message sending method and device and storage medium
CN110050445B (en) Method, device and system for sending and receiving message
EP3641245A1 (en) Service routing packet processing method and apparatus, and network system
CN105933248B (en) Service insertion within a basic virtual network environment
RU2528149C1 (en) Tunnel switching method and system for multi-protocol label switching services
CN109474507B (en) Message forwarding method and device
CN107332772B (en) Forwarding table item establishing method and device
US11706140B2 (en) Packet forwarding method and network device
CN107547665A (en) A kind of method, equipment and the system of dhcp address distribution
US20220360526A1 (en) Routing information publishing method, apparatus, and system
EP4294080A1 (en) Route processing method and network device
CN110431827A (en) Distributed network gate framework is realized using location identifier separated protocol to be used for 3GPP mobility
CN106982162B (en) Method, device and system for forwarding service flow
US10020961B2 (en) Method and apparatus for network virtualization
CN111404797A (en) Control method, SDN controller, SDN access point, SDN gateway and CE
CN114598635A (en) Message transmission method and device
US20230224236A1 (en) Routing Information Transmission Method and Apparatus
CN110226307B (en) Method and device for issuing route
CN112910767B (en) Method, equipment and system for selecting gateway

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