In order to identify a Network Slice end to end, the 5GS uses information called S-NSSAI (Single Network Slice Selection Assistance Information). See clause 5.15.2 of TS 23.501
An S-NSSAI is comprised of:
A Slice/Service type (SST),
A Slice Differentiator (SD), which is optional information that complements the Slice/Service type(s) to differentiate amongst multiple Network Slices.
The S-NSSAI may include both the SST and SD fields (in which case the S-NSSAI length is 32 bits in total), or the S-NSSAI may just include the SST field (in which case the S-NSSAI length is 8 bits only).
The SST field may have standardized and non-standardized values. Values 0 to 127 belong to the standardized SST range and they are defined in TS 23.501
. Values 128 to 255 belong to the Operator-specific range.
The SD field has a reserved value "no SD value associated with the SST" defined as hexadecimal FFFFFF. In certain protocols, the SD field is not included to indicate that no SD value is associated with the SST.