6 Command Line Interface D-Link Smart Managed Switch User Manual
140
Example usage:
To upload a firmware file:
DGS-1210-52MP>upload firmware_toTFTP 1.1.1.23 1\running—config image_id 1
01–Jan–2000 01:26:11 %COPY–I–FILECPY: Files Copy – source URL running–config
destination URL tftp://1.1.1.23/1\running–config
…..01–Jan–2000 01:26:16 %COPY–W–TRAP: The copy operation was completed success
fully
!
158 bytes copied in 00:00:05 [hh:mm:ss]
DGS-1210-52MP>
config firmware image_id
Purpose To configure the firmware image to be deleted or boot up.
Syntax
config firmware image id <integer (1-2)> {delete | boot_up}
Description
The config firmware image id
firmware image to be deleted or boot up on the Switch.
Parameters
<integer (1-2)> − Specifies the image 1 or 2 to be configured.
{delete | boot_up} – Specifies the specified image to be deleted
or boot up.
Restrictions None.
Example usage:
To configure the firmware image id 1 to be used when boot up on the Switch:
DGS-1210-52MP> config firmware image_id 1 boot_up
DGS-1210-52MP>
Purpose To configure the System IP interface.
Syntax
config ipif <ipif_name> { ipaddress <ip-address> <subnet-
mask> gateway <gw-address> | dhcp | bootp }
Description
The config ipif system
command configures the System IP
interface on the Switch.
Parameters
<ipif_name> − Specifies the ipif name to be configured.
ipaddress <ip-address> <subnet-mask> −
subnet mask to be created. Users need to specify the address
and mask information using the traditional format (for
example,10.1.2.3/255.0.0.0)
gateway <gw-address> −
The IP address of the router or
gateway.
dhcp −
Allows the selection of the DHCP protocol for the
assignment of an IP address to the Switch’s System IP interface.
bootp − Allows the selection of the BOOTP to the switch.
Restrictions None.