Method, device and computer program product for realizing end-to-end mpls two-layer dedicated line
A computer program and computer technology, applied to computer program products, realizes the field of end-to-end MPLS two-layer dedicated line, which can solve problems such as poor compatibility, dependence, and slow development of network functions, and achieve the effect of strong versatility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] like figure 1 As shown, this embodiment proposes a method for implementing an end-to-end MPLS layer-2 leased line, the method comprising: receiving the first frame data, the first frame data including a data part and a first layer-2 header;
[0031] In front of the layer 2 header of the first frame data, an MPLS inner layer label, an MPLS outer layer label and a second layer 2 header are sequentially set to generate the second frame data;
[0032] Taking out the MPLS outer layer label of the second frame data, pressing a new MPLS label on the MPLS outer layer label of the second frame data and then reinserting it into the second frame data to generate the third frame data;
[0033] Determine the exit according to the MPLS inner layer label of the third frame data and the new MPLS outer layer label generated after pressing the new MPLS label;
[0034] The fourth frame composed of the MPLS inner layer label of the third frame data, the new MPLS outer layer label generate...
Embodiment 2
[0036] like figure 2 As shown, the present embodiment proposes another method for realizing an end-to-end MPLS layer 2 leased line, the method includes: receiving the first frame data, the first frame data including the data part, the first vlan header and the first two layer head;
[0037] In front of the layer 2 header of the first frame data, an MPLS inner layer label, an MPLS outer layer label and a second layer 2 header are sequentially set to generate the second frame data;
[0038] Taking out the MPLS outer layer label of the second frame data, pressing a new MPLS label on the MPLS outer layer label of the second frame data and then reinserting it into the second frame data to generate the third frame data;
[0039] Determine the exit according to the MPLS inner layer label of the third frame data and the new MPLS outer layer label generated after pressing the new MPLS label;
[0040] Update the first vlan header of the third frame data according to the MPLS inner la...
Embodiment 3
[0045] like image 3 As shown, this embodiment proposes a device for implementing an end-to-end MPLS layer 2 leased line, the device includes: a first programmable device, a second programmable device, and a third programmable device;
[0046]The first programmable device is used to receive the first frame data sent by the external network, the first frame data includes a data part and a first layer-2 header; set in sequence before the layer-2 header of the first frame data The MPLS inner label, the MPLS outer label and the second layer-2 header generate the second frame data and send it to the second programmable device;
[0047] The second programmable device is used to take out the MPLS outer label of the second frame of data, press a new MPLS label on the MPLS outer label of the second frame of data, and then reinsert it into the second frame of data. generating a third frame of data from the second frame of data and sending it to a third programmable device;
[0048] Th...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


