SR Linux tries to apply the /system/mtu/default-port-mtu value for its interfaces.
When we provision macvlan interface into srlinux namespace setting the mtu to any value not equal to parents mtu will fail and lead to interface shutdown.
When provisioning macvlan interfaces on srlinux we need to get the mtu value of a parent interface and set it in the configuration template for the port.
SR Linux tries to apply the
/system/mtu/default-port-mtu
value for its interfaces. When we provision macvlan interface into srlinux namespace setting the mtu to any value not equal to parents mtu will fail and lead to interface shutdown.When provisioning macvlan interfaces on srlinux we need to get the mtu value of a parent interface and set it in the configuration template for the port.