blob: f0253fcfb0627276d93702e6045148e5aff6f0ea [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...
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) <0-65535>
21 nse <0-65535>
22 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
32UDP bind: 127.0.0.14:42999 DSCP: 0
Alexander Couzensc4704762021-02-08 23:13:12 +010033 IP-SNS signalling weight: 1 data weight: 1
Alexander Couzensc0d02cc2020-12-14 02:36:53 +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
41NSEI 01234: UDP, DEAD
42 NSVCI none: RECOVERING PERSIST data_weight=1 sig_weight=1 udp)[127.0.0.14]:42999<>[127.0.0.15]:9496
43UDP bind: 127.0.0.14:42999 DSCP: 0
44 IP-SNS signalling weight: 1 data weight: 1
45 1 NS-VC:
46 NSVCI 00000: udp)[127.0.0.14]:42999<>[127.0.0.15]:9496
47OsmoNSdummy# configure terminal
48OsmoNSdummy(config)# ns
49OsmoNSdummy(config-ns)# nse 1234
50OsmoNSdummy(config-ns-nse)# nsvc udp abc 127.0.0.16 9496 signalling-weight 0 data-weight 9
51OsmoNSdummy(config-ns-nse)# nsvc udp abc 127.0.0.17 9496 signalling-weight 0 data-weight 0
52OsmoNSdummy(config-ns-nse)# end
53OsmoNSdummy# show ns
54NSEI 01234: UDP, DEAD
55 NSVCI none: RECOVERING PERSIST data_weight=0 sig_weight=0 udp)[127.0.0.14]:42999<>[127.0.0.17]:9496
56 NSVCI none: RECOVERING PERSIST data_weight=9 sig_weight=0 udp)[127.0.0.14]:42999<>[127.0.0.16]:9496
57 NSVCI none: RECOVERING PERSIST data_weight=1 sig_weight=1 udp)[127.0.0.14]:42999<>[127.0.0.15]:9496
58UDP bind: 127.0.0.14:42999 DSCP: 0
59 IP-SNS signalling weight: 1 data weight: 1
60 3 NS-VC:
61 NSVCI 00000: udp)[127.0.0.14]:42999<>[127.0.0.17]:9496
62 NSVCI 00000: udp)[127.0.0.14]:42999<>[127.0.0.16]:9496
63 NSVCI 00000: udp)[127.0.0.14]:42999<>[127.0.0.15]:9496
Alexander Couzens7bb39e32021-02-16 23:06:53 +010064OsmoNSdummy# configure terminal
65OsmoNSdummy(config)# ns
66OsmoNSdummy(config-ns)# nse 1234
67OsmoNSdummy(config-ns-nse)# nsvc udp abc 127.0.0.16 9496 signalling-weight 2 data-weight 2
68Specified NSVC is already present in this NSE.
69OsmoNSdummy(config-ns-nse)# exit
70OsmoNSdummy(config-ns)# nse 1235
71OsmoNSdummy(config-ns-nse)# nsvc udp abc 127.0.0.16 9496 signalling-weight 2 data-weight 2
72Specified NSVC is already present in another NSE01234.
73OsmoNSdummy(config-ns-nse)# exit
74OsmoNSdummy(config-ns)# nse 2342
75OsmoNSdummy(config-ns-nse)# ip-sns-bind abc
76OsmoNSdummy(config-ns-nse)# ip-sns-bind abc
77Failed to add ip-sns-bind abc already present
78OsmoNSdummy(config-ns-nse)# ip-sns-bind abc2
79Can not find the given bind 'abc2'
80OsmoNSdummy(config-ns-nse)# ip-sns-remote 127.0.0.1 22222
81OsmoNSdummy(config-ns-nse)# ip-sns-remote 127.0.0.1 22222
82Specified SNS endpoint already part of the NSE.
83OsmoNSdummy(config-ns-nse)# exit