D-Link DGS-3630-52PC WEB Reference Guide - Page 145

clear running-config

Page 145 highlights

DGS-3630 Layer 3 Stackable Managed Switch CLI Reference Guide Command Mode 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: 2.10.012 Description: D-Link Corporation Gigabit Ethernet 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: Invalid firmware image. Switch(config)# 19-3 clear running-config This command is used to clear the system's running configuration. clear running-config Parameters None. 143

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187

DGS-3630 Layer 3 Stackable Managed Switch CLI Reference Guide
143
Command Mode
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:/run
time.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: 2.10.012
Description: D-Link Corporation Gigabit Ethernet 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: Invalid firmware image.
Switch(config)#
19-3
clear running-config
This command is used to clear the system
’s
running configuration.
clear running-config
Parameters
None.