using boot loader commands · using boot loader commands • usingbootloadercommands,page1 •...
TRANSCRIPT
Using Boot Loader Commands
• Using Boot Loader Commands, page 1
• boot (loader command), page 2
• cmdline (loader command), page 3
• set gw (loader command), page 4
• set ip (loader command), page 5
Using Boot Loader CommandsWhen the switch starts up in the boot loader mode, a set of commands is available to set kernel kickstartparameters that may be required during advanced troubleshooting and recovery options. These commandsare not used in normal operation.
Cisco ACI Switch Command Reference, NX-OS Release 11.x 1
boot (loader command)boot protocol://location
Syntax Description Only tftp is supported.protocol
The server address or hostname and path to the imagefile to be booted.
location
Usage Guidelines Use this command to download and boot from an image file on a remote TFTP server.
Examples This example causes the switch to download and boot from the specified image file on the remote server.
loader> boot tftp://192.2.0.123/images/bootimage1
Cisco ACI Switch Command Reference, NX-OS Release 11.x2
Using Boot Loader Commandsboot (loader command)
cmdline (loader command)cmdline [clear_config] [clear_log] [init_system] [no_hap_reset]
Syntax Description Clears all configuration databases and causes a stateless reload. This option isuseful when upgrading the switch from an old and incompatible software image,such as a pre-release image.
clear_config
Completely clears all core files and logs within the switch. This option is usefulwhen the switch fails to boot due to full partitions.
clear_log
Securely erases and repartitions the disk.init_system
Prevents a switch from continuously reloading due to a process failure. With thisoption, the switch will not reload after a failure, but will stop with a login promptto allow troubleshooting.
no_hap_reset
Usage Guidelines One or more options can be appended to the base cmdline command, but the entire command must be enteredon a single line.
Examples This example shows the command with one option:
Aborting config file read and autobootNo autoboot or failed autoboot. falling to loader
Loader Version 7.17
loader > cmdline no_hap_resetloader >
This example shows the command with two options:
loader > cmdline init_system clear_configloader >
Cisco ACI Switch Command Reference, NX-OS Release 11.x 3
Using Boot Loader Commandscmdline (loader command)
set gw (loader command)set gw ipaddress
Syntax Description The gateway IP address for the switch.ipaddress
Usage Guidelines Use this command to configure the gateway IP address for the switch.
Examplesloader> set gw 192.2.0.1
Cisco ACI Switch Command Reference, NX-OS Release 11.x4
Using Boot Loader Commandsset gw (loader command)
set ip (loader command)set ip ipaddress mask
Syntax Description The management IP address to be assigned to the switch.ipaddress
The subnet mask of the management IP address.mask
Usage Guidelines Use this command to configure the initial management IP address for the switch.
Examplesloader> set ip 192.2.0.123 255.255.255.0
Cisco ACI Switch Command Reference, NX-OS Release 11.x 5
Using Boot Loader Commandsset ip (loader command)
Cisco ACI Switch Command Reference, NX-OS Release 11.x6
Using Boot Loader Commandsset ip (loader command)