Project

General

Profile

Osmo-nitb VTY » History » Version 19

Anonymous, 02/19/2016 10:48 PM
mention the token.

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 12
 * This timer value is equal to T3110 and is used to delay the channel deactivation after disconnecting the manin signalling link.
106
107 1
==== timer t3113 <0-65535> ====
108 12
 * This timer is used for the PAGING REQUEST
109
110 1
==== timer t3115 <0-65535> ====
111 12
 * This timer is used for the repetition of the VGCS UPLINK GRANT message, it is currently not in use.
112
113 1
==== timer t3117 <0-65535> ====
114 9
 *  This is started after sending the PDCH ASSIGNMENT COMMAND
115 14
116 17 laforge
==== timer t3119 <0-65535> ====
117 14
 * This is started after sending the RR-CELL CHANGE ORDER message.
118 15
119 14
==== timer t3141 <0-65535> ====
120 16
121
==== [bsc_msc_ip] ipacc rtp_payload <0-256> ====
122 1
 * This option is currently only available in the on-waves/bsc-master branch (but it will be merged in one way or another).
123 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.
124 1
125
==== [bsc_msc_ip] rtp base <0-65534> ====
126
 * This option is currently only available in the on-waves/bsc-master branch (but it will be merged in one way or another).
127
 * 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.
128 3 laforge
129 1
==== [bsc_msc_ip] core mobile network code <1-999> ====
130
 * A network specific hack
131
 * Be able to use a different network code inside the A communication than used on A-bis.
132 19
 * This way one can differentiate networks on the phone but use the same one in the core network
133
134
==== [bsc_msc_ip] token TOKEN ====
135
 * Send this token to the MSC when asked for the id.
136
 * It can be any text..
137
 * This is a very weak authentication scheme.
138
139 3 laforge
140 4
=== bts level ===
141 1
142 3 laforge
At the BTS level, we define parameters that are global for this particular BTS.
143
144 1
==== type ====
145
The type of the BTS.  Currently supported;
146 3 laforge
147
 * ''bs-11''
148 1
 * ''nanobts''
149
150
==== band ====
151
The GSM band of the BTS.  Currently supported:
152 3 laforge
 * GSM400
153 1
 * GSM850
154
 * GSM900
155
 * DCS1800
156
 * PCS1900
157
158
==== cell_identity <0-65535> ====
159
The Cell Identity of this BTS
160
161 17 laforge
==== location area code <0-65535> ====
162 1
The LAC of the location area to which this BTS belongs.
163
164
==== training_sequence_code <0-255> ====
165
Set the Training Sequence Code (TSC) of this BTS
166
167 17 laforge
==== base_station_id_code <0-63> ====
168 1
The BSIC of this BTS within the location area.
169
170 17 laforge
==== ip.access unit_id ====
171
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.
172 1
173 17 laforge
==== oml ip.access stream_id <0-255> ====
174
Which IPA stream identifier is to be used for the OML link between BTS and BSC.
175 1
176 17 laforge
==== oml e1 tei ====
177
The Q.921 TEI to be used for the A-bis OML link of this BTS.
178 1
179 17 laforge
Make sure you use the same value than you have set in the BTS (by bs11-config or LMT).
180 1
181 17 laforge
==== oml e1 line E1_LINE timeslot <1-31> sub-slot (0|1|2|3|full) ====
182
Set the E1 line, E1 timeslot and E1 sub-slot for the OML link to this BTS.
183 1
184 17 laforge
Make sure you use the same value than you have set in the BTS (by bs11-config or LMT).
185
186
==== channel allocator ====
187 1
Whether the channels should be allocated in ascending or descending order.
188
189
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.
190
191 17 laforge
==== rach tx integer <0-15> ====
192
The RACH TX Integer announced on the BCCH in System Information messages
193 1
194 17 laforge
==== rach max transmission (1|2|4|7) ====
195
How many retransmissions should a MS make on a RACH request?
196
197
==== cell barred (0|1) ====
198 1
Whether this BTS is barred from access or not.
199
200 17 laforge
==== ms max power <0-40> ====
201
maximum transmit power (in dBm) to be used by MS in this BTS.  This is used in the System Information on the BCCH as
202
well as for the MS power level at the time a dedicated channel is activated.
203 1
204 17 laforge
==== periodic location update <0-1530> ====
205
Periodic Location Updating interval in minutes.
206 1
207 17 laforge
If you set this to a non-zero value, every MS will perform a periodic location updating procedure at the given interval.
208 1
209 17 laforge
A value of 0 will deactivate periodic location updating.
210 1
211 17 laforge
==== cell reselection hysteresis <0-14> ====
212
How many dB has a neighbor cell to be received better than the serving cell to perform cell reselection in idle mode.
213 1
214 17 laforge
==== rxlev access min <0-63> ====
215
How strong has the signal to be received at the MS, before a MS is allowed to switch to this cell in idle mode?
216 1
217 17 laforge
==== gprs enabled (0|1) ====
218
Is GPRS enabled on this BTS at all?
219 1
220 17 laforge
==== gprs routing area <0-255> ====
221
To which GPRS routing area does this BTS belong?
222 3 laforge
223 17 laforge
==== gprs cell bvci <0-65535> ====
224
BSGP Virtual Connection Identifier
225 2
226 17 laforge
==== gprs nsei <0-65535> ====
227
NS Entity Identifier
228 3 laforge
229 17 laforge
==== gprs nsvc <0-1> nsvci <0-65535> ====
230
NS Virtual Connection Identifier
231 3 laforge
232 17 laforge
==== gprs nsvc <0-1> local udp port <0-65535> ====
233
The local UDP port (on the BTS) to be used for NS-over-IP
234 2
235 17 laforge
==== gprs nsvc <0-1> remote udp port <0-65535> ====
236
The remote UDP port (of the SGSN) to be used for NS-over-IP
237 1
238 17 laforge
==== gprs nsvc <0-1> remote ip A.B.C.D ====
239
The remote IP address (of the SGSN) to be used for NS-over-IP
240
241
=== trx level ===
242 1
At the trx level, we specify parameters for one particular TRX (transceiver).
243
244 2
==== arfcn ====
245 1
The ARFCN of a non-hopping TRX.
246
247 17 laforge
==== nominal power <0-100> ===
248
How many dBm is the nominal power of this BTS.  This setting is only used as a base for computing
249
power levels displayed to the user.
250 13
251 17 laforge
==== max_power_red <0-100> ====
252
How many dB the nominal transmit power of the TRX should be reduced from its maximum (by OML means)
253 13
254
If your transmitter is set to e.g. 24 dBm and you set this to 10, your actual output power will be 14 dBm.
255
256
==== rf_locked (0|1) ====
257 17 laforge
This option can be used at start and at runtime to enable/disable RF of the transceiver.
258 2
 * "0": RF is not locked (enabled)
259 3 laforge
 * "1": RF is locked (disabled)
260 2
261 17 laforge
==== rsl e1 tei <0-63> ====
262 2
The Q.921 TEI to be used for the A-bis RSL link between BTS and BSC.
263 3 laforge
264 2
Make sure you don't use the same TEI twice in one E1 Link!
265 3 laforge
266
==== rsl e1 line E1_LINE timeslot <1-31> sub-slot (0|1|2|3|full) ====
267 2
Set the E1 Line, E1 timeslot and E1 sub-slot for the RSL link to this BTS.
268 1
269 3 laforge
=== timeslot level ===
270
The timeslot level lists parameters for one specific on-air timeslot.
271 1
272
==== phys_chan_config ====
273
Set the physical channel configuration of this GSM on-air timeslot:
274 2
275
 * ''NONE'': do not use this timeslot
276
 * ''CCCH'': regular CCCH configuration (BCCH+RACH+PCH+AGCH)
277
 * ''CCCH+SDCCH4'': CCCH plus SDCCH/4 combination
278
 * ''TCH/F'': Full TCH
279
 * ''TCH/H'': Half TCH
280
 * ''SDCCH8'': SDCCH/8 combination
281 17 laforge
 * ''PDCH'': Packed Data CHannel
282
 * ''TCH/F_PDCH'': Alternating TCH/F and PDCH use
283 3 laforge
284
===== e1 line e1 line E1_LINE timeslot <1-31> sub-slot (0|1|2|3) =====
285
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.
286
287 1
The TRAU frames for this on-air timeslot will be sent to the sub-slot you have specified here.
288 18
289
== Runtime Options ==
290
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.
291
292
=== Subscriber commands ===
293
 * 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.
294
 
295
==== subscriber (extension|imsi|tmsi|id) NUMBER sms TEXT ====
296
 {{{OpenBSC> subscriber extension 666 sms send "Hallo"}}}
297
298
 * The above command will allow you to send a SMS to the subscriber.
Add picture from clipboard (Maximum size: 48.8 MB)