Packet processing method and router
AssigneeHuawei Technologies Co., Ltd.
InventorXiaohu Xu
Life of this patent
Estimating the term…
Abstract
This application discloses a packet processing method and an LSR. The method includes: receiving, by an Ingress LSR of a first MPLS tunnel, a first notification packet that is based on an IGP, where the first notification packet includes an ELC flag, which is used to indicate that the first Egress LSR has ELC; after learning from the first notification packet that the first Egress LSR has ELC, inserting a label into a first packet, to generate a second packet, where the label forms an MPLS label stack, which includes, from bottom to top, a first EL, a first ELI, and a first TL; and sending the second packet to the first Egress LSR through the first MPLS tunnel.
Claims23
A method, comprising:
- receiving, by a first label switching router in a segment routing (SR) network, a notification packet that conforms to an Interior Gateway Protocol (IGP) and is flooded by a second label switching router, wherein the notification packet is generated by the second label switching router, the notification packet comprises an entropy label capability (ELC) flag, the ELC flag indicates that the second label switching router has ELC, the first label switching router is an ingress label switching router of a first Multiprotocol Label Switching tunnel, and the second label switching router is an egress label switching router of the first Multiprotocol Label Switching tunnel.
A method, comprising:
- flooding, by a second label switching router in a segment routing (SR) network to a first label switching router, a notification packet that conforms to an Interior Gateway Protocol (IGP), wherein the notification packet comprises an entropy label capability (ELC) flag, the ELC flag indicates that the second label switching router has ELC, the first label switching router is an ingress label switching router of a first Multiprotocol Label Switching tunnel, and the second label switching router is an egress label switching router of the first Multiprotocol Label Switching tunnel.
A first label switching router, comprising:
- a receiver, configured to receive a notification packet that conforms to an Interior Gateway Protocol (IGP) and is flooded by a second label switching router, wherein the notification packet is generated by the second label switching router, the notification packet comprises a entropy label capability (ELC) flag, the ELC flag indicates that the second label switching router has ELC, the first label switching router is an ingress label switching router of a first Multiprotocol Label Switching tunnel, the second label switching router is an egress label switching router of the first Multiprotocol Label Switching tunnel, and the first label switching router is comprised in a segment routing (SR) network.
A second label switching router, comprising:
- a transmitter, configured to flood a notification packet that is based on an Interior Gateway Protocol (IGP) to a first label switching router, wherein the notification packet comprises an entropy label capability (ELC) flag, the ELC flag indicates that the second label switching router has ELC, the first label switching router is an ingress label switching router of a first Multiprotocol Label Switching tunnel, the second label switching router is an egress label switching router of the first Multiprotocol Label Switching tunnel, and the second label switching router is comprised in a segment routing (SR) network.
A routing system, comprising:
- a first label switching router, configured to receive a notification packet that conforms to an Interior Gateway Protocol (IGP) and is flooded by a second label switching router, wherein the notification packet is generated by the second label switching router, the notification packet comprises a entropy label capability (ELC) flag, the ELC flag indicates that the second label switching router has ELC, the first label switching router is an ingress label switching router of a first Multiprotocol Label Switching tunnel, the second label switching router is an egress label switching router of the first Multiprotocol Label Switching tunnel, and the first label switching router is comprised in a segment routing (SR) network;
- and
- the second label switching router, configured to flood the notification packet that is based on IGP to the first label switching router.
Dependencies are inferred from the claim text.