Alexander Couzens | c0d02cc | 2020-12-14 02:36:53 +0100 | [diff] [blame] | 1 | OsmoNSdummy> list |
| 2 | ... |
| 3 | show ns binds [stats] |
| 4 | show ns entities [stats] |
| 5 | show ns persistent |
| 6 | show ns (nsei|nsvc) <0-65535> [stats] |
| 7 | ... |
| 8 | logging filter nse nsei <0-65535> |
| 9 | logging filter nsvc nsvci <0-65535> |
| 10 | ... |
| 11 | OsmoNSdummy> enable |
| 12 | OsmoNSdummy# configure terminal |
| 13 | OsmoNSdummy(config)# list |
| 14 | ... |
| 15 | ns |
| 16 | ... |
| 17 | OsmoNSdummy(config)# ns |
| 18 | OsmoNSdummy(config-ns)# list |
| 19 | ... |
Alexander Couzens | 1f3193d | 2021-06-05 22:08:11 +0200 | [diff] [blame] | 20 | timer (tns-block|tns-block-retries|tns-reset|tns-reset-retries|tns-test|tns-alive|tns-alive-retries|tsns-prov|tsns-size-retries|tsns-config-retries|tsns-procedures-retries) <0-65535> |
Harald Welte | 579699b | 2021-03-05 10:22:23 +0100 | [diff] [blame] | 21 | nse <0-65535> [ip-sns-role-sgsn] |
Alexander Couzens | c0d02cc | 2020-12-14 02:36:53 +0100 | [diff] [blame] | 22 | no nse <0-65535> |
| 23 | bind (fr|udp) ID |
| 24 | no bind ID |
| 25 | ... |
| 26 | OsmoNSdummy(config-ns)# bind udp abc |
| 27 | OsmoNSdummy(config-ns-bind)# fr eta0 frnet |
| 28 | fr can be only used with frame relay bind |
| 29 | OsmoNSdummy(config-ns-bind)# listen 127.0.0.14 42999 |
| 30 | OsmoNSdummy(config-ns-bind)# end |
| 31 | OsmoNSdummy# show ns |
Harald Welte | d99e4ee | 2021-04-28 19:57:12 +0200 | [diff] [blame] | 32 | UDP bind: 127.0.0.14:42999 DSCP: 0 Priority: 0 |
Alexander Couzens | c470476 | 2021-02-08 23:13:12 +0100 | [diff] [blame] | 33 | IP-SNS signalling weight: 1 data weight: 1 |
Alexander Couzens | 8bd63b6 | 2021-03-21 17:45:22 +0100 | [diff] [blame] | 34 | 0 NS-VC: |
Alexander Couzens | bf5d0db | 2021-02-12 04:04:13 +0100 | [diff] [blame] | 35 | OsmoNSdummy# configure terminal |
| 36 | OsmoNSdummy(config)# ns |
| 37 | OsmoNSdummy(config-ns)# nse 1234 |
| 38 | OsmoNSdummy(config-ns-nse)# nsvc udp abc 127.0.0.15 9496 |
| 39 | OsmoNSdummy(config-ns-nse)# end |
| 40 | OsmoNSdummy# show ns |
Alexander Couzens | 2c64c25 | 2021-09-05 23:15:29 +0200 | [diff] [blame] | 41 | NSEI 01234: UDP, DEAD since 0d 0h 0m 0s |
Alexander Couzens | 0ea4a4e | 2021-03-21 16:37:23 +0100 | [diff] [blame] | 42 | 1 NS-VC: |
arehbein | 0d9b6b0 | 2022-10-27 18:28:52 +0200 | [diff] [blame] | 43 | RECOVERING PERSIST sig_weight=1 data_weight=1 udp)[127.0.0.14]:42999<>[127.0.0.15]:9496 DEAD (cause: remote) since 0d 0h 0m 0s |
Harald Welte | d99e4ee | 2021-04-28 19:57:12 +0200 | [diff] [blame] | 44 | UDP bind: 127.0.0.14:42999 DSCP: 0 Priority: 0 |
Alexander Couzens | bf5d0db | 2021-02-12 04:04:13 +0100 | [diff] [blame] | 45 | IP-SNS signalling weight: 1 data weight: 1 |
Alexander Couzens | 8bd63b6 | 2021-03-21 17:45:22 +0100 | [diff] [blame] | 46 | 1 NS-VC: |
arehbein | 0d9b6b0 | 2022-10-27 18:28:52 +0200 | [diff] [blame] | 47 | RECOVERING PERSIST sig_weight=1 data_weight=1 udp)[127.0.0.14]:42999<>[127.0.0.15]:9496 DEAD (cause: remote) since 0d 0h 0m 0s |
Alexander Couzens | bf5d0db | 2021-02-12 04:04:13 +0100 | [diff] [blame] | 48 | OsmoNSdummy# configure terminal |
| 49 | OsmoNSdummy(config)# ns |
| 50 | OsmoNSdummy(config-ns)# nse 1234 |
| 51 | OsmoNSdummy(config-ns-nse)# nsvc udp abc 127.0.0.16 9496 signalling-weight 0 data-weight 9 |
| 52 | OsmoNSdummy(config-ns-nse)# nsvc udp abc 127.0.0.17 9496 signalling-weight 0 data-weight 0 |
| 53 | OsmoNSdummy(config-ns-nse)# end |
| 54 | OsmoNSdummy# show ns |
Alexander Couzens | 2c64c25 | 2021-09-05 23:15:29 +0200 | [diff] [blame] | 55 | NSEI 01234: UDP, DEAD since 0d 0h 0m 0s |
Alexander Couzens | 0ea4a4e | 2021-03-21 16:37:23 +0100 | [diff] [blame] | 56 | 3 NS-VC: |
arehbein | 0d9b6b0 | 2022-10-27 18:28:52 +0200 | [diff] [blame] | 57 | RECOVERING PERSIST sig_weight=1 data_weight=1 udp)[127.0.0.14]:42999<>[127.0.0.15]:9496 DEAD (cause: remote) since 0d 0h 0m 0s |
| 58 | RECOVERING PERSIST sig_weight=0 data_weight=9 udp)[127.0.0.14]:42999<>[127.0.0.16]:9496 DEAD (cause: remote) since 0d 0h 0m 0s |
| 59 | RECOVERING PERSIST sig_weight=0 data_weight=0 udp)[127.0.0.14]:42999<>[127.0.0.17]:9496 DEAD (cause: remote) since 0d 0h 0m 0s |
Harald Welte | d99e4ee | 2021-04-28 19:57:12 +0200 | [diff] [blame] | 60 | UDP bind: 127.0.0.14:42999 DSCP: 0 Priority: 0 |
Alexander Couzens | bf5d0db | 2021-02-12 04:04:13 +0100 | [diff] [blame] | 61 | IP-SNS signalling weight: 1 data weight: 1 |
Alexander Couzens | 8bd63b6 | 2021-03-21 17:45:22 +0100 | [diff] [blame] | 62 | 3 NS-VC: |
arehbein | 0d9b6b0 | 2022-10-27 18:28:52 +0200 | [diff] [blame] | 63 | RECOVERING PERSIST sig_weight=1 data_weight=1 udp)[127.0.0.14]:42999<>[127.0.0.15]:9496 DEAD (cause: remote) since 0d 0h 0m 0s |
| 64 | RECOVERING PERSIST sig_weight=0 data_weight=9 udp)[127.0.0.14]:42999<>[127.0.0.16]:9496 DEAD (cause: remote) since 0d 0h 0m 0s |
| 65 | RECOVERING PERSIST sig_weight=0 data_weight=0 udp)[127.0.0.14]:42999<>[127.0.0.17]:9496 DEAD (cause: remote) since 0d 0h 0m 0s |
Alexander Couzens | 7bb39e3 | 2021-02-16 23:06:53 +0100 | [diff] [blame] | 66 | OsmoNSdummy# configure terminal |
| 67 | OsmoNSdummy(config)# ns |
| 68 | OsmoNSdummy(config-ns)# nse 1234 |
| 69 | OsmoNSdummy(config-ns-nse)# nsvc udp abc 127.0.0.16 9496 signalling-weight 2 data-weight 2 |
| 70 | Specified NSVC is already present in this NSE. |
| 71 | OsmoNSdummy(config-ns-nse)# exit |
| 72 | OsmoNSdummy(config-ns)# nse 1235 |
| 73 | OsmoNSdummy(config-ns-nse)# nsvc udp abc 127.0.0.16 9496 signalling-weight 2 data-weight 2 |
| 74 | Specified NSVC is already present in another NSE01234. |
| 75 | OsmoNSdummy(config-ns-nse)# exit |
| 76 | OsmoNSdummy(config-ns)# nse 2342 |
| 77 | OsmoNSdummy(config-ns-nse)# ip-sns-bind abc |
| 78 | OsmoNSdummy(config-ns-nse)# ip-sns-bind abc |
| 79 | Failed to add ip-sns-bind abc already present |
| 80 | OsmoNSdummy(config-ns-nse)# ip-sns-bind abc2 |
| 81 | Can not find the given bind 'abc2' |
| 82 | OsmoNSdummy(config-ns-nse)# ip-sns-remote 127.0.0.1 22222 |
| 83 | OsmoNSdummy(config-ns-nse)# ip-sns-remote 127.0.0.1 22222 |
| 84 | Specified SNS endpoint already part of the NSE. |
| 85 | OsmoNSdummy(config-ns-nse)# exit |
Alexander Couzens | 56287d2 | 2021-07-06 10:56:55 +0200 | [diff] [blame] | 86 | OsmoNSdummy(config-ns)# no bind abc |
| 87 | OsmoNSdummy(config-ns)# no bind abc77 |
| 88 | bind abc77 does not exist! |
| 89 | OsmoNSdummy(config-ns)# exit |