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:
|
vlans:
|
||||||
- mgmt
|
- mgmt
|
||||||
- pub
|
- pub
|
||||||
|
- priv2
|
||||||
- up1
|
- up1
|
||||||
- up2
|
- up2
|
||||||
- up3
|
- up3
|
||||||
|
|
|
@ -62,8 +62,8 @@ expect "(config)# "
|
||||||
{%- if conf['mode'] == 'trunk' %}
|
{%- if conf['mode'] == 'trunk' %}
|
||||||
{%- set group = group + 1 %}
|
{%- set group = group + 1 %}
|
||||||
|
|
||||||
send "no trunk {{ conf['ports'] }}\r"
|
# send "no trunk {{ conf['ports'] }}\r"
|
||||||
expect "(config)# "
|
# expect "(config)# "
|
||||||
send "trunk {{ conf['ports'] }} trk{{ group }} lacp\r"
|
send "trunk {{ conf['ports'] }} trk{{ group }} lacp\r"
|
||||||
expect "(config)# "
|
expect "(config)# "
|
||||||
{%- for vlan_name in conf['vlans'] %}
|
{%- for vlan_name in conf['vlans'] %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user