...
Note: Nothing is needed to be done on the hosts, it is only switch configuration.
Table of Contents |
---|
ReferencesÂ
- QM8700 Series - Mellanox Quantum™ HDR 200Gb/s InfiniBand Smart Switches
- DAC Split Cable (HDR-to-Dual HDR100 Y Split - Copper)
...
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
|