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 |