blob: 498e8d5a2e5341d5144b6cbfb6df8e21d2a28c0a [file] [log] [blame]
Harald Weltee6f695e2018-06-15 22:04:28 +02001OsmoHLR> enable
2OsmoHLR# configure terminal
3OsmoHLR(config)# show running-config
4
5Current configuration:
6!
7!
8log stderr
9 logging filter all 1
10 logging color 1
11 logging print category 1
12 logging print extended-timestamp 1
13 logging print file 1
14 logging level all debug
15 logging level main notice
16 logging level db notice
17 logging level auc notice
18...
19!
20line vty
21 no login
22!
23ctrl
24 bind 127.0.0.1
25hlr
26 gsup
27 bind ip 127.0.0.1
28 no usse-default
29end
30
31OsmoHLR(config)# hlr
32OsmoHLR(config-hlr)# no usse test
33% Cannot remove non-existent USSE 'test'
34
35OsmoHLR(config-hlr)# usse gw1
36OsmoHLR(config-hlr-eusse)# no pattern prefix *111*
37% Cannot remove non-existent pattern '*111*' of type 'prefix'
38
39OsmoHLR(config-hlr-eusse)# pattern prefix *110*
40OsmoHLR(config-hlr-eusse)# pattern prefix *181*
41OsmoHLR(config-hlr-eusse)# pattern prefix *110*
42% Pattern already exists!
43
44OsmoHLR(config-hlr-eusse)# pattern code *110*
45OsmoHLR(config-hlr-eusse)# pattern code *888#
46OsmoHLR(config-hlr-eusse)# pattern code *110*
47% Pattern already exists!
48
49OsmoHLR(config-hlr-eusse)# pattern regexp ^*[1-3]{3}*[0-9]+#$
50OsmoHLR(config-hlr-eusse)# pattern regexp ^*[5-7]{3}*[0-9]+#$
51OsmoHLR(config-hlr-eusse)# pattern regexp ^*[1-3]{3}*[0-9]+#$
52% Pattern already exists!
53
54OsmoHLR(config-hlr-eusse)# show running-config
55
56Current configuration:
57!
58!
59log stderr
60 logging filter all 1
61 logging color 1
62 logging print category 1
63 logging print extended-timestamp 1
64 logging print file 1
65 logging level all debug
66 logging level main notice
67 logging level db notice
68 logging level auc notice
69...
70!
71line vty
72 no login
73!
74ctrl
75 bind 127.0.0.1
76hlr
77 gsup
78 bind ip 127.0.0.1
79 no usse-default
80 usse gw1
81 pattern prefix *110*
82 pattern prefix *181*
83 pattern code *110*
84 pattern code *888#
85 pattern regexp ^*[1-3]{3}*[0-9]+#$
86 pattern regexp ^*[5-7]{3}*[0-9]+#$
87end
88
89OsmoHLR(config-hlr-eusse)# no pattern prefix *181*
90OsmoHLR(config-hlr-eusse)# no pattern code *110*
91OsmoHLR(config-hlr-eusse)# no pattern regexp ^*[1-3]{3}*[0-9]+#$
92OsmoHLR(config-hlr-eusse)# show running-config
93
94Current configuration:
95!
96!
97log stderr
98 logging filter all 1
99 logging color 1
100 logging print category 1
101 logging print extended-timestamp 1
102 logging print file 1
103 logging level all debug
104 logging level main notice
105 logging level db notice
106 logging level auc notice
107...
108!
109line vty
110 no login
111!
112ctrl
113 bind 127.0.0.1
114hlr
115 gsup
116 bind ip 127.0.0.1
117 no usse-default
118 usse gw1
119 pattern prefix *110*
120 pattern code *888#
121 pattern regexp ^*[5-7]{3}*[0-9]+#$
122end
123
124OsmoHLR(config-hlr-eusse)# exit
125OsmoHLR(config-hlr)# usse internal
126
127OsmoHLR(config-hlr-iusse)# pattern code *#100#
128% Command incomplete.
129
130OsmoHLR(config-hlr-iusse)# pattern code *#100# response Your extension is %m
131OsmoHLR(config-hlr-iusse)# pattern regexp ^*999*[0-3]+#$ response Mahlzeit!
132
133OsmoHLR(config-hlr-iusse)# no pattern code *888#
134% Cannot remove non-existent pattern '*888#' of type 'code'
135
136OsmoHLR(config-hlr-iusse)# show running-config
137
138Current configuration:
139!
140!
141log stderr
142 logging filter all 1
143 logging color 1
144 logging print category 1
145 logging print extended-timestamp 1
146 logging print file 1
147 logging level all debug
148 logging level main notice
149 logging level db notice
150 logging level auc notice
151...
152!
153line vty
154 no login
155!
156ctrl
157 bind 127.0.0.1
158hlr
159 gsup
160 bind ip 127.0.0.1
161 no usse-default
162 usse gw1
163 pattern prefix *110*
164 pattern code *888#
165 pattern regexp ^*[5-7]{3}*[0-9]+#$
166 usse internal
167 pattern code *#100# response Your extension is %m
168 pattern regexp ^*999*[0-3]+#$ response Mahlzeit!
169end
170
171OsmoHLR(config-hlr-iusse)# exit
172OsmoHLR(config-hlr)# usse-default test
173% Cannot find USSE 'test'
174
175OsmoHLR(config-hlr)# usse-default internal
176OsmoHLR(config-hlr)# usse-default gw1
177OsmoHLR(config-hlr)# show running-config
178
179Current configuration:
180!
181!
182log stderr
183 logging filter all 1
184 logging color 1
185 logging print category 1
186 logging print extended-timestamp 1
187 logging print file 1
188 logging level all debug
189 logging level main notice
190 logging level db notice
191 logging level auc notice
192...
193!
194line vty
195 no login
196!
197ctrl
198 bind 127.0.0.1
199hlr
200 gsup
201 bind ip 127.0.0.1
202 usse-default gw1
203 usse gw1
204 pattern prefix *110*
205 pattern code *888#
206 pattern regexp ^*[5-7]{3}*[0-9]+#$
207 usse internal
208 pattern code *#100# response Your extension is %m
209 pattern regexp ^*999*[0-3]+#$ response Mahlzeit!
210end
211
212OsmoHLR(config-hlr)# no usse gw1
213% Cannot remove USSE 'gw1', it is the default route
214
215OsmoHLR(config-hlr)# no usse-default
216OsmoHLR(config-hlr)# no usse gw1
217OsmoHLR(config-hlr)# show running-config
218
219Current configuration:
220!
221!
222log stderr
223 logging filter all 1
224 logging color 1
225 logging print category 1
226 logging print extended-timestamp 1
227 logging print file 1
228 logging level all debug
229 logging level main notice
230 logging level db notice
231 logging level auc notice
232...
233!
234line vty
235 no login
236!
237ctrl
238 bind 127.0.0.1
239hlr
240 gsup
241 bind ip 127.0.0.1
242 no usse-default
243 usse internal
244 pattern code *#100# response Your extension is %m
245 pattern regexp ^*999*[0-3]+#$ response Mahlzeit!
246end