Forum Discussion
nitass
Jan 06, 2013Employee
e.g.
[root@ve10:Active] config b pool foo list
pool foo {
monitor all myhttp and mytcp1935
members 200.200.200.101:80 {}
}
[root@ve10:Active] config b monitor myhttp list
monitor myhttp {
defaults from http
recv "200 OK"
send "GET / HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n"
}
[root@ve10:Active] config b monitor mytcp1935 list
monitor mytcp1935 {
defaults from tcp
dest 200.200.200.111:1935
}
[root@ve10:Active] config b self 200.200.200.10 list
self 200.200.200.10 {
netmask 255.255.255.0
vlan internal
allow default
}
pool status
[root@ve10:Active] config b pool foo |grep -i pool\ member
+-> POOL MEMBER foo/200.200.200.101:80 active,up
tcpdump
[root@ve10:Active] config tcpdump -nni 0.0 -s0 port 80 or port 1935
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on 0.0, link-type EN10MB (Ethernet), capture size 65535 bytes
11:17:01.127056 IP 200.200.200.10.51288 > 200.200.200.101.80: S 1740295:1740295(0) win 5840 out slot1/tmm0 lis=
11:17:01.127731 IP 200.200.200.101.80 > 200.200.200.10.51288: S 3622615798:3622615798(0) ack 1740296 win 5792 in slot1/tmm0 lis=
11:17:01.128051 IP 200.200.200.10.51288 > 200.200.200.101.80: . ack 1 win 46 out slot1/tmm0 lis=
11:17:01.128379 IP 200.200.200.10.51288 > 200.200.200.101.80: P 1:46(45) ack 1 win 46 out slot1/tmm0 lis=
11:17:01.129725 IP 200.200.200.101.80 > 200.200.200.10.51288: . ack 46 win 46 in slot1/tmm0 lis=
11:17:01.129735 IP 200.200.200.101.80 > 200.200.200.10.51288: P 1:352(351) ack 46 win 46 in slot1/tmm0 lis=
11:17:01.129739 IP 200.200.200.101.80 > 200.200.200.10.51288: F 352:352(0) ack 46 win 46 in slot1/tmm0 lis=
11:17:01.130410 IP 200.200.200.10.51288 > 200.200.200.101.80: . ack 352 win 54 out slot1/tmm0 lis=
11:17:01.130739 IP 200.200.200.10.51288 > 200.200.200.101.80: F 46:46(0) ack 353 win 54 out slot1/tmm0 lis=
11:17:01.131997 IP 200.200.200.101.80 > 200.200.200.10.51288: . ack 47 win 46 in slot1/tmm0 lis=
11:17:02.159136 IP 200.200.200.10.49192 > 200.200.200.111.1935: S 1333436345:1333436345(0) win 5840 out slot1/tmm0 lis=
11:17:02.161051 IP 200.200.200.111.1935 > 200.200.200.10.49192: S 584352362:584352362(0) ack 1333436346 win 5792 in slot1/tmm0 lis=
11:17:02.162395 IP 200.200.200.10.49192 > 200.200.200.111.1935: . ack 1 win 46 out slot1/tmm0 lis=
11:17:02.162403 IP 200.200.200.10.49192 > 200.200.200.111.1935: F 1:1(0) ack 1 win 46 out slot1/tmm0 lis=
11:17:02.163795 IP 200.200.200.111.1935 > 200.200.200.10.49192: F 1:1(0) ack 2 win 46 in slot1/tmm0 lis=
11:17:02.164792 IP 200.200.200.10.49192 > 200.200.200.111.1935: . ack 2 win 46 out slot1/tmm0 lis=