IP Library › Granted Patent US 11,438,260
Granted Patent B2
US 11,438,260 · App. 16/998,997 · Granted Sep 6, 2022

Method and apparatus for forwarding MPLS data packet

Inventor: Xiaohu Xu (Shenzhen, CN)
Assignee: Huawei Technologies Co., Ltd.
H04L45/50H04L12/4633H04L45/38H04L45/745
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,438,260
App. No.
16/998,997
Granted
Sep 6, 2022
Kind
B2
Abstract

A method and an apparatus for forwarding an MPLS data packet are provided, which are used in an environment of hybrid networking of an SR network and a non-SR network. The method includes: when obtaining a to-be-sent MPLS data packet, a first SR router in an SR network determines whether a next-hop router supports an SR characteristic; the first SR router encapsulates the MPLS data packet into an IP tunnel when determining that the next-hop router does not support the SR characteristic, and sends an encapsulated MPLS data packet to the next-hop router to enable the encapsulated MPLS data packet to be forwarded, based on an IP routing table, to a second SR router. According to the application, correct forwarding of an MPLS data packet is completed in an environment of hybrid networking of an SR router and a non-SR router.

Claims (29)

1. A method for sending a multiprotocol label switching (MPLS) data packet, the method comprising:

receiving, by a first segment routing (SR) router in an SR network, a tunnel encapsulation capability advertised by a second SR router;

determining, by the first SR router, an internet protocol (IP) tunnel encapsulation type according to the tunnel encapsulation capability;

encapsulating, by the first SR router, the MPLS data packet into an IP tunnel according to the IP tunnel encapsulation type; and

sending, by the first SR router, the encapsulated MPLS data packet to the second SR router.

2. The method according to claim 1 , wherein the tunnel encapsulation capability is advertised by the second SR router using an interior gateway protocol.

3. The method according to claim 1 , wherein the IP tunnel encapsulation type is a type of a header of an encapsulation IP tunnel.

4. The method according to claim 1 , wherein the second SR router support one or more IP tunnel encapsulation types.

5. The method according to claim 1 , wherein the tunnel encapsulation capability comprises an encapsulation capability sub-type-length-value (sub-TLV).

6. The method according to claim 5 , wherein a type field of the encapsulation capability sub-TLV is filled in with a type code of an IP tunnel encapsulation format allocated by an internet assigned numbers authority.

7. A first segment routing (SR) router comprising:

a receiver configured to cooperate with a processor to receive a tunnel encapsulation capability advertised by a second SR router;

the processor configured to determine an internet protocol (IP) tunnel encapsulation type according to the tunnel encapsulation capability, and encapsulate a multiprotocol label switching (MPLS) data packet into an IP tunnel according to the IP tunnel encapsulation type; and

a transmitter configured to cooperate with the processor to send the encapsulated MPLS data packet to the second SR router.

8. The first SR router according to claim 7 , wherein the tunnel encapsulation capability is advertised by the second SR router using an interior gateway protocol.

9. The first SR router according to claim 7 , wherein the IP tunnel encapsulation type is a type of a header of an encapsulation IP tunnel.

10. The first SR router according to claim 7 , wherein the second SR router support one or more IP tunnel encapsulation types.

11. The first SR router according to claim 7 , wherein the tunnel encapsulation capability comprises an encapsulation capability sub-type-length-value (sub-TLV).

12. The first SR router according to claim 11 , wherein a type field of the encapsulation capability sub-TLV is filled in with a type code of an IP tunnel encapsulation format allocated by an internet assigned numbers authority.

13. A non-transitory computer readable medium, comprising processor-executable instructions which when executed by a processor of a first segment routing (SR) router in an SR network, causes the first SR router to implement the following method for sending a multiprotocol label switching (MPLS) data packet:

receiving a tunnel encapsulation capability advertised by a second SR router;

determining an internet protocol (IP) tunnel encapsulation type according to the tunnel encapsulation capability;

encapsulating the MPLS data packet into an IP tunnel according to the IP tunnel encapsulation type; and

sending the encapsulated MPLS data packet to the second SR router.

14. The non-transitory computer readable medium according to claim 13 , wherein the tunnel encapsulation capability is advertised by the second SR router using an interior gateway protocol.

15. The non-transitory computer readable medium according to claim 13 , wherein the IP tunnel encapsulation type is a type of a header of an encapsulation IP tunnel.

16. The non-transitory computer readable medium according to claim 13 , wherein the second SR router support one or more IP tunnel encapsulation types.

17. The non-transitory computer readable medium according to claim 13 , wherein the tunnel encapsulation capability comprises an encapsulation capability sub-type-length-value (sub-TLV).

18. The non-transitory computer readable medium according to claim 17 , wherein a type field of the encapsulation capability sub-TLV is filled in with a type code of an IP tunnel encapsulation format allocated by an internet assigned numbers authority.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 15, 2020
From: XU, XIAOHU
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 054648/0380 →
Priority Claims (1)
CN 201310356579.0 · Aug 15, 2013 · national
Continuity (4)
Continuation 16360965 · Mar 21, 2019
Continuation 15044779 · Feb 16, 2016
Continuation PCTCN2014081725 · Jul 7, 2014
Related Publication 20210044520A1 · Feb 11, 2021