blob: e7c96ca36d4c882408ef614c917b1b564b509ef3 [file] [log] [blame]
Neels Hofmeyr0fd615f2019-01-26 20:36:12 +01001tdef_vty_test> list
2...
3 show timer [(tea|test|software)] [TNNNN]
4...
5
6tdef_vty_test> show timer ?
7 [tea] Tea time
8 [test] Test timers
9 [software] Typical software development cycle
10
11tdef_vty_test> show timer test ?
Neels Hofmeyr5734bff2019-02-21 02:27:48 +010012 [TNNNN] T- or X-timer-number -- 3GPP compliant timer number of the format '1234' or 'T1234' or 't1234'; Osmocom-specific timer number of the format: 'X1234' or 'x1234'.
Neels Hofmeyr0fd615f2019-01-26 20:36:12 +010013
14tdef_vty_test> show timer
15tea: T1 = 50 s Water Boiling Timeout (default: 50 s)
16tea: T2 = 300 s Tea brewing (default: 300 s)
17tea: T3 = 5 m Let tea cool down before drinking (default: 5 m)
18tea: T4 = 20 m Forgot to drink tea while it's warm (default: 20 m)
19test: T1 = 100 s Testing a hundred seconds (default: 100 s)
20test: T2 = 100 ms Testing a hundred milliseconds (default: 100 ms)
21test: T3 = 100 m Testing a hundred minutes (default: 100 m)
22test: T4 = 100 Testing a hundred potatoes (default: 100)
Neels Hofmeyr7b740f72019-02-06 01:08:43 +010023test: T2147483647 = 4294967295 m Very large (default: 4294967295 m)
Neels Hofmeyr5734bff2019-02-21 02:27:48 +010024test: X23 = 239471 s Negative T number (default: 239471 s)
Neels Hofmeyr0fd615f2019-01-26 20:36:12 +010025software: T1 = 30 m Write code (default: 30 m)
26software: T2 = 20 ms Hit segfault (default: 20 ms)
27software: T3 = 480 m Fix bugs (default: 480 m)
28
29tdef_vty_test> enable
30tdef_vty_test# show timer
31tea: T1 = 50 s Water Boiling Timeout (default: 50 s)
32tea: T2 = 300 s Tea brewing (default: 300 s)
33tea: T3 = 5 m Let tea cool down before drinking (default: 5 m)
34tea: T4 = 20 m Forgot to drink tea while it's warm (default: 20 m)
35test: T1 = 100 s Testing a hundred seconds (default: 100 s)
36test: T2 = 100 ms Testing a hundred milliseconds (default: 100 ms)
37test: T3 = 100 m Testing a hundred minutes (default: 100 m)
38test: T4 = 100 Testing a hundred potatoes (default: 100)
Neels Hofmeyr7b740f72019-02-06 01:08:43 +010039test: T2147483647 = 4294967295 m Very large (default: 4294967295 m)
Neels Hofmeyr5734bff2019-02-21 02:27:48 +010040test: X23 = 239471 s Negative T number (default: 239471 s)
Neels Hofmeyr0fd615f2019-01-26 20:36:12 +010041software: T1 = 30 m Write code (default: 30 m)
42software: T2 = 20 ms Hit segfault (default: 20 ms)
43software: T3 = 480 m Fix bugs (default: 480 m)
44
45tdef_vty_test# configure terminal
46
47tdef_vty_test(config)# show running-config
48... !timer
49
50tdef_vty_test(config)# list
51...
52 timer [(tea|test|software)] [TNNNN] [(<0-2147483647>|default)]
53...
54
55tdef_vty_test(config)# timer ?
56 [tea] Tea time
57 [test] Test timers
58 [software] Typical software development cycle
59
60tdef_vty_test(config)# timer sof T123 ?
61 [<0-2147483647>] New timer value
62 [default] Set to default timer value
63
64tdef_vty_test(config)# timer sof T123 ?
65 [<0-2147483647>] New timer value
66 [default] Set to default timer value
67
68tdef_vty_test(config)# timer test ?
Neels Hofmeyr5734bff2019-02-21 02:27:48 +010069 [TNNNN] T- or X-timer-number -- 3GPP compliant timer number of the format '1234' or 'T1234' or 't1234'; Osmocom-specific timer number of the format: 'X1234' or 'x1234'.
Neels Hofmeyr0fd615f2019-01-26 20:36:12 +010070
71tdef_vty_test(config)# timer test t2 ?
72 [<0-2147483647>] New timer value
73 [default] Set to default timer value
74
75tdef_vty_test(config)# do show timer
76tea: T1 = 50 s Water Boiling Timeout (default: 50 s)
77tea: T2 = 300 s Tea brewing (default: 300 s)
78tea: T3 = 5 m Let tea cool down before drinking (default: 5 m)
79tea: T4 = 20 m Forgot to drink tea while it's warm (default: 20 m)
80test: T1 = 100 s Testing a hundred seconds (default: 100 s)
81test: T2 = 100 ms Testing a hundred milliseconds (default: 100 ms)
82test: T3 = 100 m Testing a hundred minutes (default: 100 m)
83test: T4 = 100 Testing a hundred potatoes (default: 100)
Neels Hofmeyr7b740f72019-02-06 01:08:43 +010084test: T2147483647 = 4294967295 m Very large (default: 4294967295 m)
Neels Hofmeyr5734bff2019-02-21 02:27:48 +010085test: X23 = 239471 s Negative T number (default: 239471 s)
Neels Hofmeyr0fd615f2019-01-26 20:36:12 +010086software: T1 = 30 m Write code (default: 30 m)
87software: T2 = 20 ms Hit segfault (default: 20 ms)
88software: T3 = 480 m Fix bugs (default: 480 m)
89
90tdef_vty_test(config)# do show timer tea
91tea: T1 = 50 s Water Boiling Timeout (default: 50 s)
92tea: T2 = 300 s Tea brewing (default: 300 s)
93tea: T3 = 5 m Let tea cool down before drinking (default: 5 m)
94tea: T4 = 20 m Forgot to drink tea while it's warm (default: 20 m)
95
96tdef_vty_test(config)# do show timer tea 2
97tea: T2 = 300 s Tea brewing (default: 300 s)
98
99tdef_vty_test(config)# do show timer tea t2
100tea: T2 = 300 s Tea brewing (default: 300 s)
101
102tdef_vty_test(config)# do show timer tea T2
103tea: T2 = 300 s Tea brewing (default: 300 s)
104
105tdef_vty_test(config)# do show timer tea T5
106% No such timer: T5
107
108tdef_vty_test(config)# do show timer tea T0
109% No such timer: T0
110
Neels Hofmeyr5734bff2019-02-21 02:27:48 +0100111tdef_vty_test(config)# do show timer tea X123
112% No such timer: X123
113
Neels Hofmeyr0fd615f2019-01-26 20:36:12 +0100114tdef_vty_test(config)# do show timer tea T-123
Neels Hofmeyr5734bff2019-02-21 02:27:48 +0100115% Invalid T timer argument (should be 'T1234' or 'X1234'): 'T-123'
Neels Hofmeyr0fd615f2019-01-26 20:36:12 +0100116
117tdef_vty_test(config)# do show timer t
118tea: T1 = 50 s Water Boiling Timeout (default: 50 s)
119tea: T2 = 300 s Tea brewing (default: 300 s)
120tea: T3 = 5 m Let tea cool down before drinking (default: 5 m)
121tea: T4 = 20 m Forgot to drink tea while it's warm (default: 20 m)
122test: T1 = 100 s Testing a hundred seconds (default: 100 s)
123test: T2 = 100 ms Testing a hundred milliseconds (default: 100 ms)
124test: T3 = 100 m Testing a hundred minutes (default: 100 m)
125test: T4 = 100 Testing a hundred potatoes (default: 100)
Neels Hofmeyr7b740f72019-02-06 01:08:43 +0100126test: T2147483647 = 4294967295 m Very large (default: 4294967295 m)
Neels Hofmeyr5734bff2019-02-21 02:27:48 +0100127test: X23 = 239471 s Negative T number (default: 239471 s)
Neels Hofmeyr0fd615f2019-01-26 20:36:12 +0100128
129tdef_vty_test(config)# do show timer te
130tea: T1 = 50 s Water Boiling Timeout (default: 50 s)
131tea: T2 = 300 s Tea brewing (default: 300 s)
132tea: T3 = 5 m Let tea cool down before drinking (default: 5 m)
133tea: T4 = 20 m Forgot to drink tea while it's warm (default: 20 m)
134test: T1 = 100 s Testing a hundred seconds (default: 100 s)
135test: T2 = 100 ms Testing a hundred milliseconds (default: 100 ms)
136test: T3 = 100 m Testing a hundred minutes (default: 100 m)
137test: T4 = 100 Testing a hundred potatoes (default: 100)
Neels Hofmeyr7b740f72019-02-06 01:08:43 +0100138test: T2147483647 = 4294967295 m Very large (default: 4294967295 m)
Neels Hofmeyr5734bff2019-02-21 02:27:48 +0100139test: X23 = 239471 s Negative T number (default: 239471 s)
Neels Hofmeyr0fd615f2019-01-26 20:36:12 +0100140
141tdef_vty_test(config)# do show timer te T2
142tea: T2 = 300 s Tea brewing (default: 300 s)
143test: T2 = 100 ms Testing a hundred milliseconds (default: 100 ms)
144
145
146tdef_vty_test(config)# timer tea 3 30
147tdef_vty_test(config)# timer tea T3
148tea: T3 = 30 m Let tea cool down before drinking (default: 5 m)
149
150tdef_vty_test(config)# timer tea t3 31
151tdef_vty_test(config)# timer tea T3
152tea: T3 = 31 m Let tea cool down before drinking (default: 5 m)
153
154tdef_vty_test(config)# timer tea T3 32
155tdef_vty_test(config)# timer tea T3
156tea: T3 = 32 m Let tea cool down before drinking (default: 5 m)
157
Neels Hofmeyr5734bff2019-02-21 02:27:48 +0100158tdef_vty_test(config)# timer tea X123 99
159% No such timer: X123
160
Neels Hofmeyr0fd615f2019-01-26 20:36:12 +0100161tdef_vty_test(config)# timer tea T-123 99
Neels Hofmeyr5734bff2019-02-21 02:27:48 +0100162% Invalid T timer argument (should be 'T1234' or 'X1234'): 'T-123'
Neels Hofmeyr0fd615f2019-01-26 20:36:12 +0100163
164tdef_vty_test(config)# timer tea T0 0
165% No such timer: T0
166
167tdef_vty_test(config)# timer tea T123 default
168% No such timer: T123
169
170tdef_vty_test(config)# timer tea
171tea: T1 = 50 s Water Boiling Timeout (default: 50 s)
172tea: T2 = 300 s Tea brewing (default: 300 s)
173tea: T3 = 32 m Let tea cool down before drinking (default: 5 m)
174tea: T4 = 20 m Forgot to drink tea while it's warm (default: 20 m)
175
176tdef_vty_test(config)# timer t
177tea: T1 = 50 s Water Boiling Timeout (default: 50 s)
178tea: T2 = 300 s Tea brewing (default: 300 s)
179tea: T3 = 32 m Let tea cool down before drinking (default: 5 m)
180tea: T4 = 20 m Forgot to drink tea while it's warm (default: 20 m)
181test: T1 = 100 s Testing a hundred seconds (default: 100 s)
182test: T2 = 100 ms Testing a hundred milliseconds (default: 100 ms)
183test: T3 = 100 m Testing a hundred minutes (default: 100 m)
184test: T4 = 100 Testing a hundred potatoes (default: 100)
Neels Hofmeyr7b740f72019-02-06 01:08:43 +0100185test: T2147483647 = 4294967295 m Very large (default: 4294967295 m)
Neels Hofmeyr5734bff2019-02-21 02:27:48 +0100186test: X23 = 239471 s Negative T number (default: 239471 s)
Neels Hofmeyr0fd615f2019-01-26 20:36:12 +0100187
188tdef_vty_test(config)# timer te T2
189tea: T2 = 300 s Tea brewing (default: 300 s)
190test: T2 = 100 ms Testing a hundred milliseconds (default: 100 ms)
191
192tdef_vty_test(config)# timer test T2 100
193
194tdef_vty_test(config)# timer tes T2 100
195% Error: no timers found
196
197tdef_vty_test(config)# timer te T2 100
198% Error: no timers found
199
200
201tdef_vty_test(config)# do show timer software
202software: T1 = 30 m Write code (default: 30 m)
203software: T2 = 20 ms Hit segfault (default: 20 ms)
204software: T3 = 480 m Fix bugs (default: 480 m)
205
206tdef_vty_test(config)# do show timer software 1
207software: T1 = 30 m Write code (default: 30 m)
208
209tdef_vty_test(config)# do show timer software t1
210software: T1 = 30 m Write code (default: 30 m)
211
212tdef_vty_test(config)# do show timer software T1
213software: T1 = 30 m Write code (default: 30 m)
214
215tdef_vty_test(config)# do show timer software T99
216% No such timer: T99
217
Neels Hofmeyr5734bff2019-02-21 02:27:48 +0100218tdef_vty_test(config)# do show timer software X123123
219% No such timer: X123123
220
Neels Hofmeyr0fd615f2019-01-26 20:36:12 +0100221tdef_vty_test(config)# do show timer software T-123123
Neels Hofmeyr5734bff2019-02-21 02:27:48 +0100222% Invalid T timer argument (should be 'T1234' or 'X1234'): 'T-123123'
Neels Hofmeyr0fd615f2019-01-26 20:36:12 +0100223
224tdef_vty_test(config)# do show timer software T0
225% No such timer: T0
226
227tdef_vty_test(config)# timer software 1 11
228tdef_vty_test(config)# timer software T1
229software: T1 = 11 m Write code (default: 30 m)
230
231tdef_vty_test(config)# timer software t1 12
232tdef_vty_test(config)# timer software T1
233software: T1 = 12 m Write code (default: 30 m)
234
235tdef_vty_test(config)# timer software T1 13
236tdef_vty_test(config)# timer software T2 0
237tdef_vty_test(config)# timer software
238software: T1 = 13 m Write code (default: 30 m)
239software: T2 = 0 ms Hit segfault (default: 20 ms)
240software: T3 = 480 m Fix bugs (default: 480 m)
241
242tdef_vty_test(config)# timer softw
243software: T1 = 13 m Write code (default: 30 m)
244software: T2 = 0 ms Hit segfault (default: 20 ms)
245software: T3 = 480 m Fix bugs (default: 480 m)
246
247tdef_vty_test(config)# timer softw T3
248software: T3 = 480 m Fix bugs (default: 480 m)
249
250tdef_vty_test(config)# timer softw T3 23
251% Error: no timers found
252
253tdef_vty_test(config)# timer
254tea: T1 = 50 s Water Boiling Timeout (default: 50 s)
255tea: T2 = 300 s Tea brewing (default: 300 s)
256tea: T3 = 32 m Let tea cool down before drinking (default: 5 m)
257tea: T4 = 20 m Forgot to drink tea while it's warm (default: 20 m)
258test: T1 = 100 s Testing a hundred seconds (default: 100 s)
259test: T2 = 100 ms Testing a hundred milliseconds (default: 100 ms)
260test: T3 = 100 m Testing a hundred minutes (default: 100 m)
261test: T4 = 100 Testing a hundred potatoes (default: 100)
Neels Hofmeyr7b740f72019-02-06 01:08:43 +0100262test: T2147483647 = 4294967295 m Very large (default: 4294967295 m)
Neels Hofmeyr5734bff2019-02-21 02:27:48 +0100263test: X23 = 239471 s Negative T number (default: 239471 s)
Neels Hofmeyr0fd615f2019-01-26 20:36:12 +0100264software: T1 = 13 m Write code (default: 30 m)
265software: T2 = 0 ms Hit segfault (default: 20 ms)
266software: T3 = 480 m Fix bugs (default: 480 m)
267
268tdef_vty_test(config)# do show timer
269tea: T1 = 50 s Water Boiling Timeout (default: 50 s)
270tea: T2 = 300 s Tea brewing (default: 300 s)
271tea: T3 = 32 m Let tea cool down before drinking (default: 5 m)
272tea: T4 = 20 m Forgot to drink tea while it's warm (default: 20 m)
273test: T1 = 100 s Testing a hundred seconds (default: 100 s)
274test: T2 = 100 ms Testing a hundred milliseconds (default: 100 ms)
275test: T3 = 100 m Testing a hundred minutes (default: 100 m)
276test: T4 = 100 Testing a hundred potatoes (default: 100)
Neels Hofmeyr7b740f72019-02-06 01:08:43 +0100277test: T2147483647 = 4294967295 m Very large (default: 4294967295 m)
Neels Hofmeyr5734bff2019-02-21 02:27:48 +0100278test: X23 = 239471 s Negative T number (default: 239471 s)
Neels Hofmeyr0fd615f2019-01-26 20:36:12 +0100279software: T1 = 13 m Write code (default: 30 m)
280software: T2 = 0 ms Hit segfault (default: 20 ms)
281software: T3 = 480 m Fix bugs (default: 480 m)
282
283tdef_vty_test(config)# show running-config
284... !timer
285timer tea T3 32
286timer software T1 13
287timer software T2 0
288... !timer
289
290tdef_vty_test(config)# timer tea T3 default
291tdef_vty_test(config)# timer software T1 default
292tdef_vty_test(config)# show running-config
293... !timer
294timer software T2 0
295... !timer
296
297tdef_vty_test(config)# timer softw 2 default
298% Error: no timers found
299tdef_vty_test(config)# timer software 2 default
300tdef_vty_test(config)# show running-config
301... !timer