6 Command Line Interface D-Link Smart Managed Switch User Manual
1
1
4
4
5
5
Parameters
firmware_toTFTP −
Upload the firmware on the Switch from a
TFTP server.
cfg_toTFTP − Specifies that the Switch’s current settings will be
uploaded to the TFTP server.
<ipaddr> − The IPv4 address of the TFTP server.
<ipv6addr> − The IPv6 address of the TFTP server.
<path_filename 64> −
The filename of the firmware or switch
configuration file on the TFTP server. You need to specify the
DOS path if the file is not at the root directory of the TFTP server.
image_id <integer 1-2> - Specifies the image id to be configured.
config_id <integer 1-2> -
Specifies the configuration id to be
configured.
Restrictions None.
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>
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.
Example usage:
To configure the IP interface System:
DGS-1210-52MP> config ipif System ipaddress 10.48.74.122/8