Mode tcp – Cisco OL-15491-01 User Manual
Page 206

A-206
Cisco Content Services Gateway - 2nd Generation Release 2.0 Installation and Configuration Guide
OL-15491-01
Appendix A CSG2 Command Reference
mode tcp
mode tcp
To specify the mode for CSG2 TCP sessions, use the mode tcp command in CSG2 content configuration
mode. To use the default mode, use the no form of this command.
mode tcp {datagram | transparent [zero]}
no mode tcp
Syntax Description
Defaults
If you do not configure this command, the CSG2 treats TCP sessions as transparent, forwarding all TCP
packets, including out-of-order packets, and reporting all new and retransmitted TCP payload bytes.
Command Modes
CSG2 content configuration
Command History
Usage Guidelines
The mode tcp command is valid only if the parse protocol other command is also specified for the
content.
If you configure the mode tcp transparent command, the CSG2 forwards all TCP packets, including
out-of-order packets, and reports all new and retransmitted TCP payload bytes. If you also configure the
optional zero keyword, the CSG2 reports zero TCP bytes. The CSG2 uses TCP signals to establish and
terminate the TCP sessions.
If you configure the mode tcp datagram command, the CSG2 forwards all TCP packets, including
out-of-order packets, and reports zero TCP payload bytes. Each TCP session is established by the first
SYN, and terminated by the content's idle timer.
Examples
The following example specifies transparent mode for TCP sessions for CSG2 content VPN:
ip csg content VPN
ip any tcp 10000
mode tcp transparent
Related Commands
datagram
Specifies that the CSG2 is to treat TCP sessions as datagrams.
transparent
Specifies that the CSG2 is to treat TCP sessions as transparent.
zero
(Optional) Specifies that TCP bytes are not to be reported for transparent TCP
sessions.
Release
Modification
12.4(11)MD6
This command was introduced.
Command
Description
Configures content for CSG2 services, and enters CSG2 content configuration
mode.