blob: a15de599356a933fed70cac55a41e703be31b8d7 [file] [log] [blame]
Neels Hofmeyr641f7f02020-08-26 16:11:28 +02001OsmoBSC> ### CBSP link config
2
3OsmoBSC> list
4...
5 show cbc
6...
7
8OsmoBSC> enable
9OsmoBSC# list
10...
11 show cbc
12...
13
14OsmoBSC# show running-config
15... !cbc
16
17OsmoBSC# show cbc
18CBSP link is disabled
19
20OsmoBSC# configure terminal
21OsmoBSC(config)# cbc
22
23OsmoBSC(config-cbc)# list
24...
25 mode (server|client|disabled)
26 server
27 client
28
29OsmoBSC(config-cbc)# ?
30...
31 mode Set OsmoBSC as CBSP server or client
32 server Configure OsmoBSC's CBSP server role
33 client Configure OsmoBSC's CBSP client role
34
35OsmoBSC(config-cbc)# mode ?
36 server CBSP Server: listen for inbound TCP connections from a remote Cell Broadcast Centre
37 client CBSP Client: establish outbound TCP connection to a remote Cell Broadcast Centre
38 disabled Disable CBSP link
39
40OsmoBSC(config-cbc)# server
41OsmoBSC(config-cbc-server)# list
42...
43 local-ip (A.B.C.D|X:X::X:X)
44 local-port <1-65535>
45
46OsmoBSC(config-cbc-server)# ?
47...
48 local-ip Set IP Address to listen on for inbound CBSP from a Cell Broadcast Centre
49 local-port Set TCP port to listen on for inbound CBSP from a Cell Broadcast Centre
50
51OsmoBSC(config-cbc-server)# local-ip ?
52 A.B.C.D IPv4 address
53 X:X::X:X IPv6 address
54OsmoBSC(config-cbc-server)# local-port ?
55 <1-65535> CBSP port number (Default: 48049)
56
57OsmoBSC(config-cbc-server)# local-ip 1.2.3.4
58OsmoBSC(config-cbc-server)# local-port 12345
59OsmoBSC(config-cbc-server)# show running-config
60...
61cbc
62 mode disabled
63 server
64 local-ip 1.2.3.4
65 local-port 12345
66...
67
68OsmoBSC(config-cbc-server)# local-port 48049
69
70OsmoBSC(config-cbc-server)# show running-config
71...
72cbc
73 mode disabled
74 server
75 local-ip 1.2.3.4
76... !local-port
77
78OsmoBSC(config-cbc-server)# local-ip ::1
79OsmoBSC(config-cbc-server)# show running-config
80...
81cbc
82 mode disabled
83 server
84 local-ip ::1
85...
86
87OsmoBSC(config-cbc-server)# do show cbc
88CBSP link is disabled
89
90OsmoBSC(config-cbc-server)# exit
91
92OsmoBSC(config-cbc)# client
93OsmoBSC(config-cbc-client)# list
94...
95 remote-ip (A.B.C.D|X:X::X:X)
96 remote-port <1-65535>
Neels Hofmeyrd41247d2020-08-27 18:44:54 +020097 local-ip (A.B.C.D|X:X::X:X)
98 local-port <1-65535>
99 no local-ip
100 no local-port
Neels Hofmeyr641f7f02020-08-26 16:11:28 +0200101
102OsmoBSC(config-cbc-client)# ?
103...
104 remote-ip Set IP Address of the Cell Broadcast Centre, to establish CBSP link to
105 remote-port Set TCP port of the Cell Broadcast Centre, to establish CBSP link to
Neels Hofmeyrd41247d2020-08-27 18:44:54 +0200106 local-ip Set local bind address for the outbound CBSP link to the Cell Broadcast Centre
107 local-port Set local bind port for the outbound CBSP link to the Cell Broadcast Centre
108 no Negate a command or set its defaults
Neels Hofmeyr641f7f02020-08-26 16:11:28 +0200109
110OsmoBSC(config-cbc-client)# remote-ip ?
111 A.B.C.D IPv4 address
112 X:X::X:X IPv6 address
113OsmoBSC(config-cbc-client)# remote-port ?
114 <1-65535> CBSP port number (Default: 48049)
115
Neels Hofmeyrd41247d2020-08-27 18:44:54 +0200116OsmoBSC(config-cbc-client)# no ?
117 local-ip Remove local IP address bind config for the CBSP client mode
118 local-port Remove local TCP port bind config for the CBSP client mode
119
Neels Hofmeyr641f7f02020-08-26 16:11:28 +0200120OsmoBSC(config-cbc-client)# remote-ip 1.2.3.4
121OsmoBSC(config-cbc-client)# remote-port 12345
122OsmoBSC(config-cbc-client)# show running-config
123...
124cbc
125...
126 client
127 remote-ip 1.2.3.4
128 remote-port 12345
129...
130
131OsmoBSC(config-cbc-client)# remote-port 48049
132
133OsmoBSC(config-cbc-client)# show running-config
134...
135cbc
136...
137 client
138 remote-ip 1.2.3.4
139... !remote-port
140
141OsmoBSC(config-cbc-client)# remote-ip 1:2:3:4::5
142OsmoBSC(config-cbc-client)# show running-config
143...
144cbc
145...
146 client
147 remote-ip 1:2:3:4::5
148...
149
Neels Hofmeyrd41247d2020-08-27 18:44:54 +0200150OsmoBSC(config-cbc-client)# local-ip 1.2.3.4
151
152OsmoBSC(config-cbc-client)# show running-config
153...
154cbc
155...
156 client
157 remote-ip 1:2:3:4::5
158 local-ip 1.2.3.4
159... !local-port
160
161OsmoBSC(config-cbc-client)# local-port 12345
162
163OsmoBSC(config-cbc-client)# show running-config
164...
165cbc
166...
167 client
168 remote-ip 1:2:3:4::5
169 local-ip 1.2.3.4
170 local-port 12345
171...
172
173OsmoBSC(config-cbc-client)# no local-ip
174
175OsmoBSC(config-cbc-client)# show running-config
176...
177cbc
178...
179 client
180 remote-ip 1:2:3:4::5
181 local-port 12345
182... !local
183
184OsmoBSC(config-cbc-client)# no local-port
185
186OsmoBSC(config-cbc-client)# show running-config
187...
188cbc
189...
190 client
191 remote-ip 1:2:3:4::5
192... !local
193
Neels Hofmeyr641f7f02020-08-26 16:11:28 +0200194OsmoBSC(config-cbc-client)# do show cbc
195CBSP link is disabled
196
197OsmoBSC(config-cbc-client)# exit
198
199OsmoBSC(config-cbc)# mode server
200OsmoBSC(config-cbc)# do show cbc
201OsmoBSC is configured as CBSP Server on [::1]:48049
202CBSP Server Connection: Disconnected
203
204OsmoBSC(config-cbc)# mode client
205OsmoBSC(config-cbc)# do show cbc
206OsmoBSC is configured as CBSP Client to remote CBC at [1:2:3:4::5]:48049
207CBSP Client Connection: Disconnected
208
209OsmoBSC(config-cbc)# mode disabled
210OsmoBSC(config-cbc)# do show cbc
211CBSP link is disabled
Neels Hofmeyr7e9ac642020-09-03 14:19:16 +0200212
213
214OsmoBSC(config-cbc)# # TEST DEPRECATED COMMANDS
215
216OsmoBSC(config-cbc)# remote-ip 1.2.3.4
217% cbc/remote-ip config is deprecated, instead use cbc/client/remote-ip and cbc/ mode
218OsmoBSC(config-cbc)# remote-port 1234
219% cbc/remote-port config is deprecated, instead use cbc/client/remote-port
220OsmoBSC(config-cbc)# do show cbc
221OsmoBSC is configured as CBSP Client to remote CBC at 1.2.3.4:1234
222CBSP Client Connection: Disconnected
223OsmoBSC(config-cbc)# show running-config
224...
225cbc
226 mode client
227...
228 client
229 remote-ip 1.2.3.4
230 remote-port 1234
231...
232
233OsmoBSC(config-cbc)# no remote-ip
234% cbc/remote-ip config is deprecated, instead use cbc/client/remote-ip and cbc/mode
235OsmoBSC(config-cbc)# do show cbc
236CBSP link is disabled
237OsmoBSC(config-cbc)# show running-config
238...
239cbc
240 mode disabled
241...
242 client
243 remote-ip 1.2.3.4
244 remote-port 1234
245...
246
247OsmoBSC(config-cbc)# listen-ip 127.0.0.2
248% cbc/listen-ip config is deprecated, instead use cbc/server/local-ip
249OsmoBSC(config-cbc)# do show cbc
250CBSP link is disabled
251OsmoBSC(config-cbc)# listen-port 48049
252% cbc/listen-port config is deprecated, instead use cbc/server/local-port and cbc/mode
253OsmoBSC(config-cbc)# do show cbc
254OsmoBSC is configured as CBSP Server on 127.0.0.2:48049
255CBSP Server Connection: Disconnected
256OsmoBSC(config-cbc)# show running-config
257...
258cbc
259 mode server
260 server
261 local-ip 127.0.0.2
262 client
263 remote-ip 1.2.3.4
264 remote-port 1234
265...
266
267OsmoBSC(config-cbc)# no listen-port
268% cbc/listen-port config is deprecated, instead use cbc/server/local-port and cbc/mode
269OsmoBSC(config-cbc)# do show cbc
270CBSP link is disabled
271OsmoBSC(config-cbc)# show running-config
272...
273cbc
274 mode disabled
275...