forked from zentralwerk/network
switches: deconfigure all VLANs on 3com-4200G
This commit is contained in:
parent
568a22b328
commit
7b7530764d
|
@ -78,6 +78,9 @@ expect "]"
|
|||
send "port trunk pvid vlan 4094\r"
|
||||
expect "]"
|
||||
{%- for vlan_name in conf['vlans'] %}
|
||||
# Deconfigure all but mgmt vlan
|
||||
send "undo port trunk permit vlan 2 to 4094\r"
|
||||
expect "]"
|
||||
send "port trunk permit vlan {{ pillar['vlans'][vlan_name] }}\r"
|
||||
expect "]"
|
||||
{%- endfor %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user