"Unrecognized command" when configuring WCCP

book

Article ID: 168579

calendar_today

Updated On:

Products

Asset Management Solution ProxySG Software - SGOS

Issue/Introduction

Receiving the following error when configuring WCCP on a ProxySG appliance: "Unrecognized command"

Example:
Proxy#(config);START WCCP
Proxy#(config)inline wccp-settings WCCP-Config22433545342
wccp enable
wccp version 2
service-group web-cache
forwarding-type GRE
interface 0:0
home-router 10.20.10.15
assignment-type hash
service-flags source-ip-hash
end


WCCP-Config22433545342

% Load failed with error(s)

WCCP configuration installation
Compiling new configuration file: /legacy/cache_engine/persistent/replicated/volatile//config/v9/wccp_settings.txt
Error line 8, column 0; Unrecognized command
    service-flags source-ip-hash
    ^
There was 1 error and 0 warnings
Proxy#(config);END WCCP


 

Cause

The error is presented because the ProxySG appliance expects a numeric value for the service-group definition, rather than an alphabetic value. In the above example, the service-group was listed as web-cache, which is no longer acceptable. 

This applies to SGOS 6.5 and later.


 

Resolution

Set the WCCP service-group to use a numeric value, such as service-group 5