Traffic Engineering
TE is a set of techniques for steering traffic along paths different from the shortest path computed by the IGP.
To enforce these paths, TE typically uses a form of source routing, such as MPLS labels or SRv6 extension headers, combined with path constraints, such as administrative groups or bandwidth requirements, and a method to map traffic to TE paths.
Use the commands below to configure link-level TE attributes (administrative groups and bandwidth) and enable TE in the IGP (specifically, IS-IS) so this information is distributed across the network.
Common link parameters
The following commands define link-level TE attributes that can be advertised by both IS-IS and OSPF (not supported yet).
Configure an administrative group and associate it with a bit position.
These groups can then be referenced by the per-interface commands below.
Note
Two administrative groups cannot share the same bit-position value.
Example:
set protocols traffic-engineering admin-group primary bit-position 0
set protocols traffic-engineering admin-group backup bit-position 1
Configure an administrative group on the specified interface.
You can configure multiple administrative groups on the same interface.
Example:
set protocols traffic-engineering interface eth0 admin-group primary
Configure the TE metric for the specified interface (distinct from the OSPF/ISIS metric).
Example:
set protocols traffic-engineering interface eth0 metric 100
Configure the maximum bandwidth, in Mbps, for the specified interface.
Example:
set protocols traffic-engineering interface eth0 max-bandwidth 1000
Configure the maximum reservable bandwidth, in Mbps, for the specified interface.
Example:
set protocols traffic-engineering interface eth0 max-reservable-bandwidth 800
IS-IS TE configuration
The following commands enable TE for IS-IS.
Example:
set protocols isis traffic-engineering enable
Example:
set protocols isis traffic-engineering export
Configure the IPv4 address used as the TE Router ID for MPLS-TE.
Example:
set protocols isis traffic-engineering address 198.51.100.1