CN102984066B - Route issuing method and equipment - Google Patents

Route issuing method and equipment Download PDF

Info

Publication number
CN102984066B
CN102984066B CN201210545789.XA CN201210545789A CN102984066B CN 102984066 B CN102984066 B CN 102984066B CN 201210545789 A CN201210545789 A CN 201210545789A CN 102984066 B CN102984066 B CN 102984066B
Authority
CN
China
Prior art keywords
equipment
opposite end
label
record
local terminal
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
CN201210545789.XA
Other languages
Chinese (zh)
Other versions
CN102984066A (en
Inventor
赵昌峰
姚跃腾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201210545789.XA priority Critical patent/CN102984066B/en
Publication of CN102984066A publication Critical patent/CN102984066A/en
Application granted granted Critical
Publication of CN102984066B publication Critical patent/CN102984066B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This application provides route issuing method and equipment.Wherein, the method comprises: local terminal 6PE equipment is being set up in the process of bgp neighbor with opposite end 6PE equipment, to the 6PE label that opposite end 6PE devices advertise local terminal 6PE equipment is corresponding, and receive and record 6PE label corresponding to this opposite end 6PE equipment of opposite end 6PE devices advertise; Local terminal 6PE equipment, after completing set up bgp neighbor with opposite end 6PE equipment, is distributed to opposite end 6PE equipment by from the VPN route of CE in local terminal IPv6 user network; Local terminal 6PE equipment receives the VPN route that opposite end 6PE equipment is issued, and by the VPN route of this reception together with the 6PE label corresponding with this opposite end 6PE equipment to record corresponding record in local routing table.Adopt the present invention, avoid for the VPN route from CE distributes private network tags in route issuing process, saving label resources, also can save bandwidth resources.

Description

Route issuing method and equipment
Technical field
The application relates to the network communications technology, particularly route issuing method and equipment.
Background technology
IPv6 Provider Edge (6PE:IPv6ProviderEdge) is a kind of transitional technology, and it adopts multiprotocol label switching (MPLS:MultiprotocolLabelSwitching) technology to realize being connected by IPv4 backbone network the IPv6 user network of isolation.Be existing 6PE networking schematic diagram see Fig. 1, Fig. 1.In FIG, three, the centre equipment of this Fig. 1 and 6PE equipment 1,6PE equipment 2 and backbone network service provider (P:Provider) equipment composition IPv4 backbone network, both sides are IPv6 user network, i.e. IPv6 user network 1 and IPv6 user network 2, realizes IPv6 user network 1 and IPv6 user network 2 by the 6PE equipment 1 at edge and 6PE equipment 2 and crosses over IPv4 and carry out network connection.
In FIG, 6PE equipment 1 or 6PE equipment 2 are from the different private network tags of the route assignment of different user edge device (CE:CustomerEdge) in its IPv6 user network connected, for the 6PE equipment 1 in Fig. 1, then, 6PE equipment 1 can be the route 10::1 distribution private network tags 100 from CE1, for the route 20::1 from CE2 distributes private network tags 200, for the route 30::1 from CE3 distributes private network tags 300, private network tags due to each route assignment from CE1 to CE3 is different, therefore, 6PE equipment 1 can carry the private network tags that these routes are assigned with when issuing these routes to opposite end and 6PE equipment 2, wherein, the private network tags that route and this route are assigned with is carried in data (UPDATA) message in Border Gateway Protocol (BGP:BorderGatewayProtocol) and is sent to opposite end 6PE equipment 2, Fig. 2 shows the form that UPDATA message carries above-mentioned route and private network tags.In fig. 2, the private network tags that each route is assigned with takies 4 bytes.
And when 6PE equipment 2 receives after from the UPDATA message shown in Fig. 2, to obtain and by each route and the private network tags corresponding record that is assigned with to local routing table, and send each route of this acquisition simultaneously to the CE in the IPv6 user network 2 self connected.
By with upper type, between IPv6 user network 1 and IPv6 user network 2, mutually route can be issued.
Afterwards, when 6PE equipment 2 sends IPv6 message to the CE1 that 6PE equipment 1 connects, the private network tags 100 then finding the route of CE1 corresponding the route that first recorded from local routing table of 6PE equipment 2 and private network tags, first for this IPv6 message encapsulation private network tags 100(is designated as vpn label), label (being designated as outer layer label) corresponding in the outer envelope public network tunnel of this IPv6 message more afterwards also sends.Here, public network tunnel is set up for IPv4 backbone network to ensure IPv6 message can transmit in IPv4 backbone network, and this public network tunnel can be MPLS tunnel etc.
When 6PE equipment 1 receives the IPv6 message from 6PE equipment 2, directly delete internal layer and the outer layer label of this IPv6 message encapsulation, search the forwarding that IPv6 routing table carries out IPv6 message afterwards.
As can be seen from the above, in message repeating process, no matter be 6PE device forwards IPv6 message, or receive IPv6 message, itself and to be indifferent to the private network tags occurrence that route is assigned be how many, and in route issuing process, 6PE equipment also for from different CE the different private network tags of route assignment and be advertised to opposite end, this obviously there is no need follow-up message repeating, cause the waste of label resources, and, private network tags due to each route assignment takies 4 bytes, also the waste of the bandwidth resources caused owing to noticing private network tags in route issuing process can be made.
Summary of the invention
This application provides route issuing method and equipment, to reduce the waste of label resources in route issuing process, save bandwidth resources.
The technical scheme that the application provides comprises:
A kind of route issuing method, the method comprises:
Local terminal 6PE equipment is being set up in the process of bgp neighbor with opposite end 6PE equipment, to the 6PE label that opposite end 6PE devices advertise local terminal 6PE equipment is corresponding, and receives and records 6PE label corresponding to this opposite end 6PE equipment of opposite end 6PE devices advertise;
Local terminal 6PE equipment, after completing set up bgp neighbor with opposite end 6PE equipment, is distributed to opposite end 6PE equipment by from the VPN route of CE in local terminal IPv6 user network;
Local terminal 6PE equipment receives the VPN route that opposite end 6PE equipment is issued, and by the VPN route of this reception together with the 6PE label corresponding with this opposite end 6PE equipment to record corresponding record in local routing table.
Preferably, in the present invention, the 6PE label that described local terminal 6PE equipment is corresponding is preassigned label, or by local terminal 6PE equipment select from the Label space self maintained not by the label used;
The 6PE label that described opposite end 6PE equipment is corresponding is preassigned label, or by opposite end 6PE equipment select from the Label space self maintained not by the label used.
Preferably, in the present invention, described local terminal 6PE equipment to 6PE label corresponding to opposite end 6PE devices advertise local terminal 6PE equipment, and to receive and the 6PE label recording this opposite end 6PE equipment of opposite end 6PE devices advertise corresponding comprises:
6PE label corresponding for local terminal 6PE equipment is carried in tag capabilities negotiation packet when self supporting the tag capabilities of setting and initiatively sends to opposite end 6PE equipment by local terminal 6PE equipment, and described tag capabilities is for referring to the ability of 6PE label corresponding to opposite end 6PE devices advertise local terminal 6PE equipment in bgp neighbor process of establishing;
Local terminal 6PE equipment receives response message that opposite end 6PE equipment returns and this response message carries 6PE label corresponding to opposite end 6PE equipment sending in the setting-up time after described tag capabilities negotiation packet, then record 6PE label corresponding to opposite end 6PE equipment;
Or,
Local terminal 6PE equipment receives the tag capabilities negotiation packet that opposite end 6PE equipment sends, and this tag capabilities negotiation packet carries 6PE label corresponding to opposite end 6PE equipment;
Whether what the 6PE label carried in the tag capabilities negotiation packet of local terminal 6PE equipment received by local configuration determination was corresponding is the local bgp neighbor opposite end configured, if, when self supporting described tag capabilities, record the 6PE label that opposite end 6PE equipment that this tag capabilities negotiation packet carries is corresponding, and 6PE label corresponding for local terminal 6PE equipment is carried in response message returns to opposite end 6PE equipment.
Preferably, in the present invention, described tag negotiation ability message is the open OPEN message in bgp protocol.
Preferably, in the present invention, the 6PE label that described record opposite end 6PE equipment is corresponding comprises further: record opposite end 6PE equipment supports the description of described tag capabilities;
Based on this, describedly to comprise being distributed to opposite end 6PE equipment from the VPN route of CE in local terminal IPv6 user network:
Whether local terminal 6PE equipment is inquired about from local record exists the description that opposite end 6PE equipment supports described tag capabilities, if so, is then distributed to opposite end 6PE equipment by from the VPN route of CE in local terminal IPv6 user network.
Preferably, in the present invention, the described VPN route from CE in local terminal IPv6 user network is distributed to opposite end 6PE equipment by being carried in the renewal UPDATE message in bgp protocol.
Be applied to the equipment that route is issued, this equipment is the 6PE equipment in IPv6 networking, and this equipment comprises:
Tag processes unit, for setting up in the process of bgp neighbor at described equipment and opposite end 6PE equipment, to the 6PE label that equipment described in the 6PE devices advertise of opposite end is corresponding, and receives and records 6PE label corresponding to this opposite end 6PE equipment of opposite end 6PE devices advertise;
Route release unit, after completing at described equipment and opposite end 6PE equipment and setting up bgp neighbor, is distributed to opposite end 6PE equipment by from the VPN route of CE in local terminal IPv6 user network;
Route receiving element, for receiving the VPN route that opposite end 6PE equipment is issued, and by the VPN route of this reception together with the 6PE label corresponding with this opposite end 6PE equipment to record corresponding record in local routing table.
Preferably, in the present invention, described tag processes unit is realized to 6PE label corresponding to equipment described in the 6PE devices advertise of opposite end by following subelement, and receives and record the operation of 6PE label corresponding to this opposite end 6PE equipment of opposite end 6PE devices advertise:
Notice subelement, send to opposite end 6PE equipment for being carried in tag capabilities negotiation packet by 6PE label corresponding for described equipment when the tag capabilities of described equipment support setting, described tag capabilities refers to the ability of 6PE label corresponding to opposite end this equipment of 6PE devices advertise in bgp neighbor process of establishing; Or, after receiving the notice from record subelement, 6PE label corresponding for described equipment is carried in response message and returns to opposite end 6PE equipment;
Record subelement, for detect in the setting-up time after described notice subelement sends described tag capabilities negotiation packet receive response message that opposite end 6PE equipment returns and this response message carries 6PE label corresponding to opposite end 6PE equipment time, the 6PE label that record opposite end 6PE equipment is corresponding; Or, for receiving the tag capabilities negotiation packet that opposite end 6PE equipment sends, this tag capabilities negotiation packet carries 6PE label corresponding to opposite end 6PE equipment, and described equipment support described tag capabilities and the bgp neighbor opposite end that configures of the 6PE label carried in tag capabilities negotiation packet received by local configuration determination and this locality to time corresponding record the 6PE label that opposite end 6PE equipment that this tag capabilities negotiation packet carries is corresponding, and send and inform notice subelement.
Preferably, in the present invention, described tag negotiation ability message is the open OPEN message in bgp protocol.
Preferably, in the present invention, the 6PE label that described record subelement record opposite end 6PE equipment is corresponding comprises further: record opposite end 6PE equipment supports the description of described tag capabilities;
Described route release unit comprises being distributed to opposite end 6PE equipment from the VPN route of CE in local terminal IPv6 user network:
Inquire about from the local record of described record subelement and whether there is the description that opposite end 6PE equipment supports described tag capabilities, if so, be then distributed to opposite end 6PE equipment by from the VPN route of CE in local terminal IPv6 user network.
As can be seen from the above technical solutions, in the present invention, arbitrary 6PE equipment only sends a corresponding 6PE label setting up in the process of bgp neighbor with opposite end 6PE equipment, follow-up is no longer this VPN route distribution private network tags when receiving the VPN route from local terminal CE, which avoid in route issuing process as distributing the operation of private network tags from the VPN route of CE, save label resources on the one hand, also can avoid on the other hand issuing private network tags when route is issued in prior art, save bandwidth resources.
Accompanying drawing explanation
Fig. 1 is existing 6PE networking schematic diagram;
Fig. 2 shows existing UPDATA message schematic diagram;
The method flow diagram that Fig. 3 provides for the embodiment of the present invention;
Fig. 4 shows the UPDATA message schematic diagram that the embodiment of the present invention provides;
The step 301 realization flow figure that Fig. 5 provides for the embodiment of the present invention;
Fig. 6 shows the form schematic diagram of OPEN message;
The capability negotiation field structure schematic diagram that Fig. 7 provides for the embodiment of the present invention;
The equipment structure chart that Fig. 8 provides for the embodiment of the present invention.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearly, describe the present invention below in conjunction with the drawings and specific embodiments.
The method flow diagram that Fig. 3 provides for the embodiment of the present invention, this flow process can comprise the following steps:
Step 301, local terminal 6PE equipment is being set up in the process of bgp neighbor with opposite end 6PE equipment, to the 6PE label that opposite end 6PE devices advertise local terminal 6PE equipment is corresponding, and receives and records 6PE label corresponding to this opposite end 6PE equipment of opposite end 6PE devices advertise.
In the present invention, the 6PE label that local terminal 6PE equipment is corresponding is preassigned label, or by local terminal 6PE equipment select from the Label space self maintained not by the label used;
Equally, the 6PE label that opposite end 6PE equipment is corresponding is preassigned label, or by opposite end 6PE equipment select from the Label space self maintained not by the label used.
In addition, in this step 301, local terminal 6PE equipment to 6PE label corresponding to opposite end 6PE devices advertise local terminal 6PE equipment, and to receive and the 6PE label recording this opposite end 6PE equipment of opposite end 6PE devices advertise corresponding is specifically hereafter being described.
Step 302, local terminal 6PE equipment, after completing set up bgp neighbor with opposite end 6PE equipment, is distributed to opposite end 6PE equipment by from the VPN route of CE in local terminal IPv6 user network.
For the 6PE equipment 1 in Fig. 1, then, according to the description of step 301, 6PE equipment 1 is being set up in the process of bgp neighbor with 6PE equipment 2, the 6PE label of 6PE equipment 1 correspondence can be noticed to 6PE equipment 2, also can receive and record the 6PE label of this 6PE equipment 2 correspondence that 6PE equipment 2 notices, so, when performing this step 302, 6PE equipment is no longer the VPN route 10::1 from CE1, from the VPN route 20::1 of CE2, VPN route 30::1 from CE3 distributes private network tags, but directly by the VPN route 10::1 from CE1, from the VPN route 20::1 of CE2, VPN route 30::1 from CE3 is distributed to opposite end 6PE equipment 2.
Preferably, in the present invention, VPN route is distributed to opposite end 6PE equipment by data (UPDATA) message be carried in bgp protocol, the network layer being such as carried at UPDATA message arrives capability information field (NLRI:NetworkLayerReachabilityInformation), issue the VPN route 10::1 from CE1, the VPN route 20::1 from CE2 for 6PE equipment 1, from the VPN route 30::1 of CE3 to opposite end 6PE equipment 2, then Fig. 4 shows the UPDATA message schematic diagram carrying these three routes.Compare the existing route shown in Fig. 2 and issue form, the present invention no longer issues private network tags in route issuing process, to use saved space to issue more VPN route, improves the efficiency for issuing of VPN route.
Step 303, local terminal 6PE equipment receives the VPN route that opposite end 6PE equipment is issued, and by the VPN route of this reception together with the 6PE label corresponding with this opposite end 6PE equipment to record corresponding record in local routing table.
As can be seen from flow process shown in Fig. 3 above, in the present invention, arbitrary 6PE equipment only need issue a corresponding 6PE label setting up in bgp neighbor process with opposite end, without the need to again for distributing new private network tags from the VPN route of CE in follow-up route issuing process, also without the need to issuing private network tags, but only the VPN route from CE is distributed to opposite end, which save label resources, decrease the bandwidth resources in route issuing process; And after opposite end receives all VPN routes from this 6PE equipment, the 6PE label issued before all VPN routes from this 6PE equipment are shared this 6PE equipment, specifically the arbitrary VPN route from this 6PE equipment is stamped this 6PE equipment setting up a 6PE label issuing in bgp neighbor process and be recorded to local routing table, to utilize local routing table to carry out message repeating afterwards.Wherein, this repeating process and existing message repeating process similar, repeat no more.
Step 301 in flow process shown in Fig. 3 above, local terminal 6PE equipment to 6PE label corresponding to opposite end 6PE devices advertise local terminal 6PE equipment, and to receive and the 6PE label recording this opposite end 6PE equipment of opposite end 6PE devices advertise corresponding realizes by flow process shown in Fig. 5:
The step 301 realization flow figure that Fig. 5 provides for the embodiment of the present invention, for ease of describing, here by local terminal 6PE equipment and opposite end 6PE equipment successively referred to as 6PE equipment 1 and 6PE equipment 2; Wherein, for 6PE equipment 1 and 6PE equipment 2, its configuration time of bgp neighbor opposite end is also asynchronous, but have successively, based on this, first configuring bgp neighbor opposite end and 6PE equipment 2,6PE equipment 2 for 6PE equipment 1, first to configure the principle of bgp neighbor opposite end and 6PE equipment 1 similar, then as shown in Figure 5, this flow process can comprise the following steps:
Step 501, when 6PE equipment 1 first configures bgp neighbor opposite end and 6PE equipment 2, the 6PE label of 6PE equipment 1 correspondence is carried in tag capabilities negotiation packet when self supporting the tag capabilities of setting and initiatively sends to 6PE equipment 2 by 6PE equipment 1.
Here, described tag capabilities refers to the ability noticing 6PE label corresponding to local terminal in bgp neighbor process of establishing to opposite end, and it realizes by configuration-direct.
Step 502, the bgp neighbor opposite end of local configuration that whether what the 6PE label carried in the tag capabilities negotiation packet received by the bgp neighbor that 6PE equipment 2 configures according to this locality judges client information (i.e. the information of 6PE equipment 1) was corresponding be, if, when self supporting described tag capabilities, record the 6PE label that opposite end 6PE equipment that this tag capabilities negotiation packet carries is corresponding, and 6PE label corresponding for local terminal 6PE equipment is carried in response message returns to opposite end 6PE equipment.
In the present invention, the mark of the 6PE label equipment corresponding with this 6PE label is carried in tag capabilities negotiation packet, based on this, in step 502, the bgp neighbor opposite end of local configuration that whether what the 6PE label carried in the tag capabilities negotiation packet received by the bgp neighbor that 6PE equipment 2 configures according to this locality judges client information (i.e. the information of 6PE equipment 1) was corresponding be specifically can be:
6PE equipment 2 identifies the device identification that received tag capabilities negotiation packet carries, judge whether this device identification identified is the local bgp neighbor opposite end of configuration and the mark of 6PE equipment 1, if, then determine that the 6PE label that received tag capabilities negotiation packet carries is corresponding with the bgp neighbor opposite end that this locality configures, otherwise, determine that the 6PE label that received tag capabilities negotiation packet carries is not corresponding with the bgp neighbor opposite end that this locality configures.
Step 503,6PE equipment 1 detects sending in the setting-up time after tag capabilities negotiation packet the response message receiving opposite end and 6PE equipment 2 and return, and this response message is when carrying the 6PE label of opposite end and 6PE equipment 2 correspondence, the 6PE label of record opposite end and 6PE equipment 2 correspondence, otherwise, terminate the present invention.So far, process ends.
Can find out, 6PE equipment 2 returns the response message that carries 6PE label corresponding to this equipment and returns when 6PE equipment 2 has been configured with bgp neighbor opposite end and 6PE equipment 1 and has supported described tag capabilities to 6PE equipment 1.
Preferably, in the present invention, if 6PE equipment 2 does not configure bgp neighbor opposite end and 6PE equipment 1, it can not return above-mentioned response message to 6PE equipment 1, also can ignore the tag capabilities negotiation packet from 6PE equipment 1 of this reception, and it is when being configured with bgp neighbor opposite end and 6PE equipment 1 and self supporting above-mentioned tag capabilities, adopt the operation similar with 6PE equipment 1 in step 501, 6PE label corresponding for this equipment is carried in tag capabilities negotiation packet and initiatively sends to opposite end and 6PE equipment 1, after the tag capabilities negotiation packet received from 6PE equipment 2 to make 6PE equipment 1, when being configured with bgp neighbor opposite end and 6PE equipment 2 and supporting described tag capabilities, record the 6PE label of opposite end that this tag capabilities negotiation packet carries and 6PE equipment 2 correspondence, and 6PE label corresponding for this equipment is carried in response message returns to opposite end and 6PE equipment 2, to realize noticing each self-corresponding 6PE label between 6PE equipment.
Also have, in the present invention, even if 6PE equipment 2 is configured with bgp neighbor opposite end and 6PE equipment 1, if but 6PE equipment 2 does not support above-mentioned tag capabilities, also can not return above-mentioned response message to 6PE equipment 1, can not realize between 6PE equipment, noticing each self-corresponding 6PE label.
So far, flow process shown in Fig. 5 is completed.
It should be noted that, as one embodiment of the present of invention, above-mentioned tag negotiation ability message is opening (OPEN) message in bgp protocol.Fig. 6 shows the form schematic diagram of OPEN message.As shown in Figure 6, the field in this OPEN message is followed successively by from top to bottom: version number field (Version), the machine automatic system field (MyAutonomousSystem), retention time field (HoldTime), BGP identification field (BGPIdentifier), Optional Field length (OptionalParameterLength) and Optional Field (OptionalParameter).Usually, define ability (cababilities) type field in Optional Field, the present invention by defining a kind of sub-type field in this capability class field, for 6PE label corresponding to opposite end 6PE devices advertise local terminal 6PE equipment.Here, for ease of describing, this sub-type field is called label carrying capacity field.
Wherein, label carrying capacity field adopts the structure shown in Fig. 7.As can be seen from the structure shown in Fig. 7, this structure essence is the TLV structure of a standard, wherein, type (T:Type) field in the corresponding TLV structure of ability code field (capabilitycode) in Fig. 7, for representing to 6PE label corresponding to opposite end 6PE devices advertise local terminal 6PE equipment, its value can be in current bgp protocol also not by the numerical value used, to distinguish with existing value, length (L:Length) field in the corresponding TLV structure of length field (capabilityLength) in Fig. 7, it is the length of label value field (labelvalue) and address race field (addressfamilyidentifier) in Fig. 7, value (Value) field in the corresponding TLV structure of label value field (labelvalue) in Fig. 7 and address race field (addressfamilyidentifier), wherein, label value field (labelvalue) is the 6PE label noticed, address race field (addressfamilyidentifier) for represent this notice 6PE belonging to the network segment, be such as the mark of IPv6.
So far, complete by the description of label carrying capacity field to 6PE label corresponding to opposite end 6PE devices advertise local terminal 6PE equipment.
In addition, also it should be noted that, as can be seen from the flow process shown in above-mentioned Fig. 5, the 6PE label that record opposite end of the present invention 6PE equipment is corresponding is also supported to perform during above-mentioned tag capabilities at opposite end 6PE equipment, based on this, in order to ensure the compatibility of the present invention and prior art, the present invention can record when the 6PE label that above-mentioned record opposite end 6PE equipment is corresponding the description that opposite end 6PE equipment supports described tag capabilities further.So, in above-mentioned steps 302, local terminal 6PE equipment comprises being distributed to opposite end 6PE equipment from the VPN route of CE in local terminal IPv6 user network:
Whether local terminal 6PE equipment is inquired about from local record exists the description that opposite end 6PE equipment supports described tag capabilities, if, then be distributed to opposite end 6PE equipment by from the VPN route of CE in local terminal IPv6 user network, otherwise, just issue VPN route from CE to opposite end 6PE equipment according to existing mode.The VPN route that opposite end 6PE equipment is issued from CE is also carry out in the same way.
Above method provided by the invention is described, below equipment provided by the invention is described:
See the equipment structure chart that Fig. 8, Fig. 8 provide for the embodiment of the present invention.This equipment is the IPv6 Provider Edge 6PE equipment in IPv6 networking, and as shown in Figure 8, this equipment comprises:
Tag processes unit, for setting up in the process of Border Gateway Protocol (BGP) neighbours at described equipment and opposite end 6PE equipment, to the 6PE label that equipment described in the 6PE devices advertise of opposite end is corresponding, and receive and record 6PE label corresponding to this opposite end 6PE equipment of opposite end 6PE devices advertise;
Route release unit, after completing at described equipment and opposite end 6PE equipment and setting up bgp neighbor, is distributed to opposite end 6PE equipment by from the VPN route of customer edge CE in local terminal IPv6 user network;
Route receiving element, for receiving the VPN route that opposite end 6PE equipment is issued, and by the VPN route of this reception together with the 6PE label corresponding with this opposite end 6PE equipment to record corresponding record in local routing table.
Preferably, as shown in Figure 8, described tag processes unit is realized to 6PE label corresponding to equipment described in the 6PE devices advertise of opposite end by following subelement, and receives and record the operation of 6PE label corresponding to this opposite end 6PE equipment of opposite end 6PE devices advertise:
Notice subelement, send to opposite end 6PE equipment for being carried in tag capabilities negotiation packet by 6PE label corresponding for described equipment when the tag capabilities of described equipment support setting, described tag capabilities is used in bgp neighbor process of establishing to the 6PE label that opposite end this equipment of 6PE devices advertise is corresponding; Or, after receiving the notice from record subelement, 6PE label corresponding for described equipment is carried in response message and returns to opposite end 6PE equipment;
Record subelement, for detect in the setting-up time after described notice subelement sends described tag capabilities negotiation packet receive response message that opposite end 6PE equipment returns and this response message carries 6PE label corresponding to opposite end 6PE equipment time, the 6PE label that record opposite end 6PE equipment is corresponding; Or, for receiving the tag capabilities negotiation packet that opposite end 6PE equipment sends, this tag capabilities negotiation packet carries 6PE label corresponding to opposite end 6PE equipment, and described equipment support described tag capabilities and the bgp neighbor opposite end that configures of the 6PE label carried in tag capabilities negotiation packet received by local configuration determination and this locality to time corresponding record the 6PE label that opposite end 6PE equipment that this tag capabilities negotiation packet carries is corresponding, and send and inform notice subelement.
Preferably, in the present invention, described tag negotiation ability message is the open OPEN message in bgp protocol.
Preferably, in the present invention, the 6PE label that described record subelement record opposite end 6PE equipment is corresponding comprises further: record opposite end 6PE equipment supports the description of described tag capabilities; Based on this, described route release unit comprises being distributed to opposite end 6PE equipment from the VPN route of CE in local terminal IPv6 user network:
Inquire about from the local record of described record subelement and whether there is the description that opposite end 6PE equipment supports described tag capabilities, if so, be then distributed to opposite end 6PE equipment by from the VPN route of CE in local terminal IPv6 user network.
Preferably, the described VPN route from CE in local terminal IPv6 user network is distributed to opposite end 6PE equipment by being carried in the renewal UPDATE message in bgp protocol.
So far, device description provided by the invention is completed.
As can be seen from the above technical solutions, in the present invention, arbitrary 6PE equipment only sends a corresponding 6PE label setting up in the process of bgp neighbor with opposite end 6PE equipment, follow-up is no longer this VPN route distribution private network tags when receiving the VPN route from local terminal CE, which avoid in route issuing process as distributing the operation of private network tags from the VPN route of CE, save label resources on the one hand, also can avoid on the other hand issuing private network tags when route is issued in prior art, save bandwidth resources.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (10)

1. a route issuing method, is characterized in that, the method comprises:
Local terminal IPv6 Provider Edge 6PE equipment is being set up in the process of Border Gateway Protocol (BGP) neighbours with opposite end 6PE equipment, to the 6PE label that opposite end 6PE devices advertise local terminal 6PE equipment is corresponding, and receive and record 6PE label corresponding to this opposite end 6PE equipment of opposite end 6PE devices advertise;
Local terminal 6PE equipment, after completing set up bgp neighbor with opposite end 6PE equipment, is distributed to opposite end 6PE equipment by from the VPN route of customer edge CE in local terminal IPv6 user network;
Local terminal 6PE equipment receives the VPN route that opposite end 6PE equipment is issued, and by the VPN route of this reception together with the 6PE label corresponding with this opposite end 6PE equipment to record corresponding record in local routing table.
2. method according to claim 1, is characterized in that, the 6PE label that described local terminal 6PE equipment is corresponding is preassigned label, or by local terminal 6PE equipment select from the Label space self maintained not by the label used;
The 6PE label that described opposite end 6PE equipment is corresponding is preassigned label, or by opposite end 6PE equipment select from the Label space self maintained not by the label used.
3. method according to claim 1 and 2, it is characterized in that, described local terminal 6PE equipment to 6PE label corresponding to opposite end 6PE devices advertise local terminal 6PE equipment, and to receive and the 6PE label recording this opposite end 6PE equipment of opposite end 6PE devices advertise corresponding comprises:
6PE label corresponding for local terminal 6PE equipment is carried in tag capabilities negotiation packet when self supporting the tag capabilities of setting and initiatively sends to opposite end 6PE equipment by local terminal 6PE equipment, and described tag capabilities refers to the ability of 6PE label corresponding to opposite end 6PE devices advertise local terminal 6PE equipment in bgp neighbor process of establishing;
Local terminal 6PE equipment receives response message that opposite end 6PE equipment returns and this response message carries 6PE label corresponding to opposite end 6PE equipment sending in the setting-up time after described tag capabilities negotiation packet, then record 6PE label corresponding to opposite end 6PE equipment, or, local terminal 6PE equipment receives the tag capabilities negotiation packet that opposite end 6PE equipment sends, this tag capabilities negotiation packet carries 6PE label corresponding to opposite end 6PE equipment, whether what the 6PE label carried in the tag capabilities negotiation packet of local terminal 6PE equipment received by local configuration determination was corresponding is the local bgp neighbor opposite end configured, if, when self supporting described tag capabilities, record the 6PE label that opposite end 6PE equipment that this tag capabilities negotiation packet carries is corresponding, and 6PE label corresponding for local terminal 6PE equipment is carried in response message returns to opposite end 6PE equipment.
4. method according to claim 3, is characterized in that, described tag negotiation ability message is the open OPEN message in bgp protocol.
5. method according to claim 3, is characterized in that, the 6PE label that described record opposite end 6PE equipment is corresponding comprises further: record opposite end 6PE equipment supports the description of described tag capabilities;
Describedly to comprise being distributed to opposite end 6PE equipment from the VPN route of CE in local terminal IPv6 user network:
Whether local terminal 6PE equipment is inquired about from local record exists the description that opposite end 6PE equipment supports described tag capabilities, if so, is then distributed to opposite end 6PE equipment by from the VPN route of CE in local terminal IPv6 user network.
6. method according to claim 5, is characterized in that, the described VPN route from CE in local terminal IPv6 user network is distributed to opposite end 6PE equipment by being carried in the renewal UPDATE message in bgp protocol.
7. be applied to the equipment that route is issued, this equipment is the IPv6 Provider Edge 6PE equipment in IPv6 networking; It is characterized in that, this equipment comprises:
Tag processes unit, for setting up in the process of Border Gateway Protocol (BGP) neighbours at described equipment and opposite end 6PE equipment, to the 6PE label that equipment described in the 6PE devices advertise of opposite end is corresponding, and receive and record 6PE label corresponding to this opposite end 6PE equipment of opposite end 6PE devices advertise;
Route release unit, after completing at described equipment and opposite end 6PE equipment and setting up bgp neighbor, is distributed to opposite end 6PE equipment by from the VPN route of customer edge CE in local terminal IPv6 user network;
Route receiving element, for receiving the VPN route that opposite end 6PE equipment is issued, and by the VPN route of this reception together with the 6PE label corresponding with this opposite end 6PE equipment to record corresponding record in local routing table.
8. equipment according to claim 7, it is characterized in that, described tag processes unit realizes to 6PE label corresponding to equipment described in the 6PE devices advertise of opposite end by noticing subelement, is received and record 6PE label corresponding to this opposite end 6PE equipment of opposite end 6PE devices advertise by record subelement:
Notice subelement, send to opposite end 6PE equipment for being carried in tag capabilities negotiation packet by 6PE label corresponding for described equipment when the tag capabilities of described equipment support setting, described tag capabilities refers to the ability of 6PE label corresponding to opposite end this equipment of 6PE devices advertise in bgp neighbor process of establishing; Or, after receiving the notice from record subelement, 6PE label corresponding for described equipment is carried in response message and returns to opposite end 6PE equipment;
Record subelement, for detect in the setting-up time after described notice subelement sends described tag capabilities negotiation packet receive response message that opposite end 6PE equipment returns and this response message carries 6PE label corresponding to opposite end 6PE equipment time, the 6PE label that record opposite end 6PE equipment is corresponding; Or, for receiving the tag capabilities negotiation packet that opposite end 6PE equipment sends, this tag capabilities negotiation packet carries 6PE label corresponding to opposite end 6PE equipment, and described equipment support described tag capabilities and the bgp neighbor opposite end that configures of the 6PE label carried in tag capabilities negotiation packet received by local configuration determination and this locality to time corresponding record the 6PE label that opposite end 6PE equipment that this tag capabilities negotiation packet carries is corresponding, and send and inform notice subelement.
9. equipment according to claim 8, is characterized in that, described tag negotiation ability message is the open OPEN message in bgp protocol.
10. equipment according to claim 8, is characterized in that, the 6PE label that described record subelement record opposite end 6PE equipment is corresponding comprises further: record opposite end 6PE equipment supports the description of described tag capabilities;
Described route release unit comprises being distributed to opposite end 6PE equipment from the VPN route of CE in local terminal IPv6 user network:
Inquire about from the local record of described record subelement and whether there is the description that opposite end 6PE equipment supports described tag capabilities, if so, be then distributed to opposite end 6PE equipment by from the VPN route of CE in local terminal IPv6 user network.
CN201210545789.XA 2012-12-14 2012-12-14 Route issuing method and equipment Active CN102984066B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210545789.XA CN102984066B (en) 2012-12-14 2012-12-14 Route issuing method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210545789.XA CN102984066B (en) 2012-12-14 2012-12-14 Route issuing method and equipment

Publications (2)

Publication Number Publication Date
CN102984066A CN102984066A (en) 2013-03-20
CN102984066B true CN102984066B (en) 2016-03-02

Family

ID=47857825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210545789.XA Active CN102984066B (en) 2012-12-14 2012-12-14 Route issuing method and equipment

Country Status (1)

Country Link
CN (1) CN102984066B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986654B (en) * 2014-05-05 2017-11-28 新华三技术有限公司 A kind of LSP generation methods and equipment
CN105162732B (en) * 2015-06-30 2018-09-04 新华三技术有限公司 Create the method, apparatus of ECP Extended Capabilities Port
CN108183858B (en) * 2017-12-26 2020-12-29 新华三技术有限公司 Route introducing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820395A (en) * 2010-05-19 2010-09-01 杭州华三通信技术有限公司 Routing information configuration and private network label addition method and device based on MPLS (Multiple Protocol Label Switching)
EP2299632A1 (en) * 2009-09-22 2011-03-23 Ixia Traffic distribution control

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2299632A1 (en) * 2009-09-22 2011-03-23 Ixia Traffic distribution control
CN101820395A (en) * 2010-05-19 2010-09-01 杭州华三通信技术有限公司 Routing information configuration and private network label addition method and device based on MPLS (Multiple Protocol Label Switching)

Also Published As

Publication number Publication date
CN102984066A (en) 2013-03-20

Similar Documents

Publication Publication Date Title
CN102724117B (en) Multi-protocol label switching traffic engineering tunnel establishing method and equipment
WO2018103099A1 (en) Method, device and system for sending and receiving message
US20130343394A1 (en) Method and Apparatus for Converting Virtual Local Area Network Identity
CN102959906B (en) Routing method and device for host in multi-homing site
CN103684959A (en) VPN realization method and PE device
CN102904814B (en) Data transmission method, source PE, object PE and data transmission system
CN102984066B (en) Route issuing method and equipment
CN102355402B (en) Method, system and router for establishing LSP (Label Switched Path) based on VPN (Virtual Private Network) route
US11929851B2 (en) Gateway selection method, device, and system
WO2017177794A1 (en) Service path establishment method, apparatus and system
EP2832061B1 (en) Pseudowire extended group messaging in a packet switched network
CN104205747B (en) Pseudo-wire group in packet switching network
CN102739519B (en) Rooted multipoint service implementation method, device and system, and provider edge equipment
CN102710519A (en) Method, system and device for establishing and removing cross-domain LSP (Label Switching Path)
CN103248548A (en) Method for achieving E-tree service based on VPLS and node
CN102170710A (en) Method and system for realizing leaf node discovery in label switched path
CN105591932A (en) Method and device for identifying neighbor
CN102780631B (en) Pseudo-wire (PW) establishing method and device and network device
CN104468305B (en) Realize Layer3 Virtual Private Network method and apparatus
CN116996439B (en) SDN-based efficient routing addressing method and system
CN102143030A (en) Method and equipment for sending forwarding information
WO2012159351A1 (en) Tag allocating method, device and system
EP4329259A1 (en) Route advertisement method, network device, and computer storage medium
CN102547845B (en) A kind of management method of data message during switchover of mobile node in identification network and system
CN102347883A (en) Method and device for transmitting service through pseudo wire

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address