Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

CSS 115003 Configuring HTTP Compression (not work)

Hi

I need configure HTTP Compression by hardware on CSS 11503. I make config like this http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/css11500series/v8.10/configuration/ssl/guide/Compress.html#wp1031247

My config:

service s1

  ip address 10.1.66.11 (web server)

  keepalive type none

  compress enable

  slot 3

  compress encode force-gzip

  compress accept-omit gzip

  active

  content C1

    vip address 10.1.65.31

    protocol tcp

    port 80

    url "/*"

    add service s1

    active

But web site respond and not compress of my traffic:

-----------------------------------------------------------------------------------------------------------------

CSS11503# show version

Version:               sg0810106 (08.10.1.06)

Flash (Locked):        08.10.1.06

Flash (Operational):   08.10.1.06

Type:                  PRIMARY

Licensed Cmd Set(s):   Standard Feature Set

CSS11503# show chassis coprocessors

Configuration for CSS11503-AC L0:

Product Name:    CSS11503-AC L0     SW Version:        08.10.1.06

Serial Number:   JMX124051AY        Base Mac Address:  00-22-55-68-ef-91

Coprocessor Inventory:

Slot/SubSlot    Coprocessor    Version    Active

------------    -----------    -------    ------------

   3/1          COMPRESSION       11      OPERATIONAL

CSS11503# sh service s1

Name: s1                Index: 5    

  Type: Local            State: Alive

  Rule ( 10.1.66.11  ANY  ANY )

  Session Redundancy: Disabled

  Redirect Domain: 

  Redirect String:

  Keepalive: (NONE   5   3   5 )

  Keepalive Encryption:      Disabled

  Last Clearing of Stats Counters: 01/18/2012 04:53:19

  Mtu:                       1500        State Transitions:            6

  Total Local Connections:   17          Total Backup Connections:     0

  Current Local Connections: 1           Current Backup Connections:   0

  Total Connections:         17          Max Connections:              65534

  Total Reused Conns:        2        

  Weight:                    1           Load:                         2

  Weight Reporting:          None       

  Compression Type:          ASCII

  Compression Encode:        Force-gzip

  Compression Accept-omit:   Gzip

  Compression TCP settings:

    Virtual TCP Inactivity TO:    240      Server TCP Inactivity TO:    240 

    Virtual TCP Syn Timeout:      30       Server TCP Syn Timeout:      30  

    Virtual TCP Ack Delay:        200      Server TCP Ack Delay:        200 

    Virtual TCP Fin Timeout:      30       Server TCP Fin Timeout:      30  

    Virtual Min Retrans Timer:    500      Server Min Retrans Timer:    500 

    Virtual TCP Nagle Algorithm:  enable   Server TCP Nagle Algorithm:  enable

    TCP Receive Buffer:           32768    Server TCP Queue Delay:      750 

    TCP Transmit Buffer:          65536

  Compression Statistics:

    HTTP Responses In:                                                 1

    Compressed HTTP Responses Out:                                     0

    Bypassed HTTP Responses Out:                                       1

    HTTP Response Bytes In:                                          262

    Compressed HTTP Response Bytes Out:                                0

   Bypassed HTTP Response Bytes Out:                                262

    Compression Ratio Percentage:                                     0%

  # of connections closed/reset due to:

    Unknown Method:                      0

    Pipelined Data:                      0

    Client Tag Format:                   0

    Server Tag Format:                   0

    Internal Error:                      0

  # of files bypassed due to:

    Method:                            0  Status:                            4

    Client Version:                    0  Server Version:                    0

    Accept-Encoding:                   0  MD5 or Encoded:                    0

    File Extension:                   15  Content Type:                      0

                                          Data Too Small:                    6

    C-Bypass Total:                   15  S-Bypass Total:                   10

________________________________________

HTTP session on Internet Explorer:

GET / HTTP/1.1

Accept: text/html, application/xhtml+xml, */*

Accept-Language: ru-RU

User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)

Accept-Encoding: gzip, deflate

Host: 10.1.65.31

Connection: Keep-Alive

HTTP/1.1 200 OK

Content-Length: 1433

Content-Type: text/html

Content-Location: http://10.1.65.31/iisstart.htm

Last-Modified: Thu, 24 Mar 2005 11:19:08 GMT

Accept-Ranges: bytes

ETag: "05eb54b6330c51:4a6"

Server: Microsoft-IIS/6.0

X-Powered-By: ASP.NET

Date: Wed, 18 Jan 2012 11:35:42 GMT

<html>

<head>

<meta HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">

4 REPLIES
Cisco Employee

CSS 115003 Configuring HTTP Compression (not work)

Good morning,

To troubleshoot this further, you will need to get simultaneous traffic captures on both sides of the CSS and capture the test connection.

Looking at the traffic, we should be able to see why compression is not taking place.

Regards

Daniel

New Member

Re: CSS 115003 Configuring HTTP Compression (not work)

See attachment. This is TCPDUMP session

10.1.3.65 - client

10.1.66.254 - CSS (as router) in server network. HEAD from it - this is keepalive ping for other service.

Cisco Employee

Re: CSS 115003 Configuring HTTP Compression (not work)

Hi,

At first sight, I don't see anything wrong with it, so I would recommend you to open a TAC service request to have this investigated in more detail.

Regards

Daniel

New Member

Re: CSS 115003 Configuring HTTP Compression (not work)

I have no SMARTnet subscription for TAC support service. CSS is bought 3 years ago.

If I would have an access to TAC that I would not communicate in a forum.

879
Views
0
Helpful
4
Replies
CreatePlease login to create content