D-Link DGS-1500-52 User Manual - Page 87

Jan-2000 01:19:48 %COPY-I-FILECPY: Files Copy - source URL t

Page 87 highlights

6 Command Line Interface D-Link Web Smart Switch User Manual Restrictions cfg_fromTFTP − Download a switch configuration file from a TFTP server. tftp://ip-address/ − The IP address of the TFTP server. 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. None. Example usage: To download a firmware file: DGS-1500-28> download firmware_fromTFTP 1.1.1.23 1\dgs_1500-10032.ros 01-Jan-2000 01:19:48 %COPY-I-FILECPY: Files Copy - source URL tftp://1.1.1.23 /1\ dgs_1500-10032.ros destination URL Unit all flash://image 01-Jan-2000 01:22:49 %COPY-W-TRAP: The copy operation was completed successfully ! 3920460 bytes copied in 00:03:01 [hh:mm:ss] DGS-1500-28> upload Purpose Syntax Description Parameters Note: Switch will reboot after restore and all current configurations will be lost. To upload the firmware file or a Switch configuration file to a TFTP server. upload { firmware_toTFTP tftp://ip-address/filename | cfg_toTFTP tftp://ip-address/filename } The upload command uploads the Switch's current settings to a TFTP server. firmware_toTFTP − Upload the firmware on the Switch from a 81

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97

6
Command Line Interface
D-Link Web Smart Switch User Manual
81
cfg_fromTFTP
Download a switch configuration file from a
TFTP server.
tftp://ip-address/
The IP address of the TFTP server.
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 download a firmware file:
DGS-1500-28> download firmware_fromTFTP 1.1.1.23 1\dgs_1500-10032.ros
01–Jan–2000 01:19:48 %COPY–I–FILECPY: Files Copy – source URL tftp://1.1.1.23 /1\
dgs_1500—10032.ros destination URL Unit all flash://image
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!01–Jan–2000 01:22:49 %COPY–W–TRAP:
The copy operation was completed successfully
!
3920460 bytes copied in 00:03:01 [hh:mm:ss]
DGS-1500-28>
Note:
Switch will reboot after restore and
all current configurations will be lost.
upload
Purpose
To upload the firmware file or a Switch configuration file to a
TFTP server.
Syntax
upload { firmware_toTFTP tftp://ip-address/filename |
cfg_toTFTP tftp://ip-address/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