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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
|
# Debug live and regex
This is super helpful, especially for those times I want to quickly check something without going through the whole setting up a webex with support hassle.
One we had to use recently to see database transactions:
set debug ibap on
Then to display the relevant messages:
show log debug follow /regex/
And when done:
set debug ibap off
# General Stuff
help
show version #Version and serial number
show status #Grid and HA status, hostname, Grid Master IP
show hardware_status #temperature, power, fan
show uptime
show cpu #memory, swap, io, system, cpu
show memory #little more memory details, same as Linux command "free"
show disk
show disk_usage_sorted #hidden command
show ntp
show date
show license #list of all licenses incl. epiration dates
set license #paste a new license
set temp_license #active 60-days trial licenses
set membership #become a Grid member
set nogrid #removes this member from the Grid
reboot #reboot the system (which also clears the caches)
shutdown #give it a try ;)
show config { dns | dhcp | dhcpv6 }
show log [ syslog | debug | audit ]
show log [ syslog | debug | audit ] /regex/
show log [ syslog | debug | audit ] tail {number-of-line}
show log [ syslog | debug | audit ] follow [/regex/]
# ===================================================================
# Traffic Capture
Infoblox > set traffic_capture on port all duration 60
Traffic capture started successfully.
Infoblox > show traffic_capture_status
Traffic capture is running.
4KB captured.
<wait until the capture is finished>
Infoblox > show traffic_capture_status
Traffic capture is stopped.
13KB captured.
Infoblox > set traffic_capture transfer scp 87.190.30.112 weberjoh -
Enter password:
WARNING: This operation may take a long time to complete
Do you want to proceed? (y or n):y
scp succeeds
ib1.weberdns.de_0_2019-02-19-12-31-03_tcpdumpLog.tar.gz is uploaded to scp server 87.190.30.112 successfully
# ===================================================================
# TCPDUMP
set expertmode
tcpdump -i eth2
#or with some options and capture filters:
tcpdump -i eth2 -vv "host 192.168.0.1 or 172.16.22.53"
Ctrl+c #to stop
set expertmode off
Infoblox > set expertmode
"Disclaimer: The expert mode CLI commands are designed for advanced users.
Ensure that you have proper knowledge and expertise when using these commands.
Improper usage of commands may affect your system performance and stability."
Expert Mode >
Expert Mode > tcpdump
Please specify the interface with the -i option.
Expert Mode > tcpdump -i eth2 -v "host 87.190.30.114 or 213.61.29.182"
tcpdump: listening on eth2, link-type EN10MB (Ethernet), capture size 262144 bytes
16:42:30.023465 IP (tos 0x0, ttl 64, id 9702, offset 0, flags [none], proto UDP (17), length 71)
192.0.2.177.19826 > 213.61.29.182.53: 8833 [1au] A? pa.weberlab.de. (43)
16:42:30.031405 IP (tos 0x0, ttl 57, id 19465, offset 0, flags [none], proto UDP (17), length 1303)
213.61.29.182.53 > 192.0.2.177.19826: 8833*- 2/3/7 pa.weberlab.de. A 193.24.227.9, pa.weberlab.de. RRSIG (1275)
16:42:30.034387 IP (tos 0x0, ttl 64, id 41623, offset 0, flags [none], proto UDP (17), length 71)
192.0.2.177.34258 > 87.190.30.114.53: 20807 [1au] AAAA? pa.weberlab.de. (43)
16:42:30.044030 IP (tos 0x0, ttl 55, id 19194, offset 0, flags [none], proto UDP (17), length 836)
87.190.30.114.53 > 192.0.2.177.34258: 20807*- 0/4/1 (808)
^C
4 packets captured
4 packets received by filter
0 packets dropped by kernel
Expert Mode > set expertmode off
Infoblox >
# ===================================================================
# Network & Interfaces
set network #set basic LAN1 IP addresses and optionally become a Grid member
show network #show LAN1/HA/Mgmt port IP addresses
set interface #speed and duplex for LAN1/HA/Mgmt interfaces on hardware devices
show interface #much more details for all interfaces (incl. tunnels!) such as packets, errors, etc.
ping { hostname | ip } [v6] #well, that's ping ;) optionally via IPv6
traceroute { hostname | ip } [v6] #traceroute via legacy IP or IPv6
show ipv6_neighbor all #IPv6 neighbors (NDP) for all interfaces
show arp #ARP cache for all interfaces
reset arp #clear the ARP cache
# ===================================================================
# Anycast Routing
show ipv6_bgp [ route | neighbor | summary | community | config ]
show bgp [ route | neighbor | summary | config ]
show ipv6_ospf [interface | neighbor | database | route | config ]
show ospf [ interface | neighbor | database | route | config ]
# ===================================================================
# Maintenance Mode
set maintenancemode
show backup grid
delete backup grid { all | filename }
show coresummary
show cores
delete cores { all | filename }
! Sample for showing/deleting a backup:
Infoblox > set maintenancemode
Maintenance Mode > show backup grid
Backup files present on the system
Filename Size
-----------------------------------------------------
BACKUP_2019_02_02_03_00.tar.gz 17367 k
BACKUP_2019_03_07_03_30.tar.gz 17842 k
BACKUP_2019_03_08_03_30.tar.gz 17854 k
BACKUP_2019_03_09_03_30.tar.gz 17854 k
BACKUP_2019_03_10_03_30.tar.gz 17854 k
BACKUP_2019_03_11_03_30.tar.gz 17854 k
BACKUP_2019_03_12_03_30.tar.gz 17857 k
BACKUP_2019_03_13_03_30.tar.gz 17879 k
BACKUP_2019_03_14_03_31.tar.gz 17889 k
BACKUP_2019_03_15_03_30.tar.gz 17899 k
Maintenance Mode >
Maintenance Mode >
Maintenance Mode > delete backup grid BACKUP_2019_02_02_03_00.tar.gz
Backup file BACKUP_2019_02_02_03_00.tar.gz deleted
Maintenance Mode >
Maintenance Mode > set maintenancemode off
Infoblox >
## Sample of coresummary on the Grid master (without any files ;)):
Infoblox > set maintenancemode
Maintenance Mode > show coresummary
+-------------------------------------------+-----------+-----------------------+
| Member|Cores count| Latest core file|
+-------------------------------------------+-----------+-----------------------+
| infoblox.weberlab.de (194.247.5.15)| 0| None|
+-------------------------------------------+-----------+-----------------------+
| ib1.weberdns.de (193.24.227.239)| 0| None|
+-------------------------------------------+-----------+-----------------------+
| ib2.weberdns.de (194.247.5.16)| 0| None|
+-------------------------------------------+-----------+-----------------------+
| ib3-report.weberdns.de (194.247.5.17)| 0| None|
+-------------------------------------------+-----------+-----------------------+
| ib4-recursive.weberdns.de (193.24.227.240)| 0| None|
+-------------------------------------------+-----------+-----------------------+
Maintenance Mode >
Maintenance Mode > show cores
Core files present on the system
Filename Size Date
------------------------------------------------------------------------------
There are no core files.
Maintenance Mode >
Maintenance Mode > set maintenancemode off
Infoblox >
## Watch Processes
show process refresh {interval} {dns | dhcp | snmp | grid | mssync}
Infoblox > set maintenancemode
Maintenance Mode >
Maintenance Mode > show process refresh 2 dns
Wed Apr 10 18:03:47 2019
Command invoked ==> show process refresh 2 dns
PID VIRT(kb) RES(kb) SHR(kb) %CPU %MEM Uptime Command
22162 7898m 29m 10m 0.0 0.2 0:00.03 named
22163 7898m 29m 10m 0.0 0.2 0:00.08 named
22164 7898m 29m 10m 0.0 0.2 0:00.11 named
22165 7898m 29m 10m 0.0 0.2 0:00.04 named
22166 7898m 29m 10m 0.0 0.2 0:00.02 named
22176 7898m 29m 10m 0.0 0.2 0:00.02 named
22190 7898m 29m 10m 0.0 0.2 0:00.00 named
22198 7898m 29m 10m 0.0 0.2 0:00.03 named
[Press <enter> to return to prompt]
q
Maintenance Mode >
Maintenance Mode > set maintenancemode off
Infoblox >
# ===================================================================
# DNS Related
show dns stats
show dns cache [name-of-the-view]
show dns cache_ex /regex/ [name-of-the-view]
show dns cache_size [name-of-the-view]
Infoblox > show dns cache_ex /weberlab/
weberlab.de. 86396 DS 13179 10 2 (
weberlab.de. 86396 RRSIG DS 8 2 86400 (
weberlab.de. 56 DNSKEY 257 3 10 (
weberlab.de. 56 DNSKEY 256 3 10 (
weberlab.de. 56 RRSIG DNSKEY 10 2 60 (
20190505113757 20190405103757 13179 weberlab.de.
weberlab.de. 56 RRSIG DNSKEY 10 2 60 (
20190505113757 20190405103757 36935 weberlab.de.
fg2.weberlab.de. 56 A 194.247.4.10
fg2.weberlab.de. 56 RRSIG A 10 3 60 (
20190505105415 20190405103758 36935 weberlab.de.
Infoblox >
# ===================================================================
# IPMI AKA LOM
Using the Intelligent Platform Management Interface port which is called Lights Out Management on Infoblox you can power on/off the device, get the sensor values, read out the system event log, and finally open a serial console session (which is great!). I am using ipmitool on Linux: sudo apt-get install ipmitool. Here are some samples:
Terminate the session with ~.
## Power off/on/status
troublemaker@ibp02troublet01:~$ ipmitool -H 192.168.102.35 -U ThisIsTheUser -P ThisIsThePassword -L OPERATOR -I lanplus power off
Chassis Power Control: Down/Off
troublemaker@ibp02troublet01:~$ ipmitool -H 192.168.102.35 -U ThisIsTheUser -P ThisIsThePassword -L OPERATOR -I lanplus power on
Chassis Power Control: Up/On
troublemaker@ibp02troublet01:~$ ipmitool -H 192.168.102.35 -U ThisIsTheUser -P ThisIsThePassword -L OPERATOR -I lanplus power status
Chassis Power is on
## Sensors
troublemaker@ibp02troublet01:~$ ipmitool -H 192.168.102.35 -U ThisIsTheUser -P ThisIsThePassword -L OPERATOR -I lanplus sensor
CPU Temp | 28.000 | degrees C | ok | 0.000 | 0.000 | 0.000 | 95.000 | 100.000 | 100.000
PCH Temp | 29.000 | degrees C | ok | 0.000 | 5.000 | 10.000 | 90.000 | 95.000 | 100.000
System Temp | 24.000 | degrees C | ok | -10.000 | -5.000 | 0.000 | 80.000 | 85.000 | 90.000
Peripheral Temp | 23.000 | degrees C | ok | -10.000 | -5.000 | 0.000 | 80.000 | 85.000 | 90.000
VcpuVRM Temp | 38.000 | degrees C | ok | -5.000 | 0.000 | 5.000 | 95.000 | 100.000 | 105.000
DIMMA1 Temp | na | | na | na | na | na | na | na | na
DIMMA2 Temp | 27.000 | degrees C | ok | -5.000 | 0.000 | 5.000 | 80.000 | 85.000 | 90.000
DIMMB1 Temp | na | | na | na | na | na | na | na | na
DIMMB2 Temp | 27.000 | degrees C | ok | -5.000 | 0.000 | 5.000 | 80.000 | 85.000 | 90.000
FAN1 | 9700.000 | RPM | ok | 300.000 | 500.000 | 700.000 | 25300.000 | 25400.000 | 25500.000
FAN2 | 9500.000 | RPM | ok | 300.000 | 500.000 | 700.000 | 25300.000 | 25400.000 | 25500.000
FAN3 | 9500.000 | RPM | ok | 300.000 | 500.000 | 700.000 | 25300.000 | 25400.000 | 25500.000
FAN4 | 9200.000 | RPM | ok | 300.000 | 500.000 | 700.000 | 25300.000 | 25400.000 | 25500.000
FAN5 | 9500.000 | RPM | ok | 300.000 | 500.000 | 700.000 | 25300.000 | 25400.000 | 25500.000
FAN6 | 9300.000 | RPM | ok | 300.000 | 500.000 | 700.000 | 25300.000 | 25400.000 | 25500.000
12V | 12.000 | Volts | ok | 10.173 | 10.299 | 10.740 | 12.945 | 13.260 | 13.386
5VCC | 4.948 | Volts | ok | 4.246 | 4.298 | 4.480 | 5.390 | 5.546 | 5.598
3.3VCC | 3.299 | Volts | ok | 2.789 | 2.823 | 2.959 | 3.554 | 3.656 | 3.690
VBAT | 3.103 | Volts | ok | 2.407 | 2.494 | 2.610 | 3.509 | 3.596 | 3.712
Vcpu | 0.804 | Volts | ok | 0.111 | 0.111 | 0.111 | 1.596 | 1.758 | 1.776
VDIMMAB | 1.173 | Volts | ok | 0.948 | 0.975 | 1.047 | 1.344 | 1.425 | 1.443
0.95V VCCIO | 0.960 | Volts | ok | 0.870 | 0.897 | 0.942 | 1.194 | 1.221 | 1.248
1.5VSB | 1.509 | Volts | ok | 1.320 | 1.347 | 1.401 | 1.644 | 1.671 | 1.698
5VSB | 4.896 | Volts | ok | 4.246 | 4.298 | 4.480 | 5.390 | 5.546 | 5.598
3.3VSB | 3.214 | Volts | ok | 2.789 | 2.823 | 2.959 | 3.554 | 3.656 | 3.690
1.05V VCCSA | 1.050 | Volts | ok | 0.861 | 0.888 | 0.960 | 1.086 | 1.149 | 1.176
1.2V BMC | 1.200 | Volts | ok | 1.020 | 1.047 | 1.092 | 1.344 | 1.371 | 1.398
1.0V PCH | 0.996 | Volts | ok | 0.870 | 0.897 | 0.942 | 1.194 | 1.221 | 1.248
Chassis Intru | 0x0 | discrete | 0x0000| na | na | na | na | na | na
PS1 Status | 0x1 | discrete | 0x0100| na | na | na | na | na | na
PS2 Status | 0x1 | discrete | 0x0100| na | na | na | na | na | na
## System Event Log
troublemaker@ibp02troublet01:~$ ipmitool -H 192.168.102.35 -U ThisIsTheUser -P ThisIsThePassword -L OPERATOR -I lanplus sel list
1 | 01/25/2019 | 12:24:48 | Unknown #0xff | | Asserted
2 | 01/25/2019 | 12:26:18 | Power Supply #0xc9 | Failure detected () | Asserted
3 | 01/25/2019 | 12:26:18 | Power Supply #0xc9 | Power Supply AC lost () | Asserted
4 | 01/25/2019 | 12:27:04 | Power Supply #0xc9 | Failure detected () | Deasserted
5 | 01/25/2019 | 12:27:04 | Power Supply #0xc9 | Power Supply AC lost () | Deasserted
6 | 02/13/2019 | 12:27:11 | Power Supply #0xc9 | Failure detected () | Asserted
7 | 02/13/2019 | 12:27:11 | Power Supply #0xc9 | Power Supply AC lost () | Asserted
8 | 02/13/2019 | 12:30:29 | Power Supply #0xc9 | Failure detected () | Deasserted
9 | 02/13/2019 | 12:30:29 | Power Supply #0xc9 | Power Supply AC lost () | Deasserted
a | 02/13/2019 | 12:32:57 | Power Supply #0xc8 | Failure detected () | Asserted
b | 02/13/2019 | 12:32:57 | Power Supply #0xc8 | Power Supply AC lost () | Asserted
c | 02/13/2019 | 12:37:28 | Power Supply #0xc8 | Failure detected () | Deasserted
d | 02/13/2019 | 12:37:28 | Power Supply #0xc8 | Power Supply AC lost () | Deasserted
## Serial Console aka Serial over LAN (SOL)
troublemaker@ibp02troublet01:~$ ipmitool -H 192.168.102.35 -U ThisIsTheUser -P ThisIsThePassword -L OPERATOR -I lanplus sol activate
[SOL Session operational. Use ~? for help]
Disconnect NOW if you have not been expressly authorized to use this system.
login: admin_weberjoh
password:
Infoblox NIOS Release 8.3.3-380481 (64bit)
Copyright (c) 1999-2017 Infoblox Inc. All Rights Reserved.
type 'help' for more information
Infoblox > show status
Grid Status: ID Grid Master
HA Status: Passive
Hostname: dnsrz.weberlab.intern
Infoblox >
Infoblox > exit
Good Bye
Disconnect NOW if you have not been expressly authorized to use this system.
login:
~. [terminated ipmitool]
troublemaker@ibp02troublet01:~$
troublemaker@ibp02troublet01:~$
# ===================================================================
# Support Bundle
set transfer_supportbundle scp <server-ip> <user-name> <user-password> [dest <file-name>] [core_files] [current_logs] [rotated_logs]
#Example:
set transfer_supportbundle scp 192.168.42.42 admin - core_files current_logs rotated_logs
# ===================================================================
# Dig & expertmode dig
Infoblox > dig
Synopsis:
dig [@server_address] <hostname> [type] [opt...]
-- type can be any of the following
a, a6, aaaa, afsdb, any, apl, axfr, cert, cname,
dhcid, dlv, dname, dnskey, ds, gpos, hinfo, hip,
ipseckey, isdn, ixfr=serial_number, key, keydata, kx, loc,
maila, mailb, mb, md, mf, mg, minfo, mr, mx,
naptr, none, ns, nsap, nsap_ptr, nsec, nsec3,
nsec3param, null, nxt, opt, ptr, px, rp, rrsig,
rt, sig, soa, spf, srv, sshfp, tkey, tsig, txt,
unspec, wks, x25
The default is type "a"
-- opt is one or more of the following
-x (shortcut for in-addr lookups; hostname is an IP address)
-b address (bind to source address)
-y name:key (specify named base64 tsig key)
+vc (TCP mode)
+norecurse (Disable recursive mode)
+short (Disable everything except short form of answer)
+nssearch (Search all authoritative nameservers)
+trace (Trace delegation down from root)
+cdflag (Request server perform no DNSSEC validation)
+dnssec (Request that server sends DNSSEC records)
+multiline (Print records like SOA and DNSKEY in multi-line format)
dig [@server_address] <ip-address> inverse
Description:
Perform a DNS lookup and print the results.
Infoblox >
Infoblox > dig weberlab.de
; <<>> DiG 9.10.2-ECS-M3 <<>> +noedns weberlab.de
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40294
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;weberlab.de. IN A
;; ANSWER SECTION:
weberlab.de. 60 IN A 87.190.30.116
;; Query time: 11 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Mar 15 17:35:03 CET 2019
;; MSG SIZE rcvd: 45
Infoblox >
Infoblox > set expertmode
"Disclaimer: The expert mode CLI commands are designed for advanced users.
Ensure that you have proper knowledge and expertise when using these commands.
Improper usage of commands may affect your system performance and stability."
Expert Mode > dig
; <<>> DiG 9.10.2-ECS-M3 <<>>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50543
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;. IN NS
;; ANSWER SECTION:
. 257092 IN NS i.root-servers.net.
. 257092 IN NS m.root-servers.net.
. 257092 IN NS e.root-servers.net.
. 257092 IN NS h.root-servers.net.
. 257092 IN NS k.root-servers.net.
. 257092 IN NS c.root-servers.net.
. 257092 IN NS g.root-servers.net.
. 257092 IN NS b.root-servers.net.
. 257092 IN NS f.root-servers.net.
. 257092 IN NS d.root-servers.net.
. 257092 IN NS j.root-servers.net.
. 257092 IN NS l.root-servers.net.
. 257092 IN NS a.root-servers.net.
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Mar 15 16:35:33 UTC 2019
;; MSG SIZE rcvd: 239
Expert Mode >
Expert Mode > dig -h
Expert Mode > dig weberlab.de
; <<>> DiG 9.10.2-ECS-M3 <<>> weberlab.de
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5968
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;weberlab.de. IN A
;; ANSWER SECTION:
weberlab.de. 60 IN A 87.190.30.116
;; Query time: 10 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Mar 15 16:36:36 UTC 2019
;; MSG SIZE rcvd: 56
Expert Mode >
Expert Mode >
Expert Mode > set expertmode off
Infoblox >
# ===================================================================
# Factory Reset
reset database #delete config but keep network settings and licenses
reset all #delete config but keep licenses
reset all licenses #delete EVERYTHING
|