forked from zentralwerk/network
switches/HP-procurve-2824: don't deconfig trunks
these switches will immediately autoconfigure a "dynamnic trunk" that is quickest dissolved by going onsite, unlocking the rack, and unplugging the cables.
This commit is contained in:
parent
710f5973f5
commit
952c0f3b19
|
@ -57,6 +57,7 @@ switches:
|
|||
vlans:
|
||||
- mgmt
|
||||
- pub
|
||||
- priv2
|
||||
- up1
|
||||
- up2
|
||||
- up3
|
||||
|
|
|
@ -62,8 +62,8 @@ expect "(config)# "
|
|||
{%- if conf['mode'] == 'trunk' %}
|
||||
{%- set group = group + 1 %}
|
||||
|
||||
send "no trunk {{ conf['ports'] }}\r"
|
||||
expect "(config)# "
|
||||
# send "no trunk {{ conf['ports'] }}\r"
|
||||
# expect "(config)# "
|
||||
send "trunk {{ conf['ports'] }} trk{{ group }} lacp\r"
|
||||
expect "(config)# "
|
||||
{%- for vlan_name in conf['vlans'] %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user