mpls_types.proto¶
Messages¶
MplsLabel¶
An MPLS label, per RFC 3032.
Valid labels must be in the range 0 to 1048575. The value 1048576 denotes the label is unset and therefore invalid. The default value of 0 is the explicit null label. LSRs receiving this label are expected to pop it and perform ultimate IP forwarding.
EosSdk reference: eos::mpls_label_t
Name | Value | Description |
---|---|---|
oneof label_present.label | uint32 | Default value is 1048576 (invalid label). |
Enums¶
MplsActions¶
The action to take for an MPLS route.
EosSdk reference: eos::mpls_action_t
Name | Value | Description |
---|---|---|
MPLS_ACTION_NULL | 0 | |
MPLS_ACTION_PUSH | 1 | |
MPLS_ACTION_POP | 2 | |
MPLS_ACTION_SWAP | 3 | |
MPLS_ACTION_FORWARD | 4 |
MplsPayloadType¶
The inner payload type. Used in a similar way to ethertype, as MPLS does not provide this in the packet.
EosSdk reference: eos::mpls_payload_type_t
Name | Value | Description |
---|---|---|
MPLS_PAYLOAD_TYPE_NULL | 0 | |
MPLS_PAYLOAD_TYPE_MPLS | 1 | |
MPLS_PAYLOAD_TYPE_IPV4 | 2 | |
MPLS_PAYLOAD_TYPE_IPV6 | 3 | |
MPLS_PAYLOAD_TYPE_GUESS | 4 |
MplsTtlMode¶
Whether to use the pipe or uniform TTL inheritance mode.
EosSdk reference: eos::mpls_ttl_mode_t
Name | Value | Description |
---|---|---|
MPLS_TTL_MODE_NULL | 0 | |
MPLS_TTL_MODE_PIPE | 1 | |
MPLS_TTL_MODE_UNIFORM | 2 |