aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vty/ss7_asp_test.vty
blob: 7168d20526afffc8f1e2f784321cbda0990fb31b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
ss7_asp_vty_test> list
... !show cs7
  show cs7 instance <0-15> users
  show cs7 (sua|m3ua|ipa) [<0-65534>]
  show cs7 (sua|m3ua|ipa) (sctp|tcp) [<0-65534>]
  show cs7 config
  show cs7 instance <0-15> asp
  show cs7 instance <0-15> asp name ASP_NAME
  show cs7 instance <0-15> asp-remaddr
  show cs7 instance <0-15> asp-remaddr name ASP_NAME
  show cs7 instance <0-15> asp-assoc-status
  show cs7 instance <0-15> asp-assoc-status name ASP_NAME
  show cs7 instance <0-15> as (active|all|m3ua|sua)
  show cs7 instance <0-15> route
  show cs7 instance <0-15> sccp addressbook
  show cs7 instance <0-15> sccp users
  show cs7 instance <0-15> sccp ssn <0-65535>
  show cs7 instance <0-15> sccp connections
  show cs7 instance <0-15> sccp timers
... !show cs7

ss7_asp_vty_test> enable
ss7_asp_vty_test# list
... !show cs7
  show cs7 instance <0-15> users
  show cs7 (sua|m3ua|ipa) [<0-65534>]
  show cs7 (sua|m3ua|ipa) (sctp|tcp) [<0-65534>]
  show cs7 config
  cs7 instance <0-15> asp NAME disconnect
  show cs7 instance <0-15> asp
  show cs7 instance <0-15> asp name ASP_NAME
  show cs7 instance <0-15> asp-remaddr
  show cs7 instance <0-15> asp-remaddr name ASP_NAME
  show cs7 instance <0-15> asp-assoc-status
  show cs7 instance <0-15> asp-assoc-status name ASP_NAME
  show cs7 instance <0-15> as (active|all|m3ua|sua)
  show cs7 instance <0-15> route
  show cs7 instance <0-15> sccp addressbook
  show cs7 instance <0-15> sccp users
  show cs7 instance <0-15> sccp ssn <0-65535>
  show cs7 instance <0-15> sccp connections
  show cs7 instance <0-15> sccp timers
... !show cs7

ss7_asp_vty_test# show ?
...
  cs7             ITU-T Signaling System 7
...

ss7_asp_vty_test# show cs7 ?
  instance  An instance of the SS7 stack
  sua       SCCP User Adaptation
  m3ua      MTP3 User Adaptation
  ipa       IPA Multiplex (SCCP Lite)
  config    Currently running cs7 configuration

ss7_asp_vty_test# show cs7 m3ua ?
  [<0-65534>]  Local Port Number
  sctp         SCTP (Stream Control Transmission Protocol)
  tcp          TCP (Transmission Control Protocol)

ss7_asp_vty_test# show cs7 m3ua 2905 ?
  <cr>  

ss7_asp_vty_test# show cs7 m3ua sctp ?
  [<0-65534>]  Local Port Number

ss7_asp_vty_test# show cs7 m3ua sctp 2905 ?
  <cr>  

ss7_asp_vty_test# show cs7 instance ?
  <0-15>  An instance of the SS7 stack

ss7_asp_vty_test# show cs7 instance 0 ?
  users             User Table
  asp               Application Server Process (ASP)
  asp-remaddr       Application Server Process (ASP) remote addresses information
  asp-assoc-status  Application Server Process (ASP) SCTP association status
  as                Application Server (AS)
  route             Routing Table
  sccp              Signalling Connection Control Part

ss7_asp_vty_test# show cs7 instance 0 as ?
  active  Display all active ASs
  all     Display all ASs (default)
  m3ua    Display all m3ua ASs
  sua     Display all SUA ASs

ss7_asp_vty_test# show cs7 instance 0 sccp ?
  addressbook  List all SCCP addressbook entries
  users        Show List of SCCP Users registered
  ssn          Find an SCCP User registered for the given SSN
  connections  Show List of active SCCP connections
  timers       Show List of SCCP timers

ss7_asp_vty_test# show cs7 instance 0 sccp ssn ?
  <0-65535>  Subsystem Number (SSN)

ss7_asp_vty_test# configure terminal
ss7_asp_vty_test(config)# cs7 instance 0

ss7_asp_vty_test(config-cs7)# list
...
  description .TEXT
  network-indicator (international | national | reserved | spare)
  point-code POINT_CODE
  point-code format <1-24> [<1-23>] [<1-22>]
  point-code format default
  point-code delimiter (default|dash)
  xua rkm routing-key-allocation (static-only|dynamic-permitted)
  asp NAME <0-65535> <0-65535> (sua|m3ua|ipa)
  asp NAME <0-65535> <0-65535> (sua|m3ua|ipa) (sctp|tcp)
  no asp NAME
  as NAME (sua|m3ua|ipa)
  no as NAME
  sccp-address NAME
  no sccp-address NAME
  sccp-timer (conn_est|ias|iar|rel|repeat_rel|int|guard|reset|reassembly) <1-999999>
  sccp max-optional-data (<0-999999>|standard)

ss7_asp_vty_test(config-cs7)# ?
...
  description        Save human-readable description of the object
  network-indicator  Configure the Network Indicator
  point-code         Configure the local Point Code
  xua                SIGTRAN xxxUA related
  asp                Configure Application Server Process
  no                 Negate a command or set its defaults
  as                 Configure an Application Server
  sccp-address       Create/Modify an SCCP addressbook entry
  sccp-timer         Configure SCCP timer values, see ITU-T Q.714
  sccp               Configure SCCP behavior

ss7_asp_vty_test(config-cs7)# description ?
  TEXT  Text until the end of the line

ss7_asp_vty_test(config-cs7)# network-indicator ?
  international  International Network
  national       National Network
  reserved       Reserved Network
  spare          Spare Network

ss7_asp_vty_test(config-cs7)# point-code ?
  POINT_CODE  Point Code
  format      Configure Point Code Format
  delimiter   Configure Point Code Delimiter

ss7_asp_vty_test(config-cs7)# point-code format ?
  <1-24>   Length of first PC component
  default  Default Point Code Format (3.8.3)
ss7_asp_vty_test(config-cs7)# point-code format 1 ?
  [<1-23>]  Length of second PC component
ss7_asp_vty_test(config-cs7)# point-code format 1 1 ?
  [<1-22>]  Length of third PC component

ss7_asp_vty_test(config-cs7)# point-code delimiter ?
  default  Use dot as delimiter
  dash     User dash as delimiter

ss7_asp_vty_test(config-cs7)# xua ?
  rkm  Routing Key Management
ss7_asp_vty_test(config-cs7)# xua rkm ?
  routing-key-allocation  Routing Key Management Allocation Policy
ss7_asp_vty_test(config-cs7)# xua rkm routing-key-allocation ?
  static-only        Only static (pre-configured) Routing Keys permitted
  dynamic-permitted  Dynamically allocate Routing Keys for what ASPs request

ss7_asp_vty_test(config-cs7)# asp ?
  NAME  Name of ASP
ss7_asp_vty_test(config-cs7)# asp foo ?
  <0-65535>  Remote port number
ss7_asp_vty_test(config-cs7)# asp foo 0 ?
  <0-65535>  Local port number
ss7_asp_vty_test(config-cs7)# asp foo 0 0 ?
  sua   SCCP User Adaptation
  m3ua  MTP3 User Adaptation
  ipa   IPA Multiplex (SCCP Lite)
ss7_asp_vty_test(config-cs7)# asp foo 0 0 m3ua ?
  sctp  SCTP (Stream Control Transmission Protocol)
  tcp   TCP (Transmission Control Protocol)
  <cr>  

ss7_asp_vty_test(config-cs7)# as ?
  NAME  Name of the Application Server
ss7_asp_vty_test(config-cs7)# as foo ?
  sua   SCCP User Adaptation
  m3ua  MTP3 User Adaptation
  ipa   IPA Multiplex (SCCP Lite)

ss7_asp_vty_test(config-cs7)# sccp-address ?
  NAME  Name of the SCCP Address

ss7_asp_vty_test(config-cs7)# no ?
  asp           Disable Application Server Process
  as            Disable Application Server
  sccp-address  Delete an SCCP addressbook entry
ss7_asp_vty_test(config-cs7)# no asp ?
  NAME  Name of ASP
ss7_asp_vty_test(config-cs7)# no as ?
  NAME  Name of AS
ss7_asp_vty_test(config-cs7)# no sccp-address ?
  NAME  Name of the SCCP Address

ss7_asp_vty_test(config-cs7)# sccp-address foo
ss7_asp_vty_test(config-cs7-sccpaddr)# list
...
  no point-code
  no subsystem-number
  no global-title
  routing-indicator (GT|PC|IP)
  point-code POINT_CODE
  subsystem-number <0-4294967295>
  global-title
ss7_asp_vty_test(config-cs7-sccpaddr)# ?
...
  no                 Negate a command or set its defaults
  routing-indicator  Add Routing Indicator
  point-code         Add point-code Number
  subsystem-number   Add Subsystem Number
  global-title       Add/Modify Global Title

ss7_asp_vty_test(config-cs7-sccpaddr)# point-code 1.2.3

ss7_asp_vty_test(config-cs7-sccpaddr)# do show cs7 instance 0 sccp addressbook

Name         RI: PC:       SSN:       GT:
------------ --- --------- ---------- --------------------------------------- 
foo          PC  1.2.3     (none)     (none)

ss7_asp_vty_test(config-cs7-sccpaddr)# exit

ss7_asp_vty_test(config-cs7)# sccp-address foobarfoobarfoobarfoobarfoobarfoobar
Error: SCCP address name too long: 'foobarfoobarfoobarfoobarfoobarfoobar'
% Command incomplete.

ss7_asp_vty_test(config-cs7)# exit
ss7_asp_vty_test(config)# cs7 instance 1
ss7_asp_vty_test(config-cs7)# sccp-address foo
Error: SCCP address name already used in cs7 instance 0: 'foo'
% Command incomplete.
ss7_asp_vty_test(config-cs7)# sccp-address bar
ss7_asp_vty_test(config-cs7-sccpaddr)# point-code 1.2.3
ss7_asp_vty_test(config-cs7-sccpaddr)# exit
ss7_asp_vty_test(config-cs7)# exit
ss7_asp_vty_test(config)# no cs7 instance 1
% Unknown command.

ss7_asp_vty_test(config)# cs7 instance 0

ss7_asp_vty_test(config-cs7)# asp my-asp 12345 54321 m3ua
ss7_asp_vty_test(config-cs7-asp)# list
...
  description .TEXT
  remote-ip (A.B.C.D|X:X::X:X) [primary]
  no remote-ip (A.B.C.D|X:X::X:X)
  local-ip (A.B.C.D|X:X::X:X) [primary]
  no local-ip (A.B.C.D|X:X::X:X)
  qos-class <0-255>
  role (sg|asp|ipsp)
  transport-role (client|server)
  sctp-param init (num-ostreams|max-instreams|max-attempts|timeout) <0-65535>
  no sctp-param init (num-ostreams|max-instreams|max-attempts|timeout)
  block
  shutdown
...

ss7_asp_vty_test(config-cs7-asp)# ?
...
  description     Save human-readable description of the object
  remote-ip       Specify Remote IP Address of ASP
  no              Negate a command or set its defaults
  local-ip        Specify Local IP Address from which to contact ASP
  qos-class       Specify QoS Class of ASP
  role            Specify the xUA role for this ASP
  transport-role  Specify the transport layer role for this ASP
  sctp-param      Configure SCTP parameters
  block           Allows a SCTP Association with ASP, but doesn't let it become active
  shutdown        Terminates SCTP association; New associations will be rejected
...

ss7_asp_vty_test(config-cs7-asp)# no ?
...
  sctp-param  Configure SCTP parameters
  quirk       Disable quirk to work around interop issues
...

ss7_asp_vty_test(config-cs7-asp)# remote-ip 127.0.0.200
ss7_asp_vty_test(config-cs7-asp)# local-ip 127.0.0.100
ss7_asp_vty_test(config-cs7-asp)# do show cs7 instance 0 asp
ASP Name      AS Name       State          Type  Role  SCTP Role  Local Addresses          Remote Addresses
------------  ------------  -------------  ----  ----  ---------  -----------------------  -----------------------
my-asp        ?             uninitialized  m3ua  sg    server     127.0.0.100:54321        127.0.0.200:12345      
ss7_asp_vty_test(config-cs7-asp)# remote-ip 127.0.0.201
ss7_asp_vty_test(config-cs7-asp)# local-ip 127.0.0.101
ss7_asp_vty_test(config-cs7-asp)# do show cs7 instance 0 asp
ASP Name      AS Name       State          Type  Role  SCTP Role  Local Addresses          Remote Addresses
------------  ------------  -------------  ----  ----  ---------  -----------------------  -----------------------
my-asp        ?             uninitialized  m3ua  sg    server     (127.0.0.100|127.0.0.101):54321  (127.0.0.200|127.0.0.201):12345
ss7_asp_vty_test(config-cs7-asp)# ! Mark as primary:
ss7_asp_vty_test(config-cs7-asp)# remote-ip 127.0.0.201 primary
ss7_asp_vty_test(config-cs7-asp)# ! 'local-ip 127.0.0.101 primary' cannot be tested here since output may be different based on sysctl available
ss7_asp_vty_test(config-cs7-asp)# local-ip 127.0.0.101
...
ss7_asp_vty_test(config-cs7-asp)# do show cs7 instance 0 asp
ASP Name      AS Name       State          Type  Role  SCTP Role  Local Addresses          Remote Addresses
------------  ------------  -------------  ----  ----  ---------  -----------------------  -----------------------
my-asp        ?             uninitialized  m3ua  sg    server     (127.0.0.100|127.0.0.101):54321  (127.0.0.200|127.0.0.201*):12345
ss7_asp_vty_test(config-cs7-asp)# show running-config
...
  local-ip 127.0.0.100
  local-ip 127.0.0.101
  remote-ip 127.0.0.200
  remote-ip 127.0.0.201 primary
...
end
ss7_asp_vty_test(config-cs7-asp)# ! Mark as non-primary:
ss7_asp_vty_test(config-cs7-asp)# remote-ip 127.0.0.201
ss7_asp_vty_test(config-cs7-asp)# local-ip 127.0.0.101
ss7_asp_vty_test(config-cs7-asp)# do show cs7 instance 0 asp
ASP Name      AS Name       State          Type  Role  SCTP Role  Local Addresses          Remote Addresses
------------  ------------  -------------  ----  ----  ---------  -----------------------  -----------------------
my-asp        ?             uninitialized  m3ua  sg    server     (127.0.0.100|127.0.0.101):54321  (127.0.0.200|127.0.0.201):12345
ss7_asp_vty_test(config-cs7-asp)# show running-config
...
  local-ip 127.0.0.100
  local-ip 127.0.0.101
  remote-ip 127.0.0.200
  remote-ip 127.0.0.201
...
end
ss7_asp_vty_test(config-cs7-asp)# exit

ss7_asp_vty_test(config-cs7)# as my-ass m3ua
ss7_asp_vty_test(config-cs7-as)# list
...
  description .TEXT
  asp NAME
  no asp NAME
  traffic-mode (broadcast | loadshare | roundrobin | override)
  no traffic-mode
  recovery-timeout <1-2000>
  qos-class <0-255>
  routing-key RCONTEXT DPC
  routing-key RCONTEXT DPC si (aal2|bicc|b-isup|h248|isup|sat-isup|sccp|tup)
  routing-key RCONTEXT DPC ssn SSN
  routing-key RCONTEXT DPC si (aal2|bicc|b-isup|h248|isup|sat-isup|sccp|tup) ssn SSN
  point-code override dpc PC
  point-code override patch-sccp (disabled|both)

ss7_asp_vty_test(config-cs7-as)# ?
...
  description       Save human-readable description of the object
  asp               Specify that a given ASP is part of this AS
  no                Negate a command or set its defaults
  traffic-mode      Specifies traffic mode of operation of the ASP within the AS
  recovery-timeout  Specifies the recovery timeout value in milliseconds
  qos-class         Specity QoS Class of AS
  routing-key       Define a routing key
  point-code        Point Code Specific Features

ss7_asp_vty_test(config-cs7-as)# no ?
  asp           Specify ASP to be removed from this AS
  traffic-mode  Remove explicit traffic mode of operation of this AS

ss7_asp_vty_test(config-cs7-as)# do show cs7 instance 0 as all
                          Routing    Routing Key                          Cic   Cic   Traffic
AS Name      State        Context    Dpc           Si   Opc           Ssn Min   Max   Mode
------------ ------------ ---------- ------------- ---- ------------- --- ----- ----- -------
my-ass       AS_DOWN      0          0.0.0                                             override

ss7_asp_vty_test(config-cs7-as)# do show cs7 instance 0 as active
                          Routing    Routing Key                          Cic   Cic   Traffic
AS Name      State        Context    Dpc           Si   Opc           Ssn Min   Max   Mode
------------ ------------ ---------- ------------- ---- ------------- --- ----- ----- -------

ss7_asp_vty_test(config-cs7-as)# do show cs7 instance 0 as sua
                          Routing    Routing Key                          Cic   Cic   Traffic
AS Name      State        Context    Dpc           Si   Opc           Ssn Min   Max   Mode
------------ ------------ ---------- ------------- ---- ------------- --- ----- ----- -------

ss7_asp_vty_test(config-cs7-as)# do show cs7 instance 0 as m3ua
                          Routing    Routing Key                          Cic   Cic   Traffic
AS Name      State        Context    Dpc           Si   Opc           Ssn Min   Max   Mode
------------ ------------ ---------- ------------- ---- ------------- --- ----- ----- -------
my-ass       AS_DOWN      0          0.0.0                                             override

ss7_asp_vty_test(config-cs7-as)# asp my-asp
ss7_asp_vty_test(config-cs7-as)# routing-key 0 3.2.1

ss7_asp_vty_test(config-cs7-as)# do show cs7 instance 0 asp
ASP Name      AS Name       State          Type  Role  SCTP Role  Local Addresses          Remote Addresses
------------  ------------  -------------  ----  ----  ---------  -----------------------  -----------------------
my-asp        my-ass        ASP_DOWN       m3ua  sg    server     (127.0.0.100|127.0.0.101):54321  (127.0.0.200|127.0.0.201):12345

ss7_asp_vty_test(config-cs7-as)# exit
ss7_asp_vty_test(config-cs7)# do show cs7 instance 0 asp
ASP Name      AS Name       State          Type  Role  SCTP Role  Local Addresses          Remote Addresses
------------  ------------  -------------  ----  ----  ---------  -----------------------  -----------------------
my-asp        my-ass        ASP_DOWN       m3ua  sg    server     (127.0.0.100|127.0.0.101):54321  (127.0.0.200|127.0.0.201):12345

ss7_asp_vty_test(config-cs7)# exit


ss7_asp_vty_test(config)# do show cs7 instance 0 asp
ASP Name      AS Name       State          Type  Role  SCTP Role  Local Addresses          Remote Addresses
------------  ------------  -------------  ----  ----  ---------  -----------------------  -----------------------
my-asp        my-ass        ASP_DOWN       m3ua  sg    server     (127.0.0.100|127.0.0.101):54321  (127.0.0.200|127.0.0.201):12345

ss7_asp_vty_test(config)# do show cs7 instance 0 as all
                          Routing    Routing Key                          Cic   Cic   Traffic
AS Name      State        Context    Dpc           Si   Opc           Ssn Min   Max   Mode
------------ ------------ ---------- ------------- ---- ------------- --- ----- ----- -------
my-ass       AS_DOWN      0          3.2.1                                             override



ss7_asp_vty_test(config)# show running-config
...
cs7 instance 0
 asp my-asp 12345 54321 m3ua
  local-ip 127.0.0.100
  local-ip 127.0.0.101
  remote-ip 127.0.0.200
  remote-ip 127.0.0.201
  role sg
  sctp-role server
 as my-ass m3ua
  asp my-asp
  routing-key 0 3.2.1
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
cs7 instance 1
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end

ss7_asp_vty_test(config)# do show cs7 instance 0 users

ss7_asp_vty_test(config)# do show cs7 m3ua

ss7_asp_vty_test(config)# cs7 instance 0
ss7_asp_vty_test(config-cs7)# no asp unknown-asp
No ASP named 'unknown-asp' found

ss7_asp_vty_test(config-cs7)# no asp my-asp

ss7_asp_vty_test(config-cs7)# do show cs7 instance 0 asp
ASP Name      AS Name       State          Type  Role  SCTP Role  Local Addresses          Remote Addresses
------------  ------------  -------------  ----  ----  ---------  -----------------------  -----------------------

ss7_asp_vty_test(config-cs7)# do show cs7 instance 0 as all
                          Routing    Routing Key                          Cic   Cic   Traffic
AS Name      State        Context    Dpc           Si   Opc           Ssn Min   Max   Mode
------------ ------------ ---------- ------------- ---- ------------- --- ----- ----- -------
my-ass       AS_DOWN      0          3.2.1                                             override


ss7_asp_vty_test(config-cs7)# do show cs7 instance 0 sccp timers
SS7 instance 0 has no SCCP initialized

ss7_asp_vty_test(config-cs7)# show running-config
... !sccp-timer

ss7_asp_vty_test(config-cs7)# sccp-timer ias 5
ss7_asp_vty_test(config-cs7)# do show cs7 instance 0 sccp timers
sccp-timer conn_est 60
sccp-timer ias 5
sccp-timer iar 900
sccp-timer rel 10
sccp-timer repeat_rel 10
sccp-timer int 60
sccp-timer guard 1380
sccp-timer reset 10
sccp-timer reassembly 10
ss7_asp_vty_test(config-cs7)# show running-config
... !sccp-timer
 sccp-timer ias 5
... !sccp-timer

ss7_asp_vty_test(config-cs7)# sccp-timer ias 420
ss7_asp_vty_test(config-cs7)# do show cs7 instance 0 sccp timers
sccp-timer conn_est 60
sccp-timer ias 420
sccp-timer iar 900
sccp-timer rel 10
sccp-timer repeat_rel 10
sccp-timer int 60
sccp-timer guard 1380
sccp-timer reset 10
sccp-timer reassembly 10
ss7_asp_vty_test(config-cs7)# show running-config
... !sccp-timer

ss7_asp_vty_test(config-cs7)# sccp-timer?
  sccp-timer  Configure SCCP timer values, see ITU-T Q.714

ss7_asp_vty_test(config-cs7)# sccp-timer ?
  conn_est    Waiting for connection confirm message, 1 to 2 minutes (default: 60)
  ias         Send keep-alive: on an idle connection, delay before sending an Idle Timer message, 5 to 10 minutes (default: 420)
  iar         Receive keep-alive: on an idle connection, delay until considering a connection as stale, 11 to 21 minutes (default: 900)
  rel         Waiting for release complete message, 10 to 20 seconds (default: 10)
  repeat_rel  Waiting for release complete message; or to repeat sending released message after the initial expiry, 10 to 20 seconds (default: 10)
  int         Waiting for release complete message; or to release connection resources, freeze the LRN and alert a maintenance function after the initial expiry, extending to 1 minute (default: 60)
  guard       Waiting to resume normal procedure for temporary connection sections during the restart procedure, 23 to 25 minutes (default: 1380)
  reset       Waiting to release temporary connection section or alert maintenance function after reset request message is sent, 10 to 20 seconds (default: 10)
  reassembly  Waiting to receive all the segments of the remaining segments, single segmented message after receiving the first segment, 10 to 20 seconds (default: 10)

ss7_asp_vty_test(config-cs7)# sccp-timer conn_est ?
  <1-999999>  Timer value, in seconds

ss7_asp_vty_test(config-cs7)# sccp ?
  max-optional-data  Adjust the upper bound for the optional data length (the payload) for CR, CC, CREF and RLSD messages. For any Optional Data part larger than this value in octets, send CR, CC, CREF and RLSD messages without any payload, and send the data payload in a separate Data Form 1 message. ITU-T Q.713 sections 4.2 thru 4.5 define a limit of 130 bytes for the 'Data' parameter. This limit can be adjusted here. May be useful for interop with nonstandard SCCP peers.

ss7_asp_vty_test(config-cs7)# sccp max-optional-data ?
  <0-999999>  Set a non-standard maximum allowed number of bytes
  standard    Use the ITU-T Q.713 4.2 to 4.5 standard value of 130

ss7_asp_vty_test(config-cs7)# show running-config
... !sccp max-optional-data

ss7_asp_vty_test(config-cs7)# sccp max-optional-data 0
ss7_asp_vty_test(config-cs7)# show running-config
...
 sccp max-optional-data 0
...

ss7_asp_vty_test(config-cs7)# sccp max-optional-data 123
ss7_asp_vty_test(config-cs7)# show running-config
...
 sccp max-optional-data 123
...

ss7_asp_vty_test(config-cs7)# sccp max-optional-data 999999
ss7_asp_vty_test(config-cs7)# show running-config
...
cs7 instance 0
...
 sccp max-optional-data 999999
...
cs7 instance 1
... !sccp max-optional-data

ss7_asp_vty_test(config-cs7)# sccp max-optional-data standard
ss7_asp_vty_test(config-cs7)# show running-config
... !sccp max-optional-data

ss7_asp_vty_test(config-cs7)# sccp max-optional-data 130
ss7_asp_vty_test(config-cs7)# show running-config
... !sccp max-optional-data