Neels Hofmeyr | 641f7f0 | 2020-08-26 16:11:28 +0200 | [diff] [blame] | 1 | OsmoBSC> ### CBSP link config |
| 2 | |
| 3 | OsmoBSC> list |
| 4 | ... |
| 5 | show cbc |
| 6 | ... |
| 7 | |
| 8 | OsmoBSC> enable |
| 9 | OsmoBSC# list |
| 10 | ... |
| 11 | show cbc |
| 12 | ... |
| 13 | |
| 14 | OsmoBSC# show running-config |
| 15 | ... !cbc |
| 16 | |
| 17 | OsmoBSC# show cbc |
| 18 | CBSP link is disabled |
| 19 | |
| 20 | OsmoBSC# configure terminal |
| 21 | OsmoBSC(config)# cbc |
| 22 | |
| 23 | OsmoBSC(config-cbc)# list |
| 24 | ... |
| 25 | mode (server|client|disabled) |
| 26 | server |
| 27 | client |
| 28 | |
| 29 | OsmoBSC(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 | |
| 35 | OsmoBSC(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 | |
| 40 | OsmoBSC(config-cbc)# server |
| 41 | OsmoBSC(config-cbc-server)# list |
| 42 | ... |
| 43 | local-ip (A.B.C.D|X:X::X:X) |
| 44 | local-port <1-65535> |
| 45 | |
| 46 | OsmoBSC(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 | |
| 51 | OsmoBSC(config-cbc-server)# local-ip ? |
| 52 | A.B.C.D IPv4 address |
| 53 | X:X::X:X IPv6 address |
| 54 | OsmoBSC(config-cbc-server)# local-port ? |
| 55 | <1-65535> CBSP port number (Default: 48049) |
| 56 | |
| 57 | OsmoBSC(config-cbc-server)# local-ip 1.2.3.4 |
| 58 | OsmoBSC(config-cbc-server)# local-port 12345 |
| 59 | OsmoBSC(config-cbc-server)# show running-config |
| 60 | ... |
| 61 | cbc |
| 62 | mode disabled |
| 63 | server |
| 64 | local-ip 1.2.3.4 |
| 65 | local-port 12345 |
| 66 | ... |
| 67 | |
| 68 | OsmoBSC(config-cbc-server)# local-port 48049 |
| 69 | |
| 70 | OsmoBSC(config-cbc-server)# show running-config |
| 71 | ... |
| 72 | cbc |
| 73 | mode disabled |
| 74 | server |
| 75 | local-ip 1.2.3.4 |
| 76 | ... !local-port |
| 77 | |
| 78 | OsmoBSC(config-cbc-server)# local-ip ::1 |
| 79 | OsmoBSC(config-cbc-server)# show running-config |
| 80 | ... |
| 81 | cbc |
| 82 | mode disabled |
| 83 | server |
| 84 | local-ip ::1 |
| 85 | ... |
| 86 | |
| 87 | OsmoBSC(config-cbc-server)# do show cbc |
| 88 | CBSP link is disabled |
| 89 | |
| 90 | OsmoBSC(config-cbc-server)# exit |
| 91 | |
| 92 | OsmoBSC(config-cbc)# client |
| 93 | OsmoBSC(config-cbc-client)# list |
| 94 | ... |
| 95 | remote-ip (A.B.C.D|X:X::X:X) |
| 96 | remote-port <1-65535> |
Neels Hofmeyr | d41247d | 2020-08-27 18:44:54 +0200 | [diff] [blame] | 97 | local-ip (A.B.C.D|X:X::X:X) |
| 98 | local-port <1-65535> |
| 99 | no local-ip |
| 100 | no local-port |
Neels Hofmeyr | 641f7f0 | 2020-08-26 16:11:28 +0200 | [diff] [blame] | 101 | |
| 102 | OsmoBSC(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 Hofmeyr | d41247d | 2020-08-27 18:44:54 +0200 | [diff] [blame] | 106 | 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 Hofmeyr | 641f7f0 | 2020-08-26 16:11:28 +0200 | [diff] [blame] | 109 | |
| 110 | OsmoBSC(config-cbc-client)# remote-ip ? |
| 111 | A.B.C.D IPv4 address |
| 112 | X:X::X:X IPv6 address |
| 113 | OsmoBSC(config-cbc-client)# remote-port ? |
| 114 | <1-65535> CBSP port number (Default: 48049) |
| 115 | |
Neels Hofmeyr | d41247d | 2020-08-27 18:44:54 +0200 | [diff] [blame] | 116 | OsmoBSC(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 Hofmeyr | 641f7f0 | 2020-08-26 16:11:28 +0200 | [diff] [blame] | 120 | OsmoBSC(config-cbc-client)# remote-ip 1.2.3.4 |
| 121 | OsmoBSC(config-cbc-client)# remote-port 12345 |
| 122 | OsmoBSC(config-cbc-client)# show running-config |
| 123 | ... |
| 124 | cbc |
| 125 | ... |
| 126 | client |
| 127 | remote-ip 1.2.3.4 |
| 128 | remote-port 12345 |
| 129 | ... |
| 130 | |
| 131 | OsmoBSC(config-cbc-client)# remote-port 48049 |
| 132 | |
| 133 | OsmoBSC(config-cbc-client)# show running-config |
| 134 | ... |
| 135 | cbc |
| 136 | ... |
| 137 | client |
| 138 | remote-ip 1.2.3.4 |
| 139 | ... !remote-port |
| 140 | |
| 141 | OsmoBSC(config-cbc-client)# remote-ip 1:2:3:4::5 |
| 142 | OsmoBSC(config-cbc-client)# show running-config |
| 143 | ... |
| 144 | cbc |
| 145 | ... |
| 146 | client |
| 147 | remote-ip 1:2:3:4::5 |
| 148 | ... |
| 149 | |
Neels Hofmeyr | d41247d | 2020-08-27 18:44:54 +0200 | [diff] [blame] | 150 | OsmoBSC(config-cbc-client)# local-ip 1.2.3.4 |
| 151 | |
| 152 | OsmoBSC(config-cbc-client)# show running-config |
| 153 | ... |
| 154 | cbc |
| 155 | ... |
| 156 | client |
| 157 | remote-ip 1:2:3:4::5 |
| 158 | local-ip 1.2.3.4 |
| 159 | ... !local-port |
| 160 | |
| 161 | OsmoBSC(config-cbc-client)# local-port 12345 |
| 162 | |
| 163 | OsmoBSC(config-cbc-client)# show running-config |
| 164 | ... |
| 165 | cbc |
| 166 | ... |
| 167 | client |
| 168 | remote-ip 1:2:3:4::5 |
| 169 | local-ip 1.2.3.4 |
| 170 | local-port 12345 |
| 171 | ... |
| 172 | |
| 173 | OsmoBSC(config-cbc-client)# no local-ip |
| 174 | |
| 175 | OsmoBSC(config-cbc-client)# show running-config |
| 176 | ... |
| 177 | cbc |
| 178 | ... |
| 179 | client |
| 180 | remote-ip 1:2:3:4::5 |
| 181 | local-port 12345 |
| 182 | ... !local |
| 183 | |
| 184 | OsmoBSC(config-cbc-client)# no local-port |
| 185 | |
| 186 | OsmoBSC(config-cbc-client)# show running-config |
| 187 | ... |
| 188 | cbc |
| 189 | ... |
| 190 | client |
| 191 | remote-ip 1:2:3:4::5 |
| 192 | ... !local |
| 193 | |
Neels Hofmeyr | 641f7f0 | 2020-08-26 16:11:28 +0200 | [diff] [blame] | 194 | OsmoBSC(config-cbc-client)# do show cbc |
| 195 | CBSP link is disabled |
| 196 | |
| 197 | OsmoBSC(config-cbc-client)# exit |
| 198 | |
| 199 | OsmoBSC(config-cbc)# mode server |
| 200 | OsmoBSC(config-cbc)# do show cbc |
| 201 | OsmoBSC is configured as CBSP Server on [::1]:48049 |
| 202 | CBSP Server Connection: Disconnected |
| 203 | |
| 204 | OsmoBSC(config-cbc)# mode client |
| 205 | OsmoBSC(config-cbc)# do show cbc |
| 206 | OsmoBSC is configured as CBSP Client to remote CBC at [1:2:3:4::5]:48049 |
| 207 | CBSP Client Connection: Disconnected |
| 208 | |
| 209 | OsmoBSC(config-cbc)# mode disabled |
| 210 | OsmoBSC(config-cbc)# do show cbc |
| 211 | CBSP link is disabled |
Neels Hofmeyr | 7e9ac64 | 2020-09-03 14:19:16 +0200 | [diff] [blame^] | 212 | |
| 213 | |
| 214 | OsmoBSC(config-cbc)# # TEST DEPRECATED COMMANDS |
| 215 | |
| 216 | OsmoBSC(config-cbc)# remote-ip 1.2.3.4 |
| 217 | % cbc/remote-ip config is deprecated, instead use cbc/client/remote-ip and cbc/ mode |
| 218 | OsmoBSC(config-cbc)# remote-port 1234 |
| 219 | % cbc/remote-port config is deprecated, instead use cbc/client/remote-port |
| 220 | OsmoBSC(config-cbc)# do show cbc |
| 221 | OsmoBSC is configured as CBSP Client to remote CBC at 1.2.3.4:1234 |
| 222 | CBSP Client Connection: Disconnected |
| 223 | OsmoBSC(config-cbc)# show running-config |
| 224 | ... |
| 225 | cbc |
| 226 | mode client |
| 227 | ... |
| 228 | client |
| 229 | remote-ip 1.2.3.4 |
| 230 | remote-port 1234 |
| 231 | ... |
| 232 | |
| 233 | OsmoBSC(config-cbc)# no remote-ip |
| 234 | % cbc/remote-ip config is deprecated, instead use cbc/client/remote-ip and cbc/mode |
| 235 | OsmoBSC(config-cbc)# do show cbc |
| 236 | CBSP link is disabled |
| 237 | OsmoBSC(config-cbc)# show running-config |
| 238 | ... |
| 239 | cbc |
| 240 | mode disabled |
| 241 | ... |
| 242 | client |
| 243 | remote-ip 1.2.3.4 |
| 244 | remote-port 1234 |
| 245 | ... |
| 246 | |
| 247 | OsmoBSC(config-cbc)# listen-ip 127.0.0.2 |
| 248 | % cbc/listen-ip config is deprecated, instead use cbc/server/local-ip |
| 249 | OsmoBSC(config-cbc)# do show cbc |
| 250 | CBSP link is disabled |
| 251 | OsmoBSC(config-cbc)# listen-port 48049 |
| 252 | % cbc/listen-port config is deprecated, instead use cbc/server/local-port and cbc/mode |
| 253 | OsmoBSC(config-cbc)# do show cbc |
| 254 | OsmoBSC is configured as CBSP Server on 127.0.0.2:48049 |
| 255 | CBSP Server Connection: Disconnected |
| 256 | OsmoBSC(config-cbc)# show running-config |
| 257 | ... |
| 258 | cbc |
| 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 | |
| 267 | OsmoBSC(config-cbc)# no listen-port |
| 268 | % cbc/listen-port config is deprecated, instead use cbc/server/local-port and cbc/mode |
| 269 | OsmoBSC(config-cbc)# do show cbc |
| 270 | CBSP link is disabled |
| 271 | OsmoBSC(config-cbc)# show running-config |
| 272 | ... |
| 273 | cbc |
| 274 | mode disabled |
| 275 | ... |