Edge SWG (ProxySG) "Unrecognized command" when configuring WCCP
search cancel

Edge SWG (ProxySG) "Unrecognized command" when configuring WCCP

book

Article ID: 168579

calendar_today

Updated On:

Products

Asset Management Solution ProxySG Software - SGOS

Issue/Introduction

When configuring WCCP on the Edge SWG (ProxySG) via the command line, the following error occurs: "Unrecognized command".

For example:

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


WCCP-Config

% 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


 

Environment

Edge SWG with WCCP.

Cause

The Edge SWG 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 supported. 

 

Resolution

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