
33
CLI
Firmware Management
Table 33: Firmware Management
Function
Privilege
Description
Example
boot system
(image0|image1)
Admin EXEC
Dual image stores a backup
image in the flash partition.
Use "boot system" com-
mand to select the active
firmware image.
The other firmware image
will become a backup.
switch(config)# boot system
image1
delete system
(image0|image1)
Admin EXEC
Delete firmware image
stored in flash.
switch# delete system image1
copy (flash://|tftp://)
(flash://|tftp://)
Admin EXEC
Upgrade/backup firmware
image from/to remote tftp
server.
switch# copy tftp://
192.168.1.100/vmlinux.bix
flash://image0
DHCP Server
Table 34: DHCP Server
Function
Privilege
Description
Example
show dhcp-server
[lease]
User EXEC
Show DHCP server infor-
mation.
Show leased client informa-
tion.
switch# show dhcp-server
switch# show dhcp-server
lease
[no] dhcp-server
Admin EXEC
Enable or disable DHCP
server.
switch(config)# dhcp-server
dhcp-server lease-time
<60-86400>
Admin EXEC
Set the lease-time of DHCP
server.
switch(config)# dhcp-server
lease-time 16888
dhcp-server global low-
ip-address A.B.C.D
high-ip-address A.B.C.D
subnet-mask A.B.C.D
gateway A.B.C.D dns
A.B.C.D
Admin EXEC
Set allocate IP range, sub-
net mask, gateway, DNS in
global settings of DHCP
server.
switch(config)# dhcp-server
global low-ip-address 10.1.1.1
high-ip-address 10.1.2.1 sub-
net-mask 255.255.0.0 gate-
way 10.1.1.254 dns 10.1.1.100
no dhcp-server global
Admin EXEC
Remove global settings of
DHCP server
switch(config)# no dhcp-server
global
dhcp-server interface
IF_NMLPORT low-ip-
address A.B.C.D high-
ip-address A.B.C.D sub-
net-mask A.B.C.D gate-
way A.B.C.D dns
A.B.C.D
Admin EXEC
Set allocate IP range, sub-
net mask, gateway, DNS in
specified port settings of
DHCP server.
switch(config)# dhcp-server
interface GigabitEthernet1 low-
ip-address 11.1.1.1 high-ip-
address 11.1.2.1 subnet-mask
255.255.0.0 gateway
11.1.1.254 dns 11.1.1.100
no dhcp-server inter-
faces IF_NMLPORT
Admin EXEC
Remove specific port set-
tings of DHCP server.
switch(config)# no dhcp-server
interfaces GigabitEthernet1