Chapter 4
Assigning the Switch IP Address and Default Gateway
Booting Manually
By default, the switch automatically boots; however, you can configure it to manually boot.
Beginning in privileged EXEC mode, follow these steps to configure the switch to manually boot during
the next boot cycle:
Command
Step 1
configure terminal
Step 2
boot manual
Step 3
end
Step 4
show boot
Step 5
copy running-config startup-config
To disable manual booting, use the no boot manual global configuration command.
Booting a Specific Software Image
By default, the switch attempts to automatically boot the system using information in the BOOT
environment variable. If this variable is not set, the switch attempts to load and execute the first
executable image it can by performing a recursive, depth-first search throughout the Flash file system.
In a depth-first search of a directory, each encountered subdirectory is completely searched before
continuing the search in the original directory. However, you can specify a specific image to boot.
Beginning in privileged EXEC mode, follow these steps to configure the switch to boot a specific image
during the next boot cycle:
Command
Step 1
configure terminal
Step 2
boot system filesystem:/file-url
78-16156-01
Purpose
Enter global configuration mode.
Enable the switch to manually boot during the next boot cycle.
Return to privileged EXEC mode.
Verify your entries.
The boot manual global command changes the setting of the
MANUAL_BOOT environment variable.
The next time you reboot the system, the switch is in boot loader
mode, shown by the switch: prompt. To boot the system, use the
boot filesystem:/file-url boot loader command.
For filesystem:, use flash: for the system board Flash device.
•
For file-url, specify the path (directory) and the name of the
•
bootable image.
Filenames and directory names are case sensitive.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
Configure the switch to boot a specific image in Flash memory during the
next boot cycle.
•
For filesystem:, use flash: for the system board Flash device.
•
For file-url, specify the path (directory) and the name of the bootable
image.
Filenames and directory names are case sensitive.
Catalyst 3560 Switch Software Configuration Guide
Modifying the Startup Configuration
4-13