aboutsummaryrefslogtreecommitdiffstats
path: root/tests/neighbor_si.vty
blob: 09eac0bff79859d95b5df56f8a2a3526859ae55a (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
OsmoBSC> ### Verify Neighbor frequency lists in System Information

OsmoBSC> enable
OsmoBSC# configure terminal

OsmoBSC(config)# log stderr
OsmoBSC(config-log)# logging level rr debug
OsmoBSC(config-log)# logging filter all 1
OsmoBSC(config-log)# exit
OsmoBSC(config)# network

OsmoBSC(config-net)# bts 0
OsmoBSC(config-net-bts)# type sysmobts
OsmoBSC(config-net-bts)# band 900
OsmoBSC(config-net-bts)# base_station_id_code 10
OsmoBSC(config-net-bts)# location_area_code 20
OsmoBSC(config-net-bts)# cell_identity 30
OsmoBSC(config-net-bts)# trx 0
OsmoBSC(config-net-bts-trx)# arfcn 40
OsmoBSC(config-net-bts-trx)# exit
OsmoBSC(config-net-bts)# exit

OsmoBSC(config-net)# bts 1
OsmoBSC(config-net-bts)# type sysmobts
OsmoBSC(config-net-bts)# band 900
OsmoBSC(config-net-bts)# base_station_id_code 11
OsmoBSC(config-net-bts)# location_area_code 21
OsmoBSC(config-net-bts)# cell_identity 31
OsmoBSC(config-net-bts)# trx 0
OsmoBSC(config-net-bts-trx)# arfcn 41
OsmoBSC(config-net-bts-trx)# exit
OsmoBSC(config-net-bts)# exit

OsmoBSC(config-net)# bts 2
OsmoBSC(config-net-bts)# type sysmobts
OsmoBSC(config-net-bts)# band 900
OsmoBSC(config-net-bts)# base_station_id_code 12
OsmoBSC(config-net-bts)# location_area_code 22
OsmoBSC(config-net-bts)# cell_identity 65535
OsmoBSC(config-net-bts)# trx 0
OsmoBSC(config-net-bts-trx)# arfcn 42
OsmoBSC(config-net-bts-trx)# exit
OsmoBSC(config-net-bts)# exit

OsmoBSC(config-net)# do show bts 0 neighbor-si
neighbor-list mode automatic
ARFCNs to be sent on System Information IEs:
     SI2  41 42
  SI2bis  -
  SI2ter  -
     SI5  41 42
  SI5bis  -
OsmoBSC(config-net)# do show bts 1 neighbor-si
neighbor-list mode automatic
ARFCNs to be sent on System Information IEs:
     SI2  40 42
  SI2bis  -
  SI2ter  -
     SI5  40 42
  SI5bis  -
OsmoBSC(config-net)# do show bts 2 neighbor-si
neighbor-list mode automatic
ARFCNs to be sent on System Information IEs:
     SI2  40 41
  SI2bis  -
  SI2ter  -
     SI5  40 41
  SI5bis  -

OsmoBSC(config-net)# bts 0
OsmoBSC(config-net-bts)# neighbor bts 1
% BTS 0 now has local neighbor BTS 1 with LAC 21 CI 31 and ARFCN 41 BSIC 11
OsmoBSC(config-net-bts)# exit
OsmoBSC(config-net)# bts 1
OsmoBSC(config-net-bts)# neighbor bts 0
% BTS 1 now has local neighbor BTS 0 with LAC 20 CI 30 and ARFCN 40 BSIC 10
OsmoBSC(config-net-bts)# exit

OsmoBSC(config-net)# do show bts 0 neighbor-si
neighbor-list mode automatic
ARFCNs to be sent on System Information IEs:
     SI2  41
  SI2bis  -
  SI2ter  -
     SI5  41
  SI5bis  -
OsmoBSC(config-net)# do show bts 1 neighbor-si
neighbor-list mode automatic
ARFCNs to be sent on System Information IEs:
     SI2  40
  SI2bis  -
  SI2ter  -
     SI5  40
  SI5bis  -
OsmoBSC(config-net)# do show bts 2 neighbor-si
neighbor-list mode automatic
ARFCNs to be sent on System Information IEs:
     SI2  40 41
  SI2bis  -
  SI2ter  -
     SI5  40 41
  SI5bis  -

OsmoBSC(config-net)# bts 2
OsmoBSC(config-net-bts)# neighbor-list mode manual-si5
OsmoBSC(config-net-bts)# neighbor-list add arfcn 23
OsmoBSC(config-net-bts)# neighbor-list add arfcn 24
OsmoBSC(config-net-bts)# neighbor-list add arfcn 25
OsmoBSC(config-net-bts)# si5 neighbor-list add arfcn 51
OsmoBSC(config-net-bts)# si5 neighbor-list add arfcn 52
OsmoBSC(config-net-bts)# exit

OsmoBSC(config-net)# do show bts 2 neighbor-si
neighbor-list mode manual-si5
ARFCNs to be sent on System Information IEs:
     SI2  23 24 25
  SI2bis  -
  SI2ter  -
     SI5  51 52
  SI5bis  -

OsmoBSC(config-net)# bts 2
OsmoBSC(config-net-bts)# neighbor-list mode manual
OsmoBSC(config-net-bts)# exit

OsmoBSC(config-net)# do show bts 2 neighbor-si
neighbor-list mode manual
ARFCNs to be sent on System Information IEs:
     SI2  23 24 25
  SI2bis  -
  SI2ter  -
     SI5  23 24 25
  SI5bis  -

OsmoBSC(config-net)# ### Configuring an explicit neighbor mapping, but mode is still manual
OsmoBSC(config-net)# bts 2
OsmoBSC(config-net-bts)# neighbor bts 1
% BTS 2 now has local neighbor BTS 1 with LAC 21 CI 31 and ARFCN 41 BSIC 11
OsmoBSC(config-net-bts)# exit

OsmoBSC(config-net)# do show bts 2 neighbor-si
neighbor-list mode manual
ARFCNs to be sent on System Information IEs:
     SI2  23 24 25
  SI2bis  -
  SI2ter  -
     SI5  23 24 25
  SI5bis  -

OsmoBSC(config-net)# bts 2
OsmoBSC(config-net-bts)# neighbor-list mode automatic
OsmoBSC(config-net-bts)# exit

OsmoBSC(config-net)# do show bts 2 neighbor-si
neighbor-list mode automatic
ARFCNs to be sent on System Information IEs:
     SI2  41
  SI2bis  -
  SI2ter  -
     SI5  41
  SI5bis  -