Commit aeae6e66 authored by Leigh B Stoller's avatar Leigh B Stoller

Remove spanning tree stuff, does not work, need help. Add no-autoneg

to port config as per NetScout support; disables something that happens
when two mellanox switches are connected to each other, that confused
the netscout.
parent 13c85de6
......@@ -233,7 +233,6 @@ sub generateConfig($$)
"username $uid password 7 $encrypted");
if (0) {
# Find all the ports that are in use on this switch. We want to enable
# those ports and put them into vlan 1. This will give the user a basic
......@@ -276,22 +275,19 @@ sub generateConfig($$)
my $port = $interface->port();
"interface te $card/$port",
" switchport",
" spanning-tree mode rst",
" spanning-tree guard loop",
"interface ethernet $card/$port",
" shutdown",
" switchport mode access",
" speed 10G no-autoneg",
" no shutdown",
" exit");
if (@portlines) {
"spanning-tree mode rst",
" no disable",
" exit",
"no spanning-tree",
"write memory",
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment