6 Command Line Interface
D-Link Web Smart Switch User Manual
98
TFTP server.
Syntax
upload { firmware_toTFTP | cfg_toTFTP} {<ipaddr> |
<ipv6addr>} <path_filename>
Description
The
upload
command uploads the Switch’s current settings to a
TFTP server.
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> | <ipv6addr>
−
The IP or IPv6 address of the TFTP
server.
<path_filename>
−
The path 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.
Restrictions
None.
Example usage:
To upload a firmware file:
DGS-1500-28>upload firmware_toTFTP 1.1.1.23 1\running—config
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-1500-28>
config ipif
Purpose
To configure the System IP interface.
Syntax
config ipif <ipif_name> [ ipaddress <ip-address> <subnet-
mask> gateway <gw-address> | dhcp | bootp ]
config ipif <ipif_name> <ipv6 ipv6address
<ipv6networkaddr> | dhcpv6_client <enable | disable>
Description
The
c onfig ipif s ys tem
command configures the System IP
interface on the Switch.
Parameters
ipif_name
−
Specifies the name of ipif setting.
ipaddress <ip-address> <subnet-mask>
−
The IP address and
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
−
The BOOTP protocol allows IP addresses, network
masks, and default gateways to be assigned by a central BOOTP
server.