aboutsummaryrefslogtreecommitdiffstats
path: root/tests/osmo-bsc.vty
blob: 3bc27073a1324dee6540e49e1325c4b92c0ba5bf (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
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
  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|deactivate) (hr|fr|efr|amr|sig) [<0-7>]
...

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
  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 ?
  ascending                 Allocate Timeslots and Transceivers in ascending order
  descending                Allocate Timeslots and Transceivers in descending order
  avoid-interference        Configure whether reported interference levels from RES IND are used in channel allocation
  allow-tch-for-signalling  Configure whether TCH/H or TCH/F channels can be used to serve non-call-related signalling if SDCCHs are exhausted

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 allow-tch-for-signalling ?
  0  Forbid use of TCH for non-call-related signalling purposes
  1  Allow use of TCH for non-call-related 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 allow-tch-for-signalling
OsmoBSC(config-net-bts)# channel allocator allow-tch-for-signalling 0
OsmoBSC(config-net-bts)# show running-config
...
 bts 0
...
  channel allocator allow-tch-for-signalling 0
...

OsmoBSC(config-net-bts)# channel allocator allow-tch-for-signalling 1
OsmoBSC(config-net-bts)# show running-config
... !channel allocator allow-tch-for-signalling