Osmo-gbproxy VTY » History » Version 1
laforge, 02/19/2016 10:48 PM
add vty reference for gbproxy
1 | 1 | laforge | [[PageOutline]] |
---|---|---|---|
2 | |||
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 | == configuration reference == |
||
8 | |||
9 | === gbproxy level === |
||
10 | |||
11 | ==== nsip sgsn remote ip A.B.C.D ==== |
||
12 | Set the remote IP address for the connection to the SGSN. |
||
13 | ==== nsip sgsn remote port <0-65534> ==== |
||
14 | Set the remote UDP port for the connection to the SGSN. |
||
15 | ==== nsip sgsn nsei <0-65534> ==== |
||
16 | Set the NSEI for the connection to the SGSN. |
||
17 | ==== nsip sgsn nsvci <0-65534> ==== |
||
18 | Set the NS-VCI for the connection to the SGSN. |
||
19 | |||
20 | === ns level === |
||
21 | |||
22 | ==== timer (tns-block|tns-block-retries|tns-reset|tns-reset-retries|tns-test|tns-alive|tns-alive-retries) <0-65535> ==== |
||
23 | |||
24 | Set the respective NS (GSM TS 08.16) timer to the corresponding value (in seconds): |
||
25 | * tns-block -- Timer between NS-BLOCK attempts without any NS-BLOCK-ACK response |
||
26 | * tns-block-retries -- How often to retransmit an unacknowledged NS-BLOCK |
||
27 | * tns-reset -- Timer between NS-RESET attempts without any NS-RESET-ACK response |
||
28 | * tns-reset-retries -- How many times should we retry to send NS-RESET |
||
29 | * tns-test -- How many seconds to wait for the response to a TEST procedure |
||
30 | * tns-alive -- How many seconds to wait for an answer to the ALIVE procedure |
||
31 | * tns-alive-retries -- How often should we retry the ALIVE precedure before declaring the link DEAD |
||
32 | |||
33 | ==== nse <0-65535> nsvci <0-65534> ==== |
||
34 | |||
35 | Configure a persistent NS-VC with a given NSEI and NSVCI |
||
36 | |||
37 | ==== nse <0-65535> remote-ip A.B.C.D ==== |
||
38 | |||
39 | Set the remote IP address for a persistent NS-VC |
||
40 | |||
41 | ==== nse <0-65535> remote-port <0-65535> ==== |
||
42 | |||
43 | Set the remote UDP port for a persistent NS-VC |
||
44 | |||
45 | ==== nse <0-65535> remote-role (sgsn|bss) ==== |
||
46 | |||
47 | Set whether the remote end of the specified persistent NS-VC is a BSS or SGSN. |
||
48 | |||
49 | ==== no nse <0-65535> ==== |
||
50 | |||
51 | Remove the persistent configuration for the specified NSE |
||
52 | |||
53 | == runtime commands == |
||
54 | |||
55 | === show ns [stats] === |
||
56 | Show a list of all existing NS-VCs |
||
57 | {{{ |
||
58 | proxy.osmocom.org> show ns |
||
59 | NSEI 2342, NS-VC 2342, Remote: BSS , DEAD BLOCKED, 192.161.252.121:23000 |
||
60 | NSEI 8989, NS-VC 8989, Remote: SGSN, ALIVE UNBLOCKED, 192.181.57.10:23000 |
||
61 | }}} |
||
62 | |||
63 | If the stats parameter is given, statistics will be included. |
||
64 | |||
65 | === show ns (nsei|nsvc) <0-65535> [stats] === |
||
66 | |||
67 | Show information for one specific NS-VC identified by NSVCI or NSEI, optionally including stats |
||
68 | {{{ |
||
69 | proxy.osmocom.org> show ns nsei 2342 stats |
||
70 | NSEI 2342, NS-VC 2342, Remote: BSS , DEAD BLOCKED, 192.161.252.121:23000 |
||
71 | NSVC Peer Statistics: |
||
72 | Packets at NS Level ( In): 402 (0/s 0/m 0/h 402/d) |
||
73 | Packets at NS Level (Out): 253 (0/s 0/m 0/h 253/d) |
||
74 | Bytes at NS Level ( In): 3787 (0/s 0/m 0/h 3787/d) |
||
75 | Bytes at NS Level (Out): 269 (0/s 0/m 0/h 269/d) |
||
76 | NS-VC Block count : 1 (0/s 0/m 0/h 1/d) |
||
77 | NS-VC gone dead count : 1 (0/s 0/m 0/h 1/d) |
||
78 | }}} |
||
79 | |||
80 | === logging filter nsvc (nsei|nsvci) <0-65535> === |
||
81 | |||
82 | Set a logging filter, i.e. only display log messages related to the specified NSEI / NSVCI |