Cisco IOS XE
https://www.networkworld.com/article/2281049/lan-wan/chapter-4--cisco-mpls-traffic-engineering.html
mpls traffic-eng auto-tunnel mesh
mpls traffic-eng auto-tunnel mesh tunnel-num min 5000 max 5099
interface Auto-Template500
ip unnumbered Loopback0
tunnel mode mpls traffic-eng tunnel destination access-list 5
tunnel mpls traffic-eng autoroute destination
tunnel mpls traffic-eng affinity 0x0 mask 0x4
tunnel mpls traffic-eng path-option 10 dynamic
access-list 5 permit 8.8.8.8
access-list 5 permit 11.11.11.11
Cisco IOS XR
ipv4 unnumbered mpls traffic-eng Loopback0
!
ipv4 prefix-list PL_MESH_ENDPOINT
10 permit 1.1.1.1/32
20 permit 8.8.8.8/32
mpls traffic-eng
auto-tunnel mesh
group 500
attribute-set ATT_NOT_BLUE
destination-list PL_MESH_ENDPOINT
timers removal unused 0
tunnel-id min 5000 max 5099
attribute-set auto-mesh ATT_NOT_BLUE
logging events lsp-status state
logging events lsp-status reroute
autoroute announce
affinity 0x0 mask 0x4