Cisco Cisco ASR 5700

Page of 8994
  Content Filtering Policy Configuration Mode Commands 
analyze  ▀   
 
Command Line Interface Reference, StarOS Release 17  ▄  
 
   
2263 
content-insert content_string
: Specifies the content string to be inserted in place of the message 
returned from prohibited/restricted site or content server. 
For static content filtering, 
content_string
 is used to create a response to the subscriber’s attempt to get 
content. In dynamic content filtering, it is used to replace the content returned by a server. 
content_string
 must be an alphanumeric string of 1 through 1023 characters. 
discard
: For static content filtering, this option discards the packet(s) that requested. In dynamic content 
filtering, it discards the packet(s) that contain(s) the content. 
redirect-url url
: Redirects the subscriber to the specified URL. 
url
 must be an alphanumeric string of 1 through 1023 characters in the 
http://search.com/subtarg=#HTTP.URL#
 format. 
terminate-flow
: Terminates the TCP connection gracefully between the subscriber and server, and sends a 
TCP FIN to the subscriber and a TCP RST to the server. 
www-reply-code-and-terminate-flow reply_code
: Terminates the flow with the specified reply 
code. 
reply_code
 must be a reply code that is an integer from 100 through 599. 
Important:
  Static-and-Dynamic Content Filtering is only supported in 9.0 and later releases. 
edr edr_format_name
 
Important:
  This option is available only in 12.1 and earlier releases. In 12.2 and later releases, it is deprecated 
and replaced by the 
reporting-edr
 option. 
Generates separate EDRs for content filtering based on action and content category using a specified EDR 
file format name. 
edr_format_name
 is the name of a pre-defined EDR file format name in the EDR Format Configuration 
Mode, and must be an alphanumeric string of 1 through 63 characters. 
Important:
  EDRs generated through this keyword are different from charging EDRs generated for subscriber 
accounting and billing. For more information on generation of charging EDRs, refer to the ACS Rulebase Configuration 
Mode Commands
 chapter. 
reporting-edr reporting_edr_format_name
 
Important:
  This option is available only in 12.2 and later releases. 
Generates separate reporting EDRs for Content Filtering based on the action and content category using the 
specified EDR file format name. 
reporting_edr_format_name
 must be an alphanumeric string of 1 through 63 characters. 
Usage 
Use this command to specify the action and priorities for the indicated result of content filtering analysis. 
Up to 64 priorities and actions can be entered with this command. 
Example
 
The following command sets priority 
10
 for category 
ADULT
 with action as 
terminate-flow
:  
analyze priority 10 category ADULT action terminate-flow