User manual

6 Command Line Interface D-Link Web Smart Switch User Manual
92
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>
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.
Restrictions None.
Example usage:
To upload a firmware file:
DGS-1210-52>upload firmware_toTFTP 1.1.1.23 1\runningconfig
01J an2000 01:26:11 %COPYIFIL E CPY: Files Copy source UR L
runningconfig des tination UR L tftp://1.1.1.23/1\runningconfig
…..01Jan2000 01:26:16 %COPYWTR AP: The copy operation was
completed success fully
!
158 bytes copied in 00:00:05 [hh:mm:ss]
DGS-1210-52>
config ipif system
Purpose To configure the System IP interface.
Syntax
config ipif system { ipaddress <ip-address> <subnet-mask>
gateway <gw-address> | dhcp | bootp }
Description
The config ipif s ys tem command configures the System IP
interface on the Switch.
Parameters
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 Allows the selection of the BOOTP to the switch.
Restrictions None.
Example usage:
To configure the IP interface System:
DGS-1210-52> config ipif S ys tem ipaddres s 10.48.74.122/8
Success.