The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
When the switch starts up in the boot loader mode, a set of commands is available to set kernel kickstart parameters that may be required during advanced troubleshooting and recovery options. These commands are not used in normal operation.
boot protocol:// location
protocol |
Only tftp is supported. |
location |
The server address or hostname and path to the image file to be booted. |
Use this command to download and boot from an image file on a remote TFTP server.
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
cmdline [clear_config] [clear_log] [init_system] [no_hap_reset]
clear_config |
Clears all configuration databases and causes a stateless reload. This option is useful when upgrading the switch from an old and incompatible software image, such as a pre-release image. |
clear_log |
Completely clears all core files and logs within the switch. This option is useful when the switch fails to boot due to full partitions. |
init_system |
Securely erases and repartitions the disk. |
no_hap_reset |
Prevents a switch from continuously reloading due to a process failure. With this option, the switch will not reload after a failure, but will stop with a login prompt to allow troubleshooting. |
One or more options can be appended to the base cmdline command, but the entire command must be entered on a single line.
This example shows the command with one option:
Aborting config file read and autoboot No autoboot or failed autoboot. falling to loader Loader Version 7.17 loader > cmdline no_hap_reset loader >
This example shows the command with two options:
loader > cmdline init_system clear_config loader >
set gw ipaddress
ipaddress |
The gateway IP address for the switch. |
Use this command to configure the gateway IP address for the switch.
loader> set gw 192.2.0.1
set ip ipaddress mask
ipaddress |
The management IP address to be assigned to the switch. |
mask |
The subnet mask of the management IP address. |
Use this command to configure the initial management IP address for the switch.
loader> set ip 192.2.0.123 255.255.255.0