The NIOS-based IB-4030 or IB-4030-10GE appliance provides several commands to change settings in the system. To use these commands, you must connect through SSH or connect through the serial console port to the IB-4030 or IB-4030-10GE and login with the appropriate admin account.
The IB-4030 or IB-4030-10GE appliance supports the standard NIOS command-line interface for communicating with the device. For more information, refer to the Infoblox CLI Guide.
The following commands are disabled when the DNS Cache Acceleration license is installed on the appliance:
- set dns transfer–Schedules zone transfers. Note that set dns transfer is not used by the IB-4030 or IB-4030-10GE with an active DNS Cache Acceleration license.
- set monitor dns –Activates DNS monitoring in NIOS. Disabled on the IB-4030 or IB-4030-10GE with an active DNS Cache Acceleration license.
- show monitor dns –Displays DNS network monitoring data. Disabled on the IB-4030 or IB-4030-10GE with an active DNS Cache Acceleration license.
Supported IB-4030 and IB-4030-10GE CLI commands include the following:
...
The CLI commands listed below are frequently used on the appliance. For detailed information about the supported CLI commands, refer to the Infoblox CLI Guide.
32 Infoblox DNS Cache Acceleration Administrator Guide (Rev. A)NIOS 8.1
DNS Cache Acceleration CLI Commands
Anchor | ||||
---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
The set dns
command enables you to control the DNS cache. You can flush the cache of a DNS view or flush a particular entry from the cache.
Syntax
...
set
...
dns
...
flush
...
all
...
[
...
dns_view
...
]
...
set
...
dns
...
flush
...
name
...
name
...
[
...
dns_view
...
]
Argument | Description |
---|---|
all | Flushes the cache file from the default view. |
dns_view | Specifies a particular DNS view. |
name | Flushes the specific entry from the cache. |
Example
Infoblox > set dns flush name accounting.corp100.com
Infoblox > set dns flush all
...
...
Anchor | ||||
---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
The show dns
command displays DNS query statistics for all DNS views in the IB-4030 or IB-4030-10GE appliance. It also displays the recursive cache for the specified DNS views.
Syntax
...
show
...
dns
...
{stats
...
|
...
cache
...
[wait_time
...
ntime
...
]
...
[dns
...
_
...
view
...
...
...
]
...
}
...
Argument | Description |
---|---|
stats | Displays DNS query statistics for all DNS views. If the DNS Cache Acceleration service is enabled, show dns stats will show the combined statistics for BIND and DNS Cache Acceleration service. |
ntime | The maximum time (from 1 to 600 seconds) to wait for the cache file to be ready. |
Example
Infoblox > show dns stats
success 6718810
referral 0
nxrrset 0
nxdomain 0
recursion 257
failure 0
...
...
Anchor | ||||
---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
Sets the logging level for the DNS Cache Acceleration service on the IB-4030 or IB-4030-10GE appliance, where the level is between 0 being the least verbose and 7 being the most verbose.
Syntax
set smartnic log {level]
Argument | Description |
---|---|
level | The logging level (from 0 to 7) of messages. |
Example
Infoblox > set smartnic log 7
...
Anchor | ||||
---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
Checks the status and settings of the DNS Cache Acceleration service.
...
Note: When you use this command on a specific appliance, the configuration applies only to that appliance. When using this command for an HA pair, you must run the command separately on both the active and passive nodes to ensure consistent behavior.
...
Show smartnic displays the following operating characteristics of the IB-4030 or IB-4030-10GE:
|
...
|
...
|
|
|
...
| |
|
...
| |
|
Syntax
show smartnic
Example
Infoblox > show smartnic
Firmware version: 1.3.19, Nov 08, 2011
Cache: Enabled Cache hit count: 109397
Cache miss count: 3008
Minimum cached TTL: 10 DNS query stats: SUCCESS=109380 NXDOMAIN=0 NXRRSET=0 FAILURE=0 REFERRAL=0
DNS UDP packet count: port0=299339 port1=93408 port2=0 port3=0
Log level: 6 Failed cores: None
...
Anchor | ||||
---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
This command displays details about interfaces and SFPs that are connected to the IB-4030 or IB-4030-10GE platform.
Syntax
show interface
Example
Infoblox > show interface
LAN:
...
...
...
IP Address:
...
10.35.2.
...
40 MAC Address:
...
00:0F:B7:24:10:15
Mask:
...
255.255.0.
...
0 Broadcast:
...
10.35.255.255
MTU:
...
1500
1500 Metric:
...
1
IPv6 Address: 2001:db8:a23::228/64
IPv6 Link: fe80::20f:b7ff:fe24:1015/64
Status: UP BROADCAST RUNNING MULTICAST
SFP Type: Fiber SX
SFP Model: Finisar(FTLF8519P2BCL)
Statistics Information
Received
packets:
...
6895339
6895339 bytes:
...
444006210 (423.4 MiB)
errors:
...
0
0 dropped:
...
14
overruns:
...
0
0 frame:
...
0
...
Transmitted
...
...
packets:
...
14832
14832 bytes: 14599721 (13.9 MiB)
...
errors:
...
0
0 dropped: 0
...
overruns:
...
0 carrier: 0
Collisions:
...
0 Txqueuelen: 1000
You can view information about the SFPs on the IB-4030 or IB-4030-10GE application. To view the details:
From the Grid tab, select the Grid Manager tab and click the Members tab -> member check box -> Detailed Status icon.
You can also use this command to view the VLAN ID, tagged networks, and additional IP addresses that are configured for the network when you enable VLAN on an IB-4030 or IB-4030-10GE appliance. For more information, see Enabling VLAN Support Using CLI Commands.
NIOS 8.1 Infoblox DNS Cache Acceleration Administrator Guide (Rev. A)37