Appendix A CSG2 Command Reference

ip csg replicate

ip csg replicate

To enable high availability (HA) state replication between redundant CSG2 systems, use the ip csg replicate command in global configuration mode. To disable state replication, use the no form of this command.

ip csg replicate [vrf vrf-name]local-ip remote-ip base-port no ip csg replicate

Syntax Description

 

vrf vrf-name

(Optional) Virtual Routing and Forwarding (VRF) table which the redundant

 

 

 

 

CSG2s are to use when sending state synchronization messages.

 

 

 

 

 

 

 

 

local-ip

Local IP address on the CSG2 used as the source IP address for outgoing state

 

 

 

 

synchronization messages, and as the listen IP address for incoming state

 

 

 

 

synchronization messages. You must configure this IP address on the local CSG2

 

 

 

 

as either an interface or as a secondary IP address.

 

 

 

 

 

 

 

 

remote-ip

Remote IP address used as the destination IP address for outgoing state

 

 

 

 

synchronization messages.

 

 

 

 

 

 

 

 

base-port

User Datagram Protocol (UDP) port number used as the source and destination

 

 

 

 

port for state synchronization messages.

 

 

 

 

The specified port number is the first of six sequential UDP ports that the CSG2

 

 

 

 

uses for state synchronization. For example, if you specify port number 2000, the

 

 

 

 

CSG2 uses ports 2000 through 2005 for state synchronization.

 

 

 

 

 

 

 

 

 

 

 

Defaults

 

Replication is not enabled.

 

 

 

Command Modes

 

Global configuration

 

 

 

 

Command History

 

Release

Modification

 

 

 

 

 

 

 

12.4(11)MD This command was introduced.

 

 

 

 

 

 

The ip csg replicate command enables stateful replication of the CSG2 state data structures, such as the

Usage Guidelines

 

 

 

 

CSG2 User Table.

 

 

 

To enable replication of session and flows, use the replicate command in CSG2 content configuration

 

 

 

mode.

 

 

 

 

 

 

 

Using two separate commands to enable CSG2 replication allows for synchronization of subscriber and

 

 

 

quota states independent of per-flow synchronization.

 

 

 

Examples

 

The following example shows how to enable CSG2 replication to a peer using local IP address

 

 

 

10.10.10.1, remote IP address,10.10.10.2, and UDP ports 2000 through 2005:

 

 

 

Ip csg replicate 10.10.10.1 10.10.10.2 2000

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OL-15491-01

 

 

 

 

A-147

 

 

 

 

 

 

 

Page 147
Image 147
Cisco Systems OL-15491-01 appendix Ip csg replicate, Replication is not enabled