aboutsummaryrefslogtreecommitdiffstats
path: root/tests/handover_cfg.vty
blob: ff67c8ff0c004675497dc5df7361fcc96345bb7a (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
OsmoBSC> show network
...
  Handover: Off
...
OsmoBSC> enable

OsmoBSC# ### No handover config present
OsmoBSC# show running-config
... !handover

OsmoBSC# ### Toggling handover on network level affects 'show network':
OsmoBSC# configure terminal
OsmoBSC(config)# network
OsmoBSC(config-net)# do show network
...
  Handover: Off
...
OsmoBSC(config-net)# handover 1
OsmoBSC(config-net)# do show network
...
  Handover: On
...

OsmoBSC(config-net)# ### If network level default is 'on', bts level can still override to 'off':
OsmoBSC(config-net)# bts 0
OsmoBSC(config-net-bts)# handover 0
OsmoBSC(config-net-bts)# do show network
...
  Handover: Off
...
OsmoBSC(config-net-bts)# exit

OsmoBSC(config-net)# ### Create a *second* BTS that is not explicitly 'off':
OsmoBSC(config-net)# bts 1
OsmoBSC(config-net-bts)# do show network
...
  Handover: On at 1 BTS, Off at 1 BTS
...

OsmoBSC(config-net-bts)# ### Add arbitrary handover config item for bts 1:
OsmoBSC(config-net-bts)# handover power budget interval 23
OsmoBSC(config-net-bts)# exit
OsmoBSC(config-net)# ### HO is 'on' globally, bts 0 disables it, bts 1 tweaks a param:
OsmoBSC(config-net)# show running-config
...
network
... !handover
 handover 1
... !handover
 bts 0
... !handover
  handover 0
... !handover
 bts 1
... !handover
  handover power budget interval 23
... !handover

OsmoBSC(config-net)# ### Set global default to 'off', now bts 1 also uses the global default of 'off':
OsmoBSC(config-net)# handover 0
OsmoBSC(config-net)# do show network
...
  Handover: Off
...
OsmoBSC(config-net)# show running-config
...
network
... !handover
 handover 0
... !handover
 bts 0
... !handover
  handover 0
... !handover
 bts 1
... !handover
  handover power budget interval 23
... !handover

OsmoBSC(config-net)# ### Remove the global setting, i.e. use the factory default net level, with same effect:
OsmoBSC(config-net)# handover default
% 'handover' setting removed, now is 0
OsmoBSC(config-net)# handover default
% 'handover' already was unset, still is 0
OsmoBSC(config-net)# do show network
...
  Handover: Off
...
OsmoBSC(config-net)# show running-config
...
network
... !handover
 bts 0
... !handover
  handover 0
... !handover
 bts 1
... !handover
  handover power budget interval 23
... !handover

OsmoBSC(config-net)# ### Re-enable net-level handover, but bts 0 remains disabled explicitly
OsmoBSC(config-net)# handover 1
OsmoBSC(config-net)# do show network
...
  Handover: On at 1 BTS, Off at 1 BTS
...
OsmoBSC(config-net)# show running-config
...
network
... !handover
 handover 1
... !handover
 bts 0
... !handover
  handover 0
... !handover
 bts 1
... !handover
  handover power budget interval 23
... !handover

OsmoBSC(config-net)# ### Remove explicit setting of bts 0 to also use the global setting:
OsmoBSC(config-net)# bts 0
OsmoBSC(config-net-bts)# handover default
% 'handover' setting removed, now is 1 (set on higher level node)
OsmoBSC(config-net-bts)# handover default
% 'handover' already was unset, still is 1 (set on higher level node)
OsmoBSC(config-net-bts)# do show network
...
  Handover: On
...
OsmoBSC(config-net-bts)# show running-config
...
network
... !handover
 handover 1
... !handover
 bts 0
... !handover
 bts 1
... !handover
  handover power budget interval 23
... !handover

OsmoBSC(config-net-bts)# ### Verify that 'min rxlev' value range stops at -50
OsmoBSC(config-net-bts)# handover min rxlev ?
  <-110--50>  minimum RxLev (dBm)
  default     Use default (-100), remove explicit setting on this node
OsmoBSC(config-net-bts)# handover min rxlev -111
% Unknown command.
OsmoBSC(config-net-bts)# handover min rxlev -110
OsmoBSC(config-net-bts)# handover min rxlev -50
OsmoBSC(config-net-bts)# handover min rxlev -49
% Unknown command.
OsmoBSC(config-net-bts)# handover min rxlev 50
% Unknown command.
OsmoBSC(config-net-bts)# handover min rxlev default
% 'handover min rxlev' setting removed, now is -100


OsmoBSC(config-net-bts)# ### Checking online help
OsmoBSC(config-net-bts)# exit
OsmoBSC(config-net)# list
...
  handover (0|1|default)
  handover algorithm (1|2|default)
  handover window rxlev averaging (<1-10>|default)
  handover window rxqual averaging (<1-10>|default)
  handover window rxlev neighbor averaging (<1-10>|default)
  handover power budget interval (<1-99>|default)
  handover power budget hysteresis (<0-999>|default)
  handover maximum distance (<0-9999>|default)
  handover assignment (0|1|default)
  handover tdma-measurement (full|subset|default)
  handover min rxlev (<-110--50>|default)
  handover min rxqual (<0-7>|default)
  handover afs-bias rxlev (<0-20>|default)
  handover afs-bias rxqual (<0-7>|default)
  handover min-free-slots tch/f (<0-9999>|default)
  handover min-free-slots tch/h (<0-9999>|default)
  handover max-handovers (<1-9999>|default)
  handover penalty-time max-distance (<0-99999>|default)
  handover penalty-time failed-ho (<0-99999>|default)
  handover penalty-time failed-assignment (<0-99999>|default)
  handover retries (<0-9>|default)
...

OsmoBSC(config-net)# handover?
  handover  Handover options

OsmoBSC(config-net)# handover ?
  0                 Disable in-call handover
  1                 Enable in-call handover
  default           Enable/disable handover: Use default (0), remove explicit setting on this node
  algorithm         Choose algorithm for handover decision
  window            Measurement averaging settings
  power             Neighbor cell power triggering
  maximum           Maximum Timing-Advance value (i.e. MS distance) before triggering HO
  assignment        Enable or disable in-call channel re-assignment (HO algo 2 only)
  tdma-measurement  Define measurement set of TDMA frames (HO algo 2 only)
  min               Minimum Level/Quality thresholds before triggering HO (HO algo 2 only)
  afs-bias          Configure bias to prefer AFS (AMR on TCH/F) over other codecs (HO algo 2 only)
  min-free-slots    Minimum free TCH timeslots before cell is considered congested (HO algo 2 only)
  max-handovers     Maximum number of concurrent handovers allowed per cell (HO algo 2 only)
  penalty-time      Set penalty times to wait between repeated handovers (HO algo 2 only)
  retries           Immediately retry on handover/assignment failure (HO algo 2 only)

OsmoBSC(config-net)# handover algorithm ?
  1        Algorithm 1: trigger handover based on comparing current cell and neighbor RxLev and RxQual, only.
  2        Algorithm 2: trigger handover on RxLev/RxQual, and also to balance the load across several cells. Consider available codecs. Prevent repeated handover by penalty timers.
  default  Use default (1), remove explicit setting on this node

OsmoBSC(config-net)# handover window ?
  rxlev   Received-Level averaging
  rxqual  Received-Quality averaging

OsmoBSC(config-net)# handover window rxlev ?
  averaging  How many RxLev measurements are used for averaging
  neighbor   How many Neighbor RxLev measurements are used for averaging

OsmoBSC(config-net)# handover window rxlev averaging ?
  <1-10>   RxLev averaging: Number of values to average over
  default  Use default (10), remove explicit setting on this node

OsmoBSC(config-net)# handover window rxlev neighbor ?
  averaging  How many Neighbor RxLev measurements are used for averaging

OsmoBSC(config-net)# handover window rxlev neighbor averaging ?
  <1-10>   Neighbor RxLev averaging: Number of values to average over
  default  Use default (10), remove explicit setting on this node

OsmoBSC(config-net)# handover window rxqual ?
  averaging  How many RxQual measurements are used for averaging

OsmoBSC(config-net)# handover window rxqual averaging ?
  <1-10>   RxQual averaging: Number of values to average over
  default  Use default (1), remove explicit setting on this node

OsmoBSC(config-net)# handover power ?
  budget  Neighbor cell power triggering

OsmoBSC(config-net)# handover power budget ?
  interval    How often to check for a better cell (SACCH frames)
  hysteresis  How many dBm stronger must a neighbor be to become a HO candidate

OsmoBSC(config-net)# handover power budget interval ?
  <1-99>   Check for stronger neighbor every N number of SACCH frames
  default  Use default (6), remove explicit setting on this node

OsmoBSC(config-net)# handover power budget hysteresis ?
  <0-999>  Neighbor's strength difference in dBm
  default  Use default (3), remove explicit setting on this node

OsmoBSC(config-net)# handover maximum ?
  distance  Maximum Timing-Advance value (i.e. MS distance) before triggering HO

OsmoBSC(config-net)# handover maximum distance ?
  <0-9999>  Maximum Timing-Advance value (i.e. MS distance) before triggering HO
  default   Use default (9999), remove explicit setting on this node

OsmoBSC(config-net)# handover assignment ?
  0        Disable in-call assignment
  1        Enable in-call assignment
  default  Use default (0), remove explicit setting on this node

OsmoBSC(config-net)# handover tdma-measurement ?
  full     Full set of 102/104 TDMA frames
  subset   Sub set of 4 TDMA frames (SACCH)
  default  Use default (subset), remove explicit setting on this node

OsmoBSC(config-net)# handover min ?
  rxlev   How weak may RxLev of an MS become before triggering HO
  rxqual  How bad may RxQual of an MS become before triggering HO

OsmoBSC(config-net)# handover min rxlev ?
  <-110--50>  minimum RxLev (dBm)
  default     Use default (-100), remove explicit setting on this node

OsmoBSC(config-net)# handover min rxqual ?
  <0-7>    minimum RxQual (dBm)
  default  Use default (5), remove explicit setting on this node

OsmoBSC(config-net)# handover afs-bias ?
  rxlev   RxLev improvement bias for AFS over other codecs
  rxqual  RxQual improvement bias for AFS over other codecs

OsmoBSC(config-net)# handover afs-bias rxlev ?
  <0-20>   Virtual RxLev improvement (dBm)
  default  Use default (0), remove explicit setting on this node

OsmoBSC(config-net)# handover afs-bias rxqual ?
  <0-7>    Virtual RxQual improvement (dBm)
  default  Use default (0), remove explicit setting on this node

OsmoBSC(config-net)# handover min-free-slots ?
  tch/f  Minimum free TCH/F timeslots before cell is considered congested
  tch/h  Minimum free TCH/H timeslots before cell is considered congested

OsmoBSC(config-net)# handover min-free-slots tch/f ?
  <0-9999>  Number of TCH/F slots
  default   Use default (0), remove explicit setting on this node

OsmoBSC(config-net)# handover min-free-slots TCH/F ?
% There is no matched command.

OsmoBSC(config-net)# handover min-free-slots tch/h ?
  <0-9999>  Number of TCH/H slots
  default   Use default (0), remove explicit setting on this node

OsmoBSC(config-net)# handover max-handovers ?
  <1-9999>  Number
  default   Use default (9999), remove explicit setting on this node

OsmoBSC(config-net)# handover penalty-time ?
  max-distance       Time to suspend handovers after leaving this cell due to exceeding max distance
  failed-ho          Time to suspend handovers after handover failure to this cell
  failed-assignment  Time to suspend handovers after assignment failure in this cell

OsmoBSC(config-net)# handover penalty-time max-distance ?
  <0-99999>  Seconds
  default    Use default (300), remove explicit setting on this node

OsmoBSC(config-net)# handover penalty-time failed-ho ?
  <0-99999>  Seconds
  default    Use default (60), remove explicit setting on this node

OsmoBSC(config-net)# handover penalty-time failed-assignment ?
  <0-99999>  Seconds
  default    Use default (60), remove explicit setting on this node

OsmoBSC(config-net)# handover retries ?
  <0-9>    Number of retries
  default  Use default (0), remove explicit setting on this node


OsmoBSC(config-net)# ### Same on BTS level
OsmoBSC(config-net)# bts 0
OsmoBSC(config-net-bts)# handover?
  handover  Handover options

OsmoBSC(config-net-bts)# handover ?
  0                 Disable in-call handover
  1                 Enable in-call handover
  default           Enable/disable handover: Use default (0), remove explicit setting on this node
  algorithm         Choose algorithm for handover decision
  window            Measurement averaging settings
  power             Neighbor cell power triggering
  maximum           Maximum Timing-Advance value (i.e. MS distance) before triggering HO
  assignment        Enable or disable in-call channel re-assignment (HO algo 2 only)
  tdma-measurement  Define measurement set of TDMA frames (HO algo 2 only)
  min               Minimum Level/Quality thresholds before triggering HO (HO algo 2 only)
  afs-bias          Configure bias to prefer AFS (AMR on TCH/F) over other codecs (HO algo 2 only)
  min-free-slots    Minimum free TCH timeslots before cell is considered congested (HO algo 2 only)
  max-handovers     Maximum number of concurrent handovers allowed per cell (HO algo 2 only)
  penalty-time      Set penalty times to wait between repeated handovers (HO algo 2 only)
  retries           Immediately retry on handover/assignment failure (HO algo 2 only)

OsmoBSC(config-net-bts)# handover algorithm ?
  1        Algorithm 1: trigger handover based on comparing current cell and neighbor RxLev and RxQual, only.
  2        Algorithm 2: trigger handover on RxLev/RxQual, and also to balance the load across several cells. Consider available codecs. Prevent repeated handover by penalty timers.
  default  Use default (1), remove explicit setting on this node

OsmoBSC(config-net-bts)# handover window ?
  rxlev   Received-Level averaging
  rxqual  Received-Quality averaging

OsmoBSC(config-net-bts)# handover window rxlev ?
  averaging  How many RxLev measurements are used for averaging
  neighbor   How many Neighbor RxLev measurements are used for averaging

OsmoBSC(config-net-bts)# handover window rxlev averaging ?
  <1-10>   RxLev averaging: Number of values to average over
  default  Use default (10), remove explicit setting on this node

OsmoBSC(config-net-bts)# handover window rxlev neighbor ?
  averaging  How many Neighbor RxLev measurements are used for averaging

OsmoBSC(config-net-bts)# handover window rxlev neighbor averaging ?
  <1-10>   Neighbor RxLev averaging: Number of values to average over
  default  Use default (10), remove explicit setting on this node

OsmoBSC(config-net-bts)# handover window rxqual ?
  averaging  How many RxQual measurements are used for averaging

OsmoBSC(config-net-bts)# handover window rxqual averaging ?
  <1-10>   RxQual averaging: Number of values to average over
  default  Use default (1), remove explicit setting on this node

OsmoBSC(config-net-bts)# handover power ?
  budget  Neighbor cell power triggering

OsmoBSC(config-net-bts)# handover power budget ?
  interval    How often to check for a better cell (SACCH frames)
  hysteresis  How many dBm stronger must a neighbor be to become a HO candidate

OsmoBSC(config-net-bts)# handover power budget interval ?
  <1-99>   Check for stronger neighbor every N number of SACCH frames
  default  Use default (6), remove explicit setting on this node

OsmoBSC(config-net-bts)# handover power budget hysteresis ?
  <0-999>  Neighbor's strength difference in dBm
  default  Use default (3), remove explicit setting on this node

OsmoBSC(config-net-bts)# handover maximum ?
  distance  Maximum Timing-Advance value (i.e. MS distance) before triggering HO

OsmoBSC(config-net-bts)# handover maximum distance ?
  <0-9999>  Maximum Timing-Advance value (i.e. MS distance) before triggering HO
  default   Use default (9999), remove explicit setting on this node

OsmoBSC(config-net-bts)# handover assignment ?
  0        Disable in-call assignment
  1        Enable in-call assignment
  default  Use default (0), remove explicit setting on this node

OsmoBSC(config-net-bts)# handover tdma-measurement ?
  full     Full set of 102/104 TDMA frames
  subset   Sub set of 4 TDMA frames (SACCH)
  default  Use default (subset), remove explicit setting on this node

OsmoBSC(config-net-bts)# handover min ?
  rxlev   How weak may RxLev of an MS become before triggering HO
  rxqual  How bad may RxQual of an MS become before triggering HO

OsmoBSC(config-net-bts)# handover min rxlev ?
  <-110--50>  minimum RxLev (dBm)
  default     Use default (-100), remove explicit setting on this node

OsmoBSC(config-net-bts)# handover min rxqual ?
  <0-7>    minimum RxQual (dBm)
  default  Use default (5), remove explicit setting on this node

OsmoBSC(config-net-bts)# handover afs-bias ?
  rxlev   RxLev improvement bias for AFS over other codecs
  rxqual  RxQual improvement bias for AFS over other codecs

OsmoBSC(config-net-bts)# handover afs-bias rxlev ?
  <0-20>   Virtual RxLev improvement (dBm)
  default  Use default (0), remove explicit setting on this node

OsmoBSC(config-net-bts)# handover afs-bias rxqual ?
  <0-7>    Virtual RxQual improvement (dBm)
  default  Use default (0), remove explicit setting on this node

OsmoBSC(config-net-bts)# handover min-free-slots ?
  tch/f  Minimum free TCH/F timeslots before cell is considered congested
  tch/h  Minimum free TCH/H timeslots before cell is considered congested

OsmoBSC(config-net-bts)# handover min-free-slots tch/f ?
  <0-9999>  Number of TCH/F slots
  default   Use default (0), remove explicit setting on this node

OsmoBSC(config-net-bts)# handover min-free-slots TCH/F ?
% There is no matched command.

OsmoBSC(config-net-bts)# handover min-free-slots tch/h ?
  <0-9999>  Number of TCH/H slots
  default   Use default (0), remove explicit setting on this node

OsmoBSC(config-net-bts)# handover max-handovers ?
  <1-9999>  Number
  default   Use default (9999), remove explicit setting on this node

OsmoBSC(config-net-bts)# handover penalty-time ?
  max-distance       Time to suspend handovers after leaving this cell due to exceeding max distance
  failed-ho          Time to suspend handovers after handover failure to this cell
  failed-assignment  Time to suspend handovers after assignment failure in this cell

OsmoBSC(config-net-bts)# handover penalty-time max-distance ?
  <0-99999>  Seconds
  default    Use default (300), remove explicit setting on this node

OsmoBSC(config-net-bts)# handover penalty-time failed-ho ?
  <0-99999>  Seconds
  default    Use default (60), remove explicit setting on this node

OsmoBSC(config-net-bts)# handover penalty-time failed-assignment ?
  <0-99999>  Seconds
  default    Use default (60), remove explicit setting on this node

OsmoBSC(config-net-bts)# handover retries ?
  <0-9>    Number of retries
  default  Use default (0), remove explicit setting on this node