set switchmachine [lindex $argv 3]
set serverport [lindex $argv 4]
set serverip [lindex $argv 5]
set clientip [lindex $argv 6]
#set prompt for guest console
error GUEST "\[Ee]rror|ERR|\[Pp]anic"
send_wait SAM "sim$nic connect $switchmachine/$serverport"
#sleep for a while to wait GUEST.
send_wait GUEST "/ll/cwd/sam.server -s $serverip -c $clientip"