Label Allocation Schemes THE MULTI-PROTOCOL LABEL SWITCHING MPLS ARCHITECTURE
146 THE MULTI-PROTOCOL LABEL SWITCHING MPLS ARCHITECTURE
the higher-level peer groups. When a calling user wishes to establish a connection to a destination user, it sends a SETUP message to its ingress ATM switch using the Q.2931
signaling protocol. The ingress ATM switch calculates a path through the ATM network, and then using the PNNI protocol it forwards the SETUP message to the next switch
along the path, which forwards it to the next ATM switch on the path, and so on, until the SETUP message reaches the egress ATM switch which serves the called user. The
egress switch forwards the SETUP message to the called user using the Q.2931 signaling protocol, and if the called user accepts it, a confirmation is returned back to the calling
user. At that time, the calling user can start transmitting data to the called user.
In MPLS over ATM, this entire signaling functionality is removed from the ATM switches. Instead, each ATM switch is identified by an IP address and runs IP routing
protocols. Such an ATM switch is referred to as an ATM-LSR. As in an IP router, using IP routing protocols an ATM-LSR can learn about its neighbors and about the topology
of its IP domain, and it can calculate the next hop ATM-LSR for each IP destination.
In MPLS over ATM, an LSP is nothing else but an ATM connection which is set up using MPLS. The MPLS label is carried in the VPIVCI field of the cell. If a label stack
is used, then only two labels can be carried. The top label is carried in the VPI field and the bottom one in the VCI field. The advertising of label bindings is done using
downstream allocation on demand. That is, when an ATM-LSR identifies a new FEC it allocates a label, but it does not advertise it to its neighbors. An upstream ATM-LSR
obtains the label binding by sending a request. A predefined ATM VC connection is used for exchanging label binding information.
Let us consider now a network of ATM-LSRs. An IP packet at the ingress ATM-LSR, is first encapsulated into a CPS-PDU using AAL 5. Then, it is segmented into an integer
number of 48-byte blocks and each block is carried in a different ATM cell. The label associated with the particular LSP is carried in the VPIVCI field of the cell. When an
ATM cell reaches the next hop ATM-LSR, its label is replaced by the outgoing label and the cell is switched to the appropriate output from where it is transmitted out to
the next ATM-LSR. This continues until the cell reaches the egress ATM-LSR. There, the cell is assembled with other cells into the original AAL 5 CSC-PDU, and the IP
packet is recovered from its payload and is delivered to the IP protocol. Therefore, an IP packet traverses the network of ATM-LSRs in a sequence of ATM cells that are switched
through each ATM-LSR without ever having to reconstruct the original IP packet at each intermediary ATM-LSR, except at the egress ATM-LSR. This is very similar to the IP
switching scheme.