Project

General

Profile

Osmo-gbproxy VTY » History » Version 2

laforge, 02/19/2016 10:48 PM
add vty reference for gbproxy

1 2 laforge
{{>toc}}
2 1 laforge
3
This page is a reference fo all VTY commands that you can use interactively on the osmo-gbproxy VTY telnet interface on TCP port 4246
4
5
In addition, the same commands are used for the configuration file.
6
7
8 2 laforge
h2. configuration reference
9 1 laforge
10 2 laforge
11
12
h3. gbproxy level
13
14
15
16
h4. nsip sgsn remote ip A.B.C.D
17
18 1 laforge
Set the remote IP address for the connection to the SGSN.
19 2 laforge
20
h4. nsip sgsn remote port <0-65534>
21
22 1 laforge
Set the remote UDP port for the connection to the SGSN.
23 2 laforge
24
h4. nsip sgsn nsei <0-65534>
25
26 1 laforge
Set the NSEI for the connection to the SGSN.
27 2 laforge
28
h4. nsip sgsn nsvci <0-65534>
29
30 1 laforge
Set the NS-VCI for the connection to the SGSN.
31
32
33 2 laforge
h3. ns level
34 1 laforge
35 2 laforge
36
37
h4. timer (tns-block|tns-block-retries|tns-reset|tns-reset-retries|tns-test|tns-alive|tns-alive-retries) <0-65535>
38
39
40 1 laforge
Set the respective NS (GSM TS 08.16) timer to the corresponding value (in seconds):
41 2 laforge
* tns-block -- Timer between NS-BLOCK attempts without any NS-BLOCK-ACK response
42
* tns-block-retries -- How often to retransmit an unacknowledged NS-BLOCK
43
* tns-reset -- Timer between NS-RESET attempts without any NS-RESET-ACK response
44
* tns-reset-retries -- How many times should we retry to send NS-RESET
45
* tns-test -- How many seconds to wait for the response to a TEST procedure
46
* tns-alive -- How many seconds to wait for an answer to the ALIVE procedure
47
* tns-alive-retries -- How often should we retry the ALIVE precedure before declaring the link DEAD
48 1 laforge
49
50 2 laforge
h4. nse <0-65535> nsvci <0-65534>
51
52
53 1 laforge
Configure a persistent NS-VC with a given NSEI and NSVCI
54
55
56 2 laforge
h4. nse <0-65535> remote-ip A.B.C.D
57
58
59 1 laforge
Set the remote IP address for a persistent NS-VC
60
61
62 2 laforge
h4. nse <0-65535> remote-port <0-65535>
63
64
65 1 laforge
Set the remote UDP port for a persistent NS-VC
66
67
68 2 laforge
h4. nse <0-65535> remote-role (sgsn|bss)
69
70
71 1 laforge
Set whether the remote end of the specified persistent NS-VC is a BSS or SGSN.
72
73
74 2 laforge
h4. no nse <0-65535>
75
76
77 1 laforge
Remove the persistent configuration for the specified NSE
78
79
80 2 laforge
h2. runtime commands
81
82
83
84
h3. show ns [stats]
85
86 1 laforge
Show a list of all existing NS-VCs
87 2 laforge
<pre>
88 1 laforge
proxy.osmocom.org> show ns
89
NSEI  2342, NS-VC  2342, Remote: BSS ,  DEAD   BLOCKED,  192.161.252.121:23000
90
NSEI  8989, NS-VC  8989, Remote: SGSN, ALIVE UNBLOCKED,    192.181.57.10:23000
91 2 laforge
</pre>
92 1 laforge
93
If the stats parameter is given, statistics will be included.
94
95
96 2 laforge
h3. show ns (nsei|nsvc) <0-65535> [stats]
97
98
99 1 laforge
Show information for one specific NS-VC identified by NSVCI or NSEI, optionally including stats
100 2 laforge
<pre>
101 1 laforge
proxy.osmocom.org> show ns nsei 2342 stats
102
NSEI  2342, NS-VC  2342, Remote: BSS ,  DEAD   BLOCKED,  192.161.252.121:23000
103
 NSVC Peer Statistics:
104
  Packets at NS Level ( In):      402 (0/s 0/m 0/h 402/d)
105
  Packets at NS Level (Out):      253 (0/s 0/m 0/h 253/d)
106
  Bytes at NS Level   ( In):     3787 (0/s 0/m 0/h 3787/d)
107
  Bytes at NS Level   (Out):      269 (0/s 0/m 0/h 269/d)
108
  NS-VC Block count        :        1 (0/s 0/m 0/h 1/d)
109
  NS-VC gone dead count    :        1 (0/s 0/m 0/h 1/d)
110 2 laforge
</pre>
111 1 laforge
112 2 laforge
113
h3. logging filter nsvc (nsei|nsvci) <0-65535>
114
115 1 laforge
116
Set a logging filter, i.e. only display log messages related to the specified NSEI / NSVCI
Add picture from clipboard (Maximum size: 48.8 MB)