Cisco Systems OL-15491-01 Network Hardware User Manual


 
A-83
Cisco Content Services Gateway - 2nd Generation Release 2.0 Installation and Configuration Guide
OL-15491-01
Appendix A CSG2 Command Reference
ip csg mode single-tp
ip csg mode single-tp
To enable the CSG2 to use a single traffic processor (TP) instead of multiple TPs, use the ip csg mode
single-tp command in global configuration mode. To restore the default setting, use the no form of this
command.
ip csg mode single-tp
no ip csg mode single-tp
Syntax Description This command has no arguments or keywords.
Defaults The CSG2 operates in multiple-TP mode.
Command Modes Global configuration
Command History
Usage Guidelines In normal multiple-TP mode, the CSG2 distributes subscriber traffic among all of the TPs, based on each
subscriber’s IP address. In single-TP mode, the CSG2 dispatches traffic for all subscribers to the first TP
to be processed.
Single-TP mode is required for HTTP X-Forwarded-For operation. Before configuring the CSG2 for
X-Forwarded-For operation, configure the CSG2 for single-TP mode by entering the ip csg mode
single-tp command, then performing a write memory, then restarting the CSG2.
To switch out of single-TP mode, enter the no ip csg mode single-tp command, then perform a write
memory, then restart the CSG2.
If you intend to operate in single-TP mode, the ip csg mode single-tp command must be the first
command in your CSG2 configuration.
Examples The following example shows how to configure single-TP mode for the CSG2:
ip csg mode single-tp
Related Commands
Release Modification
12.4(11)MD This command was introduced.
Command Description
subscriber-ip http-header forwarded-for Specifies that the CSG2 is to obtain the subscriber's
IP address from the HTTP X-Forwarded-For header.