beautypg.com

Parse length – Cisco OL-15491-01 User Manual

Page 212

background image

A-212

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

OL-15491-01

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

Defaults

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

Command Modes

CSG2 content configuration

Command History

Usage Guidelines

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

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

number

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

Release

Modification

12.4(11)MD

This command was introduced.

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.