IGP Configuration Template
SR IGP templates for IOS XR
Jinja2 IGP SR Template
segment-routing global-block {{ SRGB_START | default("16000") }} {{ SRGB_END | default("23999") }}
!
router isis {{ ISIS_PROCESS | default("1") }}
address-family ipv4 unicast
router-id {{ RID_IFACE | default("Loopback0") }}
metric-style wide
mpls traffic-eng {{ ISIS_LEVEL | default("level-2-only") }}
mpls traffic-eng router-id {{ RID_IFACE | default("Loopback0") }}
segment-routing mpls
{%- if MICROLOOP_AVOIDANCE %}
microloop avoidance segment-routing
{%- endif %}
{%- if MICROLOOP_AVOIDANCE_DELAY %}
microloop avoidance rib-update-delay {{ MICROLOOP_AVOIDANCE_DELAY }}
{%- endif %}
{%- if MAPPING_SERVER %}
segment-routing prefix-sid-map advertise-local
{%- endif %}
!
interface {{ RID_IFACE | default("Loopback0") }}
address-family ipv4 unicast
prefix-sid index {{ INDEX }}
!
{%- for IFACE in NNI %}
interface {{ IFACE.NAME }}
{%- if TI_LFA %}
address-family ipv4 unicast
fast-reroute per-prefix
fast-reroute per-prefix ti-lfa
{%- endif %}
!
{%- endfor %}
!
mpls traffic-engSample Variables
Notes
Links
Todo
Last updated