v10.2.4
[root@ve10:Active] config b version|grep -iA 1 version
BIG-IP Version 10.2.4 655.0
Hotfix HF4 Edition
[root@ve10:Active] config b virtual bar list
virtual bar {
snat automap
pool foo
destination 172.28.19.252:80
ip protocol 6
persist mycookie
profiles {
http {}
tcp {}
}
}
[root@ve10:Active] config b profile mycookie list
profile persist mycookie {
mode cookie
cookie expiration 0:10:00
}
[root@ve10:Active] config curl -I http://172.28.19.252
HTTP/1.1 200 OK
Date: Sat, 04 May 2013 06:49:05 GMT
Server: Apache/2.2.3 (CentOS)
Last-Modified: Sat, 27 Oct 2012 03:22:35 GMT
ETag: "4183f3-59-f28f94c0"
Accept-Ranges: bytes
Content-Length: 89
Content-Type: text/html; charset=UTF-8
Set-Cookie: BIGipServerfoo=1707657416.20480.0000; expires=Sat, 04-May-2013 06:48:23 GMT; path=/
[root@ve10:Active] config curl -I http://172.28.19.252 -H "Cookie: BIGipServerfoo=1707657416.20480.0000; expires=Sat, 04-May-2013 06:48:23 GMT; path=/"
HTTP/1.1 200 OK
Date: Sat, 04 May 2013 06:49:15 GMT
Server: Apache/2.2.3 (CentOS)
Last-Modified: Sat, 27 Oct 2012 03:22:35 GMT
ETag: "4183f3-59-f28f94c0"
Accept-Ranges: bytes
Content-Length: 89
Content-Type: text/html; charset=UTF-8
Set-Cookie: BIGipServerfoo=1707657416.20480.0000; expires=Sat, 04-May-2013 06:48:33 GMT; path=/
v11.3.0
root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos) show sys version|grep -A 5 Main\ Package
Main Package
Product BIG-IP
Version 11.3.0
Build 3022.0
Edition Hotfix HF3
Date Fri Feb 22 00:00:34 PST 2013
root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos) list ltm virtual bar
ltm virtual bar {
destination 172.28.20.16:80
ip-protocol tcp
mask 255.255.255.255
persist {
mycookie {
default yes
}
}
pool foo
profiles {
http { }
tcp { }
}
source 0.0.0.0/0
source-address-translation {
type automap
}
vlans-disabled
}
root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos) list ltm persistence cookie mycookie
ltm persistence cookie mycookie {
always-send disabled
app-service none
expiration 10:0
}
[root@ve11a:Active:Changes Pending] config curl -I http://172.28.20.16
HTTP/1.1 200 OK
Date: Sat, 04 May 2013 06:51:23 GMT
Server: Apache/2.2.3 (CentOS)
Last-Modified: Sat, 27 Oct 2012 03:22:35 GMT
ETag: "4183f3-59-f28f94c0"
Accept-Ranges: bytes
Content-Length: 89
Content-Type: text/html; charset=UTF-8
Set-Cookie: BIGipServerfoo=1707657416.20480.0000; expires=Sat, 04-May-2013 06:44:06 GMT; path=/
[root@ve11a:Active:Changes Pending] config curl -I http://172.28.20.16 -H "Cookie: BIGipServerfoo=1707657416.20480.0000; expires=Sat, 04-May-2013 06:44:06 GMT; path=/"
HTTP/1.1 200 OK
Date: Sat, 04 May 2013 06:51:31 GMT
Server: Apache/2.2.3 (CentOS)
Last-Modified: Sat, 27 Oct 2012 03:22:35 GMT
ETag: "4183f3-59-f28f94c0"
Accept-Ranges: bytes
Content-Length: 89
Content-Type: text/html; charset=UTF-8
root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos) modify ltm persistence cookie mycookie always-send enabled
root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos) list ltm persistence cookie mycookie
ltm persistence cookie mycookie {
always-send enabled
app-service none
expiration 10:0
}
[root@ve11a:Active:Changes Pending] config curl -I http://172.28.20.16
HTTP/1.1 200 OK
Date: Sat, 04 May 2013 06:52:00 GMT
Server: Apache/2.2.3 (CentOS)
Last-Modified: Sat, 27 Oct 2012 03:22:35 GMT
ETag: "4183f3-59-f28f94c0"
Accept-Ranges: bytes
Content-Length: 89
Content-Type: text/html; charset=UTF-8
Set-Cookie: BIGipServerfoo=1707657416.20480.0000; expires=Sat, 04-May-2013 06:44:43 GMT; path=/
[root@ve11a:Active:Changes Pending] config curl -I http://172.28.20.16 -H "Cookie: BIGipServerfoo=1707657416.20480.0000; expires=Sat, 04-May-2013 06:44:43 GMT; path=/"
HTTP/1.1 200 OK
Date: Sat, 04 May 2013 06:52:08 GMT
Server: Apache/2.2.3 (CentOS)
Last-Modified: Sat, 27 Oct 2012 03:22:35 GMT
ETag: "4183f3-59-f28f94c0"
Accept-Ranges: bytes
Content-Length: 89
Content-Type: text/html; charset=UTF-8
Set-Cookie: BIGipServerfoo=1707657416.20480.0000; expires=Sat, 04-May-2013 06:44:51 GMT; path=/