| Lower layer | Selector | Value |
ethernet2 | ethertype | 34887 (0x8847) |
ethernet2 | ethertype | 34888 (0x8848) |
udp | dst_port / src_port | 6635 (0x19eb) |
gre | protocol_type | 34887 (0x8847) |
mpls | s | 0 |
| Field | Type | Default | Auto | Description |
label | enum(20) | 16 | | 20-bit MPLS label value. 0-15 are reserved (0 / 2 explicit null, 1 router alert, 3 implicit null, 7 entropy label indicator, 13 GAL, 14 OAM alert, 15 extension); SR-MPLS SIDs are SRGB base + SID index. |
tc | uint(3) | 0 | | 3-bit traffic class (QoS / ECN). |
s | uint(1) | 1 | Protocol number of the next layer (see Next layer) | Bottom-of-stack bit (1 = last label; Auto from the next layer). |
ttl | uint(8) | 64 | | MPLS time to live. |
| Value | Name |
| 0 (0x00000) | ipv4_explicit_null |
| 1 (0x00001) | router_alert |
| 2 (0x00002) | ipv6_explicit_null |
| 3 (0x00003) | implicit_null |
| 7 (0x00007) | entropy_label_indicator |
| 13 (0x0000d) | gal |
| 14 (0x0000e) | oam_alert |
| 15 (0x0000f) | extension |
The next layer is selected by s; when the field is Auto the builder writes the value of the protocol stacked above.
First 4 bits of the payload when s = 1