Label Switched Path Scalability

By encoding sub-LSP FEC in aggregated LSPs and using the SLI mechanism, the problem of excessive LSP state maintenance in multi-domain networks is solved, the scalability and forwarding efficiency of LSPs are improved, and the control plane overhead is reduced.

CN114448880BActive Publication Date: 2024-09-03NOKIA NETWORKS OY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111224345.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-10-20
Filing Date
2021-10-19
Publication Date
2024-09-03
Estimated Expiration
2041-10-19

AI Technical Summary

Technical Problem

Existing technologies have limitations in supporting the scalability of Label Switched Paths (LSPs), especially in multi-domain networks, where routers need to maintain a large number of LSP states, leading to increased control plane signaling overhead and memory consumption, and affecting LSP convergence time.

Method used

By using the aggregation prefix FEC and sub-LSP encoding mechanism, the ingress router inserts a sub-LSP label indicator (SLI) below the aggregation LSP label. The egress router verifies and forwards packets based on the encoded sub-LSP FEC, reducing the need for router state and effectively managing the LSP set through the MPLS control protocol.

Benefits of technology

This reduces LSP state maintenance in multi-domain networks, lowers control plane signaling overhead and memory consumption, and improves the efficiency of LSP convergence time and the accuracy of packet forwarding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114448880B_ABST
    Figure CN114448880B_ABST
Patent Text Reader

Abstract

Various example embodiments for supporting the scalability of label switched paths (LSPs) in label switching networks are presented herein. Various example embodiments for supporting the scalability of LSPs in label switching networks can be configured to support the scalability of LSPs in multi-protocol label switching (MPLS) networks. Various example embodiments for supporting the scalability of LSPs in MPLS networks can be configured to support the scalability of LSPs of various FEC types. Various example embodiments for supporting the scalability of LSPs in MPLS networks can be configured to support the scalability of LSPs based on prefix FECs across multiple routing domains. Various example embodiments for supporting the scalability of LSPs in MPLS networks can be configured to support the scalability of LSPs for various FEC types, which implements the scope of aggregating FECs by aggregating FECs. Various example embodiments for supporting the scalability of LSPs in MPLS networks can be configured to support the scalability of LSPs implemented as pseudowires (PWs).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Various example embodiments relate generally to communication systems, and more particularly, but not exclusively, to supporting scalability of label switched paths (LSPs) in communication systems. Background Art

[0002] In many communication networks, various communication technologies may be used to support various types of communications. Summary of the invention

[0003] In at least some example embodiments, an apparatus includes at least one processor and at least one memory including an instruction set, wherein the instruction set is configured to, when executed by the at least one processor, cause the apparatus to: support communication of a packet on a sub-label switched path of an aggregate label switched path based on a forwarding equivalence class including the sub-label switched path under a label of the aggregate label switched path. In at least some example embodiments, to support communication of the packet, the instruction set is configured to, when executed by the at least one processor, cause the apparatus to: determine, by an egress router of the aggregate label switched path, a next label switched path for the packet based on the forwarding equivalence class of the sub-label switched path. In at least some example embodiments, the instruction set is configured to, when executed by the at least one processor, cause the apparatus to: prevent, by an egress router of the aggregate label switched path, signaling an association of the sub-label switched path with the aggregate label switched path. In at least some example embodiments, the instruction set is configured to, when executed by the at least one processor, cause the apparatus to: form an association of the sub-label switched path with the aggregate label switched path by an ingress router of the aggregate label switched path. In at least some example embodiments, the association of the sub-label switching path with the aggregate label switching path is based on the forwarding equivalence class of the sub-label switching path being a subset of the forwarding equivalence class of the aggregate label switching path. In at least some example embodiments, the association of the sub-label switching path with the aggregate label switching path is based on a policy at an ingress router. In at least some example embodiments, the sub-label switching path is based on a first version of the Internet Protocol (IP) and the aggregate label switching path is based on a second version of the IP, and the policy at the ingress router is configured to associate a first IP prefix of the first version of the IP with a second IP prefix of the second version of the IP. In at least some example embodiments, the forwarding equivalence class type of the sub-label switching path and the forwarding equivalence class type of the aggregate label switching path are the same. In at least some example embodiments, the forwarding equivalence class type of the sub-label switching path and the forwarding equivalence class type of the aggregate label switching path are prefix forwarding equivalence class types. In at least some example embodiments, the forwarding equivalence class of the sub-label switching path is a subset of the forwarding equivalence class of the aggregate label switching path. In at least some example embodiments, the prefix forwarding equivalence class type is an Internet Protocol version 4 (IPv4) prefix or an Internet Protocol version 6 (IPv6) prefix. In at least some example embodiments, the sub-label switched path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switched path is a forwarding equivalence class type based on a numeric PWid (pseudowire identifier), and the aggregate label switched path is a single-segment pseudowire and the forwarding equivalence class of the aggregate label switched path is a forwarding equivalence class type based on the PWid.In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on the digital PWid, and the aggregate label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregate label switching path is a PWid forwarding equivalence class type. In at least some example embodiments, the forwarding equivalence class type of the sub-label switching path and the forwarding equivalence class type of the aggregate label switching path are different. In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on the PWid, and the aggregate label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregate label switching path is a forwarding equivalence class type based on {SAII, TAII}. In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on the digital PWid, and the aggregate label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregate label switching path is a single-segment pseudowire forwarding equivalence class type. In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on a digital PWid, and the aggregate label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregate label switching path is a multi-segment pseudowire forwarding equivalence class type. In at least some example embodiments, the sub-label switching path and the aggregate label switching path have a common egress router. In at least some example embodiments, the egress router of the aggregate label switching path is a border router of a routing domain, and the forwarding equivalence class type of the aggregate label switching path is a prefix forwarding equivalence class type. In at least some example embodiments, the routing domain is an interior gateway protocol (IGP) area or an autonomous system (AS). In at least some example embodiments, the prefix forwarding equivalence class type is a prefix forwarding equivalence class that encodes an Internet Protocol (IP) routing prefix summarized by a border router of the routing domain. In at least some example embodiments, the egress router of the aggregate label switching path is a provider edge router, and the forwarding equivalence class type of the aggregate label switching path is a single-segment pseudowire forwarding equivalence class type. In at least some example embodiments, the egress router of the aggregate label switched path is a terminal provider edge router, and the forwarding equivalence class type of the aggregate label switched path is a multi-segment pseudowire forwarding equivalence class type. In at least some example embodiments, the instruction set is configured to, when executed by at least one processor, cause the apparatus to: verify, by an ingress router at an egress router of the aggregate label switched path, the validity of the sub-label switched path. In at least some example embodiments, the validity of the sub-label switched path is verified at the egress router of the aggregate label switched path based on at least one connectivity message sent from the ingress router of the aggregate label switched path to the egress router of the aggregate label switched path.In at least some example embodiments, the instruction set is configured to, when executed by at least one processor, cause the apparatus to: signal, by an egress router of an aggregated label switched path, an indication of a valid set of sub-label switched paths of the aggregated label switched path. In at least some example embodiments, to signal, by an egress router of the aggregated label switched path, an indication of a valid set of sub-label switched paths of the aggregated label switched path, the instruction set is configured to, when executed by at least one processor, cause the apparatus to: include, by an egress router of the aggregated label switched path, a bit string within a label mapping message of the aggregated label switched path, the bit string including a set of bit positions associated with a corresponding set of sub-label switched paths of the aggregated label switched path. In at least some example embodiments, the forwarding equivalence class of the sub-label switched path is a digital PWid forwarding equivalence class type, and the forwarding equivalence class type of the aggregated label switched path is a single-segment pseudowire forwarding equivalence class type, and the bit position of the sub-label switched path in the bit string is the PWid of the sub-label switched path. In at least some example embodiments, the forwarding equivalence class of the sub-label switched path is a digital PWid forwarding equivalence class type, and the forwarding equivalence class type of the aggregated label switched path is a multi-segment pseudowire forwarding equivalence class type, and the bit position of the sub-label switched path in the bit string is the PWid of the sub-label switched path. In at least some example embodiments, the forwarding equivalence class of the sub-label switched path is an Internet Protocol (IP) host address within a prefix forwarding equivalence class of the aggregated label switched path, and the bit position of the sub-label switched path in the bit string is an offset of the IP host address in the prefix forwarding equivalence class of the aggregated label switched path. In at least some example embodiments, an apparatus includes at least one processor and at least one memory including an instruction set, wherein the instruction set is configured to, when executed by the at least one processor, cause the apparatus to: support communication of packets on a sub-label switched path of a label switched path based on including the forwarding equivalence class of the sub-label switched path below a label of the label switched path.

[0004] In at least some example embodiments, a non-transitory computer-readable medium stores a set of instructions configured to cause an apparatus to: support communication of a packet on a sub-label switched path of an aggregate label switched path based on a forwarding equivalence class that includes the sub-label switched path under a label of the aggregate label switched path. In at least some example embodiments, to support communication of the packet, the set of instructions is configured to cause the apparatus to: determine, by an egress router of the aggregate label switched path, a next label switched path for the packet based on the forwarding equivalence class of the sub-label switched path. In at least some example embodiments, the set of instructions is configured to cause the apparatus to: prevent, by an egress router of the aggregate label switched path, signaling an association of the sub-label switched path with the aggregate label switched path. In at least some example embodiments, the set of instructions is configured to cause the apparatus to: form an association of the sub-label switched path with the aggregate label switched path by an ingress router of the aggregate label switched path. In at least some example embodiments, the association of the sub-label switched path with the aggregate label switched path is based on the forwarding equivalence class of the sub-label switched path being a subset of the forwarding equivalence class of the aggregate label switched path. In at least some example embodiments, the association of the sub-label switched path with the aggregate label switched path is based on a policy at an ingress router. In at least some example embodiments, the sub-label switched path is based on a first version of the Internet Protocol (IP) and the aggregate label switched path is based on a second version of the IP, and the policy at the ingress router is configured to associate a first IP prefix of the first version of the IP with a second IP prefix of the second version of the IP. In at least some example embodiments, the forwarding equivalence class type of the sub-label switched path and the forwarding equivalence class type of the aggregate label switched path are the same. In at least some example embodiments, the forwarding equivalence class type of the sub-label switched path and the forwarding equivalence class type of the aggregate label switched path are prefix forwarding equivalence class types. In at least some example embodiments, the forwarding equivalence class of the sub-label switched path is a subset of the forwarding equivalence class of the aggregate label switched path. In at least some example embodiments, the prefix forwarding equivalence class type is an Internet Protocol version 4 (IPv4) prefix or an Internet Protocol version 6 (IPv6) prefix. In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on a digital PWid, and the aggregate label switching path is a single-segment pseudowire and the forwarding equivalence class of the aggregate label switching path is a forwarding equivalence class type based on a PWid. In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on a digital PWid, and the aggregate label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregate label switching path is a PWid forwarding equivalence class type. In at least some example embodiments, the forwarding equivalence class type of the sub-label switching path is different from the forwarding equivalence class type of the aggregate label switching path.In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on PWid, wherein the aggregated label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregated label switching path is a forwarding equivalence class type based on {SAII, TAII}. In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on a digital PWid, and the aggregated label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregated label switching path is a single-segment pseudowire forwarding equivalence class type. In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on a digital PWid, and the aggregated label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregated label switching path is a multi-segment pseudowire forwarding equivalence class type. In at least some example embodiments, the sub-label switching path and the aggregated label switching path have a common egress router. In at least some example embodiments, the egress router of the aggregated label switched path is a border router of a routing domain, and the forwarding equivalence class type of the aggregated label switched path is a prefix forwarding equivalence class type. In at least some example embodiments, the routing domain is an interior gateway protocol (IGP) area or an autonomous system (AS). In at least some example embodiments, the prefix forwarding equivalence class type is a prefix forwarding equivalence class encoding an Internet Protocol (IP) routing prefix aggregated by a border router of the routing domain. In at least some example embodiments, the egress router of the aggregated label switched path is a provider edge router, and the forwarding equivalence class type of the aggregated label switched path is a single-segment pseudowire forwarding equivalence class type. In at least some example embodiments, the egress router of the aggregated label switched path is a terminal provider edge router, and the forwarding equivalence class type of the aggregated label switched path is a multi-segment pseudowire forwarding equivalence class type. In at least some example embodiments, the instruction set is configured to cause the apparatus to: verify, by an ingress router, the validity of a sub-label switched path at an egress router of the aggregated label switched path. In at least some example embodiments, the validity of the sub-label switched paths is verified at the egress router of the aggregated label switched path based on at least one connectivity message sent from an ingress router of the aggregated label switched path to an egress router of the aggregated label switched path. In at least some example embodiments, the instruction set is configured to cause the apparatus to: signal, by the egress router of the aggregated label switched path, an indication of a valid set of sub-label switched paths of the aggregated label switched path. In at least some example embodiments, to signal an indication of a valid set of sub-label switched paths of the aggregated label switched path, the instruction set is configured to cause the apparatus to: include, by the egress router of the aggregated label switched path, a bit string within a label mapping message of the aggregated label switched path, the bit string including a set of bit positions associated with a corresponding set of sub-label switched paths of the aggregated label switched path.In at least some example embodiments, the forwarding equivalence class of the sub-label switched path is a digital PWid forwarding equivalence class type, and the forwarding equivalence class type of the aggregated label switched path is a single-segment pseudowire forwarding equivalence class type, and the bit position of the sub-label switched path in the bit string is the PWid of the sub-label switched path. In at least some example embodiments, the forwarding equivalence class of the sub-label switched path is a digital PWid forwarding equivalence class type, and the forwarding equivalence class type of the aggregated label switched path is a multi-segment pseudowire forwarding equivalence class type, and the bit position of the sub-label switched path in the bit string is the PWid of the sub-label switched path. In at least some example embodiments, the forwarding equivalence class of the sub-label switched path is an Internet Protocol (IP) host address within the prefix forwarding equivalence class of the aggregated label switched path, and the bit position of the sub-label switched path in the bit string is an offset of the IP host address in the prefix forwarding equivalence class of the aggregated label switched path. In at least some example embodiments, a non-transitory computer-readable medium stores a set of instructions configured to support communication of packets on a sub-label switched path of a label switched path based on a forwarding equivalence class including the sub-label switched path under a label of the label switched path.

[0005] In at least some example embodiments, a method includes supporting communication of packets on sub-label switched paths of an aggregate label switched path based on including a forwarding equivalence class of the sub-label switched path under a label of the aggregate label switched path. In at least some example embodiments, supporting communication of the packets includes: determining, by an egress router of the aggregate label switched path, a next label switched path for the packets based on the forwarding equivalence class of the sub-label switched path. In at least some example embodiments, the method includes: preventing, by an egress router of the aggregate label switched path, signaling an association of the sub-label switched path with the aggregate label switched path. In at least some example embodiments, the method includes: forming, by an ingress router of the aggregate label switched path, an association of the sub-label switched path with the aggregate label switched path. In at least some example embodiments, the association of the sub-label switched path with the aggregate label switched path is based on the forwarding equivalence class of the sub-label switched path being a subset of the forwarding equivalence class of the aggregate label switched path. In at least some example embodiments, the association of the sub-label switched path with the aggregate label switched path is based on a policy at an ingress router. In at least some example embodiments, the sub-label switched path is based on a first version of the Internet Protocol (IP) and the aggregate label switched path is based on a second version of the IP, and a policy at the ingress router is configured to associate a first IP prefix of the first version of the IP with a second IP prefix of the second version of the IP. In at least some example embodiments, the forwarding equivalence class type of the sub-label switched path and the forwarding equivalence class type of the aggregate label switched path are the same. In at least some example embodiments, the forwarding equivalence class type of the sub-label switched path and the forwarding equivalence class type of the aggregate label switched path are prefix forwarding equivalence class types. In at least some example embodiments, the forwarding equivalence class of the sub-label switched path is a subset of the forwarding equivalence class of the aggregate label switched path. In at least some example embodiments, the prefix forwarding equivalence class type is an Internet Protocol version 4 (IPv4) prefix or an Internet Protocol version 6 (IPv6) prefix. In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on a digital PWid, and the aggregate label switching path is a single-segment pseudowire and the forwarding equivalence class of the aggregate label switching path is a forwarding equivalence class type based on a PWid. In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on a digital PWid, and the aggregate label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregate label switching path is a PWid forwarding equivalence class type. In at least some example embodiments, the forwarding equivalence class type of the sub-label switching path is different from the forwarding equivalence class type of the aggregate label switching path.In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on PWid, and the aggregated label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregated label switching path is a forwarding equivalence class type based on {SAII, TAII}. In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on digital PWid, and the aggregated label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregated label switching path is a single-segment pseudowire forwarding equivalence class type. In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on digital PWid, and the aggregated label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregated label switching path is a multi-segment pseudowire forwarding equivalence class type. In at least some example embodiments, the sub-label switching path and the aggregated label switching path have a common egress router. In at least some example embodiments, the egress router of the aggregated label switched path is a border router of a routing domain, and the forwarding equivalence class type of the aggregated label switched path is a prefix forwarding equivalence class type. In at least some example embodiments, the routing domain is an interior gateway protocol (IGP) area or an autonomous system (AS). In at least some example embodiments, the prefix forwarding equivalence class type is a prefix forwarding equivalence class that encodes an Internet Protocol (IP) routing prefix summarized by a border router of the routing domain. In at least some example embodiments, the egress router of the aggregated label switched path is a provider edge router, and the forwarding equivalence class type of the aggregated label switched path is a single-segment pseudowire forwarding equivalence class type. In at least some example embodiments, the egress router of the aggregated label switched path is a terminal provider edge router, and the forwarding equivalence class type of the aggregated label switched path is a multi-segment pseudowire forwarding equivalence class type. In at least some example embodiments, the method includes: verifying, by an ingress router, the validity of the sub-label switched path at the egress router of the aggregated label switched path. In at least some example embodiments, validity of the sub-label switched paths is verified at an egress router of the aggregated label switched path based on at least one connectivity message sent from an ingress router of the aggregated label switched path to an egress router of the aggregated label switched path. In at least some example embodiments, the method includes signaling, by the egress router of the aggregated label switched path, an indication of a set of valid sub-label switched paths of the aggregated label switched path. In at least some example embodiments, signaling the indication of the set of valid sub-label switched paths of the aggregated label switched path includes including, by the egress router of the aggregated label switched path, a bit string within a label mapping message for the aggregated label switched path, the bit string including a set of bit positions associated with a corresponding set of sub-label switched paths of the aggregated label switched path.In at least some example embodiments, the forwarding equivalence class of the sub-label switched path is a digital PWid forwarding equivalence class type, and the forwarding equivalence class type of the aggregated label switched path is a single-segment pseudowire forwarding equivalence class type, and the bit position of the sub-label switched path in the bit string is the PWid of the sub-label switched path. In at least some example embodiments, the forwarding equivalence class of the sub-label switched path is a digital PWid forwarding equivalence class type, and the forwarding equivalence class type of the aggregated label switched path is a multi-segment pseudowire forwarding equivalence class type, and the bit position of the sub-label switched path in the bit string is the PWid of the sub-label switched path. In at least some example embodiments, the forwarding equivalence class of the sub-label switched path is an Internet Protocol (IP) host address within a prefix forwarding equivalence class of the aggregated label switched path, and the bit position of the sub-label switched path in the bit string is an offset of the IP host address in the prefix forwarding equivalence class of the aggregated label switched path. In at least some example embodiments, a method includes supporting communication of packets on a sub-label switched path of a label switched path based on including the forwarding equivalence class of the sub-label switched path below a label of the label switched path.

[0006] In at least some example embodiments, an apparatus includes means for supporting communication of packets on sub-label switched paths of an aggregate label switched path based on including a forwarding equivalence class of the sub-label switched path under a label of the aggregate label switched path. In at least some example embodiments, the means for supporting communication of the packets includes means for determining, by an egress router of the aggregate label switched path, a next label switched path for the packet based on the forwarding equivalence class of the sub-label switched path. In at least some example embodiments, the apparatus includes means for preventing, by an egress router of the aggregate label switched path, signaling an association of the sub-label switched path with the aggregate label switched path. In at least some example embodiments, the prevention includes means for forming an association of the sub-label switched path with the aggregate label switched path by an ingress router of the aggregate label switched path. In at least some example embodiments, the association of the sub-label switched path with the aggregate label switched path is based on the forwarding equivalence class of the sub-label switched path being a subset of the forwarding equivalence class of the aggregate label switched path. In at least some example embodiments, the association of the sub-label switched path with the aggregate label switched path is based on a policy at an ingress router. In at least some example embodiments, the sub-label switched path is based on a first version of the Internet Protocol (IP) and the aggregate label switched path is based on a second version of the IP, and a policy at the ingress router is configured to associate a first IP prefix of the first version of the IP with a second IP prefix of the second version of the IP. In at least some example embodiments, the forwarding equivalence class type of the sub-label switched path and the forwarding equivalence class type of the aggregate label switched path are the same. In at least some example embodiments, the forwarding equivalence class type of the sub-label switched path and the forwarding equivalence class type of the aggregate label switched path are prefix forwarding equivalence class types. In at least some example embodiments, the forwarding equivalence class of the sub-label switched path is a subset of the forwarding equivalence class of the aggregate label switched path. In at least some example embodiments, the prefix forwarding equivalence class type is an Internet Protocol version 4 (IPv4) prefix or an Internet Protocol version 6 (IPv6) prefix. In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on a digital PWid, and the aggregate label switching path is a single-segment pseudowire and the forwarding equivalence class of the aggregate label switching path is a forwarding equivalence class type based on a PWid. In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on a digital PWid, and the aggregate label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregate label switching path is a PWid forwarding equivalence class type. In at least some example embodiments, the forwarding equivalence class type of the sub-label switching path is different from the forwarding equivalence class type of the aggregate label switching path.In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on PWid, and the aggregated label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregated label switching path is a forwarding equivalence class type based on {SAII, TAII}. In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on digital PWid, and the aggregated label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregated label switching path is a single-segment pseudowire forwarding equivalence class type. In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on digital PWid, and the aggregated label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregated label switching path is a multi-segment pseudowire forwarding equivalence class type. In at least some example embodiments, the sub-label switching path and the aggregated label switching path have a common egress router. In at least some example embodiments, the egress router of the aggregated label switched path is a border router of a routing domain, and the forwarding equivalence class type of the aggregated label switched path is a prefix forwarding equivalence class type. In at least some example embodiments, the routing domain is an interior gateway protocol (IGP) area or an autonomous system (AS). In at least some example embodiments, the prefix forwarding equivalence class type is a prefix forwarding equivalence class encoding an Internet Protocol (IP) routing prefix aggregated by a border router of the routing domain. In at least some example embodiments, the egress router of the aggregated label switched path is a provider edge router, and the forwarding equivalence class type of the aggregated label switched path is a single-segment pseudowire forwarding equivalence class type. In at least some example embodiments, the egress router of the aggregated label switched path is a terminal provider edge router, and the forwarding equivalence class type of the aggregated label switched path is a multi-segment pseudowire forwarding equivalence class type. In at least some example embodiments, the apparatus includes a component for verifying, by an ingress router, the validity of a sub-label switched path at an egress router of the aggregated label switched path. In at least some example embodiments, the validity of the sub-label switched paths is verified at the egress router of the aggregated label switched path based on at least one connectivity message sent from an ingress router of the aggregated label switched path to an egress router of the aggregated label switched path. In at least some example embodiments, the apparatus includes means for signaling, by the egress router of the aggregated label switched path, an indication of a valid set of sub-label switched paths of the aggregated label switched path. In at least some example embodiments, the means for signaling an indication of a valid set of sub-label switched paths of the aggregated label switched path includes: including, by the egress router of the aggregated label switched path, a bit string within a label mapping message of the aggregated label, the bit string including a set of bit positions associated with a corresponding set of sub-label switched paths of the aggregated label switched path.In at least some example embodiments, the forwarding equivalence class of the sub-label switched path is a digital PWid forwarding equivalence class type, and the forwarding equivalence class type of the aggregated label switched path is a single-segment pseudowire forwarding equivalence class type, and the bit position of the sub-label switched path in the bit string is the PWid of the sub-label switched path. In at least some example embodiments, the forwarding equivalence class of the sub-label switched path is a digital PWid forwarding equivalence class type, and the forwarding equivalence class type of the aggregated label switched path is a multi-segment pseudowire forwarding equivalence class type, and the bit position of the sub-label switched path in the bit string is the PWid of the sub-label switched path. In at least some example embodiments, the forwarding equivalence class of the sub-label switched path is an Internet Protocol (IP) host address within the prefix forwarding equivalence class of the aggregated label switched path, and the bit position of the sub-label switched path in the bit string is an offset of the IP host address in the prefix forwarding equivalence class of the aggregated label switched path. In at least some example embodiments, an apparatus includes means for supporting communication of packets on a sub-label switched path of a label switched path based on a forwarding equivalence class including the sub-label switched path under a label of the label switched path. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] The teachings herein may be readily understood by considering the following detailed description in conjunction with the accompanying drawings, in which:

[0008] Figure 1 An example embodiment of a communication system configured to support scalability of LSPs is depicted;

[0009] Figure 2A-2D Depicted Figure 1 Example embodiments of IP routing tables for several selected routers of a communication system;

[0010] FIG. 3A-3D depicts the Figure 1 Example embodiments of ILM and FTN tables maintained by routers of a communication system;

[0011] Figure 4 An example embodiment of a communication system configured to support scalability of LSPs is depicted;

[0012] Figures 5A-5D depict Figure 4 Example embodiments of ILM and FTN tables for several selected routers of a communication system;

[0013] Figure 6A-6B Depicted Figure 4 Example embodiments of ILM and FTN tables for several selected routers of a communication system of , including a sub-LSP ILM table;

[0014] Figure 7Depicted are example embodiments of SS-PWs for illustrating scalability of LSPs using SS-PWs;

[0015] Figure 8A-8B Depicted by Figure 7 The ILM table, FTN table, and PWid table maintained by the PW endpoint of the SS-PW;

[0016] Fig. 9 Depicted are example embodiments of aggregated SS-PWs for illustrating scalability of LSPs using aggregated SS-PWs;

[0017] Figure 10A-10B Depicted by Fig. 9 The ILM table, FTN table, and PWid table maintained by the PW endpoint of the aggregated SS-PW;

[0018] Fig.11 Depicted are example embodiments of dynamic MS-PWs for illustrating scalability of LSPs using dynamically aggregated MS-PWs;

[0019] Fig.12 An example embodiment of a packet is depicted for illustrating packet encoding of packets transmitted via a sub-LSP on an aggregate LSP;

[0020] Fig.13 An example embodiment of a FEC for a sub-LSP illustrating the format of the FEC for the sub-LSP is depicted;

[0021] Fig.14 depicts an example embodiment of a prefix FEC sub-LSP for illustrating the format of the prefix FEC sub-LSP;

[0022] Fig.15 An example embodiment of a PWid FEC sub-LSP is depicted for illustrating the format of the PWid FEC sub-LSP;

[0023] Fig.16 Depicted is an example embodiment of a Range-in-Aggregate FEC Sub-LSP for illustrating the format of a Range-in-Aggregate FEC Sub-LSP;

[0024] Fig.17 An example embodiment of a method used by an ingress router of an aggregate LSP for sending packets on the aggregate LSP is depicted;

[0025] Fig.18 An example embodiment of a method used by an egress router of an aggregate LSP for processing MPLS packets is depicted;

[0026] Fig.19An example embodiment of a method for processing packets terminated on an aggregate LSP is depicted;

[0027] Fig. 20 An example embodiment of a method for processing packets received on a sub-LSP in the context of an aggregate LSP is depicted;

[0028] Fig.21 An example embodiment of a method for forwarding packets on a sub-LSP FEC is depicted;

[0029] Fig. 22 Depicted is an example embodiment of a method for forwarding packets on a sub-LSP when the FEC is of Prefix type;

[0030] Fig.23 Depicted is an example embodiment of a method for forwarding packets on a sub-LSP when the FEC is of PWid type;

[0031] Fig.24 Describes an example embodiment of a method for supporting scalability of an LSP; and

[0032] Fig.25 An example embodiment of a computer suitable for use in performing the various functions presented herein is depicted.

[0033] To facilitate understanding, identical reference numerals have been used herein, where possible, to designate identical elements that are common to the different figures. DETAILED DESCRIPTION

[0034] Various example embodiments are presented herein for supporting scalability of label switched paths (LSPs) in label switched networks.

[0035] Various example embodiments for supporting scalability of LSPs in label switching networks can be configured to support scalability of LSPs in multi-protocol label switching (MPLS) networks. In MPLS, a forwarding equivalence class (FEC) is an identifier of an LSP that describes the class of packets sent over the LSP. Prefix FECs identify MPLS LSPs by IP prefixes, such as IPv4 prefixes (e.g., 10.10.2.0 / 24, 10.10.2.7 / 32, etc.), IPv6 prefixes (e.g., 2001:db8:3c4d:15:: / 64, etc.), and the like. Prefix FEC 10.10.2.0 / 24 means that packets to all destinations in the range of 10.10.2.1-10.10.2.254 are transmitted over the LSP. Prefix FEC 10.10.2.7 / 32 means that packets to destination host 10.10.2.7 are only sent on the LSP. Typically, the path traversed by a prefix FEC LSP is the path of its best matching IP route across the routing domain, where the path of the IP route can be determined by routing protocols such as IGP, BGP, etc. Here, "best match" may mean that the IP route in the IP routing table is the longest prefix match (LPM) for the prefix FEC. Prefix FEC is one of the classic examples of FEC, which can be aggregated by its value range. For example, all prefix FECs in the IPv4 address range 10.10.2.1 / 32-10.10.2.254 / 32 can be aggregated by a single prefix FEC 10.10.2.0 / 24. It should be noted that the MPLS control protocols used to distribute label mappings and establish prefix FEC LSPs include label distribution protocol (LDP), border gateway protocol (BGP), segment routing (SR), etc. In SR, an Interior Gateway Protocol (IGP)—such as Open Shortest Path First (OSPF), OSPF version 3 (OSPFv3), Intermediate System to Intermediate System (IS-IS), etc.—can also be used as a control protocol for label distribution (e.g., the IGP assigns a label to each link-state advertisement for an IP prefix).

[0036] Various example embodiments for supporting the scalability of LSP in MPLS network can be configured to support the scalability of LSP of various FEC types. Various example embodiments for supporting the scalability of LSP in MPLS network can be configured to support the scalability of LSP based on prefix FEC across multiple routing domains. Here, routing domain can be IGP area, AS, etc. within autonomous system (AS). As indicated above, IGP includes OSPF, OSPFv3, IS-IS, etc., and inter-AS routing protocol includes BGP. Various example embodiments for supporting the scalability of LSP may not know the MPLS control protocol used to establish inter-domain LSP. Various example embodiments for supporting the scalability of LSP in MPLS network can be configured to support the scalability of LSP for various FEC types, which enables the scope of FEC to be aggregated by aggregating FEC.

[0037] Various example embodiments for supporting scalability of LSPs in MPLS networks may be configured to support scalability of LSPs implemented as pseudowires (pseudowire-PWs). Various example embodiments for supporting scalability of LSPs in MPLS networks may be configured to support scalability in single-segment PWs (SS-PWs), multi-segment PWs (MS-PWs), etc., and various combinations thereof.

[0038] It should be appreciated that these and various other example embodiments and advantages or potential advantages of supporting scalability of LSPs in label switched networks may be further appreciated by reference to the various drawings, which are discussed further below.

[0039] Figure 1 An example embodiment of a communication system configured to support scalability of LPS is described. Note that for simplicity and without loss of generality, Figure 1 The various example embodiments presented in the context of include example embodiments for supporting scalability of LSPs based on inter-domain prefix FEC, and more specifically, supporting scalability of LSPs based on inter-area prefix FEC, where the inter-area prefix FEC LSP establishment is established by LDP and spans multiple OSPF areas. It should be appreciated that the various example embodiments for supporting scalability of LSPs can be configured to support scalability of other types of LSPs, support scalability of LSPs in other network architectures, etc., as well as various combinations thereof.

[0040] exist Figure 1 , a communication system 100 includes a set of routers 110, referred to herein as routers R1-R14, and a virtual private network (VPN) 120 established between a pair of VPN sites 121-1 and 121-2 (collectively referred to as VPN sites 121).

[0041] exist Figure 1 , router 110 has been divided into three OSPF areas as follows: Area 0, Area 1, and Area 2. Area 0 is a backbone area. Area 1 and Area 2 are connected through Area 0 and are connected to Area 0 through an Area Border Router (ABR). It should be noted that in OSPF, two non-backbone areas are connected through a backbone area. In communication system 100, routers R1-R5 are located in Area 1, R6 is an ABR that interconnects Area 1 and Area 0, router R7 is an ABR that interconnects Area 2 and Area 0, routers R8-R10 are located in Area 2, and routers R11–R14 are located in Area 0. The routers and networks in each area are assigned the following IP subnets (IP prefixes): (a) Area 1 = 10.10.1.0 / 24, (b) Area 2 = 10.10.2.0 / 24, and (c) Area 0 = 10.10.3.0 / 24.

[0042] exist Figure 1 In , hosts, routers, or networks within an area are assigned IP addresses from the subnet assigned to the area. The ABR can be assigned its loopback IP address from the subnet of any adjacent area. More than one disjoint subnet can be assigned to an area; however, for simplicity of illustration, only one subnet is assigned to an area, as the principles discussed in this article apply seamlessly to any number of subnets. It should be understood that Figure 1 Each area depicted in FIG. 1 includes at least 254 hosts / routers (because an IPv4 subnet of prefix length 24 contains 254 unique addresses), but for simplicity, only a few routers are shown (i.e., routers R1-R14). It is important to note that IP subnets are assigned to interfaces in the routers; however, for simplicity of illustration, the details of these subnets are not described. Second, subnets on interfaces are allocated from IP subnet space that is not assigned to the area associated with the interface. Router Rx in area 1 is assigned loopback IPv4 address 10.10.1.x from the assigned subnet 10.10.1.0 / 24 (e.g., R1's address is 10.10.1.1, R5's address is 10.10.1.5, and so on). Router Rx in area 2 is assigned loopback IPv4 address 10.10.2.x from the assigned subnet 10.10.2.0 / 24 (e.g., R7's address is 10.10.2.7, R9's address is 10.10.2.9, etc.). Router Rx in area 0 is assigned loopback IPv4 address 10.10.3.x from the assigned subnet 10.10.3.0 / 24 (e.g., R12's address is 10.10.3.12, R14's address is 10.10.3.14, etc.).

[0043] exist Figure 1 In the , OSPF running between routers in each area floods their assigned IP addresses and subnets of the locally connected networks as link state advertisements (LSAs) throughout the area. For example, router R9 will generate a router LSA 10.10.2.9 / 32. It is important to note that router advertisements can be in the form of prefixes, so IPv4 host addresses are advertised using the " / 32" subnet. The flooding process builds an identical link state database (LSDB) in every router in the area. The LSDB in a router is a topological map of the area in which the router is located. In each area, each router in the area calculates the shortest path to every other router by using a shortest path first (SPF) algorithm (e.g., using Dijkstra's algorithm) on its LSDB. Any link failure or topology change in the area is visible to all routers in the area because the change (indicated in the associated LSA) is flooded throughout the area. When a topology change is detected, each router recalculates the path by running SPF after including the topology change.

[0044] exist Figure 1In OSPF, the topological details of an area are not visible to outside areas. For example, ABR R7 will not flood LSAs from Area 2 to Area 0 and vice versa. The main purpose of breaking up an OSPF network into multiple areas is to contain flooding and topological details within one area, which results in the scalability of OSPF domains. An ABR aggregates the route prefixes learned from one area into a single "summary" LSA. The ABR then floods the summary LSA into other areas as if the summary LSA represented the ABR's locally connected network. For example, R7 summarizes the route prefixes learned from Area 2 into the summary LSA 10.10.2.0 / 24 and floods it over Area 0, indicating that R7 is the originating router of the LSA. In general, whenever an ABR floods a route prefix learned from a first area to a second area, it marks itself as the originating router of the corresponding LSA. Finally, when R6 learns the summary LSA 10.10.2.0 / 24 from Area 0, it floods the summary LSA into Area 1, indicating that R6 is the originating router of the LSA. Note that R6 also aggregates other route prefixes that originated in Area 0 and originates the summary LSA to Area 1. For example, R6 aggregates the route prefixes that originated in Area 0 into the summary LSA 10.10.3.0 / 24 and floods the summary LSA 10.10.3.0 / 24 to Area 1. Similarly, for example, R6 also aggregates the route prefixes learned from Area 1 into the summary LSA 10.10.1.0 / 24 and floods the summary LSA 10.10.1.0 / 24 to Area 0. When R7 learns the summary LSA 10.10.1.0 / 24 from Area 0, R7 floods the summary LSA to Area 2 and makes itself the originating router. R7 also aggregates the route prefixes from Area 0 into the summary LSA 10.10.3.0 / 24 and floods it to Area 2, making itself the originating router. As a result, for all routers within an area, all LSAs learned from external areas will be considered to be directly connected networks of the ABR of the area.

[0045] exist Figure 1 In , after the SPF calculations pass through each router, the routing table in the router will have route entries to every other router and network within the local area and summary route entries to routers in all external areas. The resulting IP routing tables in routers R1, R6, R7, and R9 are Figure 2A-2D Note that each IP routing table has a total of 254 host routes, one for each router in the area, but for simplicity only the routes to Figure 1Figure 1 shows the host routes for the routers shown in Figure 1. The ABR will have host routes to each router in each adjacent area. Each routing table also includes summary routes for external areas (for example, the routing table in R1 has summary routes 10.10.2.0 / 24 and 10.10.3.0 / 24). It is important to note that by hiding the topology details of all external areas, route summarization by the ABRs significantly reduces the routing table size and convergence of OSPF on topology changes. For example, when the topology in Area 2 changes, it does not affect the summary route 10.10.2.0 / 24 originated by ABR R7, so the topology change does not have to propagate outside of Area 2.

[0046] exist Figure 1 In Figure 1, when router R1 (10.10.1.1) sends an IPv4 packet to router R9 (10.10.2.9), the packet is forwarded by matching (e.g., using LPM) the summary route entry 10.10.2.0 / 24 in each router along the shortest path of the summary route R1->R2->R6->R11->R12->R7 until it reaches router R7. When router R7 receives the packet, router R7 finds an exact matching route entry 10.10.2.9 / 32 for the packet's destination (see Figure 2C ), and the packet is forwarded along the path R7->R8->R9 by matching the exact routing entry until it reaches router R9.

[0047] exist Figure 1 In Figure 2, the summarization of individual route entries from area 2 by R7 reduces the number of LSAs and the number of routing table entries in area 0 and area 1 by a factor of 254. Similarly, the summarization of individual route entries from area 1 by R6 reduces the number of LSAs and the number of routing table entries in area 0 and area 2 by a factor of 254. For example, assuming that there are a total of 51 areas in the OSPF network and each area includes 254 routers, then each area only receives 50 external summary LSAs instead of 254x50=12,700 external LSAs and route entries, which results in 50 corresponding prefixes in the routing tables of its routers. In other words, the external LSAs and routes are reduced by a factor of 254, which is very significant. In summary, if N is the average number of IP addresses summarized by each area, then the number of external LSAs is reduced by a factor of N.

[0048] exist Figure 1In order to establish an LSP to a router, the router creates a prefix FEC for its assigned host address and allocates a label for the prefix FEC of its assigned host address. For example, R9 allocates label L9-9 from its local label space and maps it to prefix FEC 10.10.2.9 / 32. Here, the label allocated by router Ry for the prefix FEC of the host address of Rx is denoted as Lx-y. As an example, consider the process of establishing an LSP for prefix FEC 10.10.2.9 / 32 alone. The same process can be seamlessly applied to the LSP of each router in the network. Figure 1 In area 2, each router also runs the LDP control plane. The label mapping {prefix FEC=10.10.2.9 / 32, L9-9} is advertised by router R9 to each of its neighboring routers (e.g., routers R8, R10, etc.), and each of the neighboring routers allocates a respective label for prefix FEC 10.10.2.9 / 32 from its corresponding local label space and advertises the respective label mapping to its respective neighboring router, and so on. In this way, the label mapping for prefix FEC 10.10.2.9 / 32 is flooded to area 2 by LDP running between routers in area 2. Each router determines the next hop of the LSP as {the next hop of its exact matching IP route 10.10.2.9 / 32, and the next hop is the label advertised by prefix FEC}.

[0049] exist Figure 1 In the example, the router also maintains the Incoming Label Map (ILM) and FEC to Next Hop Label Forwarding Entry (NHLFE) (FTN) tables, which maintain the state of the prefix FEC LSP. Figures 3A-3D depict the ILM and FTN tables at routers R1, R6, R7, and R9, respectively. More specifically, Figure 3A-1 and Figure 3A-2 Depicts the ILM and FTN tables at router R1, respectively. Figure 3B-1 and Figure 3B-2 The ILM and FTN tables at router R6 are depicted respectively. Figure 3C-1 and Figure 3C-2 depicts the ILM and FTN tables at router R7, and Figure 3D-1 and Figure 3D-2 The ILM and FTN tables at router R9 are depicted respectively. It should be understood that although FIG. 3A-FIG. 3D only illustrates the ILM and FTN tables at router R9, FIG. Figure 1 The states of the LSPs for the routers illustrated in FIG. 1 (eg, routers R1 - R14 ) are not limited to the states of the LSPs for the routers illustrated in FIG. 1 (eg, routers R1 - R14 ), but states for other LSPs to other routers are also programmed.

[0050] exist Figure 1In the example above, the router maintains an ILM table. The ILM table at the router is indexed by the labels advertised by the router. The ILM entries include the forwarding state of the labels advertised by the LSP in its egress router or transit router. The ILM entry for an LSP maps to a next-hop label forwarding entry, which includes information about the next hop and the label advertised by the next hop for the LSP. Figure 3D-1 As shown in , router R9 programs the ILM table entry for the L9-9 label with the next hop as "local" because this is the egress router for this label assigned to prefix FEC 10.10.2.9 / 32. Figure 3C-1 As shown in , router R7 programs the ILM table entry for label L9-7 to replace with label L9-8 advertised by next hop R8 for LSP 10.10.2.9 / 32. If router R7 receives an MPLS packet with label L9-7, then based on its ILM entry, router R7 replaces the label with L9-8 and sends the packet to router R8.

[0051] exist Figure 1 As discussed above, the router maintains an FTN table. The FTN table at the router is indexed by FEC. The FTN table entries include the forwarding state of the LSP in the ingress router. For prefix FEC, any router except the egress router can be the ingress router. The FTN entry for the LSP maps to the NHLFE, which includes information about the next hop and the label that the next hop advertises for the LSP. For a prefix FEC LSP, any router except the egress router can be in the ingress router, so that the router can push any packet to the egress router over the LSP. As a result, a router can be both the ingress and the transit of the LSP, and in this case, the ILM table and the FTN table are programmed for the state of the LSP using common NHLFE information. For example, for prefix FEC 10.10.2.9 / 32, any router except router R9 can act as an ingress router and push packets to router R9 on the LSP. Therefore, the prefix FEC LSP is essentially multi-point-to-point (MP2P). As Figure 3C-2 As shown in , router R7 also programs the FTN table entry 10.10.2.9 / 32 to push label L9-8 to the next hop router R8. To send a packet to router R9, router R7 pushes label L9-8 onto the packet and sends the labeled packet to router R8. Therefore, router R7 is both a transit router and an ingress router for prefix FEC 10.10.2.9 / 32.

[0052] exist Figure 1, ABR R7 floods the label mapping for prefix FEC 10.10.2.9 / 32 into Area 0. Each router in Area 0 assigns a label for prefix FEC 10.10.2.9 / 32 from its local label space and advertises the label to its neighbors. Each router in Area 0 selects the next hop of the LSP as {the next hop of its best matching IP route 10.10.2.0 / 24, the label advertised by the next hop for prefix FEC}. It should be noted that the ABR does not have aggregation of prefix FECs, which will be further understood based on the description provided below. Essentially, each router has an LSP to every other router across the multi-domain network, that is, there is a complete LSP mesh between routers. When ABR R6 receives the label mapping for prefix FEC 10.10.2.9 / 32 from a neighboring router in Area 0, it establishes the LSP and floods the label mapping into Area 1. Each router in area 1 assigns a label for prefix FEC 10.10.2.9 / 32 from its local label space and advertises it to its neighbors. Each router in area 1 selects the next hop of the LSP as {the next hop of its best matching IP route 10.10.2.0 / 24, the label advertised by the next hop for prefix FEC}. Figure 3A-2 The FTN table in R1 is shown, comprising an entry for prefix FEC10.10.2.9 / 32.

[0053] exist Figure 1 In order to send packet P from router R1 to router R9 on LSP, router R1 looks up the FTN entry and, based on the FTN entry, pushes label L9-2 and sends the MPLS packet {L9-2, P} to router R2. After receiving the packet, router R2 looks up the top-level label L9-2 in its ILM table (omitted for clarity) and, based on the ILM entry, replaces label L9-2 with label L9-6 and sends the packet {L9-6, P} to the next-hop router R6. After receiving the packet, router R6 replaces label L9-2 with label L9-6 in its ILM table ( Figure 3B-1) and based on the ILM entry, replaces label L9-6 with label L9-11 and sends the packet {L9-11,P} to the next-hop router R11. After receiving the packet, router R11 looks up label L9-11 in its ILM table (omitted for clarity) and replaces label L9-11 with label L9-12 based on the ILM entry and sends the packet {L9-12,P} to the next-hop router R12. After receiving the packet, router R12 looks up the top-level label L9-12 in its ILM table (omitted for clarity) and based on the ILM entry, replaces label L9-12 with label L9-7 and sends the packet {L9-7,P} to the next-hop router R7. After receiving the packet, router R7 looks up the top-level label L9-12 in its ILM table ( Figure 3C-1 ) and replaces label L9-7 with label L9-8 based on the ILM entry and sends the packet {L9-8, P} to the next hop router R8. After receiving the packet, router R8 looks up the top-level label L9-8 in its ILM table (omitted for clarity) and replaces label L9-8 with label L9-9 based on the ILM entry and sends the packet {L9-9, P} to the next hop router R9. After receiving the packet, router R9 replaces label L9-8 with label L9-9 based on the ILM entry and sends the packet {L9-9, P} to the next hop router R9. Figure 3D-1 ), and since the NHLFE in the ILM entry is programmed as local, label L9-9 is popped off the packet and packet P is further processed based on its underlying headers. In the same way, each router will have a prefix FEC LSP to every other router across the area.

[0054] It should be noted that the above-described process may be followed by an SR for establishing an inter-area LSP. Figure 1 In R7, OSPF in each router also assigns labels for each LSA, where each LSA becomes a prefix FEC. Therefore, the label mapping is flooded together with the LSA. In order to establish inter-area LSPs, OSPF in the ABR can leak the label mapping of routes learned from one area to other adjacent areas. For example, in R7, OSPF leaks the label mapping of each route learned from area 2 to area 0.

[0055] It is important to note that BGP can use a similar process to describe inter-AS LSPs. In this case, Area 0, Area 1, and Area 2 are considered ASs, and each router runs BGP. The ABR is considered an Autonomous System Boundary Router (ASBR). BGP then assigns labels to host addresses and subnets and advertises the label mappings to its neighboring BGP routers within the AS. To enable the establishment of inter-AS LSPs, BGP in the ASBR can leak the label mappings of routes learned from the AS to other neighboring ASs. For example, in R7, BGP leaks the label mappings of each route learned from Area 2 (AS2) to Area 0 (AS 0).

[0056] exist Figure 1 In , although the ABR summarizes IP routes across areas, the prefix FEC LSP runs flat across areas. In the case of SR, since label mappings are flooded along with LSAs, the ABR cannot summarize IP routes. As a result, each router needs to maintain control plane and data plane state for the LSPs to every router in the external routing domain. Figure 1 In the example of , each router maintains the state of 254 intra-area LSPs and 508 inter-area LSPs. The state of intra-area LSPs is inevitable, but various example embodiments can be applied to support the scalability of inter-area LSPs. Due to the cross-area route aggregation, Figure 1The maximum number of inter-area routes in any router in is at most 2. Here, in order to clearly further understand the scalability of LSPs, it is assumed that the OSPF network includes 51 areas and each area includes 254 routers. Each router needs to maintain the state of 254x50=12,700 inter-area LSPs. In general, if there are M routing domains and each domain has an average of N routers, the number of inter-area LSPs in the router is MxN. In a given router, the state of the LSP in the router consumes (multiple) labels from the router's local label space, consumes the router's FTN and ILM table entries, increases the signaling overhead and memory in the control plane protocol, and so on. The linear growth of inter-area LSPs with the number of routers across the area will also affect the convergence time of the LSP when changes occur in the relevant routing paths. It should be noted that the mechanism used to help check the linear growth of inter-area LSPs is to make the MPLS control protocol (e.g., LDP or lie) aware of the route summary in the ABR. When the MPLS control protocol discovers that a summary route is initiated by a routing protocol in a router toward an area, it does not flood the label mappings of the prefix FEC that matches the summary route to the area; instead, the MPLS control protocol initiates the prefix FEC that encodes the summary route and floods its label mappings to neighbors in the area. Note that the prefix FEC that encodes the summary route is called the aggregate prefix FEC (unless otherwise specified in this article). This is Figure 4 Described in Figure 4 Inherited Figure 1 topology, but it demonstrates inter-area aggregate LSPs using aggregate prefix FEC.

[0057] Figure 4 An example embodiment of a communication system configured to support scalability of LSPs is depicted.

[0058] Figure 4 The communication system 400 is similar to Figure 1 The communication system 100, except Figure 4 The communication system 400 employs an inter-area aggregate LSP using an aggregate prefix FEC.

[0059] exist Figure 4In this example, router R7 does not distribute the label mapping of the prefix FEC learned from area 2 to area 0; instead, router R7 will initiate the aggregate prefix FEC 10.10.2.0 / 24. Following this approach, each router will maintain the state of the prefix FECs of each router in its area and aggregate the prefix FECs of all external areas. Here, assume that LAy-x represents the label assigned by router Rx for the aggregate prefix FEC of area y (for example, LA2-7 is the label assigned by R7 for the aggregate prefix FEC 10.10.2.0 / 24).

[0060] exist Figure 4 In the embodiment, the router maintains ILM and FTN tables, and the ILM and FTN tables maintain the status of the prefix FEC LSP and the aggregate prefix FECLSP. Figures 5A-5D respectively depict the ILM and FTN tables at routers R1, R6, R7, and R9. The ILM and FTN tables of Figures 5A-5D are updated versions of the ILM and FTN tables of Figures 3A-3D, respectively. More specifically, Figure 5A-1 and Figure 5A-2 Depicts the ILM and FTN tables at router R1, respectively. Figure 5B-1 and Figure 5B-2 The ILM and FTN tables at router R6 are depicted respectively. Figure 5C-1 and Figure 5C-2 depicts the ILM and FTN tables at router R7, and Figure 5D-1 and Figure 5D-2 The ILM and FTN tables at router R9 are depicted respectively. It should be understood that although FIG. 5A-FIG. 5D only illustrates the ILM and FTN tables at router R9, FIG. Figure 4 The IP routing table in the router is similar to the LSP state of the router (e.g., routers R1-R14) shown in FIG. 1 , but the state of other LSPs to other routers is also programmed. Figure 2A-2D Here, in order to clearly further understand the scalability of LSP, assume that the OSPF network includes 51 areas and each area includes 254 routers. If aggregate prefix FEC is not used, each router needs to maintain the state of 254x50=12,700 inter-area LSPs. In general, if there are M routing domains and each domain has an average of N routers, the number of inter-area LSPs in the router is MxN. The use of aggregate prefix FEC makes it possible to reduce the number of inter-area LSPs in the router by a factor of N, which can be very significant.

[0061] exist Figure 4In the example, router R1 can send IP packet P on LSP to router R9. R1 looks up the "best matching LSP" for destination 10.10.2.9 in its FTN table and finds the LSP for aggregate prefix FEC 10.10.2.0 / 24 ( Figure 5A-2 ). R1 ​​pushes the label LA2-2 of the aggregate LSP to the next hop router R2. The resulting MPLS packet {LA2-2,P} is sent to router R2. The packet traverses the LSP along the path R1->R2->R6->R11->R12->R7. When router R7 receives the packet on the LSP, router R7 pops the label of the LSP because it is the egress router of the LSP. Since there are no more labels in the packet, router R7 expects packet P to be an IP packet. Router R7 looks up the destination address of the IP packet (10.10.2.9) in the FTN table to find the "best matching LSP" to the destination address. Router R7 finds the exact LSP for prefix FEC10.10.2.9 / 32. Packet P is then forwarded along the LSP until it reaches router R9. Therefore, router R7 is a decomposition router that pushes the packet on the appropriate sub-LSP. It is important to note that an end-to-end path can be a chain of any number of LSPs, where each subsequent LSP is a "sub-LSP" of the previous LSP. Each subsequent LSP is a subset aggregation of the previous aggregate LSP. The last LSP in the chain is the LSP to the host IP address of the destination router.

[0062] Various example embodiments for supporting scalability of LSPs can be configured to support the delivery of packets over aggregated LSPs in various contexts, which can be further understood by first considering various aspects of network expansion using aggregated LSPs. In general, an LSP is a general construct for sending any type of packet to a destination contained in its FEC.

[0063] Various example embodiments for supporting scalability of LSPs may be configured to support transport of packets over aggregated LSPs in various contexts, including contexts where the LSP transports labeled packets over an MPLS hierarchy. It should be appreciated that one of the most common uses of LSPs is transporting labeled packets over an LSP, i.e., transporting packets over an MPLS hierarchy. An example of labeled packets over an LSP is when multiple LSPs are overlaid on top of each other, such as where the indirect next hop of a BGP LSP is reachable via an LDP LSP, and where the next hops of the LDP LSPs are directly connected. Figure 1In Figure 1, assume that router R1 and router R9 are two indirectly connected next hops of a BGP LSP (so R1 and R9 are BGP peers), and router R9 is reachable through the inter-area aggregate LDP LSP 10.10.2.0 / 24 to router R7, and then through the intra-area LDP LSP 10.10.2.9 / 32 to router R9. When router R1 sends a packet on the BGP LSP, it first pushes the label for the BGP LSP to the next hop router R9, and then pushes the label of the aggregate LDP LSP 10.10.2.0 / 24 to the direct next hop router R2. As a result, the packet {LA2-2, BGP LSPlabel, P} is sent to router R2. The packet is forwarded along the aggregate LDP LSP to router R7, which pops the label. Then, the next label is the label of the BGP LSP, which makes sense to router R9 but not to router R7. Therefore, the packet is either forwarded by router R7 in the wrong context (if the BGP label matches a label assigned locally in R7 for another context), or the packet is dropped. Essentially, the egress router of the aggregate LSP cannot push the packet onto the appropriate child LSP because the packet does not carry any indication of the child LSP. Based on support for a flexible range of relationships between an aggregate LSP and the child LSPs of the aggregate LSP, various example embodiments presented herein can be configured to overcome at least some of such limitations without having to leak label mappings representing prefix FECs of host addresses of routers across all routing domains, as discussed further below.

[0064] Various example embodiments for supporting scalability of LSPs can be configured to support transport of packets over aggregated LSPs in various contexts, including contexts where LSPs transport labeled packets over VPNs. VPNs can be of any type, such as IP-VPN, VPLS, pseudowire (PW), Ethernet VPN, etc. IP-VPNs provide remote connectivity between two VPN sites over a public network. Figure 1In FIG. 1 , VPN sites 121-1 and 121-2 are two remote sites of a VPN (i.e., VPN 120) connected through a public network. VPN site 121-1 is directly connected to provider edge (PE) router R1, and VPN site 121-2 is directly connected to PE router R9. In order to establish connectivity for a VPN, a PE router allocates an MPLS label from its local label space and advertises the label to PE routers of remote sites connected to the VPN according to a VPN identifier (VPN-ID). The VPN-ID is a FEC that uniquely identifies a VPN among the PE routers participating in the VPN. The MPLS label allocated to a VPN is denoted as the VPN-Label of the VPN. The ingress PE router that sends a packet for a VPN to an egress PE router will encapsulate the packet with the VPN label advertised by the egress PE router, and upon receipt of the packet, the egress PE router will uniquely associate the packet with its VPN based on the received VPN label. Typically, VPN labels are exchanged between PE routers by BGP, so in Figure 1 In the example, router R1 and router R9 will be BGP peers for exchanging VPN labels. For example, it is assumed here that the VPN labels advertised by router R1 and router R9 for VPN 120 are VL-1 and VL-9, respectively. Router R1 programs VL-1 in its ILM table, which maps to local VPN site 121-1 of VPN 120 ( Figure 5A-1 ). Router R9 programs VL-9 in its ILM table, which maps to local VPN site 121-2 of VPN 120 ( Figure 5D-1). Since the PE routers are not directly connected, the packet with the VPN label is sent to the remote PE router via the MPLS LSP that terminates at the remote PE router. Router R1, upon receiving packet P from local VPN site 121-1 to be sent to remote VPN site 121-2, pushes VPN label VL-9 assigned by router R9 for VPN 120, pushes label LA2-2 of aggregate LSP 10.10.2.0 / 24 to the direct next-hop router R2, and sends the resulting MPLS packet {LA2-2, VL-9, P} to router R2. The packet is forwarded along the aggregate LDP LSP until router R7, which pops the aggregate LSP label. Then, the next label is the VPN label, which makes sense to router R9 but not to router R7. Therefore, the packet is either forwarded by router R7 in the wrong context (if the VPN label matches a label assigned locally in router R7 for another context), or the packet is dropped. Basically, the egress router on the aggregate LSP cannot push the packet onto the appropriate sub-LSP because the packet does not carry any indication of the sub-LSP. Based on support for a flexible range of relationships between an aggregate LSP and its sub-LSPs, various example embodiments presented herein can be configured to overcome at least some of these limitations without having to leak label mappings for prefix FECs representing host addresses of routers across all routing domains, as discussed further below.

[0065] Various example embodiments for supporting scalability of LSPs may be configured to support scalability of LSPs based on the use of aggregated LSPs. An IETF submission entitled Network Extensions with Aggregated LSPs describes a solution for establishing an aggregated inter-area prefix FEC LSP so that the egress router of the aggregated LSP can determine the appropriate sub-LSP for the packet to arrive at. By reference Figure 4 This solution can be further understood.

[0066] exist Figure 4In, based on the use of the submission titled Network Extension with Aggregate LSP, a communication system can be configured as follows. LDP can be used as the MPLS control plane for establishing an inter-area aggregate LSP. The egress router of the aggregate LSP assigns a label to each sub-LSP within the aggregate LSP. Each sub-LSP is a host address, such as 10.10.2.9 / 32. The sub-LSP is not a subset prefix within the aggregate prefix FEC 10.10.2.0 / 24, such as 10.10.2.32 / 28. However, the label of the sub-LSP is not allocated from the traditional MPLS label space; instead, the value of the label is derived from the host address of the sub-LSP by an algorithm, as follows. The network mask of the FEC of the aggregate LSP is inverted and applied to mask the high bits of the address. For example, for the sub-LSP 10.10.2.9 / 32 in the aggregate LSP 10.10.2.0 / 24, this operation clears the high-order 24 bits in 10.10.2.9, which results in 0.0.0.9. The remaining bits are treated as an integer and 16 is added to it. Therefore, in the case of the sub-LSP 10.10.2.9 / 32, the value becomes 25 (=9+16). This value represented as a 20-bit integer becomes the label value. The value 16 is added in the algorithm to bypass the reserved label range (label 0 to label 15). In other words, the label value is the offset of the host address within the aggregate prefix FEC plus 16. Applying this concept, the sub-LSPs 10.10.2.1-10.10.10.2.254 are assigned labels 17-270 respectively. The labels are programmed in the sub-LSP ILM table, which is specific to the context of the aggregate prefix FEC LSP, because the algorithmically derived labels are unique in the context of the aggregate prefix FEC LSP. Therefore, ABR R7 will have a sub-LSP ILM table specific to the aggregate prefix FECLSP 10.10.2.0 / 24. Labels 17-270 are programmed into the sub-LSP ILM table with the next-hop label forwarding information of the corresponding sub-LSP. The algorithmically derived labels of the sub-LSP are not advertised by the egress router of the aggregate LSP; instead, the label mapping for the aggregate prefix FEC is advertised. This means that if the ingress router needs to send a packet on the sub-LSP over the aggregate LSP, the ingress router pushes the algorithmically derived label of the sub-LSP before pushing the aggregate LSP label. It is important to note that the aggregate prefix FEC in the context of LDP label advertisement is not a regular prefix FEC in LDP, but a new type of FEC introduced by the IETF submission entitled Network Extensions with Aggregate LSPs. The encoding is the same as for the regular prefix FEC, but the new aggregate prefix FEC indicates to the receiver of the label mapping that any packet sent on its label must carry the sub-LSP label derived by the algorithm. Figure 4In the , each ABR allocates labels for each aggregate prefix FEC sub-LSP it originates and programs these labels into the ILM table specific to the aggregate prefix FEC LSP. Fig. 6A and Figure 6B An updated version of the ILM table for ABRR6 is depicted (from Figure 5B-1 An updated version of the ILM table for ABR R7 (from Figure 5C-1 ), including LSPILM tables for the aggregated prefix FEC initiated by ABR R6 and ABR R7, respectively. More specifically, Fig. 6A ABR R6 (from Figure 5B-1 ), which now includes a sub-LSP ILM table for the aggregate prefix FEC originated by router R6, and Figure 6B It is ABR R7 (from Figure 5C-1 ) which now includes a sub-LSP ILM table for the aggregate prefix FEC initiated by R7. Note that the rest of the forwarding table is the same as in FIGS. 5A-5D. Note also that in the sub-LSP ILM table, only the Figure 4 The highlighted router in Figure 1 has entries programmed for all child LSPs within the aggregate prefix FEC LSP.

[0067] exist Figure 4In the present disclosure, based on the use of the submission entitled Network Extension with Aggregate LSP, the communication system can be configured to support the routing of packets as follows. For example, consider an example where router R1 sends packet P in VPN 100 to router R9 (10.10.2.9) via an aggregate LSP. Router R1 first pushes the VPN label VL-9 assigned by R9 for VPN 100. Router R1 then looks up the "best matching LSP" for destination 10.10.2.9 in its FTN table and finds the aggregate LSP / 24 for prefix FEC10.10.2.0. Therefore, router R1 pushes the algorithmically derived sub-LSP label 25 before pushing the aggregate LSP label LA-2 onto the packet. The resulting MPLS packet {LA-2, 25, VL-9, P} is sent to the next hop of the aggregate LSP, i.e., router R2. The packet traverses the aggregate LSP along the path R1->R2->R6->R11->R12->R7, where each router in the path exchanges the aggregate LSP label. When the packet is received by router R7 on the aggregate LSP, router R7 pops the label of the aggregate LSP because it is the egress router of the LSP. Then, in the remaining packet {25, VL-9, P}, router R7 expects the top-most label to be the sub-LSP label. Therefore, router R7 looks up the label in the sub-LSP ILM table attached to the aggregate LSP 10.10.2.0 / 24. Router R7, based on the sub-LSP ILM entry, replaces label 25 with label L9-8, and the resulting packet {L9-8, VL-9, P} is sent to the next hop of the LSP, which is router R8. The packet is forwarded along the LSP until it reaches router R9. After router R9 receives the packet, it pops the LSP label because it is the egress router of the LSP. In the resulting packet {VL-9, P}, router R9 finds the next label VL-9, which maps to VPN-100. Therefore, router R9 pops the label and forwards the packet to VPN site 100-2.

[0068] Although various aspects of the submission entitled Network Extension with Aggregated LSPs may support various features, it should be understood that various aspects of the submission entitled Network Extension with Aggregated LSPs may have various limitations or potential limitations, as further discussed below, which limitations can be addressed by various example embodiments presented herein. For example, one aspect that can be addressed by various example embodiments presented herein may be that the submission entitled Network Extension with Aggregated LSPs is only applicable to IPv4-based prefix FECs, and further applicability in IPv4 is also limited (e.g., limitations imposed by a 20-bit sub-LSP label value that limits the maximum offset of a host address in an aggregated prefix FEC to 2^20-16, which means that this concept does not work when the prefix length of the aggregated FEC prefix is ​​less than 12 bits (=32-20), and for a 128-bit IPv6 prefix FEC, the inability to support prefix lengths less than 108 bits (=128-20) makes the concept inapplicable). For example, one aspect that can be addressed by the various example embodiments presented herein may be that a submission entitled Network Extension with Aggregated LSPs may not be applicable to other FEC types, where an FEC may represent an aggregation of a set of sub-LSPs. For example, one aspect that can be addressed by the various example embodiments presented herein may be that a submission entitled Network Extension with Aggregated LSPs may require that the FEC of a sub-LSP must be a host IP address rather than a subnet (e.g., sub-LSP 10.10.2.32 / 28 within aggregated LSP 10.10.2.0 / 24). For example, one aspect that can be addressed by the various example embodiments presented herein may be that a submission entitled Network Extension with Aggregated LSPs may only be applicable to prefix FECs notified by LDP signals. For example, one aspect that can be addressed by the various example embodiments presented herein may be that a submission entitled Network Extension with Aggregated LSPs may require modifications to the LDP control plane (e.g., a new FEC type as an aggregated prefix FEC). It should be understood that various other limitations or potential limitations of a submission entitled Network Extension with Aggregated LSPs may be addressed by the various example embodiments presented herein.

[0069] Various example embodiments for supporting scalability of LSPs are configured to support various example embodiments for building an aggregate LSP for transporting any type of packets in the context of its child LSPs. It is noted that the various example embodiments may be agnostic of the FEC type of the aggregate LSP, as well as the control plane used to establish the aggregate LSP. It is noted that the various example embodiments may be general enough to apply to any "aggregatable" FEC type in any aggregation scenario, such as where the egress router of the aggregate LSP does not have to be a border router network in a multi-domain routing.

[0070] Various example embodiments may be configured to support the scalability of LSPs based on various techniques that may be applied in the MPLS data plane. For example, in at least some example embodiments, the FEC identifying the sub-LSP that the packet is to pass through is encoded directly into the packet below the aggregate LSP label. Here, "below" means the farthest from the outermost header of the packet. In order to indicate that the FEC of the sub-LSP is encoded below the aggregate LSP label, a sub-LSP label indicator (SLI) may be inserted directly below the aggregate LSP label and above the sub-LSP label. Various example embodiments may be configured to utilize such a mechanism at the ingress router when the ingress router sends a packet via a sub-LSP and at the egress router when the egress router receives a packet via a sub-LSP.

[0071] Various example embodiments may be configured to support scalability of LSPs based on various techniques that may be applied in the MPLS data plane to support the sending of packets through sub-LSPs. When an ingress router sends a packet P on a sub-LSP through an aggregate LSP, the ingress router first pushes the encoding of the FEC of the sub-LSP that the packet is to traverse, and then pushes the label and SLI of the aggregate LSP. Thus, the MPLS packet {aggregate LSP label, SLI, sub-LSP FEC, P} is forwarded to the next hop of the aggregate LSP. It should be noted that the FEC type of the sub-LSP does not have to be the same as the FEC type associated with the aggregate LSP, as long as the egress router of the aggregate LSP has a forwarding state for the sub-LSP (e.g., as long as the egress router of the aggregate LSP has an ingress state that exactly matches the LSP or has an ingress state of another aggregate LSP that is a "best match" to the sub-LSP). This flexibility broadens the range of relationships between an aggregate LSP and its sub-LSPs. For example, the FEC of a sub-LSP can be an IPv4 prefix FEC, while the FEC of an aggregate LSP can be an IPv6 FEC, or vice versa, as long as some rule can bind the sub-LSP to the aggregate LSP. It should be noted that similar flexibility can also be achieved through various types of PWs, such as SS-PW, MS-PW, etc., and various combinations thereof.

[0072] Various example embodiments may be configured to support scalability of LSPs based on various techniques that may be applied in the MPLS data plane to support sending packets through sub-LSPs. When an egress router of an aggregate LSP receives a packet, the egress router of the aggregate LSP pushes the aggregate LSP label. The egress router of the aggregate LSP, upon discovering that the next label is the SLI, pops the SLI and then parses the FEC of the sub-LSP encoded at the top of the packet. The egress router of the aggregate LSP then looks up the forwarding state for the sub-LSP, either an exact matching LSP or another aggregate LSP that best matches the sub-LSP FEC. If the packet is pushed onto an exact matching LSP, the FEC of the sub-LSP encoded at the top of the packet is pushed out before the label of the LSP is pushed. If the packet is pushed onto another aggregate LSP, the SLI is pushed onto the packet before the label of the aggregate LSP is pushed, resulting in an MPLS packet {label of the new aggregate LSP, SLI, sub-LSP FEC, P}. Then, the MPLS packet {label of the new aggregate LSP, SLI, sub-LSP FEC, P} is forwarded along the new LSP. It should be noted that if the FEC of the sub-LSP is subsumed by the FEC of the aggregate LSP, then the sub-LSP can be encoded in the packet by its offset and range within the FEC of the aggregate LSP, which provides a compact encoding of the sub-LSP in the packet.

[0073] Various example embodiments for supporting the scalability of LSPs can be configured to support the visibility of the ingress router of the sub-LSP set active in the aggregated LSP at the egress router of the sub-LSP. Typically, due to the aggregation of FECs by the egress router of the aggregated LSP, the ingress router can no longer see whether there is indeed a sub-LSP at the egress router of the aggregated LSP to which the ingress router sends packets. In this case, the ingress router can use various OAM or continuity check messages on the sub-LSP to verify the connectivity of the sub-LSP with the egress router of the sub-LSP, and then use the sub-LSP for sending packets. In some aggregatable FEC types or according to the requirements of the application sending packets on its sub-LSP, there may be a situation where the ingress router may need or expect to have a predetermined state of the sub-LSP at the egress router to aggregate the LSP. As noted above, various example embodiments for supporting the scalability of LSPs can be configured to support the visibility of the ingress router of the sub-LSP set active in the aggregated LSP at the egress router of the sub-LSP. Various example embodiments are configured to enable any MPLS control protocol to support the precise sub-LSP set active in the aggregated LSP at the egress router indicated by the egress router of the aggregated LSP. For example, when a router initiates label mapping for an aggregate FEC, the initiating router also includes a bit string in the label mapping, wherein the bit position in the bit string indicates the index (or offset) of the active sub-LSP within the aggregate LSP. It should be appreciated that various schemes may be used to announce the bit string encoding the set of active sub-LSPs of the aggregate LSP. It should be appreciated that different schemes may be applied to announce the bit string encoding the set of active sub-LSPs of the aggregate LSP based on the number of sub-LSPs within the aggregate LSP.

[0074] In at least some example embodiments, when the number of sub-LSPs within an aggregate LSP is relatively large, then the following scheme may be applied to effectively advertise a bit string including an indication of the active sub-LSPs of the aggregate LSP. The indexes of the sub-LSPs are divided into 256 blocks (although it should be appreciated that other block sizes may be used). Each block is assigned a unique identifier in ascending order across the entire index range. For example, sub-LSPs with indexes ranging from 1-256 are in block 1, sub-LSPs with indexes ranging from 257-512 are in block 2, and so on. The label mapping message for the aggregate FEC includes one or more blocks, where each block is encoded as {block identifier, bit string}. For example, bit position 30 in block identifier 10 means the FEC of the sub-LSP at index ((10x 256)+30)=2590 in the aggregate LSP. If the label mapping message cannot accommodate all blocks for the entire sub-LSP range, then these blocks may be sent in multiple label mapping messages, each of which carries the same aggregate FEC and label, but carries disjoint sets of blocks. During the life cycle of an aggregate LSP, if the set of active sub-LSPs changes, then the egress router through the aggregate LSP reflects the change by resending the label map (e.g., the complete label map including the changed block or the label map of only the changed block). Based on the bit string, the ingress router can determine whether a given sub-LSP is active within the aggregate LSP.

[0075] It should be understood that the above-mentioned scheme for announcing a bit string including an indication of an active sub-LSP of an aggregate LSP is merely one type of scheme that can be used, and thus various other schemes can be applied to announcing a bit string including an indication of an active sub-LSP of an aggregate LSP, and in many instances effectively announcing a bit string including an indication of an active sub-LSP of an aggregate LSP.

[0076] It should be appreciated that in at least some example embodiments, MPLS control protocols may be enhanced to include bit string blocks in their label mapping messages for supporting the advertisement of bit strings including indications of active sub-LSPs of an aggregated LSP.

[0077] Various example embodiments may be configured to support scalability of LSPs while overcoming various limitations or potential limitations typically associated with the use of aggregated LSPs.

[0078] For example, various example embodiments for supporting the scalability of LSPs may be configured to enable any prefix FEC value to be encoded as a sub-LSP (e.g., since the FEC of the sub-LSP is encoded into the packet, the identification of the sub-LSP is explicit, and any IPv4 or IPv6 prefix FEC value may be encoded as a sub-LSP). In other words, the concept is not limited to being applicable only to prefix FECs based on IPv4, but may also be used for prefix FECs based on IPv6. For example, the applicability in IPv4 is not limited to 20-bit sub-LSP label values, such as the submission entitled Network Extensions with Aggregate LSPs, which limits the maximum offset of the host address in the aggregate prefix FEC to 2^20-16, and therefore, limits the prefix length of the aggregate FEC prefix to greater than or equal to 12 bits (=32-20). For example, since prefix lengths less than 108 bits (=128-20) cannot be supported (e.g., in the case of using 128-bit IPv6 prefix FEC), the applicability of IPv6 is not limited.

[0079] For example, various example embodiments for supporting scalability of LSPs can be configured to enable the use of any FEC type (e.g., since the FEC of a sub-LSP is encoded into the packet, it is applicable to any FEC type) and can also provide flexibility: the FEC of a sub-LSP can be different from the FEC of an aggregated LSP. In other words, various FEC types can be used to represent the aggregation or association of a set of sub-LSPs.

[0080] For example, various example embodiments for supporting scalability of LSPs can be configured so that the FEC of a sub-LSP can be a host address or a subnet (e.g., a sub-LSP 10.10.2.32 / 28 within an aggregated LSP 10.10.2.0 / 24). It should be appreciated that this can be achieved by encoding the prefix FEC of the sub-LSP into the packet. In other words, the FEC of the sub-LSP is not limited to being a host IP address, and alternatively, can be a subnet.

[0081] For example, various example embodiments for supporting scalability of LSPs can be configured to support scalability of LSPs while remaining agnostic of the control plane type. In other words, various example embodiments for supporting scalability of LSPs are not limited to prefix FEC sent by LDP signals and can be supported using various other control plane types.

[0082] For example, various example embodiments for supporting scalability of LSPs may be configured to support scalability of LSPs while avoiding the need for mandatory modifications to the LDP control plane (e.g., avoiding the need for a new FEC type as an aggregate prefix FEC), although it should be understood that such modifications may be used under various conditions (e.g., when requested or required by an application, as needed or desired, etc., and various combinations thereof).

[0083] For example, various example embodiments for supporting scalability of LSPs may be configured to support various general solutions for aggregating MPLS LSPs in a manner configured to support scalability of inter-domain prefix FEC LSPs, agnostic of the FEC type and the MPLS control protocol, and thus, which reduces or eliminates limitations on the size of the multi-domain network (e.g., in terms of the number of routers).

[0084] Various example embodiments may be configured to support scalability of LSPs while overcoming various other limitations or potential limitations typically associated with the use of aggregated LSPs.

[0085] By reference Figure 4

[0046] It may be further appreciated that various example embodiments may be used to support scalability of LSPs.

[0086] exist Figure 4 In FIG. 5A , the ABRs advertise aggregate prefix FECs to facilitate inter-area LSPs. For example, ABR R7 aggregates prefix FECs from area 2 and advertises the aggregate prefix FEC 10.10.2.0 / 24 to area 0. The aggregate prefix FEC 10.10.2.0 / 24 is in turn advertised by ABR R6 to area 1. The forwarding state in the routers is reused (e.g., as shown in FIG. 5A-5D ) so that the forwarding state in the routers does not need to be modified (e.g., as shown in FIG. 5A ) to support scalability of LSPs. Figure 6A-6B ).

[0087] exist Figure 4 In FIG. 4 , consider an example in which router R1 intends to send packet P to router R9. It should be noted that packet P may be a packet with a VPN label assigned by router R9 for VPN-100.

[0088] In this example, router R1 has a table in its FTN table ( Figure 5A-2) and finds the aggregate LSP 10.10.2.0 / 24 as the best matching LSP. Therefore, router R1 encodes the FEC of the expected LSP as a sub-LSP (i.e., 10.10.2.9 / 32) and pushes the FEC of the expected LSP onto the packet. Router R1 pushes the SLI onto the packet to indicate the existence of the FEC of the sub-LSP. Then, router R1 pushes the label LA2-2 to the next-hop router R2 onto the packet based on the FTN entry of the aggregate LSP 10.10.2.0 / 24. As a result, the MPLS packet {LA2-2, SLI, sub-LSP FEC=10.10.2.9 / 32, P} is sent to router R2.

[0089] In this example, after receiving the packet {LA2-2, SLI, sub-LSP FEC=10.10.2.9 / 32, P}, router R2 looks up label LA2-2 (omitted for clarity) in its ILM table, replaces label LA2-2 with label LA2-6, and sends the packet {LA2-6, SLI, sub-LSP FEC=10.10.2.9 / 32, P} to router R6. After receiving the packet {LA2-6, SLI, sub-LSP FEC=10.10.2.9 / 32, P}, router R6 looks up label LA2-2 (omitted for clarity) in its ILM table, replaces label LA2-2 with label LA2-6, and sends the packet {LA2-6, SLI, sub-LSP FEC=10.10.2.9 / 32, P} to router R6. Figure 5B-1 ), replaces label LA2-6 with label LA2-11, and sends the packet {LA2-11, SLI, sub-LSP FEC=10.10.2.9 / 32, P} to the next-hop router R11. After receiving the packet {LA2-11, SLI, sub-LSP FEC=10.10.2.9 / 32, P}, router R11 looks up label LA2-11 in its ILM table (omitted for clarity), replaces label LA2-11 with label LA2-12, and sends the packet {LA2-12, SLI, sub-LSP FEC=10.10.2.9 / 32, P} to router R12. After receiving the packet {LA2-12, SLI, sub-LSP FEC=10.10.2.9 / 32, P}, router R12 looks up label LA2-12 in its ILM table (omitted for clarity), replaces label LA2-12 with label LA2-7, and sends the packet {LA2-7, SLI, sub-LSP FEC=10.10.2.9 / 32, P} to router R7.

[0090] In this example, after receiving the packet {LA2-7, SLI, sub-LSP FEC = 10.10.2.9 / 32, P}, router R7 enters the following information in its ILM table ( Figure 5C-1) which is programmed to indicate that this is the egress router for that label. Therefore, router R7 pops label LA2-7 and finds the SLI below. Therefore, R7 pops the SLI and then resolves the child LSPFEC 10.10.2.9 / 32. Router R7 looks up its FTN table ( Figure 5C-2 ) and finds an exact matching LSP. Therefore, router R7 pops the sub-LSP FEC from the packet and pushes label L9-8 onto the packet based on the FTN entry of the LSP. The resulting packet {L9-8, P} is sent to the next hop router R8.

[0091] In this example, after receiving packet {L9-8, P}, router R8 looks up label L9-8 in its ILM table (omitted for clarity), replaces label L9-8 with label L9-9, and sends packet {L9-9, P} to router R9. After receiving packet {L9-9, P}, router R9 looks up label L9-8 in its ILM table (omitted for clarity), replaces label L9-8 with label L9-9, and sends packet {L9-9, P} to router R9. Figure 5D-1 ) looks up label L9-9 in the ILM entry. Since the NHLFE in the ILM entry is programmed as local, router R9 pops label L9-9 from the packet and further processes packet P based on its underlying header (e.g., VPN label, etc.).

[0092] Note that if the FEC of the sub-LSP is subsumed by the FEC of the aggregate LSP, then the FEC of the sub-LSP can be effectively encoded into the packet as the offset and range of the sub-LSP FEC in the aggregate LSP. For example, sub-LSP 10.10.2.9 / 32 is located at offset 9 in aggregate LSP 10.10.2.0 / 24, and its range is 1 (because there is only one host address). This approach provides a compact encoding of the FEC of the sub-LSP in the packet. According to this approach, Figure 4 In the example, router R1 will send an MPLS packet as {LA2-2, SLI, sub-LSP FEC = {offset = 9, range = 1}, P}. The egress router R7 of the aggregate LSP receives the packet as {LA2-7, SLI, sub-LSP FEC = {offset = 9, range = 1}, P} and pops label LA2-7 because this is the egress router for the label. After popping the SLI, the egress router R7 finds the sub-LSP FEC associated with label LA2-7 as {offset = 9, range = 1}, which is 10.10.2.0 / 24. The egress router R7 calculates the sub-LSP FEC as (10.10.2.0+9) / 32 = 10.10.2.9 / 32. The prefix length is / 32 because the range is 1.

[0093] It is important to note that in some applications, the ingress router may want to ensure that a sub-LSP exists at the egress router of the aggregate LSP before sending packets on the sub-LSP over the aggregate LSP. First, the ingress router may want to ensure that a sub-LSP exists at the egress router of the aggregate LSP because the ingress router may not have direct visibility into whether the sub-LSP actually exists. Second, the ingress router may want to ensure that a sub-LSP exists at the egress router of the aggregate LSP because the egress router of the aggregate LSP may have "holes" within the aggregate LSP (e.g., meaning that one or more sub-LSPs may not be active). For example, in Figure 4 In the example of , router R7 can be configured to initiate the summary route 10.10.2.0 / 24 from area 2 to area 0, regardless of whether each host address (router) within the summary route is reachable. This is to avoid disruptions within area 2 causing instability in the summary route, thereby making a subset of routers unreachable. It should be appreciated that various mechanisms can be used to enable the ingress router to ensure that the child LSP exists at the egress router of the aggregate LSP.

[0094] In at least some example embodiments, when the FEC of a sub-LSP is not subsumed by the FEC of an aggregated LSP, various mechanisms can be used to enable the ingress router to ensure that the sub-LSP exists at the egress router of the sub-LSP of the aggregated LSP. For example, the ingress router can send an operation, administration, and maintenance (OAM) packet (such as an LSP Ping packet or other suitable OAM packet) on the sub-LSP through the aggregated LSP for testing end-to-end connectivity. Here, the OAM packet can be forwarded in the same manner as the previously described packet P (the packet P is replaced by the LSP Ping packet or other OAM packet), and the LSP tracking functionality can be used to track all routers traversed by the packet. Each router along the end-to-end path evaluates the LSP tracking packet and sends a response to the ingress router. For example, the ingress router can periodically send a bidirectional forwarding detection (BFD) packet on the sub-LSP through the aggregated LSP. Here, the BFD packet can be forwarded in the same manner as the previously described packet P (the P packet is replaced by the LSP Ping packet or other OAM packet).

[0095] In at least some example embodiments, when the FEC of a sub-LSP is subsumed by the FEC of an aggregate LSP, the ingress router of the aggregate LSP may ensure, based on the configuration of an MPLS control protocol (e.g., (LDP, BGP, OSPF, OSPFv3, IS-IS, etc.), that the sub-LSP of the aggregate LSP is present at the egress router of the aggregate LSP so that the egress router of the aggregate LSP can indicate the precise set of sub-LSPs that are active within the aggregate LSP. When the router initiates label mapping for the aggregate FEC, the router includes a bit string within the label mapping, wherein the bit position in the bit string indicates the offset of the active sub-LSP. Figure 4 In the example of , router R7 includes a bit string of size 256 bits in the label mapping for aggregate FEC 10.10.2.0 / 24 because it accounts for the possibility of all 254 sub-LSPs. If the range of the aggregate FEC is very large, such as 10.10.0.0 / 16, the maximum possible number of sub-LSPs is 255x254. In order to efficiently advertise such a large range of bit strings, the following scheme can be used. The range of the aggregate FEC is divided into 256 blocks. Each block is assigned a unique identifier in ascending order within the range. For example, sub-LSPs in the offset range 1-256 are in block 1, sub-LSPs in the offset range 257-512 are in block 2, and so on. The label mapping message for the aggregate FEC includes one or more blocks, where each block is encoded as {block identifier, bit string}. For example, bit position 30 in block identifier 10 means a sub-LSP at offset ((10x 256)+30)=2590 within the aggregate FEC range. If the Label Mapping message cannot accommodate all the blocks within the aggregate FEC range, then the blocks should be sent in multiple Label Mapping messages, each carrying the same aggregate FEC and labels, but with disjoint sets of blocks. During the life of an aggregate LSP, if the set of active child LSPs changes, the change is reflected throughout the network by the aggregation router resending the Label Mapping with the affected blocks. Based on the bit string, the ingress router knows whether a child LSP is active or not. For example, in Figure 4 , router R7 includes a block with a block identifier of 1 in the label mapping message for aggregate FEC 10.10.2.0 / 24. Note that, as noted above, various MPLS control protocols (LDP, BGP, OSPF, OSPFv3, IS-IS, etc.) may be configured to support including bit string blocks in their label mapping messages.

[0096] Various example embodiments for supporting scalability of LSPs may be configured to support scalability of LSPs using a single-segment PW.

[0097] Typically, a PW provides an emulation of a layer 1 or layer 2 connection over a public network. For example, two Ethernet links in two remote sites can be interconnected by an Ethernet PW over a public network. A PW is an MPLS overlay on top of an IP or MPLS transport network. Figure 7 and Fig. 8A and Figure 8B An example of a PW is presented, which is a SS-PW over an MPLS network with Ethernet as the Layer 2 service. Fig. 9 and Fig. 10A and Fig. 10B An example of a PW is presented which is an aggregated SS-PW over an MPLS network with Ethernet as a Layer 2 service.

[0098] about Figure 7 Various example embodiments are presented for supporting scalability of LSPs using SS-PWs.

[0099] Figure 7 An example embodiment of an SS-PW is depicted to illustrate the scalability of LSPs using the SS-PW.

[0100] In communication system 700, a PW provides P2P Layer 2 connectivity between host A and host B at the Ethernet / Layer 2 level, providing a mechanism for the hosts to see each other as if connected by a single Ethernet link - even though the hosts span a Layer 3 / MPLS packet-switched network. The PW consists of two single-hop LSPs (one in each direction) between PE-1 and PE-2. PE-1 and PE-2 are called provider edge (PE) routers, which are access points to the PW. Ethernet packets can be sent from PE-1 to PE-2 on the PW using label Lx, and vice versa using label Ly. Since PE-1 and PE-2 are not directly connected, PW packets can be "tunneled" between PE-1 and PE-2 via tunneling over MPLS LSPs (one in each direction), via IP-based tunneling methods (e.g., GRE / IP, VXLAN, MPLSoUDP, etc.), and so on. Figure 7In the example of , MPLS LSP is the tunneling method. For example, PW packets sent from PE-1 to PE-2 are tunneled through LSP-A, while PW packets sent from PE-2 to PE-1 are tunneled through LSP-B. Multiple PWs between two remote ends can be multiplexed through a single MPLS LSP (or other form of PSN tunnel) connecting the remote endpoints. PW labels are typically exchanged between PE routers through LDP or BGP running between PE routers. The LDP-based control plane for establishing and maintaining PWs is described in RFC 4447, and the BGP-based control plane for establishing and maintaining PWs is described in RFC 8214. In RFC 8214, each PW is identified by a PWid FEC, where PWid is a 32-bit identifier. The FEC also includes various parameters on the PW, such as MTU, etc.

[0101] exist Figure 7 In the example, consider the example where a PW is established by LDP and the PWid is 100. PE-1 and PE-2 run a target LDP session between them. PE-1 advertises the label mapping {FEC / Pwid=100,Ly} to PE2. PE-2 advertises the label mapping {FEC / Pwid=100,Lx} to PE1. Fig. 8A and Figure 8B Depicted are the ILM table and FTN table at PE-1 and PE-2, respectively, which include forwarding state for PWid 100, including various other PWs and LSP-A and LSP-B. Fig. 8A and Figure 8B Also depicted are PWid tables at PE-1 and PE-2, respectively, which include a mapping of PWids to forwarding actions for the local links of the PWids.

[0102] exist Figure 7, packets 701-707 illustrate the transmission of packets from host A to host B. Host A generates packet 701 to be sent to host B. Packet 701 is an Ethernet packet including a payload and an Ethernet header. Note that the payload of packet 701 can be a TCP / IP packet, ARP, etc. The PW is unaware of the payload type of the Ethernet header, so the payload type is shown as opaque. Host A sends packet 701 to Ethernet switch S1, which forwards packet 701 as packet 702 to PE-1. Packet 702 is the same as packet 701 (i.e., packet 701 is an Ethernet packet initiated by host A). PE-1 receives packet 702 and generates packet 703 to send to P1. PE-1 associates packet 702 with PWid 100 (e.g., the S1<->PE-1 link is mapped to PWid 100), and based on the FTN entry for PWid 100 at PE-1 (e.g., as Fig. 8A ), pushes the PW label Lx to PE-2. Based on the FTN entry from LSP-A to PE-2 (e.g., Fig. 8A ), PE-1 further pushes label L1 to transmit PW label Lx to PE-2. Label L1 is the label of LSP-A advertised by its next hop P1. PE-1 sends packet {L1, Lx, P} to P1 by adding a layer 2 header to P1 to form packet 703 and sending packet 703 to P1. P1 receives packet 703 and generates packet 704 to send to P2. P1 replaces the label of LSP-A from L1 to L2 and replaces the layer 2 header L2 HDR1 with the layer 2 header L2 HDR2. P1 sends packet 704 to P2. P2 receives packet 704 and generates packet 705 to send to PE-2. P2 replaces the label of LSP-A from L2 to L3 and replaces the layer 2 header L2 HDR2 with the layer 2 header L2HDR3. P2 sends packet 705 to PE-2. PE-2 receives packet 705 and generates packet 706 to send to Ethernet switch S2. After receiving the packet {L3, Lx, P} with label L3, PE-2 pops label L3 because this is the end of LSP-A (e.g., Figure 8B PE-2 looks up the next tag Lx in the ILM table (e.g., using Figure 8B1). PE-2 pops label Lx because label Lx indicates the end of PWid 100. At PE-2, PWid 100 is mapped to link PE-2<->S2, so PE-2 sends the packet to Ethernet switch S2 as packet 706 (which is equivalent to packets 702 and 701). Ethernet switch S2 receives packet 706 and sends packet 707 (which is equivalent to packet 706, and therefore equivalent to packets 702 and 701) to host B.

[0103] It should be noted that there may be a very large number of PWs between two PE routers such as PE-1 and PE-2, such as 128K PWs (see, for example, Fig. 8A and Figure 8B PE routers maintain control plane and data plane states for each PW. 128K PWs require 128K MPLS labels at each PE router. PE routers exchange 128K label mappings and other maintenance messages between them. It should be appreciated that in many cases, a large subset of PWs within the entire set of PWs may have the same characteristics, such as having the same PW type (e.g., Ethernet, ATM, Frame Relay, etc.), having the same MTU, sharing the same PSN tunnel in each direction, etc., as well as various combinations thereof. It should be noted that in such cases, the control plane and data plane overhead can be significantly minimized by using the various example embodiments presented herein.

[0104] In various example embodiments for supporting LSP scalability, PE routers no longer exchange label mappings for PWs; instead, PE routers establish a single aggregate PW that shares the characteristics of a subset of PWs (e.g., PW type, MTU, sharing the same PSN tunnel, etc., and various combinations thereof). The aggregate PW is established by a control protocol (LDP, BGP, etc.) based on a label mapping exchange using a PWid FEC. However, the label mapping also includes one or more bit string blocks, where the bit position in the bit string is an identifier of the PW (sub-LSP) transmitted over the aggregate PW. For example, bit position 100 in block 10 is a PW with a PWid of 2570 (=10x256+10). The PWid of the aggregate PW is unique among PE routers, but the PWid of the member PWs is unique only within the aggregate PW. If the label mapping message for the aggregate PW cannot accommodate all blocks, then the blocks can be sent in multiple label mapping messages, each of which carries the same aggregate PWid FEC and label, but carries a disjoint set of blocks. For example, assuming that 4K PWs are transmitted over an aggregate PW, then the 4K PWs can be indicated by a 16-bit string block. This approach reduces the control plane and data plane overhead by a factor of 4K. The approach also improves the PW setup time because instead of exchanging 4K label mappings between PE routers, a 16-bit string block can be included in one or two aggregate PW label mapping messages. If the operational state of a PW changes, then it is reflected by the PE routers by resending the label mapping for the aggregate PW, which includes only the bit string block containing the changed PW.

[0105] about Fig. 9 Various example embodiments are presented for supporting scalability of LSPs using aggregated single-segment PWs.

[0106] Fig. 9 An example embodiment of an aggregated SS-PW is depicted to illustrate the scalability of LSPs using the aggregated SS-PW.

[0107] In communication system 900, PW provides P2P Layer 2 connectivity between host A and host B at the Ethernet / Layer 2 level, thereby providing a mechanism for the hosts to see each other as if connected by a single Ethernet link - even though the hosts span a Layer 3 / MPLS packet-switched network. Figure 7 The communication system 700 has the same topology and PSN tunnel. Fig. 9In FIG. 10 , the aggregate PW provides P2P connectivity between PE-1 and PE-2 for transmitting packets for member PWs that share the same characteristics (such as PW type, MTU, PSN tunnel, etc.). The common characteristics are signaled during the establishment of the collective PW. Packets can be sent from PE-1 to PE-2 on the aggregate PW using label Lx, and vice versa using label Ly. Since PE-1 and PE-2 are not directly connected, aggregate PW packets can be "tunneled" between PE-1 and PE-2 via tunneling over MPLS LSPs (one in each direction), via IP-based tunneling methods (e.g., GRE / IP, VXLAN, MPLSoUDP, etc.), and so on. In the example of FIG. 10 , MPLS LSP is a tunnel communication method. For example, aggregate PW packets sent from PE-1 to PE-2 are tunneled via LSP-A, while PW packets sent from PE-2 to PE-1 are tunneled via LSP-B. Multiple aggregated PWs between two remote ends may be multiplexed through a single MPLS LSP (or other form of PSN tunnel) connecting the remote endpoints. Aggregate PW labels are typically exchanged between PE routers via LDP or BGP running between PE routers. An LDP-based control plane for establishing and maintaining aggregated PWs may be based on the use of bit string blocks in PW label mapping messages, and a BGP-based control plane for establishing and maintaining PWs may be based on the use of bit string blocks in PW label mapping messages.

[0108] exist Fig. 9 In , consider an example where an aggregate PW is established by LDP and the PWid is 100. PE-1 and PE-2 run a targeted LDP session between them. PE-1 advertises the label mapping {FEC / Pwid=100,Ly,bitstringblocks} to PE2. PE-2 advertises the label mapping {FEC / Pwid=100,Lx,bitstringblocks} to PE1. The bit positions set to 1 in the bit string blocks indicate the PWid of the member PWs overlaid on top of the aggregate PW. When establishing the aggregate PW, no member PWs may be provisioned. In that case, no bit string blocks will be exchanged initially, and then when the member PWs are provisioned at the PE routers, the label mapping for the aggregate PW will be resent, including the bit string blocks for the member PWs. Figure 7In the example above, for clarity, only one aggregate PW is provisioned for all 128K member PWs between PE-1 and PE-2. The advertisement of 128K PWs requires 500 bit string blocks. The maximum size of an LDP message is 4096B, and assuming that at least 4000B is available for bit string blocks, then the label mapping packet for the aggregate PW can accommodate 15 blocks. Therefore, in this case, 34 label mapping messages on the aggregate PW will be required to advertise the 128K member PWs (thus 1500 bit string blocks). Figure 7 Compared with the scenario with , the control plane messaging overhead is reduced by 99.97%). Fig. 10A and Fig. 10B Depicted are the ILM table and FTN table at PE-1 and PE-2, respectively, which include state only for the aggregated PW (thus freeing up the 128K-1 label in the PE router for other applications). Fig. 10A and Fig. 10B Also depicted are member PWid tables at PE-1 and PE-2, respectively, which include the forwarding state of the member PWs overlaid on top of the aggregate PWid 100 (note that there will be one member PWid table per aggregate PW).

[0109] exist Fig. 9 , packets 901-907 illustrate the transmission of packets from host A to host B. Host A generates packet 901 to be sent to host B. Packet 901 is an Ethernet packet including a payload and an Ethernet header. It should be noted that the payload of packet 901 can be a TCP / IP packet, ARP, etc. The PW does not know the payload type of the Ethernet header, so the payload type is shown as opaque. Host A sends packet 901 to Ethernet switch S1, which forwards packet 901 as packet 902 to PE-1. Packet 902 is the same as packet 901 (i.e., packet 901 is an Ethernet packet initiated by host A). PE-1 receives packet 902 and generates packet 903 to send to P1. PE-1 associates packet 902 with PWid 4, a member of aggregated PWid 100 (e.g., S1<->PE-1 link is mapped to PWid 4 in aggregated PWid 100). Therefore, PE-1 pushes PWid 4 onto the packet. PE-1 then pushes the SLI to indicate that the PWid FEC is encoded below it in the packet. Based on the FTN entry of the aggregated PWid 100 at PE-1 (e.g., Fig. 10A ), PE-1 pushes the PW label Lx to PE-2. Based on the FTN entry of LSP-A (e.g., Fig. 10A), PE-1 further pushes label L1 to transmit PW label Lx to PE-2. PE-1 sends packet {L1, Lx, SLI, PWid=4, P} to P1 by adding a layer 2 header to P1 to form packet 903 and sending packet 903 to P1. P1 receives packet 903 and generates packet 904 to send to P2. P1 replaces the label of LSP-A from L1 to L2 and replaces the layer 2 header L2 HDR1 with the layer 2 header L2 HDR2. P1 sends packet 904 to P2. P2 receives packet 904 and generates packet 905 to send to PE-2. P2 replaces the label of LSP-A from L2 to L3 and replaces the layer 2 header L2 HDR2 with the layer 2 header L2 HDR3. P2 sends packet 905 to PE-2. PE-2 receives packet 905 and generates packet 906 to send to Ethernet switch S2. After receiving the packet {L3, Lx, SLI, PWid=4, P} with label L3, PE-2 pushes label L3 because this is the end of LSP-A (e.g., Fig. 10B PE-2 looks up the next tag Lx in the ILM table (e.g., using Figure 8B 100). PE-2 pops label Lx because label Lx indicates the end of PWid 100. At PE-2, PWid 100 is mapped to its member PWid table, which indicates that this PW is an aggregate PW, so PE-2 finds the next label, which is SLI. PE-2 pops SLI, then reads and pops the following PWid FEC, which is member PWid 4. PE-2 looks up PWid 4 in the member PWid table of aggregate PWid 100. Based on the member entry for PWid 4, PE-2 sends the packet as packet 906 (equivalent to packets 902 and 901) to S2. Ethernet switch S2 receives packet 906 and sends packet 907 (which is equivalent to packet 906, and therefore equivalent to packets 902 and 901) to host B.

[0110] It should be noted that although the example is presented primarily with respect to an example where all PWs are overlaid on a single aggregate PW (i.e., all 128K PWs are overlaid on a single aggregate PW), a pair of PE routers may establish multiple aggregate PWs with disjoint characteristics between them. For example, a pair of PE routers may have one aggregate PW for each PW type (e.g., Ethernet, ATM, etc.). For example, multiple aggregate PWs may be established, each with a different QoS profile. An aggregate PW with specific QoS requirements may be transmitted over a PSN tunnel that guarantees QoS, and thus aggregate PWs with different QoS profiles may be transmitted along different paths in the PSN. It should be noted that the QoS profile of an aggregate PW is the accumulation of the QoS profiles of the member PWs of the aggregate PW. It should be appreciated that various other parameters or combinations of parameters may be used as a basis for defining an aggregate PW.

[0111] It should be noted that in Fig. 9 In the example, if PE-1 and PE-2 are in different IP routing domains, LSP-A or LSP-B can also be aggregated. This would be the case of PW-over-AggregatePW-over-sub-LSP-over-Aggregate-LSP. Note that since the sub-LSP carries the aggregate PW label behind it, the FEC of the sub-LSP will have the S flag set to 0. It should be appreciated that various other combinations of LSPs and sub-LSPs can be used in conjunction with aggregate PWs and member PWs to support various example embodiments for supporting scalability of LSPs.

[0112] Various example embodiments for supporting scalability of LSPs may be configured to support scalability of LSPs using aggregated multi-segment PWs.

[0113] In general, when a PW spans more than two PE routers, then it is called an MS-PW. The pair of PE routers where the PW terminates are called terminating PE (T-PE) routers, and the intermediate PE routers are called switching PE (S-PE) routers. There are various reasons for establishing an MS-PW, such as avoiding a full mesh of control protocol sessions (e.g., LDP, BGP, etc.) between each pair of T-PE routers, providing direct control protocol sessions between pairs of T-PE routers which are not allowed for security reasons because each T-PE resides in a different routing domain, where each routing domain is under separate administrative control, etc. Fig.11 An example embodiment of MS-PW is presented in .

[0114] Fig.11An example embodiment of a dynamically aggregated MS-PW is depicted to illustrate the scalability of LSPs using the dynamically aggregated MS-PW.

[0115] In the communication system 1100, a dynamic MS-PW is established between T-PE1 and T-PE2 using LDP as a signaling protocol. S-PE1, S-PE2, S-PE3, and S-PE4 are potential S-PEs between T-PEs. T-PEs and S-PEs are interconnected through a packet switching network. Each PW segment is overlaid on a PSN tunnel to reach the next-hop S-PE or T-PE. BGP-based routing of MS-PW endpoint addresses can be supported, and an LDP-based control plane can be supported to establish and maintain MS-PWs. The endpoints of the MS-PW are identified by an attachment individual identifier (AII). AII has two different addressing schemes - AII type 1 (also known as AII-1) and AII type 2 (also known as AII-2). Dynamic MS-PW uses AII-2, whose format is a tuple {route distinguisher (RD), prefix, attachment circuit (AC) identifier (ID)}. Each T-PE is assigned a unique {RD, prefix}, from which it assigns an AC ID to each MS-PW terminating there. Therefore, all MS-PWs terminating at a T-PE can be aggregated through a common {RD, prefix}, which is called the "AII-2 prefix". The AII-2 prefix can be considered equivalent to an IP subnet that includes all PWs sharing the AII-2 prefix. Fig.11 In FIG. 1 , it is assumed that T-PE1 is assigned the AII-2 prefix {RD1, Pfx1} and T-PE2 is assigned {RD2, Pfx2}. The prefix is ​​distributed as a route on all T-PEs and S-PEs through BGP as the AII-2 routing protocol. Therefore, BGP in each T-PE or S-PE calculates the next hop S-PE or T-PE for the AII-2 prefix and programs the AII-2 prefix in the AII-2 routing table.

[0116] exist Fig.11 In the example, consider the assumption that an MS-PW needs to be provisioned between T-PE1 and T-PE2. In this example, the AII-2 assigned for the MS-PW at T-PE1 and T-PE2 are {RD1, Pfx1, 100} and {RD2, Pfx2, 100} respectively. The T-PE with the larger AII-2 value initiates the signaling of the MS-PW. Here, it is assumed that the initiator is T-PE1.

[0117] In this example, T-PE1 assigns label L100 to MS-PW FEC={SAII={RD1,Pfx1,100},TAII={RD2,Pfx2,100}}. SAII means "source" AII, and TAII means "target" AII. T-PE1 looks up TAII in the AII-2 routing table, which finds the best matching (based on LPM) AII-2 prefix {RD2,Pfx2}, with the next hop being S-PE1. Then, the label mapping {FEC={SAII={RD1,Pfx1,100},TAII={RD2,Pfx2}},Label=L100} is sent to S-PE1. It should be noted that since T-PE1 and S-PE1 are not directly connected, the packet is tunneled to S-PE1 via a PSN tunnel (GRE tunnel, MPLS LSP, etc.). Therefore, the packet is further encapsulated by the PSN tunnel and sent to the next hop of the PSN tunnel. For simplicity, the PSN tunnel transmission between the T-PE and the S-PE is not described here.

[0118] In this example, after receiving the label mapping from T-PE1, S-PE1 looks up TAII in the AII-2 routing table, which finds the best matching AII-2 prefix {RD2, Pfx2}, with the next hop being S-PE3. S-PE1 then assigns label L200 to MS-PW FEC={SAII={RD1, Pfx1, 100}, TAII={RD2, Pfx2, 100}} and sends the label mapping {FEC={SAII={RD1, Pfx1, 100}, TAII={RD2, Pfx2}}, Label=L200} to S-PE3. This means that when S-PE1 receives a PW packet with label L200, it will replace it with label L300 and send the packet to T-PE1.

[0119] In this example, after receiving the label mapping from S-PE1, S-PE3 looks up TAII in the AII-2 routing table, and finds the best matching AII-2 prefix {RD2, Rfx2}, with the next hop being S-PE4. Then, S-PE3 allocates label L300 for MS-PW FEC={SAII={RD1, Pfx1, 100}, TAII={RD2, Pfx2, 100}} and sends label mapping {FEC={SAII={RD1, Pfx1, 100}, TAII={RD2, Pfx2}}, Label=L300} to S-PE4.

[0120] In this example, after receiving the label mapping from S-PE3, S-PE4 looks up TAII in the AII-2 routing table, and finds the best matching AII-2 prefix {RD2, Pfx2}, with the next hop being T-PE2. Then, S-PE4 allocates label L400 for MS-PW FEC={SAII={RD1, Pfx1, 100}, TAII={RD2, Pfx2, 100}} and sends label mapping {FEC={SAII={RD1, Pfx1, 100}, TAII={RD2, Pfx2}}, Label=L400} to T-PE2.

[0121] In this example, after receiving the label mapping, T-PE2 looks up TAII in the AII-2 routing table, which indicates that the AII-2 prefix {RD2, Pfx2} is local and this is the termination point of the PW. In this example, T-PE2 initiates signaling of the MS-PW in the reverse direction.

[0122] In this example, in the reverse direction, the SAII and TAII values ​​in the MS-PW FEC are opposite. Therefore, reverse signaling is performed with MS-PW FEC = {SAII = {RD2, Pfx2, 100}, TAII = {RD1, Pfx1, 100}}. The reverse signaling to T-PE1 follows the same path (S-PE) as the forward direction. Here, it is assumed that the labels assigned by T-PE2, S-PE4, S-PE3, and S-PE1 in the reverse direction are L500, L600, L700, and L800, respectively.

[0123] In this example, once signaling is complete in both directions, packets can be sent on the MS-PW.

[0124] In this example, T-PE1 pushes label L800 onto the packet in order to send packet P on the MS-PW, and then further pushes the encapsulation of the PSN tunnel terminating at S-PE2. T-PE1 then sends the packet {PSN tunnel encapsulation to S-PE2, L800, P} to the immediate next hop of the PSN tunnel. After traversing the tunnel, the packet is received by S-PE2. S-PE2 removes the PSN encapsulation, replaces label L800 with label L700 based on the data plane state of the MS-PW, and then pushes the encapsulation of the PSN tunnel terminating at S-PE3. S-PE3 sends the packet {PSN tunnel encapsulation to S-PE3, L700, P} to the immediate next hop of the PSN tunnel. After traversing the tunnel, the packet is received by S-PE3. S-PE3 removes the PSN encapsulation, replaces label L700 with label L600 based on the data plane state of the MS-PW, and then pushes the encapsulation of the PSN tunnel terminating at S-PE4. S-PE4 sends the packet {PSN tunnel encapsulation to S-PE4, L600, P} to the direct next hop of the PSN tunnel. After traversing the tunnel, the packet is received by S-PE4. S-PE4 removes the PSN encapsulation, replaces label L600 with label L500 based on the data plane state of the MS-PW, and pushes the encapsulation of the PSN tunnel that terminates at T-PE2. S-PE4 sends the packet {PSN tunnel encapsulation to T-PE2, L500, P} to the direct next hop of the PSN tunnel. After traversing the tunnel, the packet is received by T-PE2. T-PE2 removes the PSN encapsulation, pops label L500 based on the data plane state of the MS-PW, and forwards packet P to the AC associated with the MS-PW.

[0125] In AII-2, the AC field is 16 bits. Therefore, 64K MS-PWs in a T-PE can share a single AII-2 prefix. The S-PE maintains the control and data plane states for each MS-PW that passes through it. It should be noted that this model of dynamic MS-PWs may have certain limitations as follows. First, the S-PE needs to allocate labels from its local label space for establishing each MS-PW that is routed through the S-PE. Since the S-PE label space is shared by many MPLS-based applications (including MPLS-based PSN tunnels), the S-PE typically needs to maintain a large amount of control plane and data plane states for the MS-PWs spliced ​​at the S-PE (for example, there can be 128K MS-PWs for just one pair of T-PEs). Second, since each S-PE does PW segment splicing, each S-PE typically needs to participate in the PW OAM function. Third, the MS-PW establishment and maintenance process typically leads to control plane congestion at the S-PE. For example, the S-PE needs to participate in PW state signaling in order to perform various maintenance processes on each MS-PW that is routed there. In addition, if the S-PE needs to handle a network event (e.g., a PW next hop failure, etc.) or needs to reroute, the S-PE will cause a relatively large number of control plane exchanges between the participating S-PE devices. LDP is the default signaling protocol for MS-PW and is a TCP-based protocol. A large number of LDP protocol exchanges may cause TCP congestion at the S-PE and affect other basic services using the same LDP session. Fourth, as the number of PWs routed through the S-PE grows, each S-PE needs to maintain more and more control plane states. The control plane has limited memory, which limits the number of MS-PW services that the AS can provide. It should be noted that at least some of these potential limitations can be addressed by the various example embodiments presented herein.

[0126] In various example embodiments for supporting the scalability of LSPs, the T-PE no longer establishes each MS-PW individually. Instead, a pair of T-PEs establish an aggregated MS-PW. As discussed above, the aggregated MS-PW is established by a control protocol (e.g., LDP, BGP, etc.) using AII-2 addressing for the endpoints of the aggregated MS-PW. However, the label mapping of the aggregated MS-PW also includes one or more bit string blocks, where the bit position in the bit string is an identifier of the SS-PW overlaid on the aggregated MS-PW. For example, bit position 100 in block 10 is the SS-PW with PWid 2660 (=10x256+100). It should be noted that the PWid is unique within the aggregated PW. Since the SS-PW is overlaid on the aggregated MS-PW, the S-PE along the aggregated PW path does not maintain any state of the SS-PW. For example, assuming that there are 4K SS-PWs associated with the aggregated MS-PW, the PW can be indicated by 16 blocks. This alone reduces the control plane and data plane overhead at the T-PE and S-PE by a factor of 4K. The T-PE does not need to allocate 4K labels for the SS-PW. The data plane of the T-PE only maintains a list of PWids associated with the aggregated MS-PW to identify the overlaying SS-PW. This approach also improves the setup time for the SS-PW because instead of 4K label mapping exchanges between T-PE routers, a 16-bit string block can be included in one or two aggregated MS-PW label mapping messages. If the operational state of the SS-PW changes, then it can be reflected by the T-PE router by resending the label mapping of the aggregated MS-PW, which only includes the bit string block containing the changed SS-PW. The S-PE only needs to reroute the aggregated MS-PW in the event of a failure.

[0127] about Fig.11 Various example embodiments are presented for supporting scalability of LSPs using aggregated multi-segment PWs. It should be appreciated that the various example embodiments may be further understood by considering the following examples.

[0128] In this example, before any PW is established between T-PE1 and T-PE2, at least one aggregated MS-PW is provisioned between them. For example, assume that the AII-2 of the aggregated MS-PW assigned at T-PE1 and T-PE2 are {RD1, Pfx1, 100} and {RD2, Pfx2, 100}, respectively. Then, the T-PE with the larger AII-2 value initiates the signaling of the aggregated MS-PW. Here, the initiator is T-PE1. T-PE1 assigns label L100 to the aggregated MS-PW FEC={SAII={RD1, Pfx1, 100}, TAII={RD2, RFx2, 100}}. Assume that the T-PE also needs to establish 200 SS-PWs on top of the aggregated MS-PW. Then, PWid 1-200 is assigned to the SS-PW, and a 256-bit bit string block is created with a block identifier of 1 and bit positions 1-200 set to 1. This bit string block represents the sub-FEC of the aggregated MS-PW FEC. T-PE1 looks up TAII in the AII-2 routing table, and finds the best match (based on LPM) AII-2 prefix {RD2, Rfx2}, with the next hop being S-PE1. Then, the label mapping {FEC = {SAII = {RD1, Pfx1, 100}, TAII = {RD2, RFx2}}, Label = L100, Sub-FECs = bit string} is sent to S-PE1.

[0129] In this example, after S-PE1 receives the label mapping from T-PE1, it searches TAII in the AII-2 routing table and finds the best matching AII-2 prefix {RD2, Rfx2}-PE3, with the next hop being S. Then, S-PE1 assigns label L200 to the aggregated MS-PWFEC={SAII={RD1, Pfx1, 100}, TAII={RD2, RFx2, 100}} and sends the label mapping {FEC={SAII={RD1, Pfx1, 100}, TAII={RD2, RFx2}}, Label=L200, Sub-FECs=bitstring} to S-PE3. This means that when S-PE1 receives a PW packet with label L200, it will replace label L200 with label L300 and send the packet to T-PE1.

[0130] In this example, after receiving the label mapping from S-PE1, S-PE3 looks up TAII in the AII-2 routing table, and finds the best matching AII-2 prefix {RD2, Rfx2}, with the next hop being S-PE4. Then, S-PE3 assigns label L300 to the aggregated MS-PWFEC={SAII={RD1, Pfx1, 100}, TAII={RD2, RFx2, 100}} and sends the label mapping {FEC={SAII={RD1, Pfx1, 100}, TAII={RD2, RFx2}}, Label=L300, Sub-FECs=bitstring} to S-PE4.

[0131] In this example, after receiving the label mapping from S-PE3, S-PE4 looks up TAII in the AII-2 routing table, which finds the best matching AII-2 prefix {RD2, Rfx2}, and the next hop is T-PE2. Then, S-PE4 assigns label L400 to the aggregated MS-PWFEC={SAII={RD1, Pfx1, 100}, TAII={RD2, RFx2, 100}} and sends the label mapping {FEC={SAII={RD1, Pfx1, 100}, TAII={RD2, RFx2}}, Label=L400, Sub-FECs=bit string} to T-PE2.

[0132] In this example, after receiving the label mapping from S-PE4, T-PE2 looks up TAII in the AII-2 routing table, which indicates that the AII-2 prefix {RD2, Rfx2} is local and this is the termination point of the aggregated MS-PW. T-PE2 then initiates signaling of the aggregated MS-PW in the reverse direction.

[0133] In this example, in the reverse direction, the SAII and TAII values ​​are opposite in the aggregated MS-PW FEC. Therefore, reverse signaling is performed with aggregated MS-PW FEC = {SAII = {RD2, Pfx2, 100}, TAII = {RD1, RFx1, 100}}. The reverse signaling to T-PE1 follows the same path (S-PE) as the forward direction, and the bit string is included in the label mapping message as a Sub-FEC. Here, it is assumed that the labels assigned by T-PE2, S-PE4, S-PE3, and S-PE1 in the reverse direction are L500, L600, L700, and L800, respectively.

[0134] In this example, once bidirectional signaling is complete in both directions, packets can be sent over the SS-PW via the aggregated MS-PW. Note that if at some point after the aggregated MS-PW is established, the T-PE needs to add or remove an overlaying SS-PW, then the T-PE can simply reflect the change by resending the label mapping of the aggregated MS-PW with the updated Sub-FEC bit string block.

[0135] In this example, in order to send packet P with PWid 100 on SS-PW, T-PE1 first pushes PWid 100 to packet P, then pushes SLI to the packet to indicate the presence of PWid, then pushes the aggregated MS-PW label L800 to the packet, and then further pushes the encapsulation of the PSN tunnel terminated at S-PE2. T-PE1 then sends the packet {PSN tunnel encapsulation to S-PE2, L800, SLI, FEC = PWid 100, P} to the direct next hop of the PSN tunnel. After traversing the tunnel, the packet is received by S-PE2. S-PE2 removes the PSN encapsulation, replaces label L800 with label L700 based on the data plane state of the aggregated MS-PW, and pushes the PSN tunnel encapsulation terminated at S-PE3. S-PE3 then sends the packet {PSN tunnel encapsulation to S-PE3, L700, SLI, FEC = PWid 100, P} to the direct next hop of the PSN tunnel. After traversing the tunnel, the packet is received by S-PE3. S-PE3 removes the PSN encapsulation. Based on the data plane state of the aggregated MS-PW, replaces label L700 with label L600, and pushes the PSN tunnel encapsulation that terminates at S-PE4. S-PE4 then sends the packet {PSN tunnel encapsulation to S-PE4, L600, SLI, FEC=PWid 100, P} to the direct next hop of the PSN tunnel. After traversing the tunnel, the packet is received by S-PE4. S-PE4 removes the PSN encapsulation, replaces label L600 with label L500 based on the data plane state of the aggregated MS-PW, and pushes the encapsulation of the PSN tunnel that terminates at T-PE2. S-PE4 then sends the packet {PSN tunnel encapsulation to T-PE2, L500, SLI, FEC=PWid 100, P} to the direct next hop of the PSN tunnel. After traversing the tunnel, the packet is received by T-PE2. T-PE3 removes the PSN encapsulation, pops label L500 based on the data plane state of the aggregated MS-PW, finds the SLI and PWid and looks up the forwarding state of PWid 100 , and forwards packet P to the AC associated with PWid 100 .

[0136] It is noted that a pair of T-PE routers can have one aggregated MS-PW for each PW type (e.g. Ethernet, ATM, etc.). It is noted that multiple aggregated MS-PWs can be established, each with a different QoS profile. It is noted that the aggregated MS-PW with specific QoS requirements will be further transmitted over the PSN tunnel with guaranteed QoS. Therefore, aggregated MS-PWs with different QoS profiles can be transmitted along different paths of the S-PE, and the QoS profile of the aggregated MS-PW is the cumulative QoS profile of all member SS-PWs.

[0137] exist Fig.11 In the example above, if the adjacent T-PE / S-PE are in different IP routing domains, the PSNLSP within the segment can also be an aggregate LSP. This would be the case of PW-over-Aggregate MS-PW / PW-over-sub-LSP-over-Aggregate-LSP. Since the sub-LSP carries the aggregate MS-PW label, the FEC of the sub-LSP has the S flag set to 0 (meaning there are more labels to come).

[0138] Although various aspects of the aggregated MS-PW can support various features, it should be appreciated that various aspects of the aggregated MS-PW may have various limitations or potential limitations, as further discussed below, which can be addressed by various example embodiments presented herein. An aggregated MS-PW can be established between a pair of T-PEs without associating an SS-PW overlaid on the aggregated MS-PW. Once the aggregated MS-PW is ready, each overlaid SS-PW is signaled by the control protocol in the context of the aggregated MS-PW. This means that labels are assigned to the SS-PW by the T-PE, and the label mapping is sent as {aggregated MS-PW FEC, SS-PW FEC, Label}. The label mapping traverses the path of the aggregated MS-PW; the S-PEs in the path transparently forward the label mapping to the next hop S-PE or T-PE of the aggregated MS-PW. Therefore, no control and data plane state is maintained in the S-PE for the overlaid SS-PW. Then, to send the packet on the SS-PW, the T-PE pushes the SS-PW label, the aggregated MS-PW label, and the encapsulation for the PSN tunnel to the next hop S-PE. The packet is then sent to the direct next hop of the PSN tunnel. However, this solution does not reduce the overhead of control plane messages caused by each SS-PW being independently established and maintained in the context of the aggregated MS-PW, and does not reduce the control plane and data plane states in the T-PE because the T-PE assigns a label to each SS-PW programmed into the data plane. As further discussed below, various example embodiments presented herein can be configured to address such limitations.

[0139] Various example embodiments for supporting scalability of LSPs using aggregated MS-PWs can reduce the overhead of control plane messages caused by each SS-PW being independently established and maintained in the context of the aggregated MS-PW, and reduce control plane and data plane states in the T-PE caused by the T-PE assigning a label for each SS-PW programmed into the data plane, etc., and various combinations thereof.

[0140] Fig.12 An example embodiment of a packet is depicted to illustrate packet encoding of a packet delivered via a sub-LSP on an aggregate LSP. Packet 1200 includes a label stack (including N labels), a sub-LSP indicator (SLI) label below the label stack and a sub-LSP FEC field of the SLI label, and a packet below the sub-LSP FEC.

[0141] A label stack is a label stack associated with an aggregate LSP. Multiple labels may be present when the aggregate LSP is in turn sent over another LSP (i.e., in an LSP-in-LSP fashion). For example, if the aggregate LSP is a BGP signaled LSP over an LDP LSP, and the LDP LSP is over an SR LSP, then N is at least 3 since SR can push more than one label). The EXP and TTL fields in the labels may be set to values ​​based on the underlying packet being transmitted, and the bottom-of-stack (BOS) bit or S bit in each label will be set to 0 since none of them are the bottom-most labels.

[0142] The SLI is configured so that the egress router of the aggregated LSP can clearly distinguish that the sub-LSP is encoded in the packet by its FEC. To achieve this, the SLI is encoded so that it is just before the sub-LSP FEC, where "before..." means closer to the top of the label stack (indicated away from the bottom of the stack). It should be understood that if standardized, the value used for the SLI can be retained on the IANA registry dedicated label. It should be noted that the EXP and TTL fields in the SLI can be set to 0, and the S bit is set to 1 because no more subsequent labels follow the SLI (i.e., the SLI directly encapsulates the packet).

[0143] Fig.13 An example embodiment of a FEC for a sub-LSP is depicted illustrating the format of the FEC for a sub-LSP.

[0144] The sub-LSP FEC 1300 may be encoded into the packet below the SLI. The sub-LSP FEC 1300 includes a FEC type field, a flag field, and a value field.

[0145] The FEC Type field is a 1-octet field that indicates the type of FEC. For example, the following FEC types may be defined and used: (a) 1 = Prefix FEC (an example of which is presented in Fig.14 ), (b) 2 = PWid FEC (an example of which is presented in Fig.15 ), and (C)3 = offset in aggregate FEC (an example of which is presented in Fig.16 It should be appreciated that fewer or more types (including different types) may be defined and / or may be defined in other ways.

[0146] The 8-bit flag field indicates various supplementary information of the FEC. The flag field may include an S bit that may be provided in the least significant bit of the flag field. The S bit is configured to indicate whether there are more labels following the FEC of the sub-LSP (e.g., S bit = 0 means that there are more labels following the FEC of the sub-LSP, and S bit = 1 means that there are no labels following the FEC of the sub-LSP, and vice versa). For example, when a packet with a VPN label is transmitted on the sub-LSP, there is at least one label following the FEC. The encoding of the flag field depends on the FEC type.

[0147] The Value field is a variable length field that includes a value identifying the FEC.

[0148] Fig.14 An example embodiment of a prefix FEC sub-LSP is depicted to illustrate the format of the prefix FEC sub-LSP.

[0149] The prefix FEC sub-LSP 1400 may be encoded into the packet below the SLI. Note that this format is used for the sub-LSP of the inter-domain prefix FEC aggregation LSP. The prefix FEC sub-LSP 1400 includes an FEC type field, a flag field, an address family field, a prefix length field, and a prefix field.

[0150] The FEC Type field is a 1-octet field that is encoded with a value of 1 to indicate a prefix FEC sub-LSP.

[0151] The flag field is an 8-bit field that indicates various supplementary information of the FEC. The flag field may include an S bit that may be provided in the least significant bit of the flag field. The S bit is configured to indicate whether there are more labels following the FEC of the sub-LSP (e.g., S bit = 0 means that there are more labels following the FEC of the sub-LSP, and S bit = 1 means that there are no labels following the FEC of the sub-LSP, and vice versa). For example, when a packet with a VPN label is transmitted on the sub-LSP, there is at least one label following the FEC. The encoding of the flag field depends on the FEC type.

[0152] The Address Family field is a 1-octet field that indicates the address family of the prefix FEC. The following two subtypes are defined. For example, the following two subtypes can be defined: 1 = IPv4, 2 = IPv6.

[0153] The prefix length is a 1-octet field that encodes the prefix length of the sub-LSP. For example, within the aggregate LSP 10.10.2.0 / 24, the prefix length of sub-LSP 10.10.2.9 / 32 is 32, and the prefix length of sub-LSP 10.10.2.16 / 28 is 28.

[0154] The Prefix field is either a 4-octet value or a 16-octet value, depending on the address family. If the address family is 1, then this is a 4-octet field that encodes the IPv4 prefix, the label in which case the Prefix Length field encodes the prefix length of the IPv4 prefix. If the address family is 2, then this is a 16-octet field that encodes the IPv6 prefix, the label in which case the Prefix Length field encodes the prefix length of the IPv6 prefix.

[0155] Fig.15 An example embodiment of a PWid FEC sub-LSP is depicted to illustrate the format of the PWid FEC sub-LSP.

[0156] The PWid FEC sub-LSP 1500 may be encoded into the packet below the SLI. Note that this format is used for PWs that are overlaid on top of an aggregated PW (e.g., Figure 7 ) and SS-PW overlaid on the aggregated MS-PW (e.g., as Fig. 9 ). The PWid FEC sub-LSP 1500 includes an FEC type field, a flag field, and a PWid field.

[0157] The FEC Type field is a 1-octet field that is encoded with a value of 2 to indicate a PWid FEC sub-LSP.

[0158] The flag field is an 8-bit field that indicates various supplementary information of the FEC. The flag field may include an S bit that may be provided in the least significant bit of the flag field. The S bit is configured to indicate whether there are more labels following the FEC of the sub-LSP (e.g., S bit = 0 means there are more labels following the FEC of the sub-LSP, and S bit = 1 means there are no labels following the FEC of the sub-LSP, and vice versa). For example, when a packet with a PW flow label is transmitted on a sub-LSP, there is at least one label following the PWid FEC. The PW label is used to color different service flows transmitted over the PW. The encoding of the flag field depends on the FEC type.

[0159] The PWid field is a 2-octet field that encodes the PW identifier assigned to the sub-LSP.

[0160] Fig.16 An example embodiment of a Range-in-Aggregate FEC sub-LSP is depicted to illustrate the format of a Range-in-Aggregate FEC sub-LSP.

[0161] The scope-within-aggregate FEC sub-LSP 1600 can be encoded into the packet below the SLI. It should be noted that the scope-within-aggregate FEC sub-LSP is not the true FEC type for the LSP, but rather represents the scope within the FEC of the aggregate LSP, which represents the FEC of the sub-LSP. This enables compact encoding of the FEC of the sub-LSP. The scope-within-aggregate FEC sub-LSP 1600 includes an FEC type field, a flag field, a start offset field, and a range field.

[0162] The FEC Type field is a 1-octet field that is encoded with a value of 3 to indicate that the scope is within an aggregated FEC sub-LSP.

[0163] The flag field is an 8-bit field that indicates various supplementary information of the FEC. The flag field may include an S bit that may be provided in the least significant bit of the flag field. The S bit is configured to indicate whether there are more labels following the FEC of the sub-LSP (e.g., S bit = 0 means that there are more labels following the FEC of the sub-LSP, and S bit = 1 means that there are no labels following the FEC of the sub-LSP, and vice versa). For example, when a packet with a VPN label is transmitted on the sub-LSP, there is at least one label following the FEC. The encoding of the flag field depends on the FEC type.

[0164] The Starting Offset field is a 2-octet field that encodes the offset within the FEC of the aggregated LSP, which is the starting value of the FEC of the child LSP. Therefore, the offset of the starting value will be less than 65535 (the maximum offset of this 2-octet field).

[0165] The Range field contains the range of values ​​in the FEC of the sub-LSP starting from the starting offset. Therefore, the maximum range will be less than 65535 (the maximum range of this 2-octet field).

[0166] Note that this method provides compact encoding of sub-LSPs of an aggregate LSP based on prefix FEC when the FEC of the sub-LSP is subsumed by the FEC of the aggregate LSP. For example, sub-LSP 10.10.2.9 / 32 can be encoded as an offset in the aggregate FEC of 10.10.2.0 / 24, where the starting offset is 9 and the range is 0. For example, sub-LSP 10.10.2.32 / 28 can be encoded as an offset in the aggregate FEC of 10.10.2.0 / 24, where the starting offset is 32 and the range is 16. If the prefix FEC is of type IPv6, then Fig.14 The format requires 20 octets to encode the FEC of the sub-LSP, but Fig.16 The format requires 6 octets if the start value and range of the sub-LSP are both within 65535.

[0167] Fig.17 An example embodiment of a method used by an ingress router of an aggregate LSP for sending packets on the aggregate LSP is depicted. It should be appreciated that although primarily presented as being performed sequentially, at least a portion of the various blocks of method 1700 may be performed simultaneously or in parallel. Fig.17 10.10.2.0 / 24。 Method 1700 is executed in a different order than the order presented in . The input of method 1700 includes a packet to be sent on an aggregated LSP, and if a packet is to be sent on a sub-LSP of the aggregated LSP, the FEC of the sub-LSP of the aggregated LSP. At block 1701, method 1700 begins. Block 1702 checks whether the FEC of the sub-LSP is provided as input. It should be noted that if a packet needs to be sent directly through the aggregated LSP, the sub-LSP may not be provided. For example, if an IP4 packet with a destination address of 10.10.2.9 in the IPv4 header needs to be sent on an aggregated LSP of FEC10.10.2.0 / 24, then the IPv4 packet can be sent directly on the aggregated LSP because the egress router on the aggregated LSP can handle the IPv4 packet appropriately. If the FEC of the sub-LSP is not provided, then method 1700 proceeds to block 1714, otherwise method 1700 proceeds to block 1704. Block 1704 retrieves the aggregate LSP associated with the sub-LSP, and the method 1700 proceeds to block 1706. Block 1706 checks whether the FEC of the sub-LSP is within the range of the FEC of the aggregate LSP (which can be encoded as range-in-aggregate FEC) ( Fig.16 ). For example, if the FEC of the sub-LSP is 10.10.2.9 / 32 and the FEC of the aggregate LSP is 10.10.2.0 / 24, then the FEC of the sub-LSP is a range within the FEC of the aggregate LSP, where the start value is offset 9 and the range is 0. If the FEC of the sub-LSP is to be encoded as a range within the aggregate FEC, then the method 1700 proceeds to block 1708, otherwise the method 1700 proceeds to block 1710. Block 1708 pushes the FEC of the sub-LSP onto the packet as a range within the aggregate FEC, i.e., using Fig.16 From block 1710, method 1700 proceeds to block 1712. Block 1710 pushes the FEC of the sub-LSP onto the packet. For example, this may involve encoding based on the FEC type of the sub-LSP (e.g., Fig.14 , Fig.15, etc.). From block 1710, method 1700 proceeds to block 1712. Block 1712 pushes the SLI onto the packet to indicate that the FEC of the sub-LSP follows the SLI, and then method 1700 proceeds to block 1714. Block 1714 pushes the label stack of the aggregate LSP onto the packet. From block 1714, method 1700 proceeds to block 1716. Block 1716 sends the packet to the next hop of the aggregate LSP. This involves pushing appropriate (multiple) encapsulations for transmitting the packet to the next hop of the aggregate LSP. For example, if the next hop of the aggregate LSP is a direct next hop router, then this block pushes the data link layer encapsulation (e.g., Ethernet header) to the next hop router. For example, if the next hop of the aggregate LSP is an indirect next hop, then this block pushes the tunnel transport encapsulation to the next hop of the aggregate LSP. For example, if the aggregate LSP is an aggregate PW, then the block pushes the encapsulation(s) for the PSN tunnel to the next hop (S-PE or T-PE) of the aggregate PW and sends the packet to the direct next hop of the PSN tunnel. From block 1716, method 1700 proceeds to block 1799, where method 1700 ends. At block 1700, method 1700 ends.

[0168] Fig.18 An example embodiment of a method used by an egress router of an aggregated LSP for processing MPLS packets is depicted. It should be appreciated that although primarily presented as being performed sequentially, at least a portion of the various blocks of method 1800 may be performed simultaneously or in parallel. Fig.18 1800. The input to method 1800 includes an MPLS packet received by a router. At block 1801, method 1800 starts. Block 1802 pops the top-level label in the packet, and then method 1800 proceeds to block 1804. Block 1804 looks up the label in the ILM table, and then method 1800 proceeds to block 1806. Block 1806 checks whether the ILM entry is marked as local, which means that the router is an egress router for the label. If the router is not an egress router for the label, then method 1800 proceeds to block 1812, otherwise method 1800 proceeds to block 1808. Block 1808 checks whether the FEC for the ILM entry is an aggregate FEC. If the FEC for the ILM entry is not an aggregate FEC, then method 1800 proceeds to block 1812, otherwise method 1800 proceeds to block 1810. Block 1810 processes the packet in the context of the aggregated LSP, and the method 1800 proceeds to block 1899, where the method 1800 ends. Block 1812 processes the packet based on the ILM entry, since this is not a packet that terminates on the aggregated LSP, and the method 1800 proceeds to block 1899, where the method 1800 ends. At block 1899, the method 1800 ends.

[0169] Fig.19 An example embodiment of a method for processing a packet terminated on an aggregate LSP is depicted. Note that the packet is processed in the FEC context of the aggregate LSP. Note that the method 1900 may provide Fig.18 It should be understood that although primarily presented as being performed sequentially, at least a portion of the various blocks of method 1900 may be performed simultaneously or in parallel. Fig.19 1900 is performed in a different order than the order presented in . The input of method 1900 includes a packet received on the aggregated LSP, the FEC of the aggregated LSP, and an indication of whether the packet is an MPLS packet. It should be noted that the indication of whether the packet is MPLS can be provided by the HasLabels parameter (for example, based on the BOS bit in the aggregated LSP label), which, if true, indicates that the packet is an MPLS packet. At block 1901, method 1900 starts. Block 1902 checks whether the packet is an MPLS packet. This condition can be checked by determining whether the input HasLabels parameter is true. If the packet is not an MPLS packet, method 1900 proceeds to block 1912, otherwise method 1900 proceeds to block 1904. Block 1912 processes the packet based on its native header, where the native header is determined based on the FEC type of the aggregated LSP. For example, if the FEC type of the aggregated LSP is prefix FEC, then the packet will be treated as an IP packet and processed accordingly. For example, if the FEC of the aggregate LSP is 10.10.2.0 / 24, then the IP packet may be an IPv4 packet to the destination 10.10.2.9. Block 1904 pops the top-most label in the packet, and the method 1900 proceeds to block 1906. Block 1906 checks whether the label is an SLI. If the label is not an SLI, then the method 1900 proceeds to block 1914, otherwise the method 1900 proceeds to block 1908. Block 1914 discards the packet because any labeled packet on the aggregate LSP belongs to a sub-LSP, so the SLI must already exist. From block 1914, the method proceeds to block 1999, where the method 1900 ends. Block 1908 pops the SLI from the packet, and the method 1900 proceeds to block 1910. Block 1910 processes the packet as a sub-LSP packet, and the method 1900 proceeds to block 1999, where the method 1900 ends.

[0170] Fig. 20 An example embodiment of a method for processing packets received on a sub-LSP in the context of an aggregate LSP is depicted. Note that the method 2000 may provide Fig.19It should be understood that although primarily presented as being performed sequentially, at least a portion of the blocks of method 2000 may be performed simultaneously or in parallel. Fig. 20 The method 2000 is executed in a different order than that presented in . The input to the method 2000 includes the packet (with the FEC of the sub-LSP as its top header) and the FEC of the aggregate LSP on which the packet arrives. At block 2001, the method 2000 starts. Block 2002 parses and pops the sub-LSP FEC from the top of the packet, and the method 2000 proceeds to block 2004. Block 2004 checks whether the sub-LSP FEC is in the range of the aggregate FEC type ( Fig.16 ). If the sub-LSP FEC is a scope-within-aggregate FEC type, then the method 2000 proceeds to block 2006, otherwise the method 2000 proceeds to block 2008. Block 2006 calculates the actual FEC of the sub-LSP by mapping the scope-within-aggregate FEC to the FEC of the aggregate LSP. For example, if the FEC of the aggregate LSP is prefix FEC 10.10.2.0 / 24 and the starting offset, label range in the scope field of the scope within the aggregate FEC is 32 and 16 respectively, then the calculated FEC of the sub-LSP is 10.10.2.32 / 28. From block 2006, the method 2000 enters block 2008. Block 2008 forwards the packet in the FEC context of the sub-LSP, and then the method 2000 enters block 2099, where the method 2000 ends. At block 2099, the method 200 ends.

[0171] Fig.21 An example embodiment of a method for forwarding packets on a sub-LSP FEC is depicted. Note that the method 2100 may provide Fig. 20 It should be understood that although primarily presented as being performed sequentially, at least a portion of the blocks of method 2100 may be performed simultaneously or in parallel. Fig.21 The method 2100 may be executed in a different order than that presented in the method 2100. The input to the method 2100 includes packets to be forwarded on the sub-LSP, the sub-LSP FEC, and the aggregate LSP FEC. At block 2101, the method 2100 begins. Block 2102 looks up the FEC of the sub-LSP in the appropriate forwarding table for the FEC type. For example, if the FEC is a prefix FEC ( Fig.14 ), then the FEC lookup can be in the FTN table. For example, if the FEC is PWid( Fig.15), then the FEC lookup can be in the PWid forwarding table. From block 2102, method 2100 proceeds to block 2104. Block 2104 checks whether there is a forwarding state for the child LSP. If there is no forwarding state for the child LSP, then method 2100 proceeds to block 2108, otherwise method 2100 proceeds to block 2106. Block 2106 forwards the packet on the child LSP, and then method 2100 proceeds to block 2199, where method 2100 ends. Block 2108 discards the packet, and then method 2100 proceeds to block 2199, where method 2100 ends. At block 2199, method 2100 ends.

[0172] Fig. 22 Depicted is an example embodiment of a method for forwarding packets on a sub-LSP when the FEC is a prefix type. Note that when the sub-LSP FEC is a prefix type, the method 2200 may provide Fig.21 It should be understood that although primarily presented as being performed sequentially, at least a portion of the blocks of method 2200 may be performed simultaneously or in parallel. Fig. 22 2200. The method 2200 is executed in a different order than the order presented in . The input of the method 2200 includes the packet to be forwarded on the sub-LSP and the sub-LSP FEC prefix. At block 2201, the method 2200 starts. Block 2202 searches the FTN table for the entry that best matches the sub-LSP FEC prefix. Here, the best match means the longest prefix match (LPM). From block 2202, the method 2200 proceeds to block 2204. Block 2204 checks whether a matching FTN entry is found. If no matching FTN entry is found, then the method 2200 proceeds to block 2222, otherwise the method 2200 proceeds to block 2206. Block 2206 checks whether the FEC prefix in the FTN entry is an exact match of the sub-LSP FEC prefix. If the FEC prefix in the FTN entry is an exact match of the sub-LSP FEC prefix, then the method 2200 proceeds to block 2218, otherwise the method 2200 proceeds to block 2208. Block 2222 checks whether the sub-LSP FEC prefix is ​​a local IP address or local subnet. This determination can be made by looking up the prefix in an IP routing table. If the sub-LSP FEC prefix is ​​not local, then method 2200 proceeds to block 2224, otherwise method 2200 proceeds to block 2226. Since no matching LSP was found, block 2224 discards the packet and method 2200 then proceeds to block 2299 where method 2200 ends. Block 2226 processes the packet based on its native header since the router is also the egress router for the sub-LSP. If the packet is an MPLS packet (e.g., if this is a VPN packet, then one or more MPLS labels will be present as indicated by the S flag in the sub-LSP FEC), then the packet is reinserted into Fig.18Method 1800. If the packet is not an MPLS packet, then the packet is processed as a local IP packet. From block 2226, method 2200 proceeds to block 2299, where method 2200 ends. Block 2208 pushes the sub-LSP FEC prefix onto the packet because the packet needs to be transmitted on the aggregate LSP because no exact matching entry for the sub-LSP FEC prefix is ​​found in the FTN table. From block 2208, method 2200 proceeds to block 2210. Block 2210 checks whether the sub-LSP FEC prefix is ​​in the FEC prefix in the FTN entry. The sub-LSP FEC can be encoded in a compact form as a range within such a range of the FEC within the aggregate (such as Fig.16 ). If the sub-LSP FEC prefix is ​​not in the FEC prefix in the FTN entry, the sub-LSP FEC can be encoded in a compact form as a range within the aggregate FEC, then the method 2200 proceeds to block 2212, otherwise the method 2200 proceeds to block 2214. Block 2214 calculates the starting offset and range of the sub-LSP FEC prefix in the FEC prefix in the FTN entry and encodes the range within the aggregate FEC that is pushed on top of the packet. For example, if the sub-LSP FEC prefix is ​​10.10.2.32 / 28 and the FEC prefix in the FTN entry is 10.10.2.0 / 24, then the range within the aggregate FEC is encoded with a starting offset of 32 and a range of 16. From block 2214, the method 2200 proceeds to block 2216. Block 2212 pushes the sub-LSP FEC prefix onto the packet, and then the method 2200 proceeds to block 2216. Block 2216 pushes the SLI onto the packet, and then method 2200 proceeds to block 2218. Block 2218 pushes the label stack of the aggregate LSP, i.e., the label stack associated with the FTN entry. It should be noted that the aggregate LSP itself may be overlaid on other LSPs (e.g., LDP over RSVP, BGP over LDP over SR, etc.), which may require pushing labels for each level, and therefore, block 2218 may require pushing the entire label stack. From block 2218, method 2200 proceeds to block 2220. Block 2220 sends the MPLS packet to the next hop of the aggregate LSP. From block 2220, method 2200 proceeds to block 2299, where method 2200 ends.

[0173] Fig.23 Depicted is an example embodiment of a method for forwarding packets on a sub-LSP when the FEC is of type PWid. Note that when the sub-LSP FEC is of type PWid, the method 2300 may provide Fig.21 It should be understood that although primarily presented as being performed sequentially, at least a portion of the various blocks of method 2300 may be performed simultaneously or in parallel. Fig.23 2300. The inputs to method 2300 include packets received on a PW (sub-LSP), the PWid of the PW, and the FEC of the aggregated PW on which the PW is overlaid. At block 2301, method 2300 begins. Block 2302 looks up the PWid table associated with the FEC of the aggregated PW using the PWid as an index, and then method 2300 proceeds to block 2304. Block 2304 checks whether a matching PWid table entry is found. If no matching PWid table entry is found, then method 2300 proceeds to block 2312, otherwise method 2300 proceeds to block 2306. Block 2312 discards the packet, and then method 2300 proceeds to block 2399, where method 2300 ends. Block 2306 checks whether the PW is terminated in the forwarding table, which is indicated by a field in the PWid table entry. For example, if the PW is used to connect a VPLS site, then the PW is terminated in the MAC forwarding table. If the PW is terminated in the forwarding table, then the method 2300 proceeds to block 2310, otherwise the method 2300 proceeds to block 2308. Block 2310 forwards the packet based on the processing of the native header in the context of the forwarding table. For example, if the packet is an Ethernet packet in a VPLS, then the destination address of the Ethernet header is looked up in the MAC forwarding table of the VPLS and the packet is forwarded to the appropriate next hop. From block 2310, the method 2300 proceeds to block 2399, where the method 2300 ends. Block 2308 forwards the packet to the AC programmed in the PWid table entry, and then the method 2300 proceeds to block 2399, where the method 2300 ends. At block 2399, the method 2300 ends.

[0174] Fig.24 An example embodiment of a method for supporting scalability of label switched paths is depicted. It should be appreciated that although primarily presented as being performed sequentially, at least a portion of the various blocks of method 2400 may be performed simultaneously or in parallel. Fig.24. At block 2401, method 2400 starts. At block 2410, based on including a forwarding equivalence class of the sub-label switched path under a label of the aggregated label switched path, supporting communication of the packet on a sub-label switched path of the aggregated label switched path. In at least some example embodiments, supporting communication of the packet may include: determining, by an egress router of the aggregated label switched path, a next label switched path for the packet based on the forwarding equivalence class of the sub-label switched path. In at least some example embodiments, the method includes: preventing, by an egress router of the aggregated label switched path, signaling an association of the sub-label switched path with the aggregated label switched path. In at least some example embodiments, the method includes: forming, by an ingress router of the aggregated label switched path, an association of the sub-label switched path with the aggregated label switched path. In at least some example embodiments, the association of the sub-label switched path with the aggregated label switched path is based on the forwarding equivalence class of the sub-label switched path being a subset of the forwarding equivalence class of the aggregated label switched path. In at least some example embodiments, the association of the sub-label switched path with the aggregated label switched path is based on a policy at an ingress router. In at least some example embodiments, the sub-label switching path is based on a first version of the Internet Protocol (IP) and the aggregate label switching path is based on a second version of the IP, wherein a policy at the ingress router is configured to associate a first IP prefix of the first version of the IP with a second IP prefix of the second version of the IP. In at least some example embodiments, the forwarding equivalence class type of the sub-label switching path is the same as the forwarding equivalence class type of the aggregate label switching path. In at least some example embodiments, the forwarding equivalence class type of the sub-label switching path and the forwarding equivalence class type of the aggregate label switching path are prefix forwarding equivalence class types. In at least some example embodiments, the forwarding equivalence class of the sub-label switching path is a subset of the forwarding equivalence class of the aggregate label switching path. In at least some example embodiments, the prefix forwarding equivalence class type is an Internet Protocol version 4 (IPv4) prefix or an Internet Protocol version 6 (IPv6) prefix. In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on a digital PWid, wherein the aggregate label switching path is a single-segment pseudowire and the forwarding equivalence class of the aggregate label switching path is a forwarding equivalence class type based on the PWid. In at least some example embodiments, the sub-label switched path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switched path is a forwarding equivalence class type based on a digital PWid, wherein the aggregated label switched path is a multi-segment pseudowire and the forwarding equivalence class of the aggregated label switched path is a PWid forwarding equivalence class type. In at least some example embodiments, the forwarding equivalence class type of the sub-label switched path is different from the forwarding equivalence class type of the aggregated label switched path.In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on PWid, wherein the aggregated label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregated label switching path is a forwarding equivalence class type based on {SAII, TAII}. In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on digital PWid, wherein the aggregated label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregated label switching path is a single-segment pseudowire forwarding equivalence class type. In at least some example embodiments, the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on digital PWid, wherein the aggregated label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregated label switching path is a multi-segment pseudowire forwarding equivalence class type. In at least some example embodiments, the sub-label switching path and the aggregated label switching path have a common egress router. In at least some example embodiments, the egress router of the aggregated label switched path is a border router of a routing domain, wherein the forwarding equivalence class type of the aggregated label switched path is a prefix forwarding equivalence class type. In at least some example embodiments, the routing domain is an interior gateway protocol (IGP) area or an autonomous system (AS). In at least some example embodiments, the prefix forwarding equivalence class type is a prefix forwarding equivalence class encoding an Internet Protocol (IP) routing prefix aggregated by a border router of the routing domain. In at least some example embodiments, the egress router of the aggregated label switched path is a provider edge router, wherein the forwarding equivalence class type of the aggregated label switched path is a single-segment pseudowire forwarding equivalence class type. In at least some example embodiments, the egress router of the aggregated label switched path is a terminal provider edge router, wherein the forwarding equivalence class type of the aggregated label switched path is a multi-segment pseudowire forwarding equivalence class type. In at least some example embodiments, the method includes: verifying, by an ingress router, the validity of the sub-label switched path at the egress router of the aggregated label switched path. In at least some example embodiments, the validity of the sub-label switched paths is verified at an egress router of the aggregated label switched path based on at least one connectivity message sent from an ingress router to an egress router of the aggregated label switched path. In at least some example embodiments, the method includes: signaling, by the egress router of the aggregated label switched path, an indication of a set of valid sub-label switched paths of the aggregated label switched path. In at least some example embodiments, signaling the indication of the set of valid sub-label switched paths of the aggregated label switched path includes: including, by the egress router of the aggregated label switched path, a bit string within a label mapping message for the aggregated label switched path, the bit string including a set of bit positions associated with a corresponding set of sub-label switched paths of the aggregated label switched path.In at least some example embodiments, the forwarding equivalence class of the sub-label switched path is a digital PWid forwarding equivalence class type, and the forwarding equivalence class type of the aggregated label switched path is a single-segment pseudowire forwarding equivalence class type, wherein the bit position of the sub-label switched path in the bit string is the PWid of the sub-label switched path. In at least some example embodiments, the forwarding equivalence class of the sub-label switched path is a digital PWid forwarding equivalence class type, and the forwarding equivalence class type of the aggregated label switched path is a multi-segment pseudowire forwarding equivalence class type, wherein the bit position of the sub-label switched path in the bit string is the PWid of the sub-label switched path. In at least some example embodiments, the forwarding equivalence class of the sub-label switched path is an Internet Protocol (IP) host address within the prefix forwarding equivalence class of the aggregated label switched path, wherein the bit position of the sub-label switched path in the bit string is an offset of the IP host address in the prefix forwarding equivalence class of the aggregated label switched path. At block 2499, method 2400 ends.

[0175] It should be appreciated that, while primarily presented herein in the context of an arrangement in which communication of packets is supported over sub-LSPs of an aggregated LSP, in at least some example embodiments, the aggregated LSP may be a more general form of an LSP and sub-LSPs may be more generally referred to as member LSPs of an LSP. In at least some example embodiments, communication of packets over sub-LSPs or member LSPs of an LSP may be supported based on including an FEC of the sub-LSP or member LSP beneath a label of the LSP.

[0176] Various example embodiments for supporting the scalability of LSPs can provide various advantages or potential advantages. For example, various example embodiments for supporting the scalability of LSPs can be configured to provide a simple and universal solution for the scalability of MPLS LSPs, with very little change to the existing MPLS data plane and control plane. For example, various example embodiments for supporting the scalability of LSPs can be configured to support the scalability of inter-domain LSPs, including reducing the number of IGP inter-area LSPs by the average number of routers per area (for example, in many cases, in practice, an IGP area can have up to 300 routers, so inter-area LSPs can be reduced by 300 times, which is a significant expansion improvement). In general, the scalability of inter-domain LSPs is a major pain point today. For example, various example embodiments for supporting the scalability of LSPs can be configured to improve the scalability of various types of PWs including SS-PWs and MS-PWs (for example, in at least some cases, the improvement is up to 99.97%). Various example embodiments for supporting the scalability of LSPs can provide various other advantages or potential advantages.

[0177] Fig.25An example embodiment of a computer suitable for use in performing the various functions presented herein is depicted.

[0178] The computer 2500 includes a processor 2502 (e.g., a central processing unit (CPU), a processor, a processor having a set of processor cores, a processor core of a processor, etc.) and a memory 2504 (e.g., a random access memory, a read-only memory, etc.). The processor 2502 and the memory 2504 may be communicatively connected. In at least some example embodiments, the computer 2500 may include at least one processor and at least one memory including computer program code, wherein the at least one memory and the computer program code are configured to, together with the at least one processor, cause the computer to perform various functions presented herein.

[0179] The computer 2500 may also include a cooperating element 2505. The cooperating element 2505 may be a hardware device. The cooperating element 2505 may be a process that may be loaded into the memory 2504 and executed by the processor 2502 to implement the various functions presented herein (e.g., in this case, the cooperating element 2505 (including associated data structures) may be stored on a non-transitory computer-readable storage medium, such as a storage device or other suitable type of storage element (e.g., a magnetic drive, an optical drive, etc.)).

[0180] The computer 2500 may also include one or more input / output devices 2506. The input / output devices 2506 may include one or more user input devices (e.g., keyboard, keypad, mouse, microphone, camera, etc.), user output devices (e.g., display, speaker, etc.), one or more network communication devices or elements (e.g., input ports, output ports, receivers, transmitters, transceivers, etc.), one or more storage devices (e.g., tape drive, floppy disk drive, hard disk drive, optical disk drive, etc.), etc., and various combinations thereof.

[0181] It should be appreciated that the computer 2500 may represent a general architecture and functionality suitable for implementing the functional elements described herein, portions of the functional elements described herein, etc., and various combinations thereof. For example, the computer 2500 may provide a general architecture and functionality suitable for implementing one or more elements presented herein, such as network devices (e.g., routers, etc.), network controllers, etc., and various combinations thereof.

[0182] It should be appreciated that at least some of the functionality presented herein may be implemented in software (e.g., via software implementation on one or more processors for execution on a general purpose computer (e.g., via execution via one or more processors), thereby providing a special purpose computer, etc.) and / or may be implemented in hardware (e.g., using a general purpose computer, one or more application specific integrated circuits, and / or any other hardware equivalents).

[0183] It should be understood that at least some of the functions presented herein can be implemented in hardware, for example, as circuits that cooperate with a processor to perform various functions. Portions of the functions / elements described herein can be implemented as computer program products, wherein computer instructions, when processed by a computer, adapt the operation of the computer so that the methods and / or techniques described herein are called or otherwise provided. Instructions for calling various methods can be stored in fixed or removable media (e.g., non-transient computer-readable media), transmitted via a data stream in a broadcast or other signal-bearing medium, and / or stored in a memory within a computing device that operates according to the instructions.

[0184] It should be appreciated that, unless stated otherwise (eg, using "or otherwise" or "or in the alternative"), the term "or" as used herein refers to a non-exclusive "or".

[0185] It will be appreciated that although various embodiments that incorporate the teachings presented herein have been shown and described in detail herein, those skilled in the art can readily devise many other varied embodiments that still incorporate these teachings.

Claims

1. A device for communication, comprising: at least one processor; as well as at least one memory including an instruction set; wherein the set of instructions is configured to, when executed by the at least one processor, cause the apparatus to: Supporting communication of a packet on a sub-label switched path of an aggregate label switched path, wherein the packet includes a payload, a forwarding equivalence class of the sub-label switched path, and a label of the aggregate label switched path, wherein the forwarding equivalence class of the sub-label switched path is arranged between the payload and the label of the aggregate label switched path.

2. The apparatus of claim 1 , wherein to support communication of the packet, the set of instructions, when executed by the at least one processor, causes the apparatus to: The egress router of the aggregated label switched path determines a next label switched path for the packet based on the forwarding equivalence class of the sub-label switched path.

3. The apparatus of claim 1 , wherein the set of instructions, when executed by the at least one processor, is configured to cause the apparatus to: Signaling an association of the sub-label switched path with the aggregate label switched path by an egress router of the aggregate label switched path is prevented.

4. The apparatus of claim 1 , wherein the set of instructions, when executed by the at least one processor, is configured to cause the apparatus to: An ingress router of the aggregated label switched path forms an association between the sub-label switched path and the aggregated label switched path. 5 . The apparatus of claim 4 , wherein the association of the sub-label switched path with the aggregate label switched path is based on that the forwarding equivalence class of the sub-label switched path is a subset of the forwarding equivalence class of the aggregate label switched path. 6 . The apparatus of claim 4 , wherein the association of the sub-label switched path with the aggregate label switched path is based on a policy at the ingress router.

7. The apparatus of claim 6, wherein the sub-label switched path is based on a first version of Internet Protocol (IP), and the aggregate label switched path is based on a second version of IP, wherein the policy at the ingress router is configured to associate a first IP prefix of the first version of IP with a second IP prefix of the second version of IP. 8 . The apparatus according to claim 1 , wherein a forwarding equivalence class type of the sub-label switched path and a forwarding equivalence class type of the aggregate label switched path are the same. 9 . The apparatus according to claim 8 , wherein the forwarding equivalence class type of the sub-label switched path and the forwarding equivalence class type of the aggregate label switched path are prefix forwarding equivalence class types.

10. The apparatus of claim 9, wherein the forwarding equivalence class of the child label switched path is a subset of the forwarding equivalence class of the aggregate label switched path.

11. The apparatus of claim 9, wherein the prefix forwarding equivalence class type is an Internet Protocol version 4 (IPv4) prefix or an Internet Protocol version 6 (IPv6) prefix.

12. The apparatus of claim 8, wherein the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on a numeric PWid, wherein the aggregate label switching path is a single-segment pseudowire and the forwarding equivalence class of the aggregate label switching path is a forwarding equivalence class type based on a PWid.

13. The apparatus of claim 8, wherein the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on a digital PWid, wherein the aggregate label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregate label switching path is a PWid forwarding equivalence class type.

14. The apparatus according to claim 1, wherein a forwarding equivalence class type of the sub-label switched path is different from a forwarding equivalence class type of the aggregate label switched path.

15. The apparatus according to claim 14, wherein the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on PWid, wherein the aggregate label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregate label switching path is a forwarding equivalence class type based on {SAII, TAII}.

16. The apparatus of claim 14, wherein the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on a digital PWid, wherein the aggregate label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregate label switching path is a single-segment pseudowire forwarding equivalence class type.

17. The apparatus of claim 14, wherein the sub-label switching path is a single-segment pseudowire and the forwarding equivalence class of the sub-label switching path is a forwarding equivalence class type based on a digital PWid, wherein the aggregate label switching path is a multi-segment pseudowire and the forwarding equivalence class of the aggregate label switching path is a multi-segment pseudowire forwarding equivalence class type.

18. The apparatus of claim 1, wherein the sub-label switched path and the aggregate label switched path have a common egress router.

19. The apparatus according to claim 1, wherein the egress router of the aggregated label switched path is a border router of a routing domain, and wherein the forwarding equivalence class type of the aggregated label switched path is a prefix forwarding equivalence class type.

20. The apparatus of claim 19, wherein the routing domain is an Interior Gateway Protocol (IGP) area or an Autonomous System (AS).

21. The apparatus of claim 19, wherein the prefix forwarding equivalence class type is a prefix forwarding equivalence class that encodes an Internet Protocol (IP) routing prefix summarized by the border router of the routing domain.

22. The apparatus of claim 1, wherein the egress router of the aggregate label switched path is a provider edge router, wherein the forwarding equivalence class type of the aggregate label switched path is a single-segment pseudowire forwarding equivalence class type.

23. The apparatus according to claim 1, wherein the egress router of the aggregate label switched path is a terminal provider edge router, and wherein the forwarding equivalence class type of the aggregate label switched path is a multi-segment pseudowire forwarding equivalence class type.

24. The apparatus of claim 1, wherein the set of instructions, when executed by the at least one processor, is configured to cause the apparatus to: The ingress router verifies the validity of the sub-label switched path at the egress router of the aggregate label switched path.

25. The apparatus of claim 24, wherein the validity of the sub-label switched path at the egress router of the aggregate label switched path is verified based on sending of at least one connectivity message from the ingress router of the aggregate label switched path to the egress router of the aggregate label switched path.

26. The apparatus of any one of claims 1 to 25, wherein the set of instructions, when executed by the at least one processor, is configured to cause the apparatus to: An indication of a set of valid child label switched paths of the aggregate label switched path is signaled by an egress router of the aggregate label switched path.

27. The apparatus of claim 26, wherein to signal the indication of the set of valid sub-label switched paths of the aggregated label switched path, the set of instructions is configured to, when executed by the at least one processor, cause the apparatus to: The egress router of the aggregate label switched path includes a bit string within a label mapping message of the aggregate label switched path, the bit string including a set of bit positions associated with a corresponding set of child label switched paths of the aggregate label switched path.

28. The apparatus of claim 27, wherein the forwarding equivalence class of the sub-label switching path is a digital PWid forwarding equivalence class type, and the forwarding equivalence class type of the aggregate label switching path is a single-segment pseudowire forwarding equivalence class type, wherein the bit position of the sub-label switching path in the bit string is the PWid of the sub-label switching path.

29. The apparatus of claim 27, wherein the forwarding equivalence class of the sub-label switched path is a digital PWid forwarding equivalence class type, and the forwarding equivalence class type of the aggregated label switched path is a multi-segment pseudowire forwarding equivalence class type, wherein the bit position of the sub-label switched path in the bit string is the PWid of the sub-label switched path.

30. The apparatus of claim 27, wherein the forwarding equivalence class of the sub-label switched path is an Internet Protocol (IP) host address within a prefix forwarding equivalence class of the aggregate label switched path, and wherein a bit position of the sub-label switched path in the bit string is an offset of the IP host address within the prefix forwarding equivalence class of the aggregate label switched path.

31. A non-transitory computer readable medium storing a set of instructions that, when executed by an apparatus, cause the apparatus to: Supporting communication of a packet on a sub-label switched path of an aggregate label switched path, wherein the packet includes a payload, a forwarding equivalence class of the sub-label switched path, and a label of the aggregate label switched path, wherein the forwarding equivalence class of the sub-label switched path is arranged between the payload and the label of the aggregate label switched path.

32. A method of communication, comprising: Supporting communication of a packet on a sub-label switched path of an aggregate label switched path, wherein the packet includes a payload, a forwarding equivalence class of the sub-label switched path, and a label of the aggregate label switched path, wherein the forwarding equivalence class of the sub-label switched path is arranged between the payload and the label of the aggregate label switched path.

33. An apparatus for communication, comprising: at least one processor; as well as at least one memory including an instruction set; wherein the set of instructions is configured to, when executed by the at least one processor, cause the apparatus to: Supporting communication of a packet on a sub-label switched path of an aggregate label switched path, wherein the packet comprises a payload, a forwarding equivalence class header of the sub-label switched path, and a label of the aggregate label switched path, wherein the forwarding equivalence class header is arranged between the payload and the label of the aggregate label switched path, wherein the forwarding equivalence class header comprises an indication of a forwarding equivalence class of the sub-label switched path and an indication of a forwarding equivalence class type of the forwarding equivalence class of the sub-label switched path.