Forum Discussion
Aniissa_5245
Nimbostratus
Jul 03, 2012value of cookie insert
Hello, I would like to know the value of the cookie that was inserted for the following tmsh command :
create persistence cookie persist_1 cookie-name cooke1 mirror ...
nitass
Employee
Jul 03, 2012e.g.
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos.ltm) create persistence cookie persist_1 cookie-name cooke1 mirror enabled method insert expiration 0 timeout 3600
01070632:3: Mirroring cannot be enabled on a cookie persistence profile (/Common/persist_1) unless the cookie mode is hash.
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos.ltm) create persistence cookie persist_1 cookie-name cooke1 method insert expiration 0 timeout 3600
root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos.ltm) list persistence cookie persist_1
ltm persistence cookie persist_1 {
app-service none
cookie-name cooke1
expiration 0
method insert
timeout 3600
}
root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos) list ltm virtual bar
ltm virtual bar {
destination 172.28.19.252:http
ip-protocol tcp
mask 255.255.255.255
persist {
persist_1 {
default yes
}
}
pool foo
profiles {
http { }
tcp { }
}
snat automap
vlans-disabled
}
[root@ve11a:Active:Changes Pending] config curl -I http://172.28.19.252
HTTP/1.1 200 OK
Date: Tue, 03 Jul 2012 10:20:33 GMT
Server: Apache/2.2.3 (CentOS)
Last-Modified: Fri, 11 Nov 2011 14:48:14 GMT
ETag: "4183e4-3e-9c564780"
Accept-Ranges: bytes
Content-Length: 62
Content-Type: text/html; charset=UTF-8
Set-Cookie: cooke1=1707657416.20480.0000; path=/
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
