Project

General

Profile

Osmo-nitb VTY » History » Version 18

Anonymous, 02/19/2016 10:48 PM
Mention SMS.

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