Project

General

Profile

Osmo-nitb VTY » History » Version 20

Anonymous, 02/19/2016 10:48 PM
Update T3111 implementation details

1 3 laforge
[[PageOutline]]
2 1
3 3 laforge
This page is a reference fo all VTY commands that you can use interactively on the OpenBSC VTY telnet interface.
4
5
In addition, the same commands are used for the configuration file.
6
7 1
== configuration reference ==
8
9
=== network level ===
10
11 3 laforge
At the network level, we specify parameters that are global for an entire GSM network.
12
13 1
==== network country code ====
14
15 3 laforge
The network country code (NCC) to be used for this network.  Default is 1.
16 1
17
==== mobile network code ====
18
19 3 laforge
The mobile network code (MNC) to be used for this network.  Default is 1.
20 1
21
==== short name ====
22
23
This is the short network name to be used in the GSM 04.08 MM INFO message.
24
25
==== long name ====
26
27
This is the long network name to be used in the GSM 04.08 MM INFO message.
28
29
==== auth policy ====
30
31
This defines the authentication policy of the network.  Possible values are:
32
33
 * ''closed'': Don't allow anyone who is not marked as authorized=1 in the hlr database
34
 * ''accept-all': Accept everyone into the network
35
 * ''token'': Use a special [wiki:TokenAuthPolicy]
36
37 17 laforge
==== location updating reject cause <2-111> ====
38
39
Set the CAUSE value when sending LOCATION UPDATING REJECT to a MS.  Possible values are
40
defined in GSM TS 04.08 / 10.5.3.6.
41
42 10
==== encryption a5 (0|1|2) ====
43 5
44 6
* Enable/Disable A5/X encryption on the network.
45 5
46 10
==== neci (0|1) ====
47 8
48
Changes the Cell Selection Parameter called NECI Half Rate Support.
49
50
 * "0": New establishment causes are not supported.
51
 * "1": New establishment causes are supported.
52
53 17 laforge
==== rrlp mode (none|ms-based|ms-preferred|ass-preferred) ====
54
55
Set the RRLP mode, i.e. if OpenBSC should routinely send RRLP inquiries to phones and store the response
56
57
 * none: Do not perform RRLP inquiries
58
 * ms-based: Ask for a MS-Based location
59
 * ms-preferred: Ask for a location, MS based is preferred over Network Assistance based
60
 * ass-preferred: Ask for a location, Netowrk Assistance based is preferred over MS based
61
62
==== mm info (0|1) ====
63
64
Should we send MM INFO messages with network name and timezone information?
65
66
==== handover (0|1) ====
67
Should the BSC enable in-call handover between multiple BTS?
68
69
==== handover window rxlev averaging <1-10> ====
70
Over how many SACCH frames should the Rx Level of the serving cell be averaged?
71
72
==== handover window rxqual averaging <1-10> ====
73
Over how many SACCH frames should the Rx Quality of the serving cell be averaged?
74
75
==== handover window rxlev neighbor averaging <1-10>
76
Over how many SACCH frames should the Rx Level of a neighbor cell be averaged?
77
78
==== handover power budget interval <1-99> ====
79
Every how many SACCH frames should the BSC think about performing a power budget (rx level)
80
handover?
81
82
==== handover power budget hysteresis <0-999> ====
83
How large should the hysteresis be, i.e. to prevent continuous handover back and forth
84
85
==== handover maximum distance <0-9999> ====
86
What is the maximum distance from a BTS, after which we try to perform distance handover?
87
88 11
==== timer t3101 <0-65535> ====
89
 * Started after IMMEDIATE ASSIGMENT, should be higher than the time for a L2 establishment attempt
90 10
91 11
==== timer t3103 <0-65535> ====
92
 * Started by sending a HANDOVER message. This timer is currently not in use.
93 10
94 11
==== timer t3105 <0-65535> ====
95
 * Used for the repetition of the PHYSICAL INFORMATION message during handover. This timer is currently not in use.
96
97 10
==== timer t3107 <0-65535> ====
98 11
 * Started after ASSIGMENT COMMAND to keep the old channel long enough alive. This timer is currently not in use due the usage of very early assignment in Call Control
99 1
100 12
101
==== timer t3109 <0-65535> ====
102 1
 * The purpose of this timer is to release channels in case of loss of communucation.
103 12
104 1
==== timer t3111 <0-65535> ====
105 20
 * GSM Spec: This timer value is equal to T3110 and is used to delay the channel deactivation after disconnecting the main signalling link.
106
 * OpenBSC will wait t3111 seconds after all SAPIs were released to send the RF Channel Release to the BTS. After the following RF Channel Release ACK OpenBSC will reuse the channel for further requests.
107 12
108 1
==== timer t3113 <0-65535> ====
109 12
 * This timer is used for the PAGING REQUEST
110
111 1
==== timer t3115 <0-65535> ====
112 12
 * This timer is used for the repetition of the VGCS UPLINK GRANT message, it is currently not in use.
113
114 1
==== timer t3117 <0-65535> ====
115 9
 *  This is started after sending the PDCH ASSIGNMENT COMMAND
116 14
117 17 laforge
==== timer t3119 <0-65535> ====
118 14
 * This is started after sending the RR-CELL CHANGE ORDER message.
119 15
120 14
==== timer t3141 <0-65535> ====
121 16
122
==== [bsc_msc_ip] ipacc rtp_payload <0-256> ====
123 1
 * This option is currently only available in the on-waves/bsc-master branch (but it will be merged in one way or another).
124 3 laforge
 * This configuration will override the RTP Payload in the MDCX message to not use the returned value by the nanoBTS but use this network setting.
125 1
126
==== [bsc_msc_ip] rtp base <0-65534> ====
127
 * This option is currently only available in the on-waves/bsc-master branch (but it will be merged in one way or another).
128
 * In the bsc_msc_ip sceneriao the BSC and the MGCP do not communicate with each other. To make it work they will need to share the secret of the base port.
129 3 laforge
130 1
==== [bsc_msc_ip] core mobile network code <1-999> ====
131
 * A network specific hack
132
 * Be able to use a different network code inside the A communication than used on A-bis.
133 19
 * This way one can differentiate networks on the phone but use the same one in the core network
134
135
==== [bsc_msc_ip] token TOKEN ====
136
 * Send this token to the MSC when asked for the id.
137
 * It can be any text..
138
 * This is a very weak authentication scheme.
139
140 3 laforge
141 4
=== bts level ===
142 1
143 3 laforge
At the BTS level, we define parameters that are global for this particular BTS.
144
145 1
==== type ====
146
The type of the BTS.  Currently supported;
147 3 laforge
148
 * ''bs-11''
149 1
 * ''nanobts''
150
151
==== band ====
152
The GSM band of the BTS.  Currently supported:
153 3 laforge
 * GSM400
154 1
 * GSM850
155
 * GSM900
156
 * DCS1800
157
 * PCS1900
158
159
==== cell_identity <0-65535> ====
160
The Cell Identity of this BTS
161
162 17 laforge
==== location area code <0-65535> ====
163 1
The LAC of the location area to which this BTS belongs.
164
165
==== training_sequence_code <0-255> ====
166
Set the Training Sequence Code (TSC) of this BTS
167
168 17 laforge
==== base_station_id_code <0-63> ====
169 1
The BSIC of this BTS within the location area.
170
171 17 laforge
==== ip.access unit_id ====
172
The ip.access Unit ID.  Unit ID is used to identify the BTS to the BSC.  You set the Unit ID of the BTS by using the [wiki:ipaccess-config] program.  Make sure you use the same Unit ID in the nanoBTS as well as in OpenBSC.
173 1
174 17 laforge
==== oml ip.access stream_id <0-255> ====
175
Which IPA stream identifier is to be used for the OML link between BTS and BSC.
176 1
177 17 laforge
==== oml e1 tei ====
178
The Q.921 TEI to be used for the A-bis OML link of this BTS.
179 1
180 17 laforge
Make sure you use the same value than you have set in the BTS (by bs11-config or LMT).
181 1
182 17 laforge
==== oml e1 line E1_LINE timeslot <1-31> sub-slot (0|1|2|3|full) ====
183
Set the E1 line, E1 timeslot and E1 sub-slot for the OML link to this BTS.
184 1
185 17 laforge
Make sure you use the same value than you have set in the BTS (by bs11-config or LMT).
186
187
==== channel allocator ====
188 1
Whether the channels should be allocated in ascending or descending order.
189
190
If the channel allocator is in ascending mode, it will first allocate timeslot 0, then timeslot 1, ... of TRX0. If TRX0 is full, it will switch to TRX1.  In descending order, it is the other way around.
191
192 17 laforge
==== rach tx integer <0-15> ====
193
The RACH TX Integer announced on the BCCH in System Information messages
194 1
195 17 laforge
==== rach max transmission (1|2|4|7) ====
196
How many retransmissions should a MS make on a RACH request?
197
198
==== cell barred (0|1) ====
199 1
Whether this BTS is barred from access or not.
200
201 17 laforge
==== ms max power <0-40> ====
202
maximum transmit power (in dBm) to be used by MS in this BTS.  This is used in the System Information on the BCCH as
203
well as for the MS power level at the time a dedicated channel is activated.
204 1
205 17 laforge
==== periodic location update <0-1530> ====
206
Periodic Location Updating interval in minutes.
207 1
208 17 laforge
If you set this to a non-zero value, every MS will perform a periodic location updating procedure at the given interval.
209 1
210 17 laforge
A value of 0 will deactivate periodic location updating.
211 1
212 17 laforge
==== cell reselection hysteresis <0-14> ====
213
How many dB has a neighbor cell to be received better than the serving cell to perform cell reselection in idle mode.
214 1
215 17 laforge
==== rxlev access min <0-63> ====
216
How strong has the signal to be received at the MS, before a MS is allowed to switch to this cell in idle mode?
217 1
218 17 laforge
==== gprs enabled (0|1) ====
219
Is GPRS enabled on this BTS at all?
220 1
221 17 laforge
==== gprs routing area <0-255> ====
222
To which GPRS routing area does this BTS belong?
223 3 laforge
224 17 laforge
==== gprs cell bvci <0-65535> ====
225
BSGP Virtual Connection Identifier
226 2
227 17 laforge
==== gprs nsei <0-65535> ====
228
NS Entity Identifier
229 3 laforge
230 17 laforge
==== gprs nsvc <0-1> nsvci <0-65535> ====
231
NS Virtual Connection Identifier
232 3 laforge
233 17 laforge
==== gprs nsvc <0-1> local udp port <0-65535> ====
234
The local UDP port (on the BTS) to be used for NS-over-IP
235 2
236 17 laforge
==== gprs nsvc <0-1> remote udp port <0-65535> ====
237
The remote UDP port (of the SGSN) to be used for NS-over-IP
238 1
239 17 laforge
==== gprs nsvc <0-1> remote ip A.B.C.D ====
240
The remote IP address (of the SGSN) to be used for NS-over-IP
241
242
=== trx level ===
243 1
At the trx level, we specify parameters for one particular TRX (transceiver).
244
245 2
==== arfcn ====
246 1
The ARFCN of a non-hopping TRX.
247
248 17 laforge
==== nominal power <0-100> ===
249
How many dBm is the nominal power of this BTS.  This setting is only used as a base for computing
250
power levels displayed to the user.
251 13
252 17 laforge
==== max_power_red <0-100> ====
253
How many dB the nominal transmit power of the TRX should be reduced from its maximum (by OML means)
254 13
255
If your transmitter is set to e.g. 24 dBm and you set this to 10, your actual output power will be 14 dBm.
256
257
==== rf_locked (0|1) ====
258 17 laforge
This option can be used at start and at runtime to enable/disable RF of the transceiver.
259 2
 * "0": RF is not locked (enabled)
260 3 laforge
 * "1": RF is locked (disabled)
261 2
262 17 laforge
==== rsl e1 tei <0-63> ====
263 2
The Q.921 TEI to be used for the A-bis RSL link between BTS and BSC.
264 3 laforge
265 2
Make sure you don't use the same TEI twice in one E1 Link!
266 3 laforge
267
==== rsl e1 line E1_LINE timeslot <1-31> sub-slot (0|1|2|3|full) ====
268 2
Set the E1 Line, E1 timeslot and E1 sub-slot for the RSL link to this BTS.
269 1
270 3 laforge
=== timeslot level ===
271
The timeslot level lists parameters for one specific on-air timeslot.
272 1
273
==== phys_chan_config ====
274
Set the physical channel configuration of this GSM on-air timeslot:
275 2
276
 * ''NONE'': do not use this timeslot
277
 * ''CCCH'': regular CCCH configuration (BCCH+RACH+PCH+AGCH)
278
 * ''CCCH+SDCCH4'': CCCH plus SDCCH/4 combination
279
 * ''TCH/F'': Full TCH
280
 * ''TCH/H'': Half TCH
281
 * ''SDCCH8'': SDCCH/8 combination
282 17 laforge
 * ''PDCH'': Packed Data CHannel
283
 * ''TCH/F_PDCH'': Alternating TCH/F and PDCH use
284 3 laforge
285
===== e1 line e1 line E1_LINE timeslot <1-31> sub-slot (0|1|2|3) =====
286
Set the E1 line, E1 timeslot and E1 sub-slot to be used for this on-air timeslot if it is used as a TCH.
287
288 1
The TRAU frames for this on-air timeslot will be sent to the sub-slot you have specified here.
289 18
290
== Runtime Options ==
291
The bsc_hack application listens on port 4242 on localhost and one can use telnet to connect to it. With the VTY interface one can use commands to inspect the state of OpenBSC, change the configuration and schedule work. Typing '?' will print a list of commands that are available in this screen and with tab completion one can complete command.
292
293
=== Subscriber commands ===
294
 * OpenBSC VTY has multiple ways to address a subscriber. It can be addressed by IMSI, by TMSI, the assigned extension and finally the id inside the database.
295
 
296
==== subscriber (extension|imsi|tmsi|id) NUMBER sms TEXT ====
297
 {{{OpenBSC> subscriber extension 666 sms send "Hallo"}}}
298
299
 * The above command will allow you to send a SMS to the subscriber.
Add picture from clipboard (Maximum size: 48.8 MB)