Skip to content

Interface tunnel-te

Configure MPLS Traffic Engineering (TE) tunnel interfaces on IOS XR devices. Tunnel-TE interfaces provide MPLS Label Switched Paths (LSPs) with explicit routing, bandwidth guarantees, and path protection capabilities.

Diagram
NameTypeConstraintMandatoryDefault Value
tunnel_tesList[tunnel_tes]No

tunnel_tes (iosxr.devices.configuration.interfaces)

Section titled “tunnel_tes (iosxr.devices.configuration.interfaces)”
NameTypeConstraintMandatoryDefault Value
idAnyInteger[min: 0] or String[Regex: ^[0-9][0-9]*$] or String[Regex: ^.*[\$\%]\{.*$]Yes
interface_groupsListStringNo
affinity_maskStringNo
affinity_valueStringNo
auto_bwClass[auto_bw]No
autoroute_announceBooleantrue, falseNo
autoroute_announce_exclude_traffic_segment_routingBooleantrue, falseNo
autoroute_announce_include_ipv6Booleantrue, falseNo
autoroute_announce_metricIntegerNo
autoroute_announce_metric_absoluteIntegerNo
autoroute_announce_metric_relativeIntegerNo
autoroute_destinationsList[autoroute_destinations]No
backup_bw_class_typeAnyChoice[any] or Integer[min: 0, max: 1] or String[Regex: ^.*[\$\%]\{.*$]No
backup_bw_pool_typeStringNo
backup_bw_unlimitedBooleantrue, falseNo
backup_bw_valueIntegerNo
bandwidthIntegermin: 0, max: 9223372036854775807No
bfd_bringup_timeoutIntegermin: 10, max: 3600No
bfd_dampening_initial_waitIntegermin: 1, max: 518400000No
bfd_dampening_maximum_waitIntegermin: 1, max: 518400000No
bfd_dampening_secondary_waitIntegermin: 1, max: 518400000No
bfd_encap_galBooleantrue, falseNo
bfd_fast_detectBooleantrue, falseNo
bfd_lsp_pingAnyInteger or Choice[disable] or String[Regex: ^.*[\$\%]\{.*$]No
bfd_minimum_intervalIntegermin: 3, max: 30000No
bfd_multiplierIntegermin: 3, max: 10No
bfd_sbfdBooleantrue, falseNo
bidirectionalClass[bidirectional]No
binding_sid_mpls_labelIntegerNo
descriptionStringNo
destinationIPNo
fast_rerouteBooleantrue, falseNo
fast_reroute_protect_bandwidthBooleantrue, falseNo
fast_reroute_protect_nodeBooleantrue, falseNo
forward_classIntegerNo
forwarding_adjacencyBooleantrue, falseNo
forwarding_adjacency_holdtimeIntegerNo
forwarding_adjacency_include_ipv6Booleantrue, falseNo
ipv4Class[ipv4]No
ipv6Class[ipv6]No
load_intervalIntegermin: 30, max: 600No
load_shareIntegerNo
logging_events_allBooleantrue, falseNo
logging_events_bfd_statusBooleantrue, falseNo
logging_events_link_statusBooleantrue, falseNo
logging_events_lsp_bw_changeBooleantrue, falseNo
logging_events_lsp_insufficient_bwBooleantrue, falseNo
logging_events_lsp_record_routeBooleantrue, falseNo
logging_events_lsp_reoptimizeBooleantrue, falseNo
logging_events_lsp_reoptimize_attemptsBooleantrue, falseNo
logging_events_lsp_rerouteBooleantrue, falseNo
logging_events_lsp_stateBooleantrue, falseNo
logging_events_lsp_switchoverBooleantrue, falseNo
logging_events_pcalc_failureBooleantrue, falseNo
mpls_mtuIntegermin: 68, max: 65535No
path_optionsList[path_options]No
path_protectionBooleantrue, falseNo
path_protection_non_revertiveBooleantrue, falseNo
path_protection_srlg_diverseBooleantrue, falseNo
path_selectionClass[path_selection]No
policy_classesListAny[Choice[default] or Integer[min: 1, max: 7]]No
priority_holdIntegerNo
priority_setupIntegerNo
record_routeBooleantrue, falseNo
shutdownBooleantrue, falseNo
signalled_bandwidthIntegerNo
signalled_bandwidth_class_typeIntegerNo
signalled_bandwidth_sub_poolBooleantrue, falseNo
signalled_nameStringNo
soft_preemptionBooleantrue, falseNo

auto_bw (iosxr.devices.configuration.interfaces.tunnel_tes)

Section titled “auto_bw (iosxr.devices.configuration.interfaces.tunnel_tes)”
NameTypeConstraintMandatoryDefault Value
adjustment_threshold_minIntegerNo
adjustment_threshold_percentIntegerNo
collect_onlyBooleantrue, falseNo
limit_maxIntegerNo
limit_minIntegerNo
overflow_limitIntegerNo
overflow_minIntegerNo
overflow_thresholdIntegerNo
resignal_last_bandwidth_timeoutIntegerNo
underflow_limitIntegerNo
underflow_minIntegerNo
underflow_thresholdIntegerNo

autoroute_destinations (iosxr.devices.configuration.interfaces.tunnel_tes)

Section titled “autoroute_destinations (iosxr.devices.configuration.interfaces.tunnel_tes)”
NameTypeConstraintMandatoryDefault Value
addressIPYes

bidirectional (iosxr.devices.configuration.interfaces.tunnel_tes)

Section titled “bidirectional (iosxr.devices.configuration.interfaces.tunnel_tes)”
NameTypeConstraintMandatoryDefault Value
association_idIntegerNo
corouted_fault_oamBooleantrue, falseNo
corouted_signaling_protection_object_disableBooleantrue, falseNo
corouted_wrap_protectionBooleantrue, falseNo
global_idIntegerNo
source_addressIPNo
typeChoicecoroutedNo

ipv4 (iosxr.devices.configuration.interfaces.tunnel_tes)

Section titled “ipv4 (iosxr.devices.configuration.interfaces.tunnel_tes)”
NameTypeConstraintMandatoryDefault Value
addressIPNo
forwarding_enableBooleantrue, falseNo
maskIPNo
ttl_propagate_disableBooleantrue, falseNo
unnumberedStringNo

ipv6 (iosxr.devices.configuration.interfaces.tunnel_tes)

Section titled “ipv6 (iosxr.devices.configuration.interfaces.tunnel_tes)”
NameTypeConstraintMandatoryDefault Value
enableBooleantrue, falseNo
ttl_propagate_disableBooleantrue, falseNo

path_options (iosxr.devices.configuration.interfaces.tunnel_tes)

Section titled “path_options (iosxr.devices.configuration.interfaces.tunnel_tes)”
NameTypeConstraintMandatoryDefault Value
preferenceIntegerYes
attribute_setStringNo
dynamicBooleantrue, falseNo
explicit_path_idIntegerNo
explicit_path_nameStringNo
explicit_path_verbatimBooleantrue, falseNo
isis_levelIntegerNo
isis_processStringNo
lockdownBooleantrue, falseNo
lockdown_stickyBooleantrue, falseNo
ospf_areaAnyInteger or String or String[Regex: ^.*[\$\%]\{.*$]No
ospf_processStringNo
protected_by_indexIntegerNo
protected_by_index_secondaryIntegerNo

path_selection (iosxr.devices.configuration.interfaces.tunnel_tes)

Section titled “path_selection (iosxr.devices.configuration.interfaces.tunnel_tes)”
NameTypeConstraintMandatoryDefault Value
cost_limitIntegerNo
delay_limitIntegerNo
hop_limitIntegerNo
metricChoicete, igp, delayNo
tiebreakerChoicemin-fill, max-fill, randomNo

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
hostname: router-1
interfaces:
tunnel_tes:
- id: 100
description: "MPLS-TE Tunnel to Remote Site"
shutdown: false
bandwidth: 1000000
load_interval: 30
ipv4:
unnumbered: Loopback0
path_options:
- preference: 1
dynamic: true

Example 2: MPLS-TE Tunnel with Explicit Path and Bandwidth

Section titled “Example 2: MPLS-TE Tunnel with Explicit Path and Bandwidth”
iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
hostname: router-1
interfaces:
tunnel_tes:
- id: 101
description: "TE tunnel with bandwidth reservation"
destination: 192.168.1.2
bandwidth: 1000000
priority_setup: 7
priority_hold: 7
path_options:
- preference: 1
explicit_name: PRIMARY_PATH
- preference: 2
explicit_name: BACKUP_PATH
autoroute_announce: true
shutdown: false

Example 3: MPLS-TE Tunnel with Fast Reroute (FRR)

Section titled “Example 3: MPLS-TE Tunnel with Fast Reroute (FRR)”
iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
hostname: router-1
interfaces:
tunnel_tes:
- id: 102
description: "TE tunnel with FRR protection"
destination: 192.168.1.2
bandwidth: 1000000
path_options:
- preference: 1
dynamic: true
ipv4:
unnumbered: Loopback0
fast_reroute: true
fast_reroute_protect_node: true
fast_reroute_protect_bandwidth: true

Example 4: MPLS-TE Tunnel with Path Protection

Section titled “Example 4: MPLS-TE Tunnel with Path Protection”
iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
hostname: router-1
interfaces:
tunnel_tes:
- id: 103
description: "TE tunnel with path protection"
destination: 192.168.1.2
path_protection: true
path_protection_non_revertive: true
path_options:
- preference: 1
explicit_name: PRIMARY
- preference: 2
explicit_name: SECONDARY
bandwidth: 1000000
autoroute_announce: true
iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
hostname: router-1
interfaces:
tunnel_tes:
- id: 104
description: "TE tunnel with affinity"
destination: 192.168.1.2
affinity_value: "11"
affinity_mask: "ff"
bandwidth: 1000000
path_options:
- preference: 1
dynamic: true

Example 6: MPLS-TE Tunnel with Auto-bandwidth

Section titled “Example 6: MPLS-TE Tunnel with Auto-bandwidth”
iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
hostname: router-1
interfaces:
tunnel_tes:
- id: 105
description: "TE tunnel with auto-bandwidth"
destination: 192.168.1.2
auto_bw:
adjustment_threshold_percent: 10
limit_min: 1000
limit_max: 100000
path_options:
- preference: 1
dynamic: true

Example 7: MPLS-TE Tunnel with Explicit Autoroute Destinations

Section titled “Example 7: MPLS-TE Tunnel with Explicit Autoroute Destinations”
iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
hostname: router-1
interfaces:
tunnel_tes:
- id: 800
description: "TE tunnel with explicit autoroute"
destination: 192.168.1.2
autoroute_destinations:
- address: 172.16.1.1
- address: 172.16.1.2
- address: 172.16.1.3
bandwidth: 1000000
path_options:
- preference: 1
dynamic: true