aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gb/gprs_ns2_vty.vty
blob: a96988138c054ef76bdfc836b25779639937076a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
OsmoNSdummy> list
...
  show ns binds [stats]
  show ns entities [stats]
  show ns persistent
  show ns (nsei|nsvc) <0-65535> [stats]
...
  logging filter nse nsei <0-65535>
  logging filter nsvc nsvci <0-65535>
...
OsmoNSdummy> enable
OsmoNSdummy# configure terminal
OsmoNSdummy(config)# list
...
  ns
...
OsmoNSdummy(config)# ns
OsmoNSdummy(config-ns)# list
...
  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>
  nse <0-65535>
  no nse <0-65535>
  bind (fr|udp) ID
  no bind ID
...
OsmoNSdummy(config-ns)# bind udp abc
OsmoNSdummy(config-ns-bind)# fr eta0 frnet
fr can be only used with frame relay bind
OsmoNSdummy(config-ns-bind)# listen 127.0.0.14 42999
OsmoNSdummy(config-ns-bind)# end
OsmoNSdummy# show ns
UDP bind: 127.0.0.14:42999 DSCP: 0
  IP-SNS signalling weight: 1 data weight: 1
  0 NS-VC: 
OsmoNSdummy# configure terminal
OsmoNSdummy(config)# ns
OsmoNSdummy(config-ns)# nse 1234
OsmoNSdummy(config-ns-nse)# nsvc udp abc 127.0.0.15 9496
OsmoNSdummy(config-ns-nse)# end
OsmoNSdummy# show ns
NSEI 01234: UDP, DEAD
 NSVCI none: RECOVERING PERSIST data_weight=1 sig_weight=1 udp)[127.0.0.14]:42999<>[127.0.0.15]:9496
UDP bind: 127.0.0.14:42999 DSCP: 0
  IP-SNS signalling weight: 1 data weight: 1
  1 NS-VC: 
    NSVCI 00000: udp)[127.0.0.14]:42999<>[127.0.0.15]:9496
OsmoNSdummy# configure terminal
OsmoNSdummy(config)# ns
OsmoNSdummy(config-ns)# nse 1234
OsmoNSdummy(config-ns-nse)# nsvc udp abc 127.0.0.16 9496 signalling-weight 0 data-weight 9
OsmoNSdummy(config-ns-nse)# nsvc udp abc 127.0.0.17 9496 signalling-weight 0 data-weight 0
OsmoNSdummy(config-ns-nse)# end
OsmoNSdummy# show ns
NSEI 01234: UDP, DEAD
 NSVCI none: RECOVERING PERSIST data_weight=0 sig_weight=0 udp)[127.0.0.14]:42999<>[127.0.0.17]:9496
 NSVCI none: RECOVERING PERSIST data_weight=9 sig_weight=0 udp)[127.0.0.14]:42999<>[127.0.0.16]:9496
 NSVCI none: RECOVERING PERSIST data_weight=1 sig_weight=1 udp)[127.0.0.14]:42999<>[127.0.0.15]:9496
UDP bind: 127.0.0.14:42999 DSCP: 0
  IP-SNS signalling weight: 1 data weight: 1
  3 NS-VC: 
    NSVCI 00000: udp)[127.0.0.14]:42999<>[127.0.0.17]:9496
    NSVCI 00000: udp)[127.0.0.14]:42999<>[127.0.0.16]:9496
    NSVCI 00000: udp)[127.0.0.14]:42999<>[127.0.0.15]:9496