switches/3com-4200G: fix vlan deconfiguration
This commit is contained in:
parent
7b7530764d
commit
9530840265
|
@ -77,10 +77,10 @@ expect "]"
|
|||
# Set dummy default vlan
|
||||
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 "]"
|
||||
{%- for vlan_name in conf['vlans'] %}
|
||||
send "port trunk permit vlan {{ pillar['vlans'][vlan_name] }}\r"
|
||||
expect "]"
|
||||
{%- endfor %}
|
||||
|
|
Loading…
Reference in New Issue