Lines Matching refs:cmd
5 while ! simp ssh tut sw1 --cmd "ping -c 1 localhost >/dev/null"; do sleep 1; done
6 while ! simp ssh tut h1 --cmd "ping -c 1 localhost >/dev/null"; do sleep 1; done
7 while ! simp ssh tut h2 --cmd "ping -c 1 localhost >/dev/null"; do sleep 1; done
11 simp ssh tut sw1 --cmd "sudo /sbin/ip link add name br0 type bridge"
12 simp ssh tut sw1 --cmd "sudo /sbin/ip link set dev sw1p1 master br0"
13 simp ssh tut sw1 --cmd "sudo /sbin/ip link set dev sw1p2 master br0"
18 simp ssh tut sw1 --cmd "echo 0 | sudo dd of=/sys/class/net/br0/bridge/default_pvid 2> /dev/null"
19 simp ssh tut sw1 --cmd "echo 1 | sudo dd of=/sys/class/net/br0/bridge/vlan_filtering 2> /dev/null"
23 simp ssh tut sw1 --cmd "sudo /sbin/bridge vlan add vid 57 dev sw1p1"
24 simp ssh tut sw1 --cmd "sudo /sbin/bridge vlan add vid 57 dev sw1p2"
28 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p1 learning off"
29 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p2 learning off"
31 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p1 flood off"
32 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p2 flood off"
36 simp ssh tut sw1 --cmd "sudo ifconfig br0 up"
37 simp ssh tut sw1 --cmd "sudo ifconfig sw1p1 up"
38 simp ssh tut sw1 --cmd "sudo ifconfig sw1p2 up"
42 simp ssh tut h1 --cmd "sudo vconfig add sw1p1 57 >/dev/null 2>&1"
43 simp ssh tut h1 --cmd "sudo ifconfig sw1p1 up"
44 simp ssh tut h1 --cmd "sudo ifconfig sw1p1.57 11.0.0.1/24"
46 simp ssh tut h2 --cmd "sudo vconfig add sw1p1 57 >/dev/null 2>&1"
47 simp ssh tut h2 --cmd "sudo ifconfig sw1p1 up"
48 simp ssh tut h2 --cmd "sudo ifconfig sw1p1.57 11.0.0.2/24"
52 simp ssh tut h1 --cmd "ping -c10 11.0.0.2 >/dev/null"