Appendix A CSG2 Command Reference

parse length

parse length

To define the maximum number of Layer 7 bytes that the CSG2 is to parse when attempting to assign a policy, use the parse length command in CSG2 content configuration mode. To restore the default setting, use the no form of this command.

parse length number no parse length

Syntax Description

 

number

Maximum number of Layer 7 bytes to parse. The range is from 1 to 65535.

 

 

 

The default value is 4000.

 

 

 

 

 

 

 

Defaults

 

The CSG2 parses up to 4000 Layer 7 bytes when attempting to assign a policy.

 

 

 

Command Modes

 

CSG2 content configuration

 

 

 

 

Command History

 

Release

Modification

 

 

 

 

 

 

12.4(11)MD

This command was introduced.

 

 

 

 

 

If the parse length is exceeded, the CSG2 blocks or forwards packets on the basis of the block command.

Usage Guidelines

 

 

 

This command is valid only if parse protocol http is also configured.

 

 

 

Examples

 

The following example specifies that the CSG2 is to parse up to 1234 Layer 7 bytes when attempting to

 

 

assign a policy:

 

 

 

ip csg content MOVIES

 

 

parse protocol http

 

 

parse length 1234

 

 

 

 

Related Commands

 

Command

Description

 

 

 

 

 

 

block

Forces the CSG2 to drop packets that do not match a configured billing

 

 

 

policy.

 

 

 

 

 

 

ip csg content

Configures content for CSG2 services, and enters CSG2 content

 

 

 

configuration mode.

 

 

 

 

 

 

parse protocol

Defines how the CSG2 is to parse traffic for a content.

 

 

 

 

 

Cisco Content Services Gateway - 2nd Generation Release 2.0 Installation and Configuration Guide

A-204

OL-15491-01

Page 204
Image 204
Cisco Systems OL-15491-01 appendix Parse length number no parse length, 204