We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b239d6c commit e27d05dCopy full SHA for e27d05d
netsim/ansible/templates/initial/ios.j2
@@ -51,7 +51,7 @@ interface {{ mgmt.ifname|default('GigabitEthernet0/0') }}
51
interface {{ l.ifname }}
52
{% if l.type == 'vlan_member' and l.vlan.access_id is defined %}
53
encapsulation dot1Q {{ l.vlan.access_id }}
54
-{% elif l.virtual_interface is not defined and netlab_device_type in ['iosvl2','ioll2'] %}
+{% elif (l.type == 'lag' or l.virtual_interface is not defined) and netlab_device_type in ['iosvl2','ioll2'] %}
55
no switchport
56
{% endif %}
57
{% if l.vrf is defined %}
0 commit comments