Qtech QSW-2870 [37/230] Ftp client example

Qtech QSW-2870 [37/230] Ftp client example
Chapter1 Basic Configuration
1-30
The user is able to use command upgrade os as auto-start application for next switch
boot-up and reboot the switch, that the switch is able to implement auto-upgrade to its
OS.
1.4.1.7 FTP Client Example
Purpose
This section introduces the example of switch as FTP Client implementing config file
backup and software upgrade.
Device
Configuration
Description
Parameter Description
Switch
Use command „ftp‟
directly to logging into
remote FTP server
User fetches FTP
username and
password first, and logs
into remote FTP server
so that to fetch
corresponding category
and file.
ftp {put |get } ftp-
sever src-file
dest-file
put: to upload client file to
server.
get: to download server file
to client.
ftp-server is indicating IP
address of FTP server; dest-
file indicates local filename
while src-file indicates file
name that is to be
uploaded to server
PC
Start FTP server with
configurations of
username, password
and user authority and
so on
Network Requirement
Remote PC as FTP server and the switch as FTP client with configuration:
FTP with username 123 and password 123; PC IP address is 10.18.1.2; The user is
able to log into remote QSW-2870 switch via telnet and download switch application
from the FTP server to switch Flash so that to implement remote upgrade to the
switch.
Topology
Figure Network Topology of Switch as FTP Client
QSW-2870#config
QSW-2870 (config)#upgrade os
QSW-2870 (config)#quit
QSW-2870#reboot

Содержание

Скачать
Случайные обсуждения