aboutsummaryrefslogtreecommitdiffstats
path: root/tests/osmo-sgsn_test-nodes.vty
blob: 32ff8e71de4c6d6c52074c50154eae6c0055be3f (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
OsmoSGSN> enable
OsmoSGSN# show timer
T3312 = 600 s	Periodic RA Update timer (s) (default: 600 s)
T3313 = 30 s	Waiting for paging response timer (s) (default: 30 s)
T3314 = 44 s	READY timer. Force to STANDBY on expiry timer (s) (default: 44 s)
T3316 = 44 s	AA-Ready timer (s) (default: 44 s)
T3322 = 6 s	Detach request -> accept timer (s) (default: 6 s)
T3350 = 6 s	Waiting for ATT/RAU/TMSI_COMPL timer (s) (default: 6 s)
T3360 = 6 s	Waiting for AUTH/CIPH response timer (s) (default: 6 s)
T3370 = 6 s	Waiting for IDENTITY response timer (s) (default: 6 s)
T3385 = 8 s	Wait for ACT PDP CTX REQ timer (s) (default: 8 s)
T3386 = 8 s	Wait for MODIFY PDP CTX ACK timer (s) (default: 8 s)
T3395 = 8 s	Wait for DEACT PDP CTX ACK timer (s) (default: 8 s)
T3397 = 8 s	Wait for DEACT AA PDP CTX ACK timer (s) (default: 8 s)
X1001 = 5 s	RANAP Release timeout. Wait for RANAP Release Complete.On expiry release Iu connection (s) (default: 5 s)
OsmoSGSN# configure terminal
OsmoSGSN(config)# list
...
  sgsn
  ctrl
...
  ns
  bssgp
...

OsmoSGSN(config)# sgsn
OsmoSGSN(config-sgsn)# list
...
  gtp state-dir PATH
  gtp local-ip A.B.C.D
  ggsn <0-255> remote-ip A.B.C.D
  ggsn <0-255> gtp-version (0|1)
  ggsn <0-255> echo-interval <1-36000>
  ggsn <0-255> no echo-interval
  imsi-acl (add|del) IMSI
  auth-policy (accept-all|closed|acl-only|remote)
  authentication (optional|required)
  encryption gea <0-4> [<0-4>] [<0-4>] [<0-4>] [<0-4>]
  encryption uea <0-2> [<0-2>] [<0-2>]
  encryption cipher-plugin-path PATH
  no encryption cipher-plugin-path PATH
  gsup ipa-name NAME
  gsup remote-ip A.B.C.D
  gsup remote-port <0-65535>
  gsup oap-id <0-65535>
  gsup oap-k K
  gsup oap-opc OPC
  apn APNAME ggsn <0-255>
  apn APNAME imsi-prefix IMSIPRE ggsn <0-255>
  access-point-name NAME
  no access-point-name NAME
  cdr filename NAME
  no cdr filename
  cdr trap
  no cdr trap
  cdr interval <1-2147483647>
  ggsn dynamic
  grx-dns-add A.B.C.D
  timer [TNNNN] [(<0-2147483647>|default)]
  timer gtp [TNNNN] [(<0-2147483647>|default)]
  no compression rfc1144
  compression rfc1144 active slots <1-256>
  compression rfc1144 passive
  no compression v42bis
  compression v42bis active direction (ms|sgsn|both) codewords <512-65535> strlen <6-250>
  compression v42bis passive
...

OsmoSGSN(config-sgsn)# mme test0
OsmoSGSN(config-sgsn-mme)# gtp remote-ip 1.2.3.4
OsmoSGSN(config-sgsn-mme)# gtp ran-info-relay 907 10 567
OsmoSGSN(config-sgsn-mme)# gtp ran-info-relay 202 12 51
OsmoSGSN(config-sgsn-mme)# gtp ran-info-relay 907 10 567
OsmoSGSN(config-sgsn-mme)# exit
OsmoSGSN(config-sgsn)# mme test1
OsmoSGSN(config-sgsn-mme)# gtp remote-ip 5.6.7.8
OsmoSGSN(config-sgsn-mme)# gtp ran-info-relay default
OsmoSGSN(config-sgsn-mme)# exit
OsmoSGSN(config-sgsn)# show running-config
...
sgsn
...
 mme test0
  gtp remote-ip 1.2.3.4
  gtp ran-info-relay 907 10 567
  gtp ran-info-relay 202 12 51
 mme test1
  gtp remote-ip 5.6.7.8
  gtp ran-info-relay default
...
OsmoSGSN(config-sgsn)# mme test0
OsmoSGSN(config-sgsn-mme)# gtp ran-info-relay default
% Another MME test1 is already set as default route, remove it before setting it here.
OsmoSGSN(config-sgsn-mme)# exit
OsmoSGSN(config-sgsn)# mme test1
OsmoSGSN(config-sgsn-mme)# no gtp ran-info-relay default
OsmoSGSN(config-sgsn-mme)# exit
OsmoSGSN(config-sgsn)# mme test0
OsmoSGSN(config-sgsn-mme)# gtp ran-info-relay default
OsmoSGSN(config-sgsn-mme)# exit
OsmoSGSN(config-sgsn)# show running-config
...
sgsn
...
 mme test0
  gtp remote-ip 1.2.3.4
  gtp ran-info-relay default
  gtp ran-info-relay 907 10 567
  gtp ran-info-relay 202 12 51
 mme test1
  gtp remote-ip 5.6.7.8
...
OsmoSGSN(config-sgsn)# no mme test0
OsmoSGSN(config-sgsn)# show running-config
...
sgsn
...
 no compression v42bis
 mme test1
  gtp remote-ip 5.6.7.8
...
OsmoSGSN(config-sgsn)# no mme test1
OsmoSGSN(config-sgsn)# encryption gea 0 3
OsmoSGSN(config-sgsn)# encryption uea 1 2
OsmoSGSN(config-sgsn)# encryption cipher-plugin-path /foo/bar
OsmoSGSN(config-sgsn)# show running-config
...
sgsn
...
 encryption gea 0 3
 encryption uea 1 2
 encryption cipher-plugin-path /foo/bar
...