fix switches
This commit is contained in:
parent
89be4dae61
commit
1100432b95
|
@ -77,7 +77,7 @@ expect "(config)# "
|
||||||
|
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
{%- if conf['nostp'] %}
|
{%- if conf.get('nostp') %}
|
||||||
send "spanning-tree {{ conf['ports'] }} bpdu-filter\r"
|
send "spanning-tree {{ conf['ports'] }} bpdu-filter\r"
|
||||||
expect "(config)# "
|
expect "(config)# "
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
Loading…
Reference in New Issue