{% for p in ports|ports %}
interface {{ p }}
{% if description %}
description {{ description }}
{% endif %}
{% if admin == 'enable' %}
no shutdown
{% elif admin == 'disable' %}
shutdown
{% endif %}
{% if speed != 'keep' %}
speed {{ speed }}
{% endif %}
{% if duplex != 'keep' %}
duplex {{ duplex }}
{% endif %}
exit
{% endfor %}
