aboutsummaryrefslogtreecommitdiffstats
path: root/tests/osmo-bsc.vty
blob: e0b9bdc1800960ea47035b539d9c0288bbb3ac7f (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
OsmoBSC> enable

OsmoBSC# list
...
  bts <0-255> trx <0-255> timeslot <0-7> sub-slot <0-7> modify (vamos|non-vamos) [tsc] [<1-4>] [<0-7>]
...

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 ?
  activate        Manual Channel Activation (e.g. for BER test)
  activate-vamos  Manual Channel Activation, in VAMOS mode
  deactivate      Manual Channel Deactivation (e.g. for BER test)
  modify          Manually send Channel Mode Modify (for debugging)
  mdcx            Modify RTP Connection
  reassign-to     Trigger Assignment to an unused lchan on the same cell
  ms-power        Manually force MS Uplink Power Level in dBm on the lchan (for testing)
  handover        Manually trigger handover (for debugging)
  assignment      Manually trigger assignment (for debugging)

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 modify ?
  vamos      Enable VAMOS channel mode
  non-vamos  Disable VAMOS channel mode

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 modify vamos ?
  [tsc]  Provide specific TSC Set and Training Sequence Code

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 modify vamos tsc ?
  [<1-4>]  TSC Set

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 modify vamos tsc 1 ?
  [<0-7>]  Training Sequence Code

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 modify vamos tsc 1 0 ?
  <cr>  


OsmoBSC# list
...
  bts <0-255> trx <0-255> timeslot <0-7> (sub-slot|vamos-sub-slot) <0-7> (activate|activate-vamos) (hr|fr|efr|amr|sig) [<0-7>]
  bts <0-255> trx <0-255> timeslot <0-7> (sub-slot|vamos-sub-slot) <0-7> deactivate
...

OsmoBSC# bts?
  bts  BTS Specific Commands

OsmoBSC# bts ?
  <0-255>  BTS Number

OsmoBSC# bts 0 ?
  resend-system-information      Re-generate + re-send BCCH SYSTEM INFORMATION
  resend-power-control-defaults  Re-generate + re-send default MS/BS Power control parameters
  c0-power-reduction             BCCH carrier power reduction operation
  trx                            TRX for manual command
  oml                            Manipulate the OML managed objects
  om2000                         Manipulate the OM2000 managed objects

OsmoBSC# bts 0 c0-power-reduction ?
  <0-6>  Power reduction value (in dB, even numbers only)

OsmoBSC# bts 0 trx ?
  <0-255>  TRX Number

OsmoBSC# bts 0 trx 0 ?
  timeslot  Timeslot for manual command

OsmoBSC# bts 0 trx 0 timeslot ?
  <0-7>  Timeslot Number

OsmoBSC# bts 0 trx 0 timeslot 0 ?
  pdch            Packet Data Channel
  sub-slot        Primary sub-slot
  vamos-sub-slot  VAMOS secondary shadow subslot, range <0-1>, only valid for TCH type timeslots

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot ?
  <0-7>  Sub-slot Number

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 ?
  activate        Manual Channel Activation (e.g. for BER test)
  activate-vamos  Manual Channel Activation, in VAMOS mode
  deactivate      Manual Channel Deactivation (e.g. for BER test)
  modify          Manually send Channel Mode Modify (for debugging)
  mdcx            Modify RTP Connection
  reassign-to     Trigger Assignment to an unused lchan on the same cell
  ms-power        Manually force MS Uplink Power Level in dBm on the lchan (for testing)
  handover        Manually trigger handover (for debugging)
  assignment      Manually trigger assignment (for debugging)

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 activate ?
  hr   Half-Rate v1
  fr   Full-Rate
  efr  Enhanced Full Rate
  amr  Adaptive Multi-Rate
  sig  Signalling

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 activate fr ?
  [<0-7>]  AMR Mode

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 activate fr 0 ?
  <cr>  

OsmoBSC# list
...
  bts <0-255> trx <0-255> timeslot <0-7> (sub-slot|vamos-sub-slot) <0-7> reassign-to trx <0-255> timeslot <0-7> (sub-slot|vamos-sub-slot) <0-7> [tsc] [<1-4>] [<0-7>]
...

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 reassign-to ?
  trx  Target TRX

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 reassign-to trx ?
  <0-255>  TRX nr

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 reassign-to trx 0 ?
  timeslot  Target timeslot

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 reassign-to trx 0 timeslot ?
  <0-7>  timeslot nr

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 reassign-to trx 0 timeslot 0 ?
  sub-slot        Primary sub-slot
  vamos-sub-slot  VAMOS secondary shadow subslot, range <0-1>, only valid for TCH type timeslots

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 reassign-to trx 0 timeslot 0 vamos-sub-slot ?
  <0-7>  Sub-slot Number

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 reassign-to trx 0 timeslot 0 vamos-sub-slot 0 ?
  [tsc]  Provide specific TSC Set and Training Sequence Code

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 reassign-to trx 0 timeslot 0 vamos-sub-slot 0 tsc ?
  [<1-4>]  TSC Set

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 reassign-to trx 0 timeslot 0 vamos-sub-slot 0 tsc 1 ?
  [<0-7>]  Training Sequence Code

OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 reassign-to trx 0 timeslot 0 vamos-sub-slot 0 tsc 1 0 ?
  <cr>  

OsmoBSC# configure terminal
OsmoBSC(config)# network
OsmoBSC(config-net)# list
...
  meas-feed destination ADDR <0-65535>
  meas-feed scenario NAME
...

OsmoBSC(config-net)# meas-feed destination 127.0.0.23 4223
OsmoBSC(config-net)# meas-feed scenario foo23
OsmoBSC(config-net)# show running-config
...
network
...
 meas-feed destination 127.0.0.23 4223
 meas-feed scenario foo23
...


OsmoBSC(config-net)# bts 0

OsmoBSC(config-net-bts)# list
...
  channel allocator avoid-interference (0|1)
...

OsmoBSC(config-net-bts)# channel?
  channel  Channel Allocator

OsmoBSC(config-net-bts)# channel ?
  allocator  Channel Allocator

OsmoBSC(config-net-bts)# channel allocator ?
  mode                   Channel allocation mode
  avoid-interference     Configure whether reported interference levels from RES IND are used in channel allocation
  tch-signalling-policy  Configure when TCH/H or TCH/F channels can be used to serve signalling if SDCCHs are exhausted

OsmoBSC(config-net-bts)# channel allocator mode ?
  set-all     Set a single mode for all variants
  chan-req    Channel allocation for CHANNEL REQUEST (RACH)
  assignment  Channel allocation for assignment
  handover    Channel allocation for handover

OsmoBSC(config-net-bts)# channel allocator mode set-all ?
  ascending   Allocate Timeslots and Transceivers in ascending order
  descending  Allocate Timeslots and Transceivers in descending order

OsmoBSC(config-net-bts)# channel allocator avoid-interference ?
  0  Ignore interference levels (default). Always assign lchans in a deterministic order.
  1  In channel allocation, prefer lchans with less interference.

OsmoBSC(config-net-bts)# channel allocator tch-signalling-policy ?
  never      Never allow TCH for signalling purposes
  emergency  Only allow TCH for signalling purposes when establishing an emergency call
  voice      Allow TCH for signalling purposes when establishing any voice call
  always     Always allow TCH for signalling purposes (default)

OsmoBSC(config-net-bts)# show running-config
... !channel allocator avoid-interference
OsmoBSC(config-net-bts)# channel allocator avoid-interference 1
OsmoBSC(config-net-bts)# show running-config
...
 bts 0
...
  channel allocator avoid-interference 1
...

OsmoBSC(config-net-bts)# channel allocator avoid-interference 0
OsmoBSC(config-net-bts)# show running-config
... !channel allocator avoid-interference

OsmoBSC(config-net-bts)# show running-config
... !channel allocator tch-signalling-policy
OsmoBSC(config-net-bts)# channel allocator tch-signalling-policy never
OsmoBSC(config-net-bts)# show running-config
...
 bts 0
...
  channel allocator tch-signalling-policy never
...

OsmoBSC(config-net-bts)# channel allocator tch-signalling-policy emergency
OsmoBSC(config-net-bts)# show running-config
...
 bts 0
...
  channel allocator tch-signalling-policy emergency
...

OsmoBSC(config-net-bts)# channel allocator tch-signalling-policy voice
OsmoBSC(config-net-bts)# show running-config
...
 bts 0
...
  channel allocator tch-signalling-policy voice
...

OsmoBSC(config-net-bts)# channel allocator tch-signalling-policy always
OsmoBSC(config-net-bts)# show running-config
... !channel allocator tch-signalling-policy

OsmoBSC(config-net-bts)# immediate-assignment?
  immediate-assignment  Configure time of Immediate Assignment after ChanRqd RACH (Abis optimization)
OsmoBSC(config-net-bts)# immediate-assignment ?
  post-chan-ack  Send the Immediate Assignment after the Channel Activation ACK (normal sequence)
  pre-chan-ack   Send the Immediate Assignment directly after Channel Activation (early), without waiting for the ACK; This may help with double allocations on high latency Abis links
  pre-ts-ack     EXPERIMENTAL: If a dynamic timeslot switch is necessary, send the Immediate Assignment even before the timeslot is switched, i.e. even before the Channel Activation is sent (very early)
OsmoBSC(config-net-bts)# show running-config
... !immediate-assignment
OsmoBSC(config-net-bts)# immediate-assignment pre-chan-ack
OsmoBSC(config-net-bts)# show running-config
...
 bts 0
...
  immediate-assignment pre-chan-ack
...
OsmoBSC(config-net-bts)# immediate-assignment pre-ts-ack
OsmoBSC(config-net-bts)# show running-config
...
 bts 0
...
  immediate-assignment pre-ts-ack
...
OsmoBSC(config-net-bts)# immediate-assignment post-chan-ack
OsmoBSC(config-net-bts)# show running-config
... !immediate-assignment