Multi-protocol label switching (MPLS) is a promising solution to implement high-speed internet protocol (IP) networks by reducing the layer number. To meet the increasing demand for data traffic, optical packet switching (OPS) is integrated under IP to provide high bandwidth to end users. Generalized MPLS (GMPLS) is perfectly compatible with the routing algorithm in IP/MPLS as it supports packet-switching functions. In this paper, we investigate the label stacking scenarios in GMPLS networks. In GMPLS, label stacking is done to reduce the node complexity by appending multiple labels to a single packet. Wavelength-division multiplexing (WDM) and optical code-division multiplexing (OCDM) signals have been widely used as identifying labels. As the labels can be permutated among the wavelengths or code dimensions, the structure of a label stack can be varied. However, studies on the relationship between label stacking scenarios and network performance are limited. To investigate this issue, we propose three label stacking models: sequential code distribution; sequential wavelength distribution, and random label distribution. The simulation results show that the sequential wavelength assignment, wherein the labels are uniformly distributed among the wavelengths, exhibits the best system performance in terms of the label-error rate (LER).