{# SPDX-License-Identifier: Apache-2.0 #} {# Copyright (C) 2025 Marcin Zieba #} {# Lazy-loaded fragment: per-interface MTU (Phase 2b, read-only mirror). #} {% include "netbox_nso_plugin/categories/_adapter_error.html" %} {% url 'dcim:device_nso' pk=object.pk as return_url %} {% if interface_mtu_states %}

Per-interface MTU read from the device (only explicitly-configured values are shown). Accept adopts the interface's MTU as NetBox-managed intent (the native L2 MTU is also written onto the NetBox interface) and re-asserts it on the device on Apply. Nokia router interfaces show the bound port that carries the L2 MTU.

{% include "netbox_nso_plugin/categories/_table_filter.html" with fid="flt-ifmtu" placeholder="Filter by interface / bound port…" show_status=True %}
{% for s in interface_mtu_states %} {% url 'plugins:netbox_nso_plugin:overlay_field_edit' key='interface_mtu' pk=s.pk as mtu_edit_url %} {% endfor %}
InterfaceL2 MTUIP MTUMPLS MTUBound PortStatusLast Synced
{{ s.interface.name }} {{ s.l2_mtu|default:"—" }} {{ s.ip_mtu|default:"—" }} {{ s.mpls_mtu|default:"—" }} {{ s.bound_port|default:"—" }} {% include "netbox_nso_plugin/categories/_state_badge.html" with status=s.status residue=s.residue_survivor residue_job=s.residue_job_id %} {% if s.last_sync_at %}{{ s.last_sync_at|date:"Y-m-d H:i" }}{% else %}—{% endif %} {% url 'plugins:netbox_nso_plugin:nsointerfacemtustate_edit' pk=s.pk as edit_url %}{% include "netbox_nso_plugin/categories/_edit_link.html" with edit_url=edit_url return_url=return_url %} {% url 'plugins:netbox_nso_plugin:interface_mtu_accept' pk=s.pk as accept_url %}{% include "netbox_nso_plugin/categories/_accept_cell.html" with accept_url=accept_url status=s.status title="Make NetBox the source of truth for this interface's MTU (re-asserted on the device on Apply)" %}
{% else %}

No interface MTU reported for this device.

{% endif %}