Keep standard 30MHzDF and adds the lite configuration
[debian6500.git] / simple-cdd / additional_scripts / configure_switch_bootstrap.tcl
index 873b674e64ed7918a0afbd111d1ffab7fa4a2b9c..db95d4d673f87fd5c731098ed8522737da277649 100755 (executable)
@@ -2,7 +2,7 @@
 
 set host [lrange $argv 0 0]
 if { $host == "" } {
-    puts "usage: configure_switch_bootstrap.tcl \[swg1|swg2|swm\]"
+    puts "usage: configure_switch_bootstrap.tcl \[sw1|sw2|swg1|swg2|swm\]"
     exit 1
 }
 
@@ -10,6 +10,8 @@ set ipaddress ""
 if { $host == "swg1" } { set ipaddress "10.133.26.231" }
 if { $host == "swg2" } { set ipaddress "10.133.26.232" }
 if { $host == "swm" } { set ipaddress "10.133.28.231" }
+if { $host == "sw1" } { set ipaddress "10.133.26.231" }
+if { $host == "sw2" } { set ipaddress "10.133.26.232" }
 if { $ipaddress == "" } { puts "unknown switch '$host'""; exit 1 }
 
 spawn screen -c . /dev/ttyUSB0