User Tools

Site Tools


infoblox_nios:useful_nios

This is an old revision of the document!


Useful NIOS Commands

set remote_console
set maintenancemode
set maintenancemode no
set expertmode
set expertmode no
set temp_license

Restart NIOS without rebooting entire appliance.

set maintenancemode
restart_product

Show Hotfix

show upgrade_history
[Date] Reverted to: 8.4.4-386831
[Date] Upgraded to: 8.4.6-393507
[Date] Upgraded to: 8.5.3-417434
[Date] Upgraded to: 8.6.1-421683
[Date] Upgraded to: 8.6.2-49947-c076923293a0
[Date] Hotfix Hotfix-CHF-8.6.2.2_NIOS-88072_APPLY-607f5de05325e8e918bd2cc08c1500c2-Mon-Jan-23-17-23-41-2023.bin applied successfully
[2023/01/01 01:01:01] Hotfix Hotfix-CHF-8.6.2.3-NIOS-11122-APPLY-f62d08c367229f13fc7d6d24400e57bc-Wed-Mar-15-09-51-18-2022.bin applied successfully

Uupgrade history from the GM and GMC's is the best bet because this will not show hotfixes that were released with (e.g.) an RMA or grid expansion.

Reset NIOS

Note that auto-provisioning can be enabled only on single appliances.

Command Clear NIOS Database Clear Configuration Clear Network Settings Clear Licenses Clear Network Automation Database
reset all Yes Yes Set to 192.168.1.1/24 No N/A
reset all auto_provision Yes Yes Set to DHCP Yes N/A
reset all licenses Yes Yes Yes Yes N/A
reset all licenses Yes Set to 192.168.1.1/24 Set to DHCP Yes N/A
reset database Yes Yes Prompts No Yes
reset database nios Yes No Prompts No N/A
reset database net-automation No No No No Yes

the Network Automation only applies if the appliance has the Network Insight licence installed.

The following clears the NIOS appliance of database, configuration, and network settings. It then re-establishes the factory settings with the default IP address, gateway, and subnet mask.

reset all

The following command clears database, configuration, and network settings. It also clears all licensing information from the appliance before re-establishing the factory settings.

reset all licenses

The following command removes configuration files and DNS and DHCP data from the NIOS appliance database. However, the network and licensing information remains intact. The network settings of the appliance include the IP address and subnet mask for the appliance, the IP address of the gateway, the host name, and the remote access setting.

reset database

General

Command Description
show arp Display system ARP cache
show capacity Display DB usage for this member
show check_ssl_certificate Display current check ssl certificate status
show config Display dns, dhcp, dtc, healthd configuration file
show connection_limit Display the per client IP address protocol maximum connection limit
show connections Display all TCP/UDP connections
show cpu Display the processor and memory statistics
show date Display the date, time and time zone of the appliance
show debug Display the status of debugging
show disk Display the disk space used
show file Display the content(s) of a file(s)
show hardware-type Display hardware type
show hardware_status Display the hardware status
show hwid Display the hardware ID
show interface Display network interface details
show license Display product and maintenance licenses
show license_uid Display the grid-wide license unique ID
show log Display the specified system log
show lom Display LOM network/user settings
show memory Display the memory statistics
show monitor Display current network monitor settings
show network Display current network settings
show ntp Display NTP associations and statistics
show remote_console Display remote console access settings
show scheduled Display number of automatic restarts per hour for scheduled tasks
show security Display current security settings
show snmp Display SNMP information such as contents of variables
show status Display Grid and HA status
show subscriber_secure_data Displays subscriber secure records
show support_access Display support access settings
show tech-support Display output for all show commands
show temperature Display the temperature
show test_promote_master Display status of the Master Candidate communication test
show upgrade_history Display upgrade history
show uptime Display the uptime of the appliance
show version Display the product version

NIOS Infoblox Console Cable

Connect a serial cable from the console port on your management system to the console port on the appliance. The appliance has a male DB-9 console port on its front panel.

  • Bits per second: 9600
  • Data bits: 8
  • Parity: None
  • Stop bits: 1
  • Flow control: Xon/Xoff

HAS TO BE A NULL MODEM CABLE - Null modem, also called crossover, is a term associated with serial (RS-232) cables. A standard serial cable, also called an AT cable, has the wires inside the cable running straight through. Take a DB9 cable as an example. Pin 1 on one end of the cable would be connected to Pin 1 on the other end. Then Pin 2 to 2, 3 to 3, and so on. Null modem cables are serial cables that use an alternative pinout for different functionality.

https://docs.infoblox.com/space/IIGF2SA/36834963/Connecting+to+the+Appliance

Editing NIOS Backup Files

Backup files which get manipulated in any way, including Infoblox's own scripts to reset passwords MUST NOT be restored in production under any circumstances.

Manipulating backup files automatically voids any assistance you can get from Engineering.

The Grid Backup file (.bak) is a tar.gz file that can be opened with 7-Zip. This file contains an XML file called onedb.xml.

XPad64 can edit this file. (Search for “admin”)

The following value is for the password 'infoblox'.

value VALUE="{ssha}_HAAAADt7bFVX+JJh4KXe8lzuVi5D9VRTShr1CkajRRI="

NIOS can be very picky about what backup files it will restore onto a version of code. You must always make sure you are running the same version of NIOS that was used to make the Grid backup. However, in a LAB environment, you can edit the first line of the onedb.xml file. This is for LABBING only. NEVER use this in production. Your configuration will not be supported by Infoblox.

In this example, we are making a Grid Backup from 8.6.0 early access NIOS compatible with 8.6.0 GA NIOS. NOTE: We are not actually making it compatible, we are simply tricking NIOS 8.6.0 GA into loading the configuration as best as it can.

<DATABASE NAME="onedb" VERSION="8.6.0-403398" MD5="73c15d7365c6eb9cca9ee2dbeca4001e" SCHEMA-MD5="c8e8877ba8e8da62feb8663e29f83aef" INT-VERSION="8.6.6000-403398">

to

<DATABASE NAME="onedb" VERSION="8.6.0-412613" MD5="a38a4f0e5f50eea4dd78f7897678a0b4" SCHEMA-MD5="0773358b1f81a6df4231095bbf702d05" INT-VERSION="8.6.6000-412613">

You may also need to edit the UI ACL (if it is set). Search for

<PROPERTY NAME="function_type" VALUE="SECURITY_ACCESS"/>

This is set on the CLI using set security (docs)

infoblox_nios/useful_nios.1707808709.txt.gz · Last modified: by bstafford