blob: 8db5fb505de17f520dae0ef46cb685c41be5f186 [file] [log] [blame]
Alexander Couzensc0d02cc2020-12-14 02:36:53 +01001OsmoNSdummy> 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...
11OsmoNSdummy> enable
12OsmoNSdummy# configure terminal
13OsmoNSdummy(config)# list
14...
15 ns
16...
17OsmoNSdummy(config)# ns
18OsmoNSdummy(config-ns)# list
19...
Alexander Couzens1f3193d2021-06-05 22:08:11 +020020 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 Welte579699b2021-03-05 10:22:23 +010021 nse <0-65535> [ip-sns-role-sgsn]
Alexander Couzensc0d02cc2020-12-14 02:36:53 +010022 no nse <0-65535>
23 bind (fr|udp) ID
24 no bind ID
25...
26OsmoNSdummy(config-ns)# bind udp abc
27OsmoNSdummy(config-ns-bind)# fr eta0 frnet
28fr can be only used with frame relay bind
29OsmoNSdummy(config-ns-bind)# listen 127.0.0.14 42999
30OsmoNSdummy(config-ns-bind)# end
31OsmoNSdummy# show ns
Harald Welted99e4ee2021-04-28 19:57:12 +020032UDP bind: 127.0.0.14:42999 DSCP: 0 Priority: 0
Alexander Couzensc4704762021-02-08 23:13:12 +010033 IP-SNS signalling weight: 1 data weight: 1
Alexander Couzens8bd63b62021-03-21 17:45:22 +010034 0 NS-VC:
Alexander Couzensbf5d0db2021-02-12 04:04:13 +010035OsmoNSdummy# configure terminal
36OsmoNSdummy(config)# ns
37OsmoNSdummy(config-ns)# nse 1234
38OsmoNSdummy(config-ns-nse)# nsvc udp abc 127.0.0.15 9496
39OsmoNSdummy(config-ns-nse)# end
40OsmoNSdummy# show ns
Alexander Couzens2c64c252021-09-05 23:15:29 +020041NSEI 01234: UDP, DEAD since 0d 0h 0m 0s
Alexander Couzens0ea4a4e2021-03-21 16:37:23 +010042 1 NS-VC:
arehbein0d9b6b02022-10-27 18:28:52 +020043 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 Welted99e4ee2021-04-28 19:57:12 +020044UDP bind: 127.0.0.14:42999 DSCP: 0 Priority: 0
Alexander Couzensbf5d0db2021-02-12 04:04:13 +010045 IP-SNS signalling weight: 1 data weight: 1
Alexander Couzens8bd63b62021-03-21 17:45:22 +010046 1 NS-VC:
arehbein0d9b6b02022-10-27 18:28:52 +020047 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 Couzensbf5d0db2021-02-12 04:04:13 +010048OsmoNSdummy# configure terminal
49OsmoNSdummy(config)# ns
50OsmoNSdummy(config-ns)# nse 1234
51OsmoNSdummy(config-ns-nse)# nsvc udp abc 127.0.0.16 9496 signalling-weight 0 data-weight 9
52OsmoNSdummy(config-ns-nse)# nsvc udp abc 127.0.0.17 9496 signalling-weight 0 data-weight 0
53OsmoNSdummy(config-ns-nse)# end
54OsmoNSdummy# show ns
Alexander Couzens2c64c252021-09-05 23:15:29 +020055NSEI 01234: UDP, DEAD since 0d 0h 0m 0s
Alexander Couzens0ea4a4e2021-03-21 16:37:23 +010056 3 NS-VC:
arehbein0d9b6b02022-10-27 18:28:52 +020057 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 Welted99e4ee2021-04-28 19:57:12 +020060UDP bind: 127.0.0.14:42999 DSCP: 0 Priority: 0
Alexander Couzensbf5d0db2021-02-12 04:04:13 +010061 IP-SNS signalling weight: 1 data weight: 1
Alexander Couzens8bd63b62021-03-21 17:45:22 +010062 3 NS-VC:
arehbein0d9b6b02022-10-27 18:28:52 +020063 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 Couzens7bb39e32021-02-16 23:06:53 +010066OsmoNSdummy# configure terminal
67OsmoNSdummy(config)# ns
68OsmoNSdummy(config-ns)# nse 1234
69OsmoNSdummy(config-ns-nse)# nsvc udp abc 127.0.0.16 9496 signalling-weight 2 data-weight 2
70Specified NSVC is already present in this NSE.
71OsmoNSdummy(config-ns-nse)# exit
72OsmoNSdummy(config-ns)# nse 1235
73OsmoNSdummy(config-ns-nse)# nsvc udp abc 127.0.0.16 9496 signalling-weight 2 data-weight 2
74Specified NSVC is already present in another NSE01234.
75OsmoNSdummy(config-ns-nse)# exit
76OsmoNSdummy(config-ns)# nse 2342
77OsmoNSdummy(config-ns-nse)# ip-sns-bind abc
78OsmoNSdummy(config-ns-nse)# ip-sns-bind abc
79Failed to add ip-sns-bind abc already present
80OsmoNSdummy(config-ns-nse)# ip-sns-bind abc2
81Can not find the given bind 'abc2'
82OsmoNSdummy(config-ns-nse)# ip-sns-remote 127.0.0.1 22222
83OsmoNSdummy(config-ns-nse)# ip-sns-remote 127.0.0.1 22222
84Specified SNS endpoint already part of the NSE.
85OsmoNSdummy(config-ns-nse)# exit
Alexander Couzens56287d22021-07-06 10:56:55 +020086OsmoNSdummy(config-ns)# no bind abc
87OsmoNSdummy(config-ns)# no bind abc77
88bind abc77 does not exist!
89OsmoNSdummy(config-ns)# exit