The display web-proxy cache cookie-tree command displays information about the cookie tree cached for web proxy on the virtual gateway.
| Parameter | Description | Value |
|---|---|---|
user-name |
Specifies the user name of the virtual gateway. |
The value is a string of 1 to 128 characters. The user name must exist. |
token-id |
Specifies the cookie value. |
The value is a string of 32 characters. |
domain-name |
Specifies the domain name of internal network resources. |
The value is a string of 1 to 127 characters. |
path |
Specifies the cookie path. |
The value is a string of 1 to 127 characters. |
Only the USG6510E/6510E-POE/6530E does not support this command.
Web proxy caches cookie information in the tree structure.
You can use the packet capture tool to obtain the cookie value. For example, the cookie value in the following packet is 16B2A13B4C60C4B11C92731CE9FD8BB0.
Cookie: Token-ID=16B2A13B4C60C4B11C92731CE9FD8BB0\r\n
# Display information about the cookie tree cached for web proxy on virtual gateway gateway.
<sysname> system-view
[sysname] v-gateway gateway
[sysname-gateway] service
[sysname-gateway-service] display web-proxy cache cookie-tree cookie1 KQ490t7{4yWKteswvTE4xZZU0qwz829h .example.com /
Cookie Nodes Under The Specified User Name, Token ID, Domain And Path
-------------------------------------------------------------------------------
User name : cookie1
Token-ID : KQ490t7{4yWKteswvTE4xZZU0qwz829h
Domain name : .example.com
Path : /
Name value pair cookie 0 : hwssot3=23342033132521;
Expires time cookie 0 : 2012/05/04 01:59:48
Name value pair cookie 1 : lang=en;
Expires time cookie 1 : 2012/06/02 01:59:45
Name value pair cookie 2 : FORUM_LOGIN_AUTH_SECURE_CODE=3D-73-53-BA-1F-A1-3B
-43-92-F9-46-A3-E9-09-5A-2E-2A-EE-CD-A4-25-F8-3B-ED-40-D4-8D-97-8C-35-DA-12-74-9
C-B4-D3-60-16-80-26-F8-73-13-23-20-3B-7A-EE-1C-BC-56-41-9E-69-20-A1;
Expires time cookie 2 : 2015/05/03 01:59:48
-------------------------------------------------------------------------------
-----End
Item |
Description |
|---|---|
User name |
User name of the virtual gateway |
Token-ID |
Cookie value |
Domain name |
Domain name of internal network resources |
Path |
Cookie path |
Name value pair |
Key value pair |
Expires time |
Aging time of the key value pair Each key value pair has the corresponding expiration time. |