CN102143030A - Method and equipment for sending forwarding information - Google Patents
Method and equipment for sending forwarding information Download PDFInfo
- Publication number
- CN102143030A CN102143030A CN2011100040749A CN201110004074A CN102143030A CN 102143030 A CN102143030 A CN 102143030A CN 2011100040749 A CN2011100040749 A CN 2011100040749A CN 201110004074 A CN201110004074 A CN 201110004074A CN 102143030 A CN102143030 A CN 102143030A
- Authority
- CN
- China
- Prior art keywords
- service message
- private network
- business
- information
- corresponding relation
- 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.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention designs a method for sending forwarding information, comprising the following steps: a destination port operation equipment provider edge (PE) respectively distributes different private network labels for various different businesses; the destination port PE respectively configures priority information for various different businesses; the corresponding relationship among the business, the private network label of the business and the priority information of the business is respectively generated for different businesses; and the corresponding relationship of various different businesses is sent to a source terminal PE. The method has the advantage that the corresponding relationship among the business, the private network label of the business and the priority information of the business can be provided for the PE equipment in the network, so that the priority of the business message can be differentiated by the PE equipment, and the business message is forwarded according to the priority.
Description
Technical field
The present invention relates to the communications field, relate in particular to a kind of method and apparatus that sends forwarding information
Background technology
Virtual Private Network (VPN, Virtual Private Network) by common network with privately owned net of the interconnected realization in the site in strange land, just as what link up with special line.That to be the link of setting up certain form on public network carry out the site, strange land as the tunnel of IP to the mode of its realization is interconnected.
MPLS is the abbreviation of multiprotocol label switching (Multiprotocol Label Switching).MPLS uses the label (label) of short and fixed length to come encapsulating packets.Label is the short identifier that local significance was fixed, only had to a length, is used for the affiliated forwarding equivalence class (FEC) of grouping of unique identification.The length of label is 4 bytes, and encapsulating structure is as shown in the table:
Label | Exp | S | TTL |
Label has 4 territories:
Label:20bits is the label value field, the pointer that expression is used to transmit;
Exp:3bits is the precedence information of label, is used for representing priority that label forwarding process message carries and the DSCP same meaning in the IP grouping;
S:1bit, expression MPLS supports the hierarchy of label, promptly multiple label.Value is to be indicated as bottom label at 1 o'clock;
TTL:8bits, TTL (the Time To Live) same meaning in expression time-to-live and the IP grouping.
MPLS can be implemented in datum plane and realizes transmitting fast.At control plane, MPLS has the powerful routing function flexibly of IP network, can satisfy the requirement of various new application to network.
Because MPLS has 2 layers of exchange and 3 layers of Inherent advantage that route technology combines, when solving the significant problem of VPN (virtual private is a net), CoS (classification of service) and these IP network of traffic engineering (Traffic Engineering), has very excellent performance, MPLS VPN is also more and more had an optimistic view of by operator, become the important means that value-added service is provided in IP network operator, can be used to Intranet, the Extranet of structural wideband, satisfy multiple business demand flexibly.
For L3VPN, the distribution of internal layer private network tags mainly contains dual mode:
Every routing tag distribution: PE equipment is label of each route assignment of all VPN of access.
Every example label distribution: PE equipment distributes a label, shared this label of all VPN routes of this VPN instance for each VPN instance that inserts.
For L2VPN, and though the internal layer private network tags be static configuration or according to tag block for the neighbours that dynamically find distribute automatically, all be that each VPN instance for the particular neighbor node distributes a label in essence.
Ways of distribution from the existing private network tags of VPN, be not difficult to find out that prior art only can come private network under the differentiated service message by vpn label, can't identify business under the service message according to the service message label, thereby differential service is provided or carry out traffic statistics for different business based on Business Stream.
Summary of the invention
One object of the present invention is for providing a kind of method that sends forwarding information.
Technical solution of the present invention is as follows:
A kind of method that sends forwarding information comprises:
The equipment PE of destination operator is that a plurality of different business are distributed different private network tags respectively;
Described destination PE is described a plurality of different business configuration preference level information respectively;
For described a plurality of different business generate corresponding relation between business, professional private network tags and the professional precedence information respectively;
The described corresponding relation of described a plurality of different business is sent to source end PE.
A kind of network equipment comprises:
The private network tags allocation units are used to a plurality of different business to distribute different private network tags respectively;
The priority assignment unit is used to described a plurality of different business configuration preference level information respectively;
The corresponding relation generation unit is used to described a plurality of different business to generate corresponding relation between business, professional private network tags and the professional precedence information respectively;
The corresponding relation transmitting element is used for the described corresponding relation of described a plurality of different business is sent to source end PE.
A kind of network equipment comprises:
The corresponding relation receiving element is used to the corresponding relation between the business that receives, professional private network tags and the professional precedence information;
The corresponding relation dispensing unit is used for described corresponding relation is configured in the forwarding information table of the described network equipment;
Lookup unit is used for inquiring about described forwarding information table according to the business information of described service message when described source end PE receives the service message that need send to described destination CE, obtains the private network tags and the precedence information of described service message correspondence;
Retransmission unit is used to described service message to encapsulate described private network tags, and sends described service message by public network to destination PE according to the precedence information of described service message.
The invention has the advantages that the corresponding relation between the private network tags that can provide professional, professional and the professional precedence information for the PE equipment in the network, so that described PE equipment can be distinguished priority to service message, service message is transmitted according to priority.
Description of drawings
Figure 1 shows that the method schematic diagram of one embodiment of the invention;
Figure 2 shows that the device schematic diagram of one embodiment of the invention;
Figure 3 shows that the device schematic diagram of one embodiment of the invention.
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is launched to describe in detail.But it is noted that these following embodiment, only for help to understand technical scheme for example, and be not used in qualification the present invention.
One embodiment of the present of invention are as follows.
Comprise source end subscriber side apparatus (CE), source-end networks edge device (PE), destination user side equipment (CE) and destination network edge device (PE) in the network.
As shown in Figure 1, the method for transmission forwarding information comprises:
Described destination PE is that a plurality of different business are distributed different private network tags respectively;
Described destination PE is described a plurality of different business configuration preference level information respectively;
For described a plurality of different business generate corresponding relation between business, professional private network tags and the professional precedence information respectively;
The described corresponding relation of described a plurality of different business is sent to described source end PE.
Like this, described source end PE just can according to priority transmit business according to described corresponding relation.
Preferably, after described source end PE receives described corresponding relation, the described corresponding relation of configuration in the forwarding information table of described source end PE; Alternatively, disposed on the basis of described private network tags and described precedence information at described forwarding information table, can also in described forwarding information table, dispose and described a plurality of different professional corresponding statistics resource informations, so that service message is carried out traffic statistics.Preferably, described statistics resource information is the pointer of a counter, when receiving with described statistics resource information corresponding service message, then according to the pointer of described counter described service message is counted.
When described source end PE received the service message that need send to described destination CE, described source end PE inquired about described forwarding information table according to the business information of described service message, obtains the private network tags and the precedence information of described service message correspondence.Described source end PE is that described service message encapsulates described private network tags, and sends described service message by public network to described destination PE according to the precedence information of described service message.
Alternatively, after described source end PE receives the service message that need send to described destination CE, the interface board that receives the port place of described service message is inquired about described forwarding information table according to the business information of described service message, obtains private network tags and the precedence information corresponding with described service message.The interface board at the port place of the described service message of described reception is that described service message encapsulates described private network tags, and the service message that will encapsulate described private network tags sends to the interface board at transmit port place.In addition, the interface board at the port place of the described service message of described reception also will send to described precedence information the interface board at described transmit port place.Like this, the interface board at described transmit port place can send the service message that encapsulate described private network tags according to described precedence information.
Alternatively, when described forwarding information table also disposes with described a plurality of different professional corresponding statistics resource information, if described source end PE receives the service message that need send to described destination CE, the interface board at the port place of the described service message of then described reception is after described source end PE receives the service message that sends to described destination CE, inquire about described forwarding information table according to the business information of described service message, obtain the private network tags corresponding, precedence information and statistics resource information with described service message.The interface board at the port place of the described service message of described reception is that described service message encapsulates described private network tags, and the service message that will encapsulate described private network tags sends to the interface board at described transmit port place.In addition, the interface board at the port place of the described service message of described reception also will and be added up the interface board that resource information sends to described transmit port place with described precedence information.Like this, the interface board at described transmit port place sends the described service message that encapsulates described private network tags according to described precedence information, and carries out Information Statistics at the service message that is sent out.For example, when described statistics resource information is the pointer of a counter, the interface board at the port place of the described service message of described reception is inquired about the pointer that described forwarding information table is determined described counter according to the business information of a service message, and the pointer of described counter sent to the interface board at described transmit port place, the interface board at described transmit port place according to the pointer counter of notifications of described counter to this service message counting.
In addition, can also on described destination PE, dispose the corresponding relation of described private network tags and described precedence information.Receive a service message of described source end PE transmission as described destination PE after, described destination PE determines described service message corresponding priorities information according to the private network tags of described service message, thereby described service message is carried out priority control.Preferably, also dispose the corresponding relation of described private network tags and described statistics resource information on the described destination PE.Like this, described destination PE can also know whether needs are added up this service message, for example by described destination PE described service message are counted according to the private network tags of a service message.
The embodiment of the invention as shown in Figure 2 provides a kind of network equipment.The described network equipment comprises:
The private network tags allocation units are used to a plurality of different business to distribute different private network tags respectively;
The priority assignment unit is used to described a plurality of different business configuration preference level information respectively;
The corresponding relation generation unit is used to described a plurality of different business to generate corresponding relation between business, professional private network tags and the professional precedence information respectively;
The corresponding relation transmitting element is used for the described corresponding relation of described a plurality of different business is sent to another network equipment.
Preferably, the described network equipment is a router, and described router runs on the edge of carrier network, and described another network equipment is another router that runs on the carrier network edge.
The embodiment of the invention as shown in Figure 3 provides a kind of network equipment.The described network equipment comprises:, a kind of network equipment, it is characterized in that, comprising:
The corresponding relation receiving element is used to the private network tags of the business that receives, business and the priority of business;
The corresponding relation dispensing unit is used for described corresponding relation is configured in the forwarding information table of the described network equipment;
Lookup unit is used for inquiring about described forwarding information table according to the business information of described service message when described source end PE receives the service message that need send to described destination CE, obtains the private network tags and the precedence information of described service message correspondence;
Retransmission unit is used to described service message to encapsulate described private network tags, and sends described service message by public network to destination PE according to the precedence information of described service message.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with the people of this technology in the disclosed technical scope of the present invention; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.
Claims (8)
1. a method that sends forwarding information is characterized in that, comprising:
The equipment PE of destination operator is that a plurality of different business are distributed different private network tags respectively;
Described destination PE is described a plurality of different business configuration preference level information respectively;
For described a plurality of different business generate corresponding relation between business, professional private network tags and the professional precedence information respectively;
The described corresponding relation of described a plurality of different business is sent to source end PE.
2. method according to claim 1 is characterized in that, after described source end PE receives described corresponding relation, and the described corresponding relation of configuration in the forwarding information table of described source end PE.
3. method according to claim 2 is characterized in that,
When described source end PE received the service message that need send to described destination CE, described source end PE inquired about described forwarding information table according to the business information of described service message, obtains the private network tags and the precedence information of described service message correspondence;
Described source end PE is that described service message encapsulates described private network tags, and sends described service message by public network to described destination PE according to the precedence information of described service message.
4. method according to claim 2 is characterized in that, further configuration and described a plurality of different professional corresponding statistics resource informations in described forwarding information table.
5. method according to claim 4, it is characterized in that, described statistics resource information is the pointer of a counter, when receiving with described statistics resource information corresponding service message, then according to the pointer of described counter described service message is counted.
6. according to claim 4 or 5 described methods, it is characterized in that,
When described source end PE receives the service message that need send to described destination CE, the interface board at port place that receives described service message is behind described service message, inquire about described forwarding information table according to the business information of described service message, obtain the private network tags corresponding, precedence information and statistics resource information with described service message;
The interface board at the port place of the described service message of described reception is that described service message encapsulates described private network tags, and the service message that will encapsulate described private network tags sends to the interface board at described transmit port place;
The interface board at the port place of the described service message of described reception sends to described precedence information and statistics resource information the interface board at described transmit port place;
The interface board at described transmit port place sends the described service message that encapsulates described private network tags according to described precedence information, and carries out Information Statistics at the service message that is sent out.
7. a network equipment is characterized in that, comprising:
The private network tags allocation units are used to a plurality of different business to distribute different private network tags respectively;
The priority assignment unit is used to described a plurality of different business configuration preference level information respectively;
The corresponding relation generation unit is used to described a plurality of different business to generate corresponding relation between business, professional private network tags and the professional precedence information respectively;
The corresponding relation transmitting element is used for the described corresponding relation of described a plurality of different business is sent to source end PE.
8. a network equipment is characterized in that, comprising:
The corresponding relation receiving element is used to the corresponding relation between the business that receives, professional private network tags and the professional precedence information;
The corresponding relation dispensing unit is used for described corresponding relation is configured in the forwarding information table of the described network equipment;
Lookup unit is used for inquiring about described forwarding information table according to the business information of described service message when described source end PE receives the service message that need send to described destination CE, obtains the private network tags and the precedence information of described service message correspondence;
Retransmission unit is used to described service message to encapsulate described private network tags, and sends described service message by public network to destination PE according to the precedence information of described service message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100040749A CN102143030A (en) | 2011-01-07 | 2011-01-07 | Method and equipment for sending forwarding information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100040749A CN102143030A (en) | 2011-01-07 | 2011-01-07 | Method and equipment for sending forwarding information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102143030A true CN102143030A (en) | 2011-08-03 |
Family
ID=44410269
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011100040749A Pending CN102143030A (en) | 2011-01-07 | 2011-01-07 | Method and equipment for sending forwarding information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102143030A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017050085A1 (en) * | 2015-09-22 | 2017-03-30 | 华为技术有限公司 | Method, device and system for processing packet |
CN108259338A (en) * | 2017-06-20 | 2018-07-06 | 新华三技术有限公司 | A kind of private network application and identification method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101014008A (en) * | 2007-02-15 | 2007-08-08 | 杭州华为三康技术有限公司 | Classification processing method and network equipment for multi-protocol label switching service |
CN101340360A (en) * | 2007-07-04 | 2009-01-07 | 华为技术有限公司 | Control method, apparatus and system for packet labeling |
WO2010132061A1 (en) * | 2009-05-15 | 2010-11-18 | Hewlett-Packard Development Company, L. P. | A method and apparatus for policy enforcement using a tag |
-
2011
- 2011-01-07 CN CN2011100040749A patent/CN102143030A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101014008A (en) * | 2007-02-15 | 2007-08-08 | 杭州华为三康技术有限公司 | Classification processing method and network equipment for multi-protocol label switching service |
CN101340360A (en) * | 2007-07-04 | 2009-01-07 | 华为技术有限公司 | Control method, apparatus and system for packet labeling |
WO2010132061A1 (en) * | 2009-05-15 | 2010-11-18 | Hewlett-Packard Development Company, L. P. | A method and apparatus for policy enforcement using a tag |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017050085A1 (en) * | 2015-09-22 | 2017-03-30 | 华为技术有限公司 | Method, device and system for processing packet |
US10680942B2 (en) | 2015-09-22 | 2020-06-09 | Huawei Technologies Co., Ltd. | Packet processing method, device, and system |
US11218408B2 (en) | 2015-09-22 | 2022-01-04 | Huawei Technologies Co., Ltd. | Packet processing method, device, and system |
US11909633B2 (en) | 2015-09-22 | 2024-02-20 | Huawei Technologies Co., Ltd. | Packet processing method, device, and system |
CN108259338A (en) * | 2017-06-20 | 2018-07-06 | 新华三技术有限公司 | A kind of private network application and identification method and device |
WO2018233538A1 (en) * | 2017-06-20 | 2018-12-27 | 新华三技术有限公司 | Packet forwarding in mpls network |
US11368392B2 (en) | 2017-06-20 | 2022-06-21 | New H3C Technologies Co., Ltd. | Forwarding packet in MPLS network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100563190C (en) | Realize the method and system of hierarchical virtual private switch service | |
CN101521631B (en) | Treatment method, equipment and system for VPLS network messages | |
CN103312611B (en) | Message processing method, device label processing method and equipment | |
CN103326940B (en) | Method for forwarding message in network and edge device of operator | |
CN102137024B (en) | Message processing method, exit routing device and border routing device | |
CN102437931A (en) | Detection method and device of service path | |
CN103229468A (en) | Packet-switching resource distribution method and device | |
CN104221323A (en) | Method for multicast flow routing selection | |
CN102801625A (en) | Method and device for double layered mutual communication in heterogeneous network | |
CN102724118A (en) | Label distribution method and device | |
CN102986176A (en) | Method and apparatus for MPLS label allocation for a BGP MAC-VPN | |
CN104365066B (en) | Method and apparatus for ether Virtual Private Network | |
CN103023773B (en) | Method, device and system for forwarding message in multi-topology network | |
CN102316028A (en) | Method and apparatus for sending internet protocol packet | |
CN102413060A (en) | User private line communication method and equipment used in VPLS (Virtual Private LAN (Local Area Network) Service) network | |
CN106941437A (en) | A kind of information transferring method and device | |
CN102571375B (en) | Multicast forwarding method and device as well as network device | |
CN103731349A (en) | Method for conducting Ethernet virtualized message transmission between interconnection neighbors and edge device | |
CN102630384A (en) | Method of realizing service transport over optical transport network, device and system for implementing method thereof | |
CN102347889A (en) | Message forwarding method, system and device in H-VPLS (Hierarchical Virtual Private local area network service) | |
CN104243362A (en) | Message forwarding method and device | |
CN107005479B (en) | Method, device and system for forwarding data in Software Defined Network (SDN) | |
CN102984043A (en) | Forwarding method and forwarding device of multicast data stream | |
CN101729422B (en) | Method and device for realizing QoS (Quality of Service) by utilizing BGP (Border Gateway Protocol) | |
CN104301229A (en) | Data packet forwarding method and device and routing table generating method and device. |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C53 | Correction of patent of invention or patent application | ||
CB02 | Change of applicant information |
Address after: 100085 Beijing, Haidian District on the road, No. 3 Applicant after: Beijing Huawei Digital Technology Co.,Ltd. Address before: 100085 Beijing, Haidian District on the road, No. 3 Applicant before: Huawei Digit Technology Co., Ltd. |
|
COR | Change of bibliographic data |
Free format text: CORRECT: APPLICANT; FROM: HUAWEI DIGIT TECHNOLOGY CO., LTD. TO: BEIJING HUAWEI DIGITAL TECHNOLOGY CO., LTD. |
|
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110803 |