Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note: Nothing is needed to be done on the hosts, it is only switch configuration.


Table of Contents

References 

...

Code Block
#!/usr/bin/expect

set timeout 20

#spawn "./addition.pl"
spawn ssh admin@switch-name

expect "Password:" { send "switch-password\r" }
expect "> " { send "en\r" }
expect "# " { send "conf term\r"

puts ""
for {set port 1} {$port<=40} {incr port} {
        send "interface ib 1/$port module-type qsfp-split-2 force \r"

        puts "PORT=$port is splitted."
}

send "configuration write      \r"
send "exit                     \r"
send "exit                     \r"
}
interact


Un-Split HDR100 to HDR

1. To unsplit the port on the switch use the following command 

Code Block
switch (config) # interface ib 1/<port>/<1-2> module-type qsfp force