CSG2 Command Reference
Appendix a CSG2 Command Reference
Appendix a CSG2 Command Reference
Appendix a CSG2 Command Reference
Appendix a CSG2 Command Reference
Command Description
Enters CSG2 policy configuration mode
Accounting
Release Modification
Syntax Description Defaults Command Modes
Activation
Activation automatic user-profile No activation
Related Commands Description
Ip csg service
Configuration mode
Aoc enable
Aoc append url
Aoc append url No aoc append url
Aoc confirm
Aoc confirm
Aoc confirm token No aoc confirm
Token
Ip csg service Movies aoc enable Aoc confirm ?CSGAOCOK
Aoc append url
Aoc enable
Aoc enable No aoc enable
Aoc enable
Usage Guidelines Examples
Command Description
Defaults Command Modes
Basis
Ip csg service Movies Basis fixed
Ip csg service Offnet basis second
Meter exclude svc-idle
Meter include imap
Meter increment
Ip csg content
Block
Block No block
Parse length
Command History Release Modification
Usage Guidelines Examples Related Commands
Class
Clear ip csg
Syntax Description
User
All
12.411MD This command was introduced
12.415MD The ftp keyword was added
IP address
Show ip csg
Command Modes Command History
Clear ip iscsi statistics
Clear ip iscsi statistics
ReleaseModification
Clear record-storage-module stats
Clear record-storage-module stats
Following example clears RSM-related statistics
Clear record-storage-module stats
Client-group CSG2 content
Ip csg content Movies
Mode
Next-hop
Defines a next-hop IP address
Content CSG2 service
Default weight-valueis 1 quadran
CSG2 service configuration
You must configure a policy before configuring this command
CSG2 policy configuration mode
Debug ip csg
Gtp quota-server
Http detail
Imap
Interm
Service detail
Service ha
Session event
Session state detail
Replicate Statistics
Entries user idle
Entries user idle duration pod no entries user idle
Pod
Billing to entries user idle
Ip csg radius pod timeout
Service
Ip csg billing
Ip csg entries user idle
Flags
Tcp
Wap
Mask
Appendix a CSG2 Command Reference Flags
Enters CSG2 refund configuration mode
Refunds quota for Prepaid Error Reimbursement
Ip csg refund
Retcode
Idle CSG2 content
Default idle duration is 300 seconds 5 minutes
CSG2 content configuration
Idle duration no idle duration
Idle CSG2 service
Service with no subscriber sessions
Sets the pending connection timeout
Pending
Idle CSG2 service
Ip csg service Movies Idle
Idle CSG2 content
Idle content connection
Inservice CSG2 content
Inservice No inservice
Default value is no inservice
Detects an error, the command fails
Ip CSG2 content
No ip any ip-address
Any
Command Modes Command History Usage Guidelines Examples
Ip csg content Moviescomedy Ip 172.18.45.0/24 tcp
Ip csg iscsi drain delay
Ip iSCSI
Ip csg iscsi drain packet
Ip csg iscsi profile
Ip iscsi target-profile
Name iSCSI
Port iSCSI
Ip csg billing
Ip csg billing billing-plan-name
No ip csg billing billing-plan-name
Entries user idle
Syntax Description Defaults Command Modes Command History
Ip csg bma
Ip csg bma activate
Ip csg bma keepalive
Ip csg bma local-port
Ip csg bma messages
Ip csg bma activate
Sticky seconds
Related Commands Description
Ip csg bma activate 2 sticky
Ip csg bma keepalive
Ip csg bma
Ip csg ipc keepalive
Ip csg psd keepalive
Quota-server local-port command, respectively
Csg bma command
Ip csg bma local-port
Ip csg bma local-port port-number No ip csg bma local-port
CSG2 accounting service A1
Ip csg psd local-port
Cisco Persistent Storage Device PSD
Ip csg bma local-port
12.411MD This command was migrated from CSG1
Ip csg bma messages
Ip csg bma messages number no ip csg bma messages
CSG2 buffers up to 10000 GTP’ messages
Ip csg psd drain delay
Ip csg psd drain packet
Ip csg psd margin
Ip csg quota-server messages
Ip csg bma retransmit
Ip csg bma retransmit number-of-seconds
No ip csg bma retransmit
Ip csg bma retries
Packet
Number-of-retries
Ip csg ipc retries
Ip csg psd retries
Ip csg quota-server retries
Ip csg bma window
Min auto
Ip csg case-sensitive
Ip csg case-sensitive No ip csg case-sensitive
Match header
Match method
Ip csg content
Ip csg content content-name No ip csg content content-name
Subscriber-iphttp-headerforwarded-for Vlan CSG2 content Vrf
Block
Subscriber-iphttp-headerforwarded-for
Ip csg database
No ip csg database
Server
Ip csg database 10.1.2.3 11111
Default idle duration is 5 seconds
Default maximum number of entries is
Ip csg entries fragment
Ip csg database
Ip csg entries user profile
Ip csg entries session user max
Ip csg entries session user max
Server that answers user ID queries
Command Description
Packet of Disconnect message when an entry idles out
Ip csg entries user idle
Ip csg entries fragment
Defines the maximum number of entries in the CSG2 fragment
Database, or how long the CSG2 is to retain the entries
12.411MD This command was introduced
Ip csg entries user max
Ip csg entries user max entries No ip csg entries user max
Ip csg entries user max
Related Commands Description
Ip csg entries user profile
CommandDescription
Ip csg database Server that answers user ID queries
Ip csg entries user profile radius pass
Ip csg ipc crashdump
Never
Tolerance number-of-seconds
Default value is 8 seconds
Ip csg ipc keepalive
Ip csg ipc keepalive number-of-seconds
No ip csg ipc keepalive
Default value is 4 second
Ip csg ipc retransmit
Ip csg ipc retransmit number-of-seconds
No ip csg ipc retransmit
Ip csg ipc retries
Ip csg ipc retries number-of-retries
No ip csg ipc retries
Ip csg iscsi drain delay
Ip csg iscsi drain packet
Target to be used as backup storage for the CSG2
ISCSI configuration mode
Ip csg iscsi profile
Ip csg iscsi profile target-profile-name
No ip csg iscsi profile
No iSCSI target is specified
Ip csg map
Ip csg map map-name No ip csg map map-name
Match header Match method Match url
Ip csg case-sensitive
Match patterns as case-sensitive
Map
Policy
Ip csg mode single-tp
Command
Ip csg mode single-tp
No ip csg mode single-tp
Ip csg policy
Ip csg policy policy-name No ip csg policy policy-name
Accounting Map
Enters CSG2 map configuration mode
Accounting
Ip csg map
Ip csg policy Moviescomedy
Ip csg psd
Tunneling protocol prime GTP’ messages, beyond the size
Buffer for the Cisco Persistent Storage Device PSD
Ip csg psd retransmit
Ip csg psd window
Ip csg psd drain delay
Ip csg psd drain delay number-of-seconds
No ip csg psd drain delay
Cisco Persistent Storage Device PSD when the Billing
Ip csg psd drain packet
Ip csg psd keepalive
Ip csg psd keepalive number-of-seconds
No ip csg psd keepalive
Defines the Interprocessor Communication IPC keepalive time
Csg psd command
Ip csg psd local-port
Ip csg psd local-port port-number No ip csg psd local-port
Local-port
Related Commands Description
Configures a Cisco Persistent Storage Device PSD
Ip csg psd margin
Ip csg psd margin number no ip csg psd margin
Can buffer for all Billing Mediation Agents BMAs
Ip csg psd retransmit
Ip csg psd retransmit number-of-seconds
No ip csg psd retransmit
Defines the Interprocessor Communication IPC retransmit
Following example shows how to allow two PSD retries
Ip csg psd retries
Discarding it the initial attempt plus four retries
Ip csg psd retries
Defines the maximum number of Billing Mediation Agent BMA
Ip csg psd window
Defines the Billing Mediation Agent BMA transmit window size
Syntax Description Defaults
Ip csg quota-server
Ip csg quota-server reassign
Ip csg quota-server retransmit
Ip csg quota-server window
Default value is Global configuration
Ip csg quota-server activate
100
Ip csg quota-server activate
Ip csg quota-server keepalive
For subscribers
101
Ip csg quota-server local-port
Quota-server local-port
1024 to
102
Following example configures quota server local port
Billing Mediation Agent BMA
For subscribers
103
Ip csg quota-server messages
104
Ip csg quota-server messages
Ip csg quota-server reassign
105
Ip csg quota-server retransmit
106
Is 1 to 65535. The default value is
Ip csg quota-server retries
107
Ip csg quota-server retries
108
Ip csg quota-server window
Server transmit window automatically. The CSG2 keeps track
As the minimum window
109
Size for the CSG2
110
Ip csg radius ack error parse
No ip csg radius ack error parse
111
112
Ip csg radius ack error user
No ip csg radius ack error user
113
Related Commands Command Description
Ip csg radius ack error parse
Accounting Interim Request when it encounters a Radius
Parse error condition
Ip csg radius correlation
Ip csg radius correlation
No ip csg radius correlation
Csgusersessioncorrelator=string
116
Ip csg radius endpoint
Key
Specifies a Radius key
117
Endpoint
118
Ip csg radius monitor
Nas
Ip csg radius userid
119
Radius handoff is disabled
Command History Usage Guidelines Release Modification
Ip csg radius handoff
Ip csg radius handoff duration No ip csg radius handoff
Ip csg radius start restart
Session-id
121
Ip csg radius monitor
Optional Specifies a Radius key
12.415MD This command was introduced
Network Access Server NAS
Ip csg radius monitor nas
123
Ip csg radius monitor nas
124
Ip csg radius monitor nas 1.2.3.4 vrf Nastable
Default rate is 1000 User Table entry deletions per second
Ip csg radius on-off purge
Specified rate
125
Ip csg radius pod attribute
Vsa
3gpp
126
Following example shows how to specify Radius attributes 44
Key to use in calculating the Authenticator
Between retransmissions
127
Ip csg radius pod nas
Example, write memory
Possible values are 0
128
Nas
Message and sent to the NAS in the PoD
129
Ip csg radius pod timeout
Default timeout is 5 seconds
Default number of retransmits is 3 retransmits
Command History Examples Release Modification
Ip csg radius proxy
131
Csg-source-address is set to csg-address
132
Configuration mode for this command changed from module CSG
Arguments were added
Table table-namekeyword and argument were removed
Csg-source-address
134
Ip csg radius reauthorization attribute
135
Ip csg radius reauthorization attribute
Ip csg radius reauthorization attribute vsa 7777
Ip csg radius reauthorization attribute 26 7778
136
This command
Ip csg radius start restart session-id
Radius start restart session-id
26 keyword was removed
138
Ip csg radius start restart session-id
Ip csg radius stop purge
139
Ip csg radius stop purge
140
Ip csg radius userid
User-Name
Calling-Station-Id
141
142
Ip csg records format
Variable
Combined http
Combined wap
Ip csg redirect
144
Following example shows how to configure CSG2 redirects
145
For CSG2 Prepaid Error Reimbursement
For Prepaid Error Reimbursement
Ip csg refund
Flags
Replication is not enabled
Ip csg replicate
Content servers on the standby system
148
Ip csg report http header
Ip csg report radius attribute
Ip csg report smtp rfc2822
149
150
Ip csg report radius attribute
No Radius attributes are copied into CDRs
151
Ip csg report http header
Ip csg report usage
152
Ip csg report smtp rfc2822
Ip csg report smtp rfc2822 No ip csg report smtp rfc2822
Ip csg report wap actual-pdu
153
Defaults Command Modes Command History Usage Guidelines
Ip csg report usage
Bytes ip
Seconds
Start message into call detail records CDRs
155
Ip csg report wap actual-pdu
156
Ip csg service
Ip csg service service-name No ip csg service service-name
Activation Aoc append url Aoc confirm Aoc enable
157
Service
Activation
URL-rewriting
Basis
159
Ip csg snmp timer
Snmp-server enable traps csg
Bma
Psd
Command Modes Interface configuration
Ip csg subscriber
Ip csg subscriber No ip csg subscriber
Interface is not a CSG2 subscriber interface
Specifies a service class value
Ip csg transport-type assign
162
Ip csg transport-type assign 1.2.3.4
Ip iscsi target-profile
Target-profile-name Name of the iSCSI profile
Ip iSCSI
163
164
CSG2 policy configuration
Map
Map map-name no map map-name
Header-map Url-map
166
CSG2 map configuration
Match header
167
Match header host1 *.2.*.44
Convention Description
Zero or more characters
Zero or one character
\character
169
Case-sensitive
170
Match method
Match method method-name No match method method-name
Method-name Method to be matched. Valid methods are
Match method get
172
As case-sensitive
173
Syntax Description Command Modes Command History
Match url pattern No match url pattern
Match url http//url-string
HTTP//url-string
175
176
177
Ip csg map Movies Ip csg map Images Match url *.gifjpg
Meter exclude control sip
Meter exclude control sip no meter exclude control sip
178
Specifies which Internet Message Access Protocol Imap bytes
Are billed for by the CSG2 when doing prepaid debits
Beginning of a service when the service is configured for
Service Duration Billing
Meter exclude mms wap
Meter exclude control sip
Meter exclude network-init
Sip
181
SERVICE-A service
Ip csg service SERVICE-A Meter exclude network-init sip
Meter exclude network-init sip
182
183
Meter exclude pause rtsp
Meter exclude pause rtsp No meter exclude pause rtsp
SIP session from the CSG2 usage calculation
Meter exclude network-init sip
185
Offnet service
Meter exclude svc-idle
Meter exclude svc-idle No meter exclude svc-idle
Only basis second is meaningful with meter exclude svc-idle
187
Meter include imap
Body header
Body only
Body other
Ip csg service S1
RFC822
Prepaid debits
189
190
Meter increment
Meter increment value No meter increment value
Specify meter increment
191
Ip csg service Offnet Meter increment
192
Default quota is 0 quadrans CSG2 service configuration
Ip csg service Offnet Meter initial
Meter initial
Meter initial value no meter initial value
194
Default number is 0 quadrans
Meter minimum
Meter minimum value no meter minimum value
Charge is 110 quadrans
Ip csg service Offnet Meter minimum
196
Default mode is prepaid CSG2 billing configuration
Mode
Specifies variable or fixed call detail record CDR format
197
Mode tcp
198
Name iSCSI
Name target-name No name target-name
Target-name Name of the iSCSI target
Target named eftcompany.com
200
Next-hop
Reverse
Subscriber media
Next-hop or next-hop reverse
202
Owner
Id id
Name name
203
Parse length
Parse length number no parse length
204
Parse protocol
205
Configures content for CSG2 services, and enters
CSG2 content configuration mode
206
Configured, but none are active
Each time the service runs low on quota
Passthrough
Passthrough quota-grantno passthrough
Pending timeout no pending
Default pending connection timeout is 30 seconds
Pending
Displays information about the CSG2
Policy CSG2 content
Policy-name Name of a configured CSG2 billing policy
This policy, do not configure the accounting command
209
Services, and enters CSG2 policy configuration mode
210
Priority
Policy Country priority
No default behavior or values
Port iSCSI
Port port-number no port port-number
211
212
Reauthorization threshold
213
Ip csg service A1 Reauthorization threshold
214
Reauthorization timeout
Default initial reauthorization timeout is 4 seconds
Default maximum reauthorization timeout is 60 seconds
215
Maximum reauthorization timeout of 20 seconds
216
Records delay
Records delay seconds no records delay
Default value is 0 no records delay
Transaction closes, but before the connection closes
Service
Records granularity
Bytes bytes
Seconds seconds
219
Records intermediate
Bytes bytes
Seconds seconds
220
221
Refund
Refund policy-name No refund policy-name
Policy-name Name of the refund policy
Refund
Replicate delay seconds no replicate delay
Connection redundancy is not enabled
If you do not specify a delay, there is no delay
Replicate
Enables state replication between redundant CSG2 systems
Ip csg replicate
224
Retcode
Rc-start
Rc-end
225
Masks and values for CSG2 Prepaid Error Reimbursement
226
Default rate is 1.9 Gbps
Sami rate all
Sami rate bits-per-second all
No sami rate bits-per-secondall
Service
Service service-name No service service-name
Service-name Name of a configured CSG2 billing service
None CSG2 billing configuration
Show ip csg
229
User
Ip-address ip-mask
Show ipc sctp
Id user-name
Command Default Command Modes Command History
Show module csg content
Show ip csg accounting
Show module csg stats
Following example shows how to display the CSG2 statistics
232
Detail
Router# show ip csg stats
233
234
Datagram packets = Datagram frags =
235
236
237
IPC
238
CSG Other Stats Total sessions = 40344, alloc fail =
239
240
Router# show ip csg quota-server
Router# show ip csg sessions
State Description
241
242
Command Default Command Modes Command History Examples
Show ip iscsi
243
244
Router# show ip iscsi stats iSCSI Stats
Router# show ip iscsi stats detail iSCSI Stats
245
Target name= iqn.2002-10.edu.unh.iol.iscsi.draft20-target1
Show record-storage-module
246
Router# show record-storage-module stats
Router# show record-storage-module target-info all detail
247
Snmp-server enable traps csg
Records
State
248
Following example enables CSG2 traps
Ip csg snmp timer
CSG2 records, and enters CSG2 Snmp timer configuration mode
Snmp-server enable traps csg
Subscriber-ip http-header forwarded-for
Obscure
Http-header x-forwarded-for
250
251
Verify confirm
Verify confirm token No verify confirm token
252
253
Verify enable
Verify enable
No verify enable
254
Vlan CSG2 content
Vlan vlan-number
No vlan
Vlan-number Dot1q encapsulation Vlan number
Vrf-name VRF within which the content should match packets
Vrf Contentvrf
Vrf
No vrf