mpls_route_types.proto¶
Messages¶
MplsFecId¶
Represents a forward equivalency class (FEC) for an MPLS route. One or more routes point to a FEC. The FEC corresponds to a set of MPLS vias that are programmed into hardware.
EosSdk reference: eos::mpls_fec_id_t
| Name | Value | Description |
|---|---|---|
| id | uint64 |
MplsRoute¶
An MPLS v4/v6 static route.
EosSdk reference: eos::mpls_route_t
| Name | Value | Description |
|---|---|---|
| key | MplsRouteKey | |
| oneof _version_id.version_id | optional uint32 | MPLS route version in range <1-65535> |
MplsRouteKey¶
An MPLS route key. Used for MPLS RIB configuration.
EosSdk reference: eos::mpls_route_key_t
| Name | Value | Description |
|---|---|---|
| labels | repeated MplsLabel | |
| metric | uint32 | Must be in range 0 to 255. |
MplsRouteVia¶
An MPLS route via, defining the action to take for a specified MPLS route.
EosSdk reference: eos::mpls_route_via_t
| Name | Value | Description |
|---|---|---|
| route_key | MplsRouteKey | |
| hop | bytes | |
| intf | IntfId | |
| pushswap_label | repeated MplsLabel | |
| label_action | MplsActions | |
| ttl_mode | MplsTtlMode | |
| payload_type | MplsPayloadType | |
| skip_egress_acl | bool | |
| nexthop_group | string | |
| weight | uint32 | Defaults to 1 if not specified |
Enums¶
ViaSetProgrammedHwState¶
Programmed hardware state of the MPLS route's via set
| Name | Value | Description |
|---|---|---|
| VIA_SET_HW_UNKNOWN | 0 | |
| VIA_SET_HW_DROP | 1 | |
| VIA_SET_HW_PARTIALLY_PROGRAMMED | 2 | |
| VIA_SET_HW_ALL_PROGRAMMED | 3 |