aboutsummaryrefslogtreecommitdiffstats
path: root/tests/si2quater_neighbor_list.vty
blob: 0aa1c231a8bfdc70ce6438efbdf5f733dfbf48fb (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
OsmoBSC> enable
OsmoBSC# configure terminal
OsmoBSC(config)# network

OsmoBSC(config-net)# ## No neighbor EARFCNs by default
OsmoBSC(config-net)# show running-config
... !si2quater neighbor-list


OsmoBSC(config-net)# bts 0
OsmoBSC(config-net-bts)# si2quater?
  si2quater  SI2quater Neighbor List
OsmoBSC(config-net-bts)# si2quater ?
  neighbor-list  SI2quater Neighbor List
OsmoBSC(config-net-bts)# si2quater neighbor-list ?
  add  Add to manual SI2quater neighbor list
  del  Delete from SI2quater manual neighbor list

OsmoBSC(config-net-bts)# si2quater neighbor-list add ?
  earfcn  EARFCN of neighbor
  uarfcn  UARFCN of neighbor
OsmoBSC(config-net-bts)# si2quater neighbor-list del ?
  earfcn  EARFCN of neighbor
  uarfcn  UARFCN of neighbor


OsmoBSC(config-net-bts)# ### Delete command syntax
OsmoBSC(config-net-bts)# si2quater neighbor-list del earfcn ?
  <0-65535>  EARFCN
OsmoBSC(config-net-bts)# si2quater neighbor-list del uarfcn ?
  <0-16383>  UARFCN


OsmoBSC(config-net-bts)# ### EARFCN add command syntax
OsmoBSC(config-net-bts)# si2quater neighbor-list add earfcn ?
  <0-65535>  EARFCN of neighbor
OsmoBSC(config-net-bts)# si2quater neighbor-list add earfcn 0 thresh-hi ?
  <0-31>  threshold high bits
OsmoBSC(config-net-bts)# si2quater neighbor-list add earfcn 0 thresh-hi 0 thresh-lo ?
  <0-32>  threshold low bits (32 means NA)
OsmoBSC(config-net-bts)# si2quater neighbor-list add earfcn 0 thresh-hi 0 thresh-lo 32 prio ?
  <0-8>  priority (8 means NA)
OsmoBSC(config-net-bts)# si2quater neighbor-list add earfcn 0 thresh-hi 0 thresh-lo 32 prio 8 qrxlv ?
  <0-32>  QRXLEVMIN (32 means NA)
OsmoBSC(config-net-bts)# si2quater neighbor-list add earfcn 0 thresh-hi 0 thresh-lo 32 prio 8 qrxlv 32 meas ?
  <0-8>  measurement bandwidth (8 means NA)
OsmoBSC(config-net-bts)# si2quater neighbor-list add earfcn 0 thresh-hi 0 thresh-lo 32 prio 8 qrxlv 32 meas 8 ?
  <cr>  


OsmoBSC(config-net-bts)# ### UARFCN add command syntax
OsmoBSC(config-net-bts)# si2quater neighbor-list add uarfcn ?
  <0-16383>  UARFCN of neighbor
OsmoBSC(config-net-bts)# si2quater neighbor-list add uarfcn 0 ?
  <0-511>  scrambling code
OsmoBSC(config-net-bts)# si2quater neighbor-list add uarfcn 0 0 ?
  <0-1>  diversity bit
OsmoBSC(config-net-bts)# si2quater neighbor-list add uarfcn 0 0 0 ?
  <cr>  


OsmoBSC(config-net-bts)# ### EARFCN add/del command tests
OsmoBSC(config-net-bts)# si2quater neighbor-list add earfcn 0 thresh-hi 0 thresh-lo 32 prio 8 qrxlv 32 meas 8
OsmoBSC(config-net-bts)# si2quater neighbor-list add earfcn 65535 thresh-hi 0 thresh-lo 32 prio 8 qrxlv 32 meas 8
OsmoBSC(config-net-bts)# show running-config
...
 bts 0
... !si2quater neighbor-list
  si2quater neighbor-list add earfcn 0 thresh-hi 0 thresh-lo 32 prio 8 qrxlv 32 meas 8
  si2quater neighbor-list add earfcn 65535 thresh-hi 0 thresh-lo 32 prio 8 qrxlv 32 meas 8
... !si2quater neighbor-list

OsmoBSC(config-net-bts)# si2quater neighbor-list del earfcn 33
% Unable to delete arfcn 33: No such file or directory

OsmoBSC(config-net-bts)# si2quater neighbor-list del earfcn 65535
OsmoBSC(config-net-bts)# show running-config
...
 bts 0
... !si2quater neighbor-list
  si2quater neighbor-list add earfcn 0 thresh-hi 0 thresh-lo 32 prio 8 qrxlv 32 meas 8
... !si2quater neighbor-list


OsmoBSC(config-net-bts)# ### EARFCN add command: different params
OsmoBSC(config-net-bts)# ### FIXME: osmo-bsc does not support different thresh/prio/qrxlv
OsmoBSC(config-net-bts)# si2quater neighbor-list add earfcn 300 thresh-hi 7 thresh-lo 5 prio 5 qrxlv 6 meas 5
OsmoBSC(config-net-bts)# show running-config
...
 bts 0
... !si2quater neighbor-list
  si2quater neighbor-list add earfcn 0 thresh-hi 7 thresh-lo 5 prio 5 qrxlv 6 meas 8
  si2quater neighbor-list add earfcn 300 thresh-hi 7 thresh-lo 5 prio 5 qrxlv 6 meas 5
... !si2quater neighbor-list


OsmoBSC(config-net-bts)# ### EARFCN add command: EARFCN already exists
OsmoBSC(config-net-bts)# si2quater neighbor-list add earfcn 300 thresh-hi 7 thresh-lo 5 prio 5 qrxlv 6 meas 2
OsmoBSC(config-net-bts)# show running-config
...
 bts 0
... !si2quater neighbor-list
  si2quater neighbor-list add earfcn 0 thresh-hi 7 thresh-lo 5 prio 5 qrxlv 6 meas 8
  si2quater neighbor-list add earfcn 300 thresh-hi 7 thresh-lo 5 prio 5 qrxlv 6 meas 2
... !si2quater neighbor-list


OsmoBSC(config-net-bts)# ### Remove remaining EARFCNs
OsmoBSC(config-net-bts)# si2quater neighbor-list del earfcn 0
OsmoBSC(config-net-bts)# si2quater neighbor-list del earfcn 300
OsmoBSC(config-net-bts)# show running-config
... !si2quater neighbor-list


OsmoBSC(config-net-bts)# ### UARFCN add/del command tests
OsmoBSC(config-net-bts)# si2quater neighbor-list add uarfcn 1 256 0
OsmoBSC(config-net-bts)# si2quater neighbor-list add uarfcn 111 211 1
OsmoBSC(config-net-bts)# si2quater neighbor-list add uarfcn 111 511 1
OsmoBSC(config-net-bts)# si2quater neighbor-list add uarfcn 16383 0 0
OsmoBSC(config-net-bts)# show running-config
...
 bts 0
... !si2quater neighbor-list
  si2quater neighbor-list add uarfcn 1 256 0
  si2quater neighbor-list add uarfcn 111 511 1
  si2quater neighbor-list add uarfcn 111 211 1
  si2quater neighbor-list add uarfcn 16383 0 0
... !si2quater neighbor-list

OsmoBSC(config-net-bts)# si2quater neighbor-list del uarfcn 1
% Command incomplete.
OsmoBSC(config-net-bts)# si2quater neighbor-list del uarfcn 33 256
% Unable to delete uarfcn: pair not found
OsmoBSC(config-net-bts)# si2quater neighbor-list del uarfcn 1 255
% Unable to delete uarfcn: pair not found

OsmoBSC(config-net-bts)# si2quater neighbor-list del uarfcn 1 256
OsmoBSC(config-net-bts)# si2quater neighbor-list del uarfcn 16383 0
OsmoBSC(config-net-bts)# show running-config
...
 bts 0
... !si2quater neighbor-list
  si2quater neighbor-list add uarfcn 111 511 1
  si2quater neighbor-list add uarfcn 111 211 1
... !si2quater neighbor-list


OsmoBSC(config-net-bts)# ### UARFCN add command: UARFCN already exists
OsmoBSC(config-net-bts)# si2quater neighbor-list add uarfcn 111 511 1
OsmoBSC(config-net-bts)# si2quater neighbor-list add uarfcn 111 511 0
OsmoBSC(config-net-bts)# show running-config
...
 bts 0
... !si2quater neighbor-list
  si2quater neighbor-list add uarfcn 111 511 0
  si2quater neighbor-list add uarfcn 111 211 1
... !si2quater neighbor-list


OsmoBSC(config-net-bts)# ### FIXME: UARFCN 0 cannot be added
OsmoBSC(config-net-bts)# si2quater neighbor-list add uarfcn 0 1 1
% Warning: not enough space in SI2quater for a given UARFCN (0, 1)


OsmoBSC(config-net-bts)# ### Remove remaining UARFCNs
OsmoBSC(config-net-bts)# si2quater neighbor-list del uarfcn 111 511
OsmoBSC(config-net-bts)# si2quater neighbor-list del uarfcn 111 211
OsmoBSC(config-net-bts)# show running-config
... !si2quater neighbor-list