Cisco Cisco ASR 5700

Page of 8994
Content Filtering Server Group Configuration Mode Commands   
▀  deny-response code 
 
 
▄  Command Line Interface Reference, StarOS Release 17 
2274 
   
deny-response code 
Configures the deny response message that is to be sent from the ICAP server to the subscribers. 
Product
 
ICAP 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > CFSG Configuration 
configure > context context_name > content-filtering server-group server_name
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-content-filtering)# 
Syntax
 
deny-response code { 200 message string | 403 } 
{ default | no } deny-response code 
default
 
Configures the default setting of 
deny-response code 200
no
 
Removes previously configured deny response message setting. 
deny-response code 200 message string
 
 Specifies a text message that is to be returned to the subscriber in a code 200 deny response. as an 
alphanumeric string of 1 through 511 characters. 
If 
deny-response code 200
 is configured, the response sent to the subscriber will be of the form 200 OK 
with deny messages denied. If a message is configured for response code 200, that message will be used 
instead of "Access denied". 
deny-response code 403
 
This keyword is used to set response code 403 for the deny response message. 
When this keyword is configured, the deny response from the ICAP server will be sent “as is” to the 
subscriber.  
Usage 
Use this command to define a text message that is returned to the subscriber in a deny response. 
Example
 
The following command sets the text message to 
Not allowed
 in a deny response message:  
deny-response code 200 message Not allowed