{% extends 'layout.html' %} {% block title %}Configure Interface • Network Command{% endblock %} {% block body %}

Interface: {{interface}}

{% from "includes/_formhelper.html" import render_field %}
{% if 'description' in config%}{% endif %} {% if 'unit' in config %} {% if 'ethernet-switching' in config['unit']['family'] %} {% if 'vlan' in config['unit']['family']['ethernet-switching'] %} {% endif %} {% endif %} {% endif %}
Description: {{config['description']}}
Mode:{% if 'port-mode' in config['unit']['family']['ethernet-switching'] %}{{config['unit']['family']['ethernet-switching']['port-mode']}}{% else %}Access{% endif %}
VLANs: {% if config['unit']['family']['ethernet-switching']['vlan']['members'] is iterable and config['unit']['family']['ethernet-switching']['vlan']['members'] is not string %} {% for vlan in config['unit']['family']['ethernet-switching']['vlan']['members'] %} {{vlan}}{{ "," if not loop.last }} {% endfor %} {% else %} {{config['unit']['family']['ethernet-switching']['vlan']['members']}} {% endif %}
{% endblock %}