Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
606
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
When using the boot image command, the associated specified boot image file will be the startup boot
image file for the next reboot. Use this command to assign a file as the next-boot image file. The system
will check the model and checksum to determine whether the file is a valid image file.
The purpose of the check parameter is for checking the file information to let the user understand
whether the specified file is suitable to be a boot image or not. The setting of the boot image command
will immediately be stored in the NVRAM, which is a space separated from the start-up configuration.
The backup image is decided automatically and is the newest valid image other than the boot-up one.
Example
This example shows how to specify that the Switch should use the image file named switch-image1.had
as the boot image file for the next startup.
Switch# configure terminal
Switch(config)# boot image c:/switch-image1.had
Switch(config)#
This example shows how to check a specified image file called “c:/runtime.switch.had”. The checksum of
the image file has been verified is okay and the information of the image file is displayed.
Switch# configure terminal
Switch(config)# boot image check c:/runtime.switch.had
----------------------
Image information
----------------------
Version: 1.00.016
Description: D-Link Gigabit Ethernet SmartPro Switch
Switch(config)#
This example shows how to checks a specified image file called “runtime.wrongswitch.had”. The
checksum of the image file has been verified wrong and an error message is displayed.
Switch# configure terminal
Switch(config)#boot image check runtime.wrongswitch.had
ERROR: File not found.
Switch(config)#
66-3 clear running-config
This command is used to clear the system’s running configuration.
clear running-config
Parameters