Specifications

90
DCS-3950 series Ethernet switch manual
DCS-3950:
Switch(Config)#inter vlan 1
Switch(Config-If-Vlan1)#ip address 10.1.1.2 255.255.255.0
Switch(Config-If-Vlan1)#no shut
Switch(Config-If-Vlan1)#exit
Switch(Config)#ftp-server enable
Switch(Config)# ip ftp-server username Switch password 0 Password
PC side:
Start the FTP server software on the PC and set the username ‘Switch’, and the
password ‘Password’,use the IS or DIR command:
C:\>ftp 10.1.1.2
Connected to 10.1.1.2.
220 welcome your using ftp server...
User (10.1.1.2:(none)): Switch
331 User name okay,need password
Password:
230 User logged in,proceed
ftp> dir
200 PORT Command successful
150 ascii type in transfer file
file name file length
nos.img 1195841
nos.rom 557980
startup-config 2611
running-config
226 transfer complete.
ftp: 137 bytes received in 0.08Seconds 1.73Kbytes/sec.
ftp>ls
200 PORT Command successful
150 ascii type in transfer file
file name file length
nos.img 1195841
nos.rom 557980
startup-config 2611
running-config
226 transfer complete.
ftp: 137 bytes received in 0.08Seconds 1.73Kbytes/sec
ftp>
Scenario 5: The DCS-3950 switch acts as FTP client to view file list on the FTP server.
Synchronization conditions: The switch connects to a computer by an Ethernet port, the
computer is a FTP server with an IP address of 10.1.1.1; the switch acts as a FTP client,
and the IP address of the switch management VLAN1 interface is 10.1.1.2.
FTP Configuration