CN109728926A - Communication means and the network equipment - Google Patents

Communication means and the network equipment Download PDF

Info

Publication number
CN109728926A
CN109728926A CN201711038119.8A CN201711038119A CN109728926A CN 109728926 A CN109728926 A CN 109728926A CN 201711038119 A CN201711038119 A CN 201711038119A CN 109728926 A CN109728926 A CN 109728926A
Authority
CN
China
Prior art keywords
network equipment
network
routing iinformation
instruction information
backbone
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.)
Granted
Application number
CN201711038119.8A
Other languages
Chinese (zh)
Other versions
CN109728926B (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
Priority to CN201711038119.8A priority Critical patent/CN109728926B/en
Publication of CN109728926A publication Critical patent/CN109728926A/en
Application granted granted Critical
Publication of CN109728926B publication Critical patent/CN109728926B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present application discloses communication means and the network equipment, the described method includes: the first network equipment in backbone network receives BGP message from second network equipment in data center, BGP message includes instruction information and the first routing iinformation, and instruction information is used to indicate whether the first routing iinformation needs to notice in backbone network;Only when indicating that information indicates that the first routing iinformation needs are noticed in backbone network, first network equipment generates secondary route information according to the first routing iinformation;The third network equipment of the first network equipment into backbone network sends secondary route information.Using the embodiment of the present application, routing policy on PE can be improved in EVPN and configure simplicity, and reduce maintenance cost.

Description

Communication means and the network equipment
Technical field
This application involves field of communication technology more particularly to communication means and the network equipment.
Background technique
The interconnection of Ethernet virtual private networks (Ethernet Virtual Private Network, EVPN) data center (Data Center Interconnect, DCI) scene may include that the gateway (gateway, GW) of data center and service mention For quotient's edge router (Provider Edge, PE).By taking the configuration diagram of communication system shown in FIG. 1 as an example, the first data Multiple virtual machines (Virtual Machine, VM) of center DC1 pass through gateway GW1 connection backbone network Provider Edge road It wherein may include multiple EVPN examples (EVPN instance, EVI) on GW1 by device PE1, multiple VM can pass through access electricity Road (Access Circuit, AC) interface connects EVI, and routing iinformation is sent to EVI.Gateway GW1 can obtain multiple EVI The routing iinformation from VM obtained is sent to PE1.If PE1 is upper to distinguish processing to the GW1 routing iinformation sent, such as The routing iinformation from VM that control section AC interface obtains or part EVI is obtained is not noticed in backbone network, is needed Complicated routing policy is disposed on PE1, for example, on PE1 configuration pin to media access control (Media Access Control, MAC) address carries out matched routing policy, and routing policy configuration is complicated, and later maintenance cost height is easy to happen mistake.
Summary of the invention
The embodiment of the present application problem complicated for routing policy configuration on PE in EVPN, provides communication means and network Equipment can be improved in EVPN routing policy on PE and configure simplicity, and reduces maintenance cost.
In a first aspect, the embodiment of the present application provides a kind of communication means, comprising: first network equipment in backbone network from Second network equipment in data center receives Border Gateway Protocol (Border Gateway Protocol, BGP) message, BGP Message includes instruction information and the first routing iinformation, and instruction information is used to indicate whether the first routing iinformation needs in backbone network Notice;Only when indicating that information indicates that the first routing iinformation needs are noticed in backbone network, first network equipment is according to the first via Secondary route information is generated by information;The third network equipment of the first network equipment into backbone network sends secondary route information.
In the technical scheme, the instruction information that first network equipment is sent according to second network equipment, into backbone network Other equipment notice or do not notice the routing iinformation from second network equipment.In relatively traditional communication means, needed on PE A variety of different complicated routing policies are configured for a large amount of routing iinformations from multiple EVI, by counting in the embodiment of the present application It decides whether to notice routing iinformation to backbone network according to the central side network equipment, PE is only needed according to instruction information on backbone network Whether notice the routing iinformation from data center or not, the simplicity of the configuration of routing policy PE on thus can be improved, and reduce Maintenance cost.
Optionally, the instruction information may include route-type attribute, and the route-type attribute is used to indicate described The protocol type for the routing that secondary route information is included is established between the first network equipment and the third network equipment There is the tunnel of the protocol type, the first network equipment is all between the first network equipment into the backbone network Establishing has the network equipment in the tunnel of the protocol type to send the secondary route information.
In the technical scheme, first network equipment can be to using different agreement and the first network equipment in backbone network The network equipment for establishing tunnel distinguishes, and notices routing iinformation via the tunnel of the protocol type of instruction information instruction.Such as First network equipment and heterogeneous networks equipment establish the tunnel MPLS and gre tunneling in backbone network, and first network equipment is according to instruction Information notices routing iinformation to the network equipment for being located at the tunnel MPLS opposite end.It is distinguished by the protocol type to tunnel, it can So that routing policy configuration is more flexible simple and direct in EVPN.
Second aspect, the embodiment of the present application provide a kind of communication means, comprising: second network equipment in data center First network equipment into backbone network sends BGP message, and BGP message includes instruction information and the first routing iinformation, instruction letter Breath is used to indicate whether the first routing iinformation needs to notice in backbone network.
In the technical scheme, second network equipment sends instruction information and the first routing iinformation to first network equipment, So that first network equipment is according to the instruction information, the other equipment into backbone network are noticed or do not notice the first via by information. It needs to configure a variety of different complexity for a large amount of routing iinformations from multiple EVI in relatively traditional communication means, on PE Routing policy decides whether in the embodiment of the present application to notice routing iinformation to backbone network from data center's side network equipment, PE only needs according to instruction information announcement or does not notice the routing iinformation from data center on backbone network, thus can be improved on PE Routing policy configures simplicity, and reduces maintenance cost.
Optionally, instruction information is used for so that first network equipment is only when instruction information indicates that the first routing iinformation needs When noticing in backbone network, secondary route information is generated according to the first routing iinformation, and the third network equipment hair into backbone network Send secondary route information.
Optionally, second network equipment can determine the first via based on EVI information, AC interface message or broadcast domain information Whether need to notice in backbone network by information.
In the technical scheme, second network equipment determines whether routing iinformation needs into backbone network according to information above Notice keeps routing policy configuration in EVPN simpler and more direct flexibly.
The third aspect, the embodiment of the present application provide a kind of computer storage medium, and the computer storage medium is for storing up Computer program instructions are deposited, when the computer program instructions are executed by above-mentioned first network equipment, so that first network equipment Execute method described in first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer storage medium, and the computer storage medium is for storing up Computer program instructions are deposited, when the computer program instructions are executed by above-mentioned second network equipment, so that second network equipment Execute method described in second aspect.
5th aspect, the embodiment of the present application provide a kind of first network equipment, which, which has, realizes first The function of first network equipment behavior in communication means example described in aspect.The function can be by hardware realization, can also To execute corresponding software realization by hardware.The hardware or software include one or more lists corresponding with above-mentioned function Member or module.
It may include receiving module, processing module and transmission mould in the structure of first network equipment in a design scheme Block, the processing module are configured as that first network equipment is supported to execute corresponding function in communication means described in first aspect. The receiving module and sending module are used to support the communication between first network equipment and other equipment.The first network is set Standby can also include memory module, and it is necessary to save first network equipment for coupling with processing module for the memory module Program instruction and data.As an example, processing module can be processor, receiving module can be receiver, and sending module can Think transmitter.Memory module can be memory.In another example, processing module can be processor, receiving module and Sending module can be realized by a transceiver.
6th aspect, the embodiment of the present application provide a kind of second network equipment, which, which has, realizes second The function of second network equipment behavior in communication means example described in aspect.The function can be by hardware realization, can also To execute corresponding software realization by hardware.The hardware or software include one or more lists corresponding with above-mentioned function Member or module.
It may include sending module in the structure of second network equipment, the sending module is matched in a design scheme It is set to and second network equipment is supported to execute corresponding function in communication means described in second aspect.Second network equipment may be used also To include processing module, the processing module is configured as that second network equipment is supported to execute in communication means described in second aspect Corresponding function.Second network equipment can also include receiving module, the receiving module and sending module for supporting Communication between the network equipment and other equipment.The network equipment can also include memory module, and the memory module is used for It is coupled with processing module, saves the necessary program instruction of the network equipment and data.As an example, processing module can be processing Device, receiving module can be receiver, and sending module can be transmitter.Memory module can be memory.Another example In, processing module can be processor, and receiving module and sending module can be realized by a transceiver.
7th aspect, the embodiment of the present application provides a kind of computer program product comprising instruction, when it is in computer When upper operation, so that computer executes communication means described in first aspect.
Eighth aspect, the embodiment of the present application provide a kind of computer program product comprising instruction, when it is in computer When upper operation, so that computer executes communication means described in second aspect.
9th aspect, the embodiment of the present application provide a kind of communication system, which includes first described in above-mentioned aspect The network equipment and second network equipment.
In a design scheme, the system can also include scheme provided by the embodiments of the present application in the first network The other equipment that equipment or second network equipment interact, such as the third network equipment.
Tenth aspect, the embodiment of the present application provide a kind of chip system, which includes processor, are used for first The network equipment realizes function involved in above-mentioned aspect, for example, generate or the processing above method involved in data and/or Information.
In a design scheme, the chip system further includes memory, the memory, for saving first network The necessary program instruction of equipment and data.The chip system, can be made of chip, also may include chip and other deviding devices Part.
Tenth on the one hand, and the embodiment of the present application provides a kind of chip system, which includes processor, for branch It holds second network equipment and realizes function involved in above-mentioned aspect, for example, for example receiving or handling and is involved in the above method Data and/or information.
In a design scheme, the chip system further includes memory, the memory, for saving the second network The necessary program instruction of equipment and data.The chip system, can be made of chip, also may include chip and other deviding devices Part.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application or in background technique below will be implemented the application Attached drawing needed in example or background technique is illustrated.
Fig. 1 is a kind of configuration diagram of communication system disclosed in the embodiment of the present application;
Fig. 2 is a kind of structural schematic diagram of DCI networking disclosed in the embodiment of the present application;
Fig. 3 is a kind of flow diagram of communication means disclosed in the embodiment of the present application;
Fig. 4 is a kind of structural schematic diagram of first network equipment disclosed in the embodiment of the present application;
Fig. 5 is a kind of structural schematic diagram of first network equipment disclosed in another embodiment of the application;
Fig. 6 is the structural schematic diagram of second network equipment of one kind disclosed in the embodiment of the present application;
Fig. 7 is the structural schematic diagram of second network equipment of one kind disclosed in another embodiment of the application.
Specific embodiment
The embodiment of the present application is described below with reference to the attached drawing in the embodiment of the present application.
It is right first below in order to better understand a kind of communication means, device disclosed in the embodiment of the present application and system The applicable network architecture of the embodiment of the present application is described.Referring to Figure 1, Fig. 1 is a kind of communication disclosed in the embodiment of the present application The configuration diagram of system.As shown in Figure 1, the communication system may include gateway GW1, gateway GW2, gateway GW3, service offer Quotient's edge router PE1 and service provider edge router PE2.Wherein, GW1 and GW3 runs on first data center's (example Such as it is located at data center, Pekinese), PE1 and PE2 run on backbone network, and GW2 runs on the second data center (such as positioned at Shanghai Data center).Wherein, GW1 can connect backbone network with GW3 by PE1, and GW2 can connect backbone network by PE2.GW1 with Between PE1, it can pass through Border Gateway Protocol (BGP) report between PE1 and PE2, between PE2 and GW2 and between GW3 and PE1 Text carries out the transmitting of routing iinformation.
By taking the structural schematic diagram of DCI networking shown in Fig. 2 as an example, GW1 runs on the first data center, PE1 and PE2 operation In backbone network, GW2 runs on the second data center, and virtual machine VM11, virtual machine VM12, virtual machine VM13 and virtual machine VM14 can To run on GW1 or other hosts, which runs on the first data center and by GW1 connection backbone network, GW1 packet Include EVPN example EVI1 and EVPN example EVI2.GW1 obtains the routing iinformation of VM11 by AC interface 1, is obtained by AC interface 2 The routing iinformation of VM12 obtains the routing iinformation of VM13 by AC interface 3, and the routing iinformation of VM14 is obtained by AC interface 4, into And GW1 can be by configuring EVI1 through the acquisition routing iinformation of AC interface 1 and through the acquisition routing iinformation of AC interface 2, and passes through and configure EVI2 obtains routing iinformation through AC interface 3 and obtains routing iinformation through AC interface 4.The routing iinformation that GW1 is obtained includes virtual expands Open up local area network (Virtual Extensible LAN, VXLAN) routing.VXLAN routing, which refers to, is routed to data message The routing used when the network equipment in VXLAN.Wherein, routing iinformation may include MAC Address or Internet protocol Address (Internet Protocol, IP) etc..
When the first routing iinformation needs are noticed in backbone network, GW1 can will include instruction information and the first via by believing The BGP message of breath is sent to PE1, which is used to indicate the first routing iinformation and notices in backbone network.PE1 determines instruction When information indicates that the first routing iinformation needs are noticed in backbone network, secondary route letter can be generated according to the first routing iinformation Breath.Secondary route information is sent to PE2 by PE1, and wherein secondary route information includes multi protocol label exchange (Multiprotocol Label Switching, MPLS) routing or generic route encapsulation (Generic Routing Encapsulation, GRE) routing.Use when MPLS routing refers to the network equipment being routed to data message in MPLS network Routing.The routing that GRE routing uses when referring to the network equipment that data message is routed in GRE network.PE2 is according to second Routing iinformation generates third routing iinformation, and third routing iinformation is sent to GW2 by PE2, and wherein third routing iinformation includes VXLAN Routing.VXLAN routing can be used for determining next-hop device when the network equipment into VXLAN sends datagram.MPLS Routing can be used for determining next-hop device when the network equipment into MPLS network sends datagram.GRE routing can be with For determining next-hop device when the network equipment into GRE network sends datagram.
When the first routing iinformation does not need to notice in backbone network, GW1 can will comprising instruction information and the first via by The BGP message of information is sent to PEI, which is used to indicate the first routing iinformation without noticing in backbone network.PEI is true Surely instruction information indicates the first routing iinformation it is not necessary that when noticing in backbone network, the first routing iinformation will not be by backbone network PE2 notice, but the first routing iinformation can be sent to the gateway GW3 for running on the first data center.
Based on the configuration diagram of communication system shown in FIG. 1, Fig. 3 is referred to, Fig. 3 is provided by the embodiments of the present application one Kind communication means, this method includes but is not limited to following steps:
Second network equipment in the S301: the first data center of step is based on EVI information, AC interface message or broadcast domain letter Breath, determines whether the first routing iinformation needs to notice in backbone network.
Wherein, second network equipment runs on the first data center, and second network equipment can be in Fig. 1 or Fig. 2 GW1。
Optionally, the first routing iinformation can be the routing iinformation by configuring EVI, obtained from EVI.By taking Fig. 2 as an example, the One routing iinformation can be the routing iinformation obtained by EVI1, which includes the VM11 got by AC interface 1 Routing iinformation and the VM12 got by AC interface 2 routing iinformation.Or first routing iinformation can be and pass through EVI2 The routing iinformation of acquisition, the routing iinformation include the routing iinformation of the VM11 got by AC interface 3 and are obtained by AC interface 4 The routing iinformation of the VM12 got.
Optionally, the first routing iinformation can be the routing iinformation got by AC interface.By taking Fig. 2 as an example, the first via It can be by information through one or more road got in AC interface 1, AC interface 2, AC interface 3 or AC interface 4 By information, illustratively, the first routing iinformation can be the routing iinformation got by AC interface 1 and AC interface 4, or First routing iinformation can be the routing iinformation got by AC interface 2, AC interface 3 and AC interface 4.
Optionally, the first routing iinformation can be the routing iinformation got by broadcast domain.By taking Fig. 2 as an example, the first via It can be as information and connect by broadcast domain belonging to broadcast domain belonging to broadcast domain belonging to AC interface 1, AC interface 2, AC interface 3 or AC One or more routing iinformation got in broadcast domain belonging to mouth 4, illustratively, the first routing iinformation, which can be, to be passed through The routing iinformation or the first routing iinformation that broadcast domain belonging to broadcast domain belonging to AC interface 1 and AC interface 4 is got can be The routing iinformation got by broadcast domain belonging to broadcast domain belonging to broadcast domain belonging to AC interface 2, AC interface 3 and AC interface 4. It should be noted that a broadcast domain can correspond to one or more AC interface.By taking Fig. 2 as an example, when the first broadcast domain is corresponding AC interface 1, AC interface 2 and AC interface 3, the second broadcast domain corresponding A C interface 4, then the first routing iinformation can be by first The routing iinformation that broadcast domain is got, or the routing iinformation got by the second broadcast domain, illustratively, the first via is by believing Breath, which can be the routing iinformation got by AC interface 1, AC interface 2 and AC interface 3 or the first routing iinformation, can be The routing iinformation got by AC interface 4.
Optionally, second network equipment can be based on EVI information, determine whether the first routing iinformation needs in backbone network Notice.By taking Fig. 2 as an example, the routing iinformation needs that second network equipment can determine that EVI1 is obtained are noticed in backbone network, and The routing iinformation that EVI2 is obtained does not need to notice in backbone network.
Optionally, second network equipment can be based on AC interface message, determine whether the first routing iinformation needs in backbone It is noticed in net.By taking Fig. 2 as an example second network equipment can determine that the first routing iinformation got by AC interface 1 is needed in bone It notices in dry net, is not needed in backbone network by the first routing iinformation that AC interface 2, AC interface 3 and AC interface 4 are got Notice.
Optionally, second network equipment can determine whether the first routing iinformation needs in backbone based on broadcast domain information It is noticed in net.By taking Fig. 2 as an example second network equipment can determine the first routing iinformation needs got by the first broadcast domain It is noticed in backbone network, does not need to notice in backbone network by the first routing iinformation that the second broadcast domain is got.It is exemplary , the first broadcast domain can be with corresponding A C interface 4 with corresponding A C interface 1, AC interface 2 and AC interface 3, the second broadcast domain.
First network equipment of S302: the second network equipment of step into backbone network sends BGP message, and BGP message includes Indicate information and the first routing iinformation.
Wherein, first network equipment runs on backbone network, and first network equipment can be the PE1 in Fig. 1 or Fig. 2.
Specifically, second network equipment can send BGP message to first network equipment.BGP message may include instruction Information and the first routing iinformation.Indicate that information can be what second network equipment was generated based on the result that step S301 is determined.Its In, instruction information can for example carry Network Layer Reachable Information (the Network Layer Reachability in BGP message Information, NLRI) field or extended community attribute (Extended Communities Attribute) field.
For example, second network equipment by configuring EVI1, obtains the first routing iinformation, (such as the first routing iinformation is MAC Address, the MAC Address include mac1-mac1000), and by configuring EVI2, obtain another routing iinformation (such as another way by Information is MAC Address, which includes mac1001-mac2000).Second network equipment can extend bgp protocol, with benefit Routing iinformation and instruction information are sent to first network equipment with BGP message.Such as it can be in the extended community attribute of BGP message Increase instruction information in field or in NLRI field, instruction information may include notice attribute (such as: Stitching Attribute).If second network equipment is based on EVI information, determine that the first routing iinformation obtained from EVI1 is needed in backbone network When middle notice, second network equipment sends the BGP message for including the first routing iinformation and noticing attribute to first network equipment, The value of middle notice attribute can be set to " Y ".If second network equipment determines that another routing iinformation obtained from EVI2 is not required to When noticing in backbone network, it includes another routing iinformation and notice that second network equipment can be sent to first network equipment The BGP message of attribute, wherein the value of notice attribute can be set to " N ".
Step S303: when indicating that information indicates that the first routing iinformation needs are noticed in backbone network, first network equipment Secondary route information is generated according to the first routing iinformation.
Specifically, after first network equipment receives BGP message from second network equipment, available BGP message institute Instruction information in the extended community attribute field for including or in NLRI field, when the value of the notice attribute in instruction information is When " Y ", first network equipment can determine that the first routing iinformation needs are noticed in backbone network.When the value of notice attribute is " N " When, first network equipment can determine that the first routing iinformation does not need to notice in backbone network, go to step S307.
Optionally, after first network equipment receives BGP message from second network equipment, it can be determined that BGP message is It is no to include instruction information or whether include notice attribute, when BGP message does not include instruction information or does not include notice attribute, the One network equipment can determine that the first routing iinformation needs are noticed in backbone network.The routing forwarding of first network equipment as a result, It can be compatible with original advertising of route mode, do not upgraded in data center's side subset so that can not be in BGP message When increasing instruction information or notice attribute, normally data center's side routing iinformation can be noticed to backbone network.Further, After first network equipment determines that the first routing iinformation needs to notice in backbone network, the can be generated according to the first routing iinformation Two routing iinformations, wherein secondary route information includes MPLS routing or GRE routing.
Optionally, instruction information may include route-type attribute, and route-type attribute is used to indicate secondary route information The protocol type for the routing for being included.It, can after first network equipment determines that the first routing iinformation needs to notice in backbone network To generate secondary route information according to route-type attribute.Such as secondary route information indicated by route-type attribute is wrapped The protocol type of the routing contained is MPLS, then first network equipment can be generated according to the first routing iinformation comprising MPLS routing Secondary route information.
Step S304: the third network equipment of the first network equipment into backbone network sends secondary route information.
Wherein, the third network equipment runs on backbone network, and the third network equipment can be the PE2 in Fig. 1 or Fig. 2.
Optionally, the tunnel for having protocol type is established between first network equipment and the third network equipment, first network is set It includes the tunnel of the protocol type of routing that the standby foundation between first network equipment all into backbone network, which has secondary route information, The network equipment in road sends secondary route information.
Specifically, the first network equipment in backbone network can in advance and backbone network in other equipment establish difference respectively Establish the tunnel of mpls protocol type between the tunnel of protocol type, such as first network equipment and the third network equipment, first The tunnel of GRE protocol type is established between another equipment in the network equipment and backbone network.First network equipment generates After the secondary route information of MPLS routing, all into backbone network mpls protocol class can be established between first network equipment The network equipment in the tunnel of type sends secondary route information.Thus first network equipment can be according to different backbone network tunnels Protocol type notices routing iinformation, to improve the flexibility and convenience of routing policy configuration.
Step S305: the third network equipment generates third routing iinformation according to secondary route information.
It, can be according to secondary route information after the third network equipment receives secondary route information from first network equipment Third routing iinformation is generated, wherein third routing iinformation may include VXLAN routing.
Step S306: third routing iinformation is sent to the 4th network equipment of the second data center by the third network equipment.
Wherein, the 4th network equipment runs on the second data center, and the 4th network equipment can be in Fig. 1 or Fig. 2 GW2。
After 4th network equipment receives third routing iinformation, VXLAN routing therein can use, into the first data The network equipment in the heart sends datagram.
Step S307: when indicating that information indicates that the first routing iinformation is not necessarily to notice in backbone network, the first routing iinformation It will not be noticed by the third network equipment in backbone network, but the first routing iinformation can be sent to first by first network equipment 5th network equipment of data center.
Wherein, the 5th network equipment runs on the first data center, and the 5th network equipment can be the GW3 in Fig. 1.
Specifically, after first network equipment receives BGP message from second network equipment, available BGP message institute The notice attribute for including, when the attribute value is " N ", first network equipment will not notice the first routing iinformation to backbone network, But the first routing iinformation can be sent to the 5th network equipment of the first data center.
Step S308: when indicating that information indicates that the first routing iinformation is not necessarily to notice in backbone network, the first routing iinformation It will not be noticed by the third network equipment in backbone network, but the first routing iinformation can be sent to third by first network equipment 6th network equipment of data center.
Wherein, the first data center connects backbone network, such as the first number by first network equipment with third data center It is located at the first area of Beijing according to center, third data center is located at the second area of Beijing.The operation of 6th network equipment In third data center, the 6th network equipment can be the gateway GW4 in Fig. 1.
Specifically, after first network equipment receives BGP message from second network equipment, available BGP message institute The notice attribute for including, when the attribute value is " N ", first network equipment will not notice the first routing iinformation to backbone network, But the first routing iinformation can be sent to the 6th network equipment of third data center.
It should be noted that when indicating that information indicates that the first routing iinformation is not necessarily to notice in backbone network, first network Equipment can execute step S307 and step S308, or execute either step in step S307 and step S308, and the present invention is real Example is applied to be not construed as limiting.
In the method depicted in fig. 3, determine whether routing iinformation needs by second network equipment for being located at data center It is noticed in backbone network, only needs to complete routing letter according to the instruction of first network equipment positioned at the first network equipment of backbone network The notice in backbone network is ceased, the simplicity and flexibility of routing policy configuration is improved, reduces and routed in first network equipment The complexity of strategy configuration.
It is above-mentioned to illustrate the method for the embodiment of the present application, the device of the embodiment of the present application is provided below.
Fig. 4 is referred to, Fig. 4 is a kind of structural schematic diagram of first network equipment provided by the embodiments of the present application, for real The function of first network equipment, the first network equipment run on backbone network in existing Fig. 1-Fig. 3 embodiment, the first network equipment It may include receiving module 401, processing module 402 and sending module 403, wherein modules are described in detail as follows.
Receiving module 401, for receiving BGP message from second network equipment in data center, the BGP message includes Instruction information and the first routing iinformation, the instruction information are used to indicate whether first routing iinformation needs in the backbone It is noticed in net;
Processing module 402, for only when the instruction information indicates that first routing iinformation is needed in the backbone network When middle notice, secondary route information is generated according to first routing iinformation;
Sending module 403 sends the secondary route information for the third network equipment into the backbone network.
Optionally, instruction information includes route-type attribute, and the route-type attribute is used to indicate the secondary route The protocol type for the routing that information is included, establishing between the first network equipment and the third network equipment has the association The tunnel of type is discussed, the sending module 403 is all into the backbone network to be established between the first network equipment The network equipment for stating the tunnel of protocol type sends the secondary route information.
It should be noted that the realization of modules can also correspond to the corresponding description of embodiment shown in -3 referring to Fig.1.
It should be noted that being schematical, only a kind of logic function to the division of module in the embodiment of the present application It divides, there may be another division manner in actual implementation.Each functional module in the embodiment of the present application can integrate at one In processing module, it is also possible to modules and physically exists alone, a mould can also be integrated in two or more modules In block.Above-mentioned integrated module both can take the form of hardware realization, can also be realized in the form of software function module.
Fig. 5 is referred to, Fig. 5 is a kind of structural schematic diagram for first network equipment that another embodiment of the application provides, and is used In execution communication means provided in an embodiment of the present invention.The first network equipment can include: at least one processor 501, transmitting-receiving Device 502 and bus 503.Wherein, transceiver 502 and processor 501 are connected with each other by bus 503;Bus 503 can be Peripheral Component Interconnect standard (peripheral component interconnect, PCI) bus or expanding the industrial standard structure (extended industry standard architecture, EISA) bus etc..It is total that the bus can be divided into address Line, data/address bus, control bus etc..Only to be indicated with a thick line in Fig. 5 convenient for indicating, it is not intended that only one total Line or a type of bus.Wherein, processor 501 can be central processing unit (Central Processing Unit, CPU), network processing unit (network processor, NP), general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application-Specific Integrated Circuit, ASIC), field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic Device, transistor logic, hardware component or any combination thereof.In the case where processor 501 is a CPU, the CPU It can be monokaryon CPU, be also possible to multi-core CPU.Transceiver 502 can be the integrated of receiver and transmitter, also may include Receiver and transmitter.
Optionally, first network equipment can also include memory 504, and memory 504 may include random access memory Device (random access memory, RAM), it is also possible to further include non-labile memory (non-volatile Memory), a for example, at least magnetic disk storage.Memory 504 optionally may include at least one and be located remotely from aforementioned place Manage the storage device of device 501.
The transceiver 502, for receiving BGP message, the BGP message packet from second network equipment in data center It includes instruction information and the first routing iinformation, the instruction information is used to indicate whether first routing iinformation needs in the bone It is noticed in dry net;
The processor 501, for only when the instruction information indicates that first routing iinformation is needed in the backbone When noticing in net, secondary route information is generated according to first routing iinformation;
The transceiver 502, the third network equipment being also used into the backbone network send the secondary route information.
Optionally, the instruction information includes route-type attribute, and the route-type attribute is used to indicate described second The protocol type for the routing that routing iinformation is included is established between the first network equipment and the third network equipment The tunnel of protocol type is stated, the transceiver 502 all establish between the first network equipment into the backbone network has The network equipment in the tunnel of the protocol type sends the secondary route information.
Fig. 6 is referred to, Fig. 6 is a kind of structural schematic diagram of second network equipment provided by the embodiments of the present application, for real The function of second network equipment in existing Fig. 1-Fig. 3 embodiment, which may include sending module 601, wherein should Module is described in detail as follows.
Sending module 601 sends BGP message for the first network equipment into backbone network, and the BGP message includes referring to Show that information and the first routing iinformation, the instruction information are used to indicate whether first routing iinformation needs in the backbone network Middle notice.
Optionally, the instruction information is used for so that the first network equipment is only when the instruction information indicates described the When one routing iinformation needs are noticed in the backbone network, according to first routing iinformation generation secondary route information, and to The third network equipment in the backbone network sends the secondary route information.
Optionally, second network equipment further include:
Processing module 602, for determining the first via by believing based on EVI information, AC interface message or broadcast domain information Whether breath needs to notice in the backbone network.
It should be noted that the realization of modules can also correspond to the corresponding description of embodiment shown in -3 referring to Fig.1.
It should be noted that being schematical, only a kind of logic function to the division of module in the embodiment of the present application It divides, there may be another division manner in actual implementation.Each functional module in the embodiment of the present application can integrate at one In processing module, it is also possible to modules and physically exists alone, a mould can also be integrated in two or more modules In block.Above-mentioned integrated module both can take the form of hardware realization, can also be realized in the form of software function module.
Fig. 7 is referred to, Fig. 7 is the structural schematic diagram for second network equipment of one kind that another embodiment of the application provides, and is used In execution communication means provided in an embodiment of the present invention.Second network equipment can include: transceiver 701.Transceiver 701 can be with It is the integrated of receiver and transmitter, also may include receiver and transmitter.
Transceiver 701 sends BGP message for the first network equipment into backbone network, and the BGP message includes instruction Information and the first routing iinformation, the instruction information are used to indicate whether first routing iinformation needs in the backbone network Notice.
Optionally, the instruction information is used for so that the first network equipment is only when the instruction information indicates described the When one routing iinformation needs are noticed in the backbone network, according to first routing iinformation generation secondary route information, and to The third network equipment in the backbone network sends the secondary route information.
Optionally, second network equipment further include: processor 702 and bus 703.Wherein, transceiver 701 and Processor 702 is connected with each other by bus 703.Bus 703 can be pci bus or eisa bus etc..The bus can divide For address bus, data/address bus, control bus etc..Only to be indicated with a thick line in Fig. 7, it is not intended that only convenient for indicating There are a bus or a type of bus.Wherein, processor 702 can be CPU, NP, general processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic, hardware component or any combination thereof.In processor 702 In the case where being a CPU, which can be monokaryon CPU, be also possible to multi-core CPU.
Optionally, second network equipment can also include memory 704, and memory 704 may include RAM, it is also possible to also Including non-volatile memory, for example, at least a magnetic disk storage.Memory 704 optionally may include at least one A storage device for being located remotely from aforementioned processor 702.
Processor 702, for determining first routing iinformation based on EVI information, AC interface message or broadcast domain information Whether need to notice in the backbone network.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to process or function described in the embodiment of the present application.The computer can be general purpose computer, dedicated meter Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line) or wireless (such as infrared, wireless, microwave etc.) mode into another web-site, computer, server or data The heart is transmitted.The computer readable storage medium can be any usable medium or include that computer can access The data storage devices such as one or more usable mediums integrated server, data center.The usable medium can be magnetism Medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid State Disk (SSD)) etc..

Claims (16)

1. a kind of communication means, which is characterized in that the described method includes:
First network equipment in backbone network receives Border Gateway Protocol (BGP) message from second network equipment in data center, The BGP message includes instruction information and the first routing iinformation, and the instruction information, which is used to indicate first routing iinformation, is No needs are noticed in the backbone network;
Only when the instruction information indicates that the first routing iinformation needs are noticed in the backbone network, the first network Equipment generates secondary route information according to first routing iinformation;
The third network equipment of the first network equipment into the backbone network sends the secondary route information.
2. the method as described in claim 1, which is characterized in that the instruction information includes route-type attribute, the routing Type attribute is used to indicate the protocol type for the routing that the secondary route information is included, the first network equipment with it is described Establishing between the third network equipment has the tunnel of the protocol type, the first network equipment into the backbone network it is all with Establishing between the first network equipment has the network equipment in the tunnel of the protocol type to send the secondary route information.
3. a kind of communication means, which is characterized in that the described method includes:
First network equipment of second network equipment into backbone network in data center sends Border Gateway Protocol (BGP) message, The BGP message includes instruction information and the first routing iinformation, and the instruction information, which is used to indicate first routing iinformation, is No needs are noticed in the backbone network.
4. method as claimed in claim 3, which is characterized in that the instruction information be used for so that the first network equipment only When the instruction information indicates that the first routing iinformation needs are noticed in the backbone network, according to the first via by believing Breath generates secondary route information, and the third network equipment into the backbone network sends the secondary route information.
5. the method as claimed in claim 3 or 4, which is characterized in that it is virtually privately owned that second network equipment is based on Ethernet Network example EVI information, access circuit AC interface message or broadcast domain information, determine whether first routing iinformation needs It is noticed in the backbone network.
6. a kind of first network equipment, which is characterized in that the first network equipment is located in backbone network, and the first network is set It is standby to include:
Receiving module, for receiving Border Gateway Protocol (BGP) message, the BGP report from second network equipment in data center Text includes that instruction information and the first routing iinformation, the instruction information are used to indicate whether first routing iinformation needs in institute It states in backbone network and notices;
Processing module, for only when the instruction information indicates that first routing iinformation needs to notice in the backbone network When, secondary route information is generated according to first routing iinformation;
Sending module sends the secondary route information for the third network equipment into the backbone network.
7. first network equipment as claimed in claim 6, which is characterized in that the instruction information includes route-type attribute, The route-type attribute is used to indicate the protocol type for the routing that the secondary route information is included, and the first network is set It is standby that the tunnel for having the protocol type, sending module institute into the backbone network are established between the third network equipment Have to establish between the first network equipment and has the network equipment transmission in the tunnel of the protocol type secondary route letter Breath.
8. a kind of second network equipment, which is characterized in that second network equipment is located in data center, second network Equipment includes:
Sending module sends Border Gateway Protocol (BGP) message, the BGP message for the first network equipment into backbone network It is used to indicate whether first routing iinformation needs described including instruction information and the first routing iinformation, the instruction information It is noticed in backbone network.
9. second network equipment as claimed in claim 8, which is characterized in that the instruction information is used for so that first net Network equipment is only when the instruction information indicates that first routing iinformation needs are noticed in the backbone network, according to described the One routing iinformation generates secondary route information, and the third network equipment into the backbone network sends the secondary route letter Breath.
10. second network equipment as claimed in claim 8 or 9, which is characterized in that second network equipment further include:
Processing module, for based on Ethernet virtual private networks example EVI information, access circuit AC interface message or broadcast domain Information, determines whether first routing iinformation needs to notice in the backbone network.
11. a kind of first network equipment, which is characterized in that the first network equipment is located in backbone network, the first network Equipment includes processor and transceiver,
The transceiver, for receiving Border Gateway Protocol (BGP) message, the BGP from second network equipment in data center Message includes that instruction information and the first routing iinformation, the instruction information are used to indicate whether first routing iinformation needs It is noticed in the backbone network;
The processor, for only when the instruction information indicates that first routing iinformation needs to notice in the backbone network When, secondary route information is generated according to first routing iinformation;
The transceiver, the third network equipment being also used into the backbone network send the secondary route information.
12. first network equipment as claimed in claim 11, which is characterized in that the instruction information includes route-type category Property, the route-type attribute is used to indicate the protocol type for the routing that the secondary route information is included, first net The tunnel for having the protocol type is established between network equipment and the third network equipment, the transceiver is into the backbone network All establish between the first network equipment has the network equipment in the tunnel of the protocol type to send the secondary route Information.
13. a kind of second network equipment, which is characterized in that second network equipment is located in data center, second net Network equipment includes transceiver,
The transceiver sends Border Gateway Protocol (BGP) message, the BGP report for the first network equipment into backbone network Text includes that instruction information and the first routing iinformation, the instruction information are used to indicate whether first routing iinformation needs in institute It states in backbone network and notices.
14. second network equipment as claimed in claim 13, which is characterized in that the instruction information is used for so that described first The network equipment is only when the instruction information indicates that first routing iinformation needs are noticed in the backbone network, according to described First routing iinformation generates secondary route information, and the third network equipment into the backbone network sends the secondary route letter Breath.
15. second network equipment according to claim 13 or 14, which is characterized in that second network equipment further include:
Processor, for based on Ethernet virtual private networks example EVI information, access circuit AC interface message or broadcast domain letter Breath, determines whether first routing iinformation needs to notice in the backbone network.
16. a kind of computer storage medium, the computer storage medium is for storing computer program instructions, the computer When program instruction is executed by the network equipment, so that the network equipment executes communication party as described in any one in claim 1-5 Method.
CN201711038119.8A 2017-10-27 2017-10-27 Communication method and network device Active CN109728926B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711038119.8A CN109728926B (en) 2017-10-27 2017-10-27 Communication method and network device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711038119.8A CN109728926B (en) 2017-10-27 2017-10-27 Communication method and network device

Publications (2)

Publication Number Publication Date
CN109728926A true CN109728926A (en) 2019-05-07
CN109728926B CN109728926B (en) 2021-12-14

Family

ID=66292413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711038119.8A Active CN109728926B (en) 2017-10-27 2017-10-27 Communication method and network device

Country Status (1)

Country Link
CN (1) CN109728926B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111726290A (en) * 2020-07-23 2020-09-29 迈普通信技术股份有限公司 Route control method, device, border gateway and readable storage medium
CN112751758A (en) * 2019-10-30 2021-05-04 华为技术有限公司 Routing information transmission method and device and data center internet
CN112751767A (en) * 2019-10-30 2021-05-04 华为技术有限公司 Routing information transmission method and device and data center internet

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005112350A1 (en) * 2004-05-14 2005-11-24 Huawei Technologies Co., Ltd. A METHOD FOR MANAGING THE ROUTE IN THE VIRTUAL PRIVATE NETWORK BASED ON IPv6
CN104158737A (en) * 2013-05-15 2014-11-19 华为技术有限公司 Method, apparatus and system for controlling issuing of router information
CN107026791A (en) * 2016-01-29 2017-08-08 华为技术有限公司 VPN vpn service optimization method and equipment
CN107276784A (en) * 2016-03-30 2017-10-20 丛林网络公司 The fault handling method and PE of movable standby redundancy in EVPN DCI

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005112350A1 (en) * 2004-05-14 2005-11-24 Huawei Technologies Co., Ltd. A METHOD FOR MANAGING THE ROUTE IN THE VIRTUAL PRIVATE NETWORK BASED ON IPv6
CN104158737A (en) * 2013-05-15 2014-11-19 华为技术有限公司 Method, apparatus and system for controlling issuing of router information
CN107026791A (en) * 2016-01-29 2017-08-08 华为技术有限公司 VPN vpn service optimization method and equipment
CN107276784A (en) * 2016-03-30 2017-10-20 丛林网络公司 The fault handling method and PE of movable standby redundancy in EVPN DCI

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112751758A (en) * 2019-10-30 2021-05-04 华为技术有限公司 Routing information transmission method and device and data center internet
CN112751767A (en) * 2019-10-30 2021-05-04 华为技术有限公司 Routing information transmission method and device and data center internet
WO2021082803A1 (en) * 2019-10-30 2021-05-06 华为技术有限公司 Routing information transmission method and apparatus, and data center interconnection network
CN112751767B (en) * 2019-10-30 2024-04-16 华为技术有限公司 Routing information transmission method and device and data center internet
CN111726290A (en) * 2020-07-23 2020-09-29 迈普通信技术股份有限公司 Route control method, device, border gateway and readable storage medium
CN111726290B (en) * 2020-07-23 2021-12-17 迈普通信技术股份有限公司 Route control method, device, border gateway and readable storage medium

Also Published As

Publication number Publication date
CN109728926B (en) 2021-12-14

Similar Documents

Publication Publication Date Title
JP5242591B2 (en) Ethernet (registered trademark) / TMPLS hybrid network OAM frame creation method and corresponding signal
WO2019105066A1 (en) Route processing method and apparatus, and data transmission method and apparatus
CN103200069B (en) A kind of method and apparatus of Message processing
US9130859B1 (en) Methods and apparatus for inter-virtual local area network multicast services
Lasserre et al. Framework for data center (DC) network virtualization
CN105634770B (en) The method and apparatus for disposing virtual extended local area network
WO2015165311A1 (en) Method for transmitting data packet and provider edge device
RU2544766C2 (en) Method, device and system for routing data between network segments
WO2016062169A1 (en) Message transmission method and apparatus
US20200186389A1 (en) Virtual Extensible Local Area Network (VXLAN) Packet Encapsulation
US20190036876A1 (en) Virtualized network functions through address space aggregation
US8675658B2 (en) Using multiple IGMP queriers in a layer 2 network
CN109728926A (en) Communication means and the network equipment
CN108737183A (en) A kind of monitoring method and device of forwarding-table item
WO2022117018A1 (en) Packet transmission method and apparatus
CN109347748A (en) A kind of method and apparatus of synchronization of routing information
CN106789540B (en) A kind of gateway deployment method and apparatus
US8817648B2 (en) Pseudowire extended group messaging in a packet switched network
US20130259057A1 (en) Pseudowire groups in a packet switched network
WO2021077991A1 (en) Message detection method, connectivity negotiation relationship establishment method, and related device
CN102340449B (en) Private network message transmission method, equipment and system
CN103026667A (en) Tag allocating method, device and system
CN115118544B (en) Communication method, device and system
WO2023050932A1 (en) Route advertisement method, network device, and computer storage medium
US10735292B1 (en) Monitoring interconnections between network devices of different network entities

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